diff --git a/packages/action-menu/package.json b/packages/action-menu/package.json index f2669f76a2..6cb004a4a8 100644 --- a/packages/action-menu/package.json +++ b/packages/action-menu/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/actionbar/package.json b/packages/actionbar/package.json index dc4d644bee..0470031e36 100644 --- a/packages/actionbar/package.json +++ b/packages/actionbar/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/avatar/package.json b/packages/avatar/package.json index 4b61ecc826..5bf38965de 100644 --- a/packages/avatar/package.json +++ b/packages/avatar/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/banner/package.json b/packages/banner/package.json index 49d33f3885..16dc7b411f 100644 --- a/packages/banner/package.json +++ b/packages/banner/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/bundle/package.json b/packages/bundle/package.json index 0dee5988b3..215d084454 100644 --- a/packages/bundle/package.json +++ b/packages/bundle/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/button/package.json b/packages/button/package.json index 62d207dd89..53e5d90005 100644 --- a/packages/button/package.json +++ b/packages/button/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/card/package.json b/packages/card/package.json index d8f667d6d2..39a1734d25 100644 --- a/packages/card/package.json +++ b/packages/card/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/checkbox/package.json b/packages/checkbox/package.json index db4c9a4818..9d0078d084 100644 --- a/packages/checkbox/package.json +++ b/packages/checkbox/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/circleloader/package.json b/packages/circleloader/package.json index 317481a290..df8fa0104b 100644 --- a/packages/circleloader/package.json +++ b/packages/circleloader/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/coachmark/package.json b/packages/coachmark/package.json index 6ffceda4c0..5736cc68be 100644 --- a/packages/coachmark/package.json +++ b/packages/coachmark/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/dropdown/package.json b/packages/dropdown/package.json index a9244bd648..bfc167bc24 100644 --- a/packages/dropdown/package.json +++ b/packages/dropdown/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/dropzone/package.json b/packages/dropzone/package.json index d5285823e4..8c4e6d5422 100644 --- a/packages/dropzone/package.json +++ b/packages/dropzone/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/icon/package.json b/packages/icon/package.json index 756c3eb65b..4eb4f22382 100644 --- a/packages/icon/package.json +++ b/packages/icon/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/icons-workflow/package.json b/packages/icons-workflow/package.json index 22388fdd7b..73dd1d10a1 100644 --- a/packages/icons-workflow/package.json +++ b/packages/icons-workflow/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "build": "node ./bin/build @adobe/spectrum-css-workflow-icons/dist/18" }, @@ -48,7 +52,7 @@ "glob": "^7.1.3", "http-server": "^0.11.1", "path": "^0.12.7", - "prettier": "^1.16.1" + "prettier": "^2.0.2" }, "peerDependencies": { "lit-element": "^2.1.0", diff --git a/packages/icons/package.json b/packages/icons/package.json index e469dc765d..84be33c7c8 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/iconset/package.json b/packages/iconset/package.json index 149a6aa1fa..3cda11a8e2 100644 --- a/packages/iconset/package.json +++ b/packages/iconset/package.json @@ -28,6 +28,12 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts", + "./lib/icons-demo.js", + "./src/icons-demo.ts" + ], "scripts": {}, "author": "", "license": "Apache-2.0", diff --git a/packages/illustrated-message/package.json b/packages/illustrated-message/package.json index 38d0e5497c..5642d19dfe 100644 --- a/packages/illustrated-message/package.json +++ b/packages/illustrated-message/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": {}, "author": "", "license": "Apache-2.0", diff --git a/packages/link/package.json b/packages/link/package.json index 50bf912a06..614549bbe3 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": {}, "author": "", "license": "Apache-2.0", diff --git a/packages/menu-group/package.json b/packages/menu-group/package.json index 20adef53a1..4b73f2a044 100644 --- a/packages/menu-group/package.json +++ b/packages/menu-group/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/menu-item/package.json b/packages/menu-item/package.json index 1c51dff509..87cdd1168d 100644 --- a/packages/menu-item/package.json +++ b/packages/menu-item/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/menu/package.json b/packages/menu/package.json index 67af3fe70e..8770d4fc30 100644 --- a/packages/menu/package.json +++ b/packages/menu/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/overlay/package.json b/packages/overlay/package.json index 3da224fccd..8d3d4e4b5b 100644 --- a/packages/overlay/package.json +++ b/packages/overlay/package.json @@ -28,6 +28,12 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts", + "./stories/overlay-story-components.js", + "./stories/overlay-story-components.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/popover/package.json b/packages/popover/package.json index fee9d11c2a..b5cf250858 100644 --- a/packages/popover/package.json +++ b/packages/popover/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/radio-group/package.json b/packages/radio-group/package.json index 966328f285..54a7a2a457 100644 --- a/packages/radio-group/package.json +++ b/packages/radio-group/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/radio/package.json b/packages/radio/package.json index 9cd03b18cd..5fee3465b6 100644 --- a/packages/radio/package.json +++ b/packages/radio/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/search/package.json b/packages/search/package.json index ba7817447f..fb825c6646 100644 --- a/packages/search/package.json +++ b/packages/search/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/shared/package.json b/packages/shared/package.json index 971e4e93e9..aca184920d 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -28,6 +28,7 @@ "/lib/", "/src/" ], + "sideEffects": false, "scripts": { "test": "karma start --coverage" }, diff --git a/packages/sidenav/package.json b/packages/sidenav/package.json index 03f4548167..736b7c86ff 100644 --- a/packages/sidenav/package.json +++ b/packages/sidenav/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/slider/package.json b/packages/slider/package.json index 240714c0e4..d7232da3ba 100644 --- a/packages/slider/package.json +++ b/packages/slider/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/status-light/package.json b/packages/status-light/package.json index 10e2c4e76d..0a8daaa6a1 100644 --- a/packages/status-light/package.json +++ b/packages/status-light/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/styles/package.json b/packages/styles/package.json index 83da0e85f1..73edbb14c0 100644 --- a/packages/styles/package.json +++ b/packages/styles/package.json @@ -25,6 +25,9 @@ "custom-elements.json", "*.css" ], + "sideEffects": [ + "./*.css" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/switch/package.json b/packages/switch/package.json index 4f9edcc1af..c189833370 100644 --- a/packages/switch/package.json +++ b/packages/switch/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/tab-list/package.json b/packages/tab-list/package.json index b095bfe199..36be458040 100644 --- a/packages/tab-list/package.json +++ b/packages/tab-list/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/tab/package.json b/packages/tab/package.json index b98627a04b..5a0ddd1723 100644 --- a/packages/tab/package.json +++ b/packages/tab/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/textfield/package.json b/packages/textfield/package.json index ab2c541cc4..85fc74c6cb 100644 --- a/packages/textfield/package.json +++ b/packages/textfield/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/theme/package.json b/packages/theme/package.json index 3205b96dd1..4d308246d1 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/*.js", + "./src/*.ts" + ], "scripts": { "test": "karma start --coverage" }, diff --git a/packages/toast/package.json b/packages/toast/package.json index d952280a1c..8db5036a90 100644 --- a/packages/toast/package.json +++ b/packages/toast/package.json @@ -26,6 +26,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "author": "", "license": "Apache-2.0", "peerDependencies": { diff --git a/packages/tooltip/package.json b/packages/tooltip/package.json index 0356896388..af09b3ee08 100644 --- a/packages/tooltip/package.json +++ b/packages/tooltip/package.json @@ -28,6 +28,10 @@ "/lib/", "/src/" ], + "sideEffects": [ + "./lib/index.js", + "./src/index.ts" + ], "author": "", "license": "Apache-2.0", "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index e830b64342..4e8ac92845 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16759,7 +16759,7 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@^1.16.1, prettier@^1.16.4: +prettier@^1.16.4: version "1.19.1" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==