From c94f7cbac1cf8df9385f303430c0c3377fbdabaf Mon Sep 17 00:00:00 2001 From: Nick Randall Date: Mon, 14 Feb 2022 17:05:09 -0700 Subject: [PATCH] bump to latest (pre-published) version of preconstruct --- packages/cache/package.json | 16 ++++++++++- packages/eslint-plugin/package.json | 16 ++++++++++- packages/hash/package.json | 16 ++++++++++- packages/is-prop-valid/package.json | 16 ++++++++++- packages/jest/package.json | 40 ++++++++++++++++++++++++++- packages/memoize/package.json | 16 ++++++++++- packages/native/package.json | 13 +++++++++ packages/primitives-core/package.json | 16 ++++++++++- packages/primitives/package.json | 13 +++++++++ packages/react/package.json | 37 +++++++++++++++++++++++++ packages/serialize/package.json | 16 ++++++++++- packages/server/package.json | 24 +++++++++++++++- packages/sheet/package.json | 16 ++++++++++- packages/styled/package.json | 21 ++++++++++++++ packages/unitless/package.json | 16 ++++++++++- packages/utils/package.json | 16 ++++++++++- packages/weak-memoize/package.json | 16 ++++++++++- 17 files changed, 311 insertions(+), 13 deletions(-) diff --git a/packages/cache/package.json b/packages/cache/package.json index 867286db99..de617a3f96 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -11,6 +11,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-cache.worker.esm.prod.js", + "default": "./dist/emotion-cache.worker.cjs.prod.js" + }, + "module": "./dist/emotion-cache.worker.esm.dev.js", + "default": "./dist/emotion-cache.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-cache.browser.esm.prod.js", @@ -53,6 +61,12 @@ "types/*.d.ts" ], "preconstruct": { - "exports": true + "exports": { + "conditions": [ + "worker", + "browser", + "module" + ] + } } } diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 97735be030..61f932a180 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -16,6 +16,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-eslint-plugin.worker.esm.prod.js", + "default": "./dist/emotion-eslint-plugin.worker.cjs.prod.js" + }, + "module": "./dist/emotion-eslint-plugin.worker.esm.dev.js", + "default": "./dist/emotion-eslint-plugin.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-eslint-plugin.browser.esm.prod.js", @@ -44,6 +52,12 @@ "eslint": "^7.10.0" }, "preconstruct": { - "exports": true + "exports": { + "conditions": [ + "worker", + "browser", + "module" + ] + } } } diff --git a/packages/hash/package.json b/packages/hash/package.json index c6348a0f17..0a6bbd11eb 100644 --- a/packages/hash/package.json +++ b/packages/hash/package.json @@ -28,6 +28,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-hash.worker.esm.prod.js", + "default": "./dist/emotion-hash.worker.cjs.prod.js" + }, + "module": "./dist/emotion-hash.worker.esm.dev.js", + "default": "./dist/emotion-hash.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-hash.browser.esm.prod.js", @@ -45,6 +53,12 @@ } }, "preconstruct": { - "exports": true + "exports": { + "conditions": [ + "worker", + "browser", + "module" + ] + } } } diff --git a/packages/is-prop-valid/package.json b/packages/is-prop-valid/package.json index 7e5c0bcf7f..5e2e7c769d 100644 --- a/packages/is-prop-valid/package.json +++ b/packages/is-prop-valid/package.json @@ -31,6 +31,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-is-prop-valid.worker.esm.prod.js", + "default": "./dist/emotion-is-prop-valid.worker.cjs.prod.js" + }, + "module": "./dist/emotion-is-prop-valid.worker.esm.dev.js", + "default": "./dist/emotion-is-prop-valid.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-is-prop-valid.browser.esm.prod.js", @@ -48,6 +56,12 @@ } }, "preconstruct": { - "exports": true + "exports": { + "conditions": [ + "worker", + "browser", + "module" + ] + } } } diff --git a/packages/jest/package.json b/packages/jest/package.json index c5bf3f5a96..0cfc6f0f5e 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -7,6 +7,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-jest.worker.esm.prod.js", + "default": "./dist/emotion-jest.worker.cjs.prod.js" + }, + "module": "./dist/emotion-jest.worker.esm.dev.js", + "default": "./dist/emotion-jest.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-jest.browser.esm.prod.js", @@ -23,6 +31,14 @@ "default": "./dist/emotion-jest.cjs.js" }, "./serializer": { + "worker": { + "production": { + "module": "./serializer/dist/emotion-jest-serializer.worker.esm.prod.js", + "default": "./serializer/dist/emotion-jest-serializer.worker.cjs.prod.js" + }, + "module": "./serializer/dist/emotion-jest-serializer.worker.esm.dev.js", + "default": "./serializer/dist/emotion-jest-serializer.worker.cjs.js" + }, "browser": { "production": { "module": "./serializer/dist/emotion-jest-serializer.browser.esm.prod.js", @@ -39,6 +55,14 @@ "default": "./serializer/dist/emotion-jest-serializer.cjs.js" }, "./enzyme": { + "worker": { + "production": { + "module": "./enzyme/dist/emotion-jest-enzyme.worker.esm.prod.js", + "default": "./enzyme/dist/emotion-jest-enzyme.worker.cjs.prod.js" + }, + "module": "./enzyme/dist/emotion-jest-enzyme.worker.esm.dev.js", + "default": "./enzyme/dist/emotion-jest-enzyme.worker.cjs.js" + }, "browser": { "production": { "module": "./enzyme/dist/emotion-jest-enzyme.browser.esm.prod.js", @@ -55,6 +79,14 @@ "default": "./enzyme/dist/emotion-jest-enzyme.cjs.js" }, "./enzyme-serializer": { + "worker": { + "production": { + "module": "./enzyme-serializer/dist/emotion-jest-enzyme-serializer.worker.esm.prod.js", + "default": "./enzyme-serializer/dist/emotion-jest-enzyme-serializer.worker.cjs.prod.js" + }, + "module": "./enzyme-serializer/dist/emotion-jest-enzyme-serializer.worker.esm.dev.js", + "default": "./enzyme-serializer/dist/emotion-jest-enzyme-serializer.worker.cjs.js" + }, "browser": { "production": { "module": "./enzyme-serializer/dist/emotion-jest-enzyme-serializer.browser.esm.prod.js", @@ -131,7 +163,13 @@ "url": "https://github.com/emotion-js/emotion/issues" }, "preconstruct": { - "exports": true, + "exports": { + "conditions": [ + "worker", + "browser", + "module" + ] + }, "entrypoints": [ "./index.js", "./serializer.js", diff --git a/packages/memoize/package.json b/packages/memoize/package.json index 0887809989..a7452b4e90 100644 --- a/packages/memoize/package.json +++ b/packages/memoize/package.json @@ -28,6 +28,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-memoize.worker.esm.prod.js", + "default": "./dist/emotion-memoize.worker.cjs.prod.js" + }, + "module": "./dist/emotion-memoize.worker.esm.dev.js", + "default": "./dist/emotion-memoize.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-memoize.browser.esm.prod.js", @@ -45,6 +53,12 @@ } }, "preconstruct": { - "exports": true + "exports": { + "conditions": [ + "worker", + "browser", + "module" + ] + } } } diff --git a/packages/native/package.json b/packages/native/package.json index 808d582fb6..fc9b7e0cf9 100644 --- a/packages/native/package.json +++ b/packages/native/package.json @@ -57,6 +57,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-native.worker.esm.prod.js", + "default": "./dist/emotion-native.worker.cjs.prod.js" + }, + "module": "./dist/emotion-native.worker.esm.dev.js", + "default": "./dist/emotion-native.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-native.browser.esm.prod.js", @@ -76,6 +84,11 @@ }, "preconstruct": { "exports": { + "conditions": [ + "worker", + "browser", + "module" + ], "extra": { "./macro": "./macro.js" } diff --git a/packages/primitives-core/package.json b/packages/primitives-core/package.json index 7198398051..def6eb59f0 100644 --- a/packages/primitives-core/package.json +++ b/packages/primitives-core/package.json @@ -47,6 +47,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-primitives-core.worker.esm.prod.js", + "default": "./dist/emotion-primitives-core.worker.cjs.prod.js" + }, + "module": "./dist/emotion-primitives-core.worker.esm.dev.js", + "default": "./dist/emotion-primitives-core.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-primitives-core.browser.esm.prod.js", @@ -64,6 +72,12 @@ } }, "preconstruct": { - "exports": true + "exports": { + "conditions": [ + "worker", + "browser", + "module" + ] + } } } diff --git a/packages/primitives/package.json b/packages/primitives/package.json index 078414d621..a91cbd003e 100644 --- a/packages/primitives/package.json +++ b/packages/primitives/package.json @@ -57,6 +57,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-primitives.worker.esm.prod.js", + "default": "./dist/emotion-primitives.worker.cjs.prod.js" + }, + "module": "./dist/emotion-primitives.worker.esm.dev.js", + "default": "./dist/emotion-primitives.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-primitives.browser.esm.prod.js", @@ -76,6 +84,11 @@ }, "preconstruct": { "exports": { + "conditions": [ + "worker", + "browser", + "module" + ], "extra": { "./macro": "./macro.js" } diff --git a/packages/react/package.json b/packages/react/package.json index b1056014d5..b8115e6643 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -10,6 +10,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-react.worker.esm.prod.js", + "default": "./dist/emotion-react.worker.cjs.prod.js" + }, + "module": "./dist/emotion-react.worker.esm.dev.js", + "default": "./dist/emotion-react.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-react.browser.esm.prod.js", @@ -26,6 +34,14 @@ "default": "./dist/emotion-react.cjs.js" }, "./jsx-runtime": { + "worker": { + "production": { + "module": "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.prod.js", + "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.cjs.prod.js" + }, + "module": "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.dev.js", + "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.cjs.js" + }, "browser": { "production": { "module": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.prod.js", @@ -42,6 +58,14 @@ "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js" }, "./jsx-dev-runtime": { + "worker": { + "production": { + "module": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.prod.js", + "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.cjs.prod.js" + }, + "module": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.dev.js", + "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.cjs.js" + }, "browser": { "production": { "module": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.prod.js", @@ -58,6 +82,14 @@ "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js" }, "./_isolated-hnrs": { + "worker": { + "production": { + "module": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.prod.js", + "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.cjs.prod.js" + }, + "module": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.dev.js", + "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.cjs.js" + }, "browser": { "production": { "module": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.prod.js", @@ -136,6 +168,11 @@ "umd:main": "dist/emotion-react.umd.min.js", "preconstruct": { "exports": { + "conditions": [ + "worker", + "browser", + "module" + ], "extra": { "./macro": { "types": "./macro.d.ts", diff --git a/packages/serialize/package.json b/packages/serialize/package.json index b01a378f7d..a1f77d9d20 100644 --- a/packages/serialize/package.json +++ b/packages/serialize/package.json @@ -35,6 +35,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-serialize.worker.esm.prod.js", + "default": "./dist/emotion-serialize.worker.cjs.prod.js" + }, + "module": "./dist/emotion-serialize.worker.esm.dev.js", + "default": "./dist/emotion-serialize.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-serialize.browser.esm.prod.js", @@ -52,6 +60,12 @@ } }, "preconstruct": { - "exports": true + "exports": { + "conditions": [ + "worker", + "browser", + "module" + ] + } } } diff --git a/packages/server/package.json b/packages/server/package.json index 00be47a632..6e6070c264 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -56,6 +56,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-server.worker.esm.prod.js", + "default": "./dist/emotion-server.worker.cjs.prod.js" + }, + "module": "./dist/emotion-server.worker.esm.dev.js", + "default": "./dist/emotion-server.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-server.browser.esm.prod.js", @@ -72,6 +80,14 @@ "default": "./dist/emotion-server.cjs.js" }, "./create-instance/index": { + "worker": { + "production": { + "module": "./create-instance/index/dist/emotion-server-create-instance.worker.esm.prod.js", + "default": "./create-instance/index/dist/emotion-server-create-instance.worker.cjs.prod.js" + }, + "module": "./create-instance/index/dist/emotion-server-create-instance.worker.esm.dev.js", + "default": "./create-instance/index/dist/emotion-server-create-instance.worker.cjs.js" + }, "browser": { "production": { "module": "./create-instance/index/dist/emotion-server-create-instance.browser.esm.prod.js", @@ -87,7 +103,13 @@ } }, "preconstruct": { - "exports": true, + "exports": { + "conditions": [ + "worker", + "browser", + "module" + ] + }, "entrypoints": [ "./index.js", "./create-instance/index.js" diff --git a/packages/sheet/package.json b/packages/sheet/package.json index 2998d13ec7..d383711672 100644 --- a/packages/sheet/package.json +++ b/packages/sheet/package.json @@ -11,6 +11,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-sheet.worker.esm.prod.js", + "default": "./dist/emotion-sheet.worker.cjs.prod.js" + }, + "module": "./dist/emotion-sheet.worker.esm.dev.js", + "default": "./dist/emotion-sheet.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-sheet.browser.esm.prod.js", @@ -45,6 +53,12 @@ "dtslint": "^0.3.0" }, "preconstruct": { - "exports": true + "exports": { + "conditions": [ + "worker", + "browser", + "module" + ] + } } } diff --git a/packages/styled/package.json b/packages/styled/package.json index 03b808ccee..02d4fdd0c7 100644 --- a/packages/styled/package.json +++ b/packages/styled/package.json @@ -56,6 +56,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-styled.worker.esm.prod.js", + "default": "./dist/emotion-styled.worker.cjs.prod.js" + }, + "module": "./dist/emotion-styled.worker.esm.dev.js", + "default": "./dist/emotion-styled.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-styled.browser.esm.prod.js", @@ -72,6 +80,14 @@ "default": "./dist/emotion-styled.cjs.js" }, "./base": { + "worker": { + "production": { + "module": "./base/dist/emotion-styled-base.worker.esm.prod.js", + "default": "./base/dist/emotion-styled-base.worker.cjs.prod.js" + }, + "module": "./base/dist/emotion-styled-base.worker.esm.dev.js", + "default": "./base/dist/emotion-styled-base.worker.cjs.js" + }, "browser": { "production": { "module": "./base/dist/emotion-styled-base.browser.esm.prod.js", @@ -94,6 +110,11 @@ }, "preconstruct": { "exports": { + "conditions": [ + "worker", + "browser", + "module" + ], "extra": { "./macro": { "types": "./macro.d.ts", diff --git a/packages/unitless/package.json b/packages/unitless/package.json index 4060378763..146469dd97 100644 --- a/packages/unitless/package.json +++ b/packages/unitless/package.json @@ -23,6 +23,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-unitless.worker.esm.prod.js", + "default": "./dist/emotion-unitless.worker.cjs.prod.js" + }, + "module": "./dist/emotion-unitless.worker.esm.dev.js", + "default": "./dist/emotion-unitless.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-unitless.browser.esm.prod.js", @@ -40,6 +48,12 @@ } }, "preconstruct": { - "exports": true + "exports": { + "conditions": [ + "worker", + "browser", + "module" + ] + } } } diff --git a/packages/utils/package.json b/packages/utils/package.json index 96ab99fa4e..bff8c0a8d9 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -11,6 +11,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-utils.worker.esm.prod.js", + "default": "./dist/emotion-utils.worker.cjs.prod.js" + }, + "module": "./dist/emotion-utils.worker.esm.dev.js", + "default": "./dist/emotion-utils.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-utils.browser.esm.prod.js", @@ -45,6 +53,12 @@ "dtslint": "^0.3.0" }, "preconstruct": { - "exports": true + "exports": { + "conditions": [ + "worker", + "browser", + "module" + ] + } } } diff --git a/packages/weak-memoize/package.json b/packages/weak-memoize/package.json index 30af97376b..92fd8bd406 100644 --- a/packages/weak-memoize/package.json +++ b/packages/weak-memoize/package.json @@ -28,6 +28,14 @@ "exports": { "./package.json": "./package.json", ".": { + "worker": { + "production": { + "module": "./dist/emotion-weak-memoize.worker.esm.prod.js", + "default": "./dist/emotion-weak-memoize.worker.cjs.prod.js" + }, + "module": "./dist/emotion-weak-memoize.worker.esm.dev.js", + "default": "./dist/emotion-weak-memoize.worker.cjs.js" + }, "browser": { "production": { "module": "./dist/emotion-weak-memoize.browser.esm.prod.js", @@ -45,6 +53,12 @@ } }, "preconstruct": { - "exports": true + "exports": { + "conditions": [ + "worker", + "browser", + "module" + ] + } } }