Skip to content

Commit

Permalink
bump to latest (pre-published) version of preconstruct
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksrandall committed Feb 15, 2022
1 parent 0aa211d commit c94f7cb
Show file tree
Hide file tree
Showing 17 changed files with 311 additions and 13 deletions.
16 changes: 15 additions & 1 deletion packages/cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -53,6 +61,12 @@
"types/*.d.ts"
],
"preconstruct": {
"exports": true
"exports": {
"conditions": [
"worker",
"browser",
"module"
]
}
}
}
16 changes: 15 additions & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -44,6 +52,12 @@
"eslint": "^7.10.0"
},
"preconstruct": {
"exports": true
"exports": {
"conditions": [
"worker",
"browser",
"module"
]
}
}
}
16 changes: 15 additions & 1 deletion packages/hash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -45,6 +53,12 @@
}
},
"preconstruct": {
"exports": true
"exports": {
"conditions": [
"worker",
"browser",
"module"
]
}
}
}
16 changes: 15 additions & 1 deletion packages/is-prop-valid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -48,6 +56,12 @@
}
},
"preconstruct": {
"exports": true
"exports": {
"conditions": [
"worker",
"browser",
"module"
]
}
}
}
40 changes: 39 additions & 1 deletion packages/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
16 changes: 15 additions & 1 deletion packages/memoize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -45,6 +53,12 @@
}
},
"preconstruct": {
"exports": true
"exports": {
"conditions": [
"worker",
"browser",
"module"
]
}
}
}
13 changes: 13 additions & 0 deletions packages/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -76,6 +84,11 @@
},
"preconstruct": {
"exports": {
"conditions": [
"worker",
"browser",
"module"
],
"extra": {
"./macro": "./macro.js"
}
Expand Down
16 changes: 15 additions & 1 deletion packages/primitives-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -64,6 +72,12 @@
}
},
"preconstruct": {
"exports": true
"exports": {
"conditions": [
"worker",
"browser",
"module"
]
}
}
}
13 changes: 13 additions & 0 deletions packages/primitives/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -76,6 +84,11 @@
},
"preconstruct": {
"exports": {
"conditions": [
"worker",
"browser",
"module"
],
"extra": {
"./macro": "./macro.js"
}
Expand Down
37 changes: 37 additions & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -136,6 +168,11 @@
"umd:main": "dist/emotion-react.umd.min.js",
"preconstruct": {
"exports": {
"conditions": [
"worker",
"browser",
"module"
],
"extra": {
"./macro": {
"types": "./macro.d.ts",
Expand Down
Loading

0 comments on commit c94f7cb

Please sign in to comment.