Skip to content

Commit

Permalink
reset to @preconstruct/cli v2.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksrandall committed Jul 11, 2022
1 parent c9a1195 commit 0f40229
Show file tree
Hide file tree
Showing 16 changed files with 479 additions and 10 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@
"react": "React",
"react/jsx-runtime": "ReactJSX",
"react/jsx-dev-runtime": "ReactJSXDev"
},
"___experimentalFlags_WILL_CHANGE_IN_PATCH": {
"exports": true
}
},
"bugs": {
Expand Down Expand Up @@ -187,7 +190,7 @@
"@manypkg/cli": "^0.16.1",
"@mdx-js/mdx": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"@preconstruct/cli": "^2.1.5",
"@preconstruct/cli": "^2.1.8",
"@testing-library/react": "13.0.0-alpha.5",
"@types/jest": "^27.0.3",
"@types/node": "^10.11.4",
Expand Down
29 changes: 28 additions & 1 deletion packages/cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,25 @@
"./dist/emotion-cache.cjs.js": "./dist/emotion-cache.browser.cjs.js",
"./dist/emotion-cache.esm.js": "./dist/emotion-cache.browser.esm.js"
},
"exports": {
"./package.json": "./package.json",
".": {
"browser": {
"production": {
"module": "./dist/emotion-cache.browser.esm.prod.js",
"default": "./dist/emotion-cache.browser.cjs.prod.js"
},
"module": "./dist/emotion-cache.browser.esm.dev.js",
"default": "./dist/emotion-cache.browser.cjs.js"
},
"production": {
"module": "./dist/emotion-cache.esm.prod.js",
"default": "./dist/emotion-cache.cjs.prod.js"
},
"module": "./dist/emotion-cache.esm.dev.js",
"default": "./dist/emotion-cache.cjs.js"
}
},
"types": "types/index.d.ts",
"license": "MIT",
"repository": "https://github.com/emotion-js/emotion/tree/main/packages/cache",
Expand All @@ -33,5 +52,13 @@
"src",
"dist",
"types/*.d.ts"
]
],
"preconstruct": {
"exports": {
"envConditoins": [
"browser",
"worker"
]
}
}
}
43 changes: 42 additions & 1 deletion packages/css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,52 @@
"url": "https://github.com/emotion-js/emotion/issues"
},
"umd:main": "dist/emotion-css.umd.min.js",
"exports": {
"./package.json": "./package.json",
".": {
"browser": {
"production": {
"module": "./dist/emotion-css.browser.esm.prod.js",
"default": "./dist/emotion-css.browser.cjs.prod.js"
},
"module": "./dist/emotion-css.browser.esm.dev.js",
"default": "./dist/emotion-css.browser.cjs.js"
},
"production": {
"module": "./dist/emotion-css.esm.prod.js",
"default": "./dist/emotion-css.cjs.prod.js"
},
"module": "./dist/emotion-css.esm.dev.js",
"default": "./dist/emotion-css.cjs.js"
},
"./create-instance": {
"browser": {
"production": {
"module": "./create-instance/dist/emotion-css-create-instance.browser.esm.prod.js",
"default": "./create-instance/dist/emotion-css-create-instance.browser.cjs.prod.js"
},
"module": "./create-instance/dist/emotion-css-create-instance.browser.esm.dev.js",
"default": "./create-instance/dist/emotion-css-create-instance.browser.cjs.js"
},
"production": {
"module": "./create-instance/dist/emotion-css-create-instance.esm.prod.js",
"default": "./create-instance/dist/emotion-css-create-instance.cjs.prod.js"
},
"module": "./create-instance/dist/emotion-css-create-instance.esm.dev.js",
"default": "./create-instance/dist/emotion-css-create-instance.cjs.js"
}
},
"preconstruct": {
"umdName": "emotion",
"entrypoints": [
"./index.js",
"./create-instance.js"
]
],
"exports": {
"envConditoins": [
"browser",
"worker"
]
}
}
}
27 changes: 27 additions & 0 deletions packages/is-prop-valid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,32 @@
"browser": {
"./dist/emotion-is-prop-valid.cjs.js": "./dist/emotion-is-prop-valid.browser.cjs.js",
"./dist/emotion-is-prop-valid.esm.js": "./dist/emotion-is-prop-valid.browser.esm.js"
},
"exports": {
"./package.json": "./package.json",
".": {
"browser": {
"production": {
"module": "./dist/emotion-is-prop-valid.browser.esm.prod.js",
"default": "./dist/emotion-is-prop-valid.browser.cjs.prod.js"
},
"module": "./dist/emotion-is-prop-valid.browser.esm.dev.js",
"default": "./dist/emotion-is-prop-valid.browser.cjs.js"
},
"production": {
"module": "./dist/emotion-is-prop-valid.esm.prod.js",
"default": "./dist/emotion-is-prop-valid.cjs.prod.js"
},
"module": "./dist/emotion-is-prop-valid.esm.dev.js",
"default": "./dist/emotion-is-prop-valid.cjs.js"
}
},
"preconstruct": {
"exports": {
"envConditoins": [
"browser",
"worker"
]
}
}
}
27 changes: 27 additions & 0 deletions packages/memoize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,32 @@
"browser": {
"./dist/emotion-memoize.cjs.js": "./dist/emotion-memoize.browser.cjs.js",
"./dist/emotion-memoize.esm.js": "./dist/emotion-memoize.browser.esm.js"
},
"exports": {
"./package.json": "./package.json",
".": {
"browser": {
"production": {
"module": "./dist/emotion-memoize.browser.esm.prod.js",
"default": "./dist/emotion-memoize.browser.cjs.prod.js"
},
"module": "./dist/emotion-memoize.browser.esm.dev.js",
"default": "./dist/emotion-memoize.browser.cjs.js"
},
"production": {
"module": "./dist/emotion-memoize.esm.prod.js",
"default": "./dist/emotion-memoize.cjs.prod.js"
},
"module": "./dist/emotion-memoize.esm.dev.js",
"default": "./dist/emotion-memoize.cjs.js"
}
},
"preconstruct": {
"exports": {
"envConditoins": [
"browser",
"worker"
]
}
}
}
27 changes: 27 additions & 0 deletions packages/primitives-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,32 @@
"browser": {
"./dist/emotion-primitives-core.cjs.js": "./dist/emotion-primitives-core.browser.cjs.js",
"./dist/emotion-primitives-core.esm.js": "./dist/emotion-primitives-core.browser.esm.js"
},
"exports": {
"./package.json": "./package.json",
".": {
"browser": {
"production": {
"module": "./dist/emotion-primitives-core.browser.esm.prod.js",
"default": "./dist/emotion-primitives-core.browser.cjs.prod.js"
},
"module": "./dist/emotion-primitives-core.browser.esm.dev.js",
"default": "./dist/emotion-primitives-core.browser.cjs.js"
},
"production": {
"module": "./dist/emotion-primitives-core.esm.prod.js",
"default": "./dist/emotion-primitives-core.cjs.prod.js"
},
"module": "./dist/emotion-primitives-core.esm.dev.js",
"default": "./dist/emotion-primitives-core.cjs.js"
}
},
"preconstruct": {
"exports": {
"envConditoins": [
"browser",
"worker"
]
}
}
}
27 changes: 27 additions & 0 deletions packages/primitives/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,32 @@
"browser": {
"./dist/emotion-primitives.cjs.js": "./dist/emotion-primitives.browser.cjs.js",
"./dist/emotion-primitives.esm.js": "./dist/emotion-primitives.browser.esm.js"
},
"exports": {
"./package.json": "./package.json",
".": {
"browser": {
"production": {
"module": "./dist/emotion-primitives.browser.esm.prod.js",
"default": "./dist/emotion-primitives.browser.cjs.prod.js"
},
"module": "./dist/emotion-primitives.browser.esm.dev.js",
"default": "./dist/emotion-primitives.browser.cjs.js"
},
"production": {
"module": "./dist/emotion-primitives.esm.prod.js",
"default": "./dist/emotion-primitives.cjs.prod.js"
},
"module": "./dist/emotion-primitives.esm.dev.js",
"default": "./dist/emotion-primitives.cjs.js"
}
},
"preconstruct": {
"exports": {
"envConditoins": [
"browser",
"worker"
]
}
}
}
75 changes: 74 additions & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,73 @@
"./dist/emotion-react.cjs.js": "./dist/emotion-react.browser.cjs.js",
"./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js"
},
"exports": {
"./package.json": "./package.json",
".": {
"browser": {
"production": {
"module": "./dist/emotion-react.browser.esm.prod.js",
"default": "./dist/emotion-react.browser.cjs.prod.js"
},
"module": "./dist/emotion-react.browser.esm.dev.js",
"default": "./dist/emotion-react.browser.cjs.js"
},
"production": {
"module": "./dist/emotion-react.esm.prod.js",
"default": "./dist/emotion-react.cjs.prod.js"
},
"module": "./dist/emotion-react.esm.dev.js",
"default": "./dist/emotion-react.cjs.js"
},
"./jsx-runtime": {
"browser": {
"production": {
"module": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.prod.js",
"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.cjs.prod.js"
},
"module": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.dev.js",
"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.cjs.js"
},
"production": {
"module": "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.prod.js",
"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.prod.js"
},
"module": "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.dev.js",
"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
},
"./jsx-dev-runtime": {
"browser": {
"production": {
"module": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.prod.js",
"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.prod.js"
},
"module": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.dev.js",
"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.js"
},
"production": {
"module": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.prod.js",
"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.prod.js"
},
"module": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.dev.js",
"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
},
"./_isolated-hnrs": {
"browser": {
"production": {
"module": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.prod.js",
"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.cjs.prod.js"
},
"module": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.dev.js",
"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.cjs.js"
},
"production": {
"module": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.prod.js",
"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.prod.js"
},
"module": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.dev.js",
"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
}
},
"types": "types/index.d.ts",
"files": [
"src",
Expand Down Expand Up @@ -70,6 +137,12 @@
"./jsx-dev-runtime.js",
"./_isolated-hnrs.js"
],
"umdName": "emotionReact"
"umdName": "emotionReact",
"exports": {
"envConditoins": [
"browser",
"worker"
]
}
}
}
27 changes: 27 additions & 0 deletions packages/serialize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,32 @@
"browser": {
"./dist/emotion-serialize.cjs.js": "./dist/emotion-serialize.browser.cjs.js",
"./dist/emotion-serialize.esm.js": "./dist/emotion-serialize.browser.esm.js"
},
"exports": {
"./package.json": "./package.json",
".": {
"browser": {
"production": {
"module": "./dist/emotion-serialize.browser.esm.prod.js",
"default": "./dist/emotion-serialize.browser.cjs.prod.js"
},
"module": "./dist/emotion-serialize.browser.esm.dev.js",
"default": "./dist/emotion-serialize.browser.cjs.js"
},
"production": {
"module": "./dist/emotion-serialize.esm.prod.js",
"default": "./dist/emotion-serialize.cjs.prod.js"
},
"module": "./dist/emotion-serialize.esm.dev.js",
"default": "./dist/emotion-serialize.cjs.js"
}
},
"preconstruct": {
"exports": {
"envConditoins": [
"browser",
"worker"
]
}
}
}
Loading

0 comments on commit 0f40229

Please sign in to comment.