Skip to content

Commit bf0a262

Browse files
authored
Merge pull request #2734 from emotion-js/preconstruct-upgrade
Upgrade Preconstruct
1 parent ba5f146 commit bf0a262

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- This step can be removed from this document if we upgrade to the latest
1010
version of Gatsby, which is compatible with sharp 0.28.0+ which does include
1111
binaries for M1 Macs.
12+
- (If using Windows) Enable Developer Mode in the Windows settings app. On Windows 11, this can be done by searching the start menu for "Developer settings" and then enabling the Developer Mode toggle switch.
1213
- Run `yarn` in the repository's root directory to install everything you need for development.
1314
- Run `yarn build` in the root directory to build the modules.
1415

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@
138138
"react": "React",
139139
"react/jsx-runtime": "ReactJSX",
140140
"react/jsx-dev-runtime": "ReactJSXDev"
141-
},
142-
"___experimentalFlags_WILL_CHANGE_IN_PATCH": {
143-
"newEntrypoints": true,
144-
"newDistFilenames": true
145141
}
146142
},
147143
"bugs": {
@@ -194,7 +190,7 @@
194190
"@manypkg/cli": "^0.16.1",
195191
"@mdx-js/mdx": "^1.6.22",
196192
"@mdx-js/react": "^1.6.22",
197-
"@preconstruct/cli": "1.1.34",
193+
"@preconstruct/cli": "^2.1.5",
198194
"@testing-library/react": "13.0.0-alpha.5",
199195
"@types/jest": "^27.0.3",
200196
"@types/node": "^10.11.4",

yarn.lock

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5059,10 +5059,10 @@
50595059
schema-utils "^2.6.5"
50605060
source-map "^0.7.3"
50615061

5062-
"@preconstruct/cli@1.1.34":
5063-
version "1.1.34"
5064-
resolved "https://registry.yarnpkg.com/@preconstruct/cli/-/cli-1.1.34.tgz#092416a936c4915777fa4560c2bcb16fb1f274cc"
5065-
integrity sha512-yrKUxDzHskWqcyLqhUFQpxkvKo+xnpkMmXso0c/u6AKn9dvTSbcBx7fdcMshDk5tzW1nR+M/xn0Eb+CtLcGT7w==
5062+
"@preconstruct/cli@^2.1.5":
5063+
version "2.1.5"
5064+
resolved "https://registry.yarnpkg.com/@preconstruct/cli/-/cli-2.1.5.tgz#f7f6d06809f382521589af15f67b87009b240c58"
5065+
integrity sha512-bMnGTkaotxq+xoOkXoUOfTFvxBX/ZUxukcacf3mx3G7Iz5m/T4ZGzSOU12pxl64e+rVWGTKlUsgaDSgyFkup0A==
50665066
dependencies:
50675067
"@babel/code-frame" "^7.5.5"
50685068
"@babel/core" "^7.7.7"
@@ -5073,22 +5073,21 @@
50735073
"@rollup/plugin-commonjs" "^15.0.0"
50745074
"@rollup/plugin-json" "^4.1.0"
50755075
"@rollup/plugin-node-resolve" "^9.0.0"
5076-
"@rollup/plugin-replace" "^2.3.3"
5076+
"@rollup/plugin-replace" "^2.4.1"
50775077
builtin-modules "^3.1.0"
50785078
chalk "^4.1.0"
50795079
dataloader "^2.0.0"
50805080
detect-indent "^6.0.0"
50815081
enquirer "^2.3.6"
50825082
estree-walker "^2.0.1"
50835083
fast-deep-equal "^2.0.1"
5084+
fast-glob "^3.2.4"
50845085
fs-extra "^9.0.1"
5085-
globby "^11.0.1"
50865086
is-ci "^2.0.0"
50875087
is-reference "^1.2.1"
50885088
jest-worker "^26.3.0"
50895089
magic-string "^0.25.7"
50905090
meow "^7.1.0"
5091-
micromatch "^4.0.2"
50925091
ms "^2.1.2"
50935092
normalize-path "^3.0.0"
50945093
npm-packlist "^2.1.2"
@@ -5099,6 +5098,7 @@
50995098
resolve "^1.17.0"
51005099
resolve-from "^5.0.0"
51015100
rollup "^2.32.0"
5101+
semver "^7.3.4"
51025102
terser "^5.2.1"
51035103
v8-compile-cache "^2.1.1"
51045104

@@ -5310,22 +5310,14 @@
53105310
is-module "^1.0.0"
53115311
resolve "^1.17.0"
53125312

5313-
"@rollup/plugin-replace@^2.3.1":
5313+
"@rollup/plugin-replace@^2.3.1", "@rollup/plugin-replace@^2.4.1":
53145314
version "2.4.2"
53155315
resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.4.2.tgz#a2d539314fbc77c244858faa523012825068510a"
53165316
integrity sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==
53175317
dependencies:
53185318
"@rollup/pluginutils" "^3.1.0"
53195319
magic-string "^0.25.7"
53205320

5321-
"@rollup/plugin-replace@^2.3.3":
5322-
version "2.3.3"
5323-
resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.3.3.tgz#cd6bae39444de119f5d905322b91ebd4078562e7"
5324-
integrity sha512-XPmVXZ7IlaoWaJLkSCDaa0Y6uVo5XQYHhiMFzOd5qSv5rE+t/UJToPIOE56flKIxBFQI27ONsxb7dqHnwSsjKQ==
5325-
dependencies:
5326-
"@rollup/pluginutils" "^3.0.8"
5327-
magic-string "^0.25.5"
5328-
53295321
"@rollup/pluginutils@^3.0.8", "@rollup/pluginutils@^3.1.0":
53305322
version "3.1.0"
53315323
resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b"
@@ -13345,6 +13337,17 @@ fast-glob@^3.1.1:
1334513337
micromatch "^4.0.2"
1334613338
picomatch "^2.2.1"
1334713339

13340+
fast-glob@^3.2.4:
13341+
version "3.2.11"
13342+
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9"
13343+
integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==
13344+
dependencies:
13345+
"@nodelib/fs.stat" "^2.0.2"
13346+
"@nodelib/fs.walk" "^1.2.3"
13347+
glob-parent "^5.1.2"
13348+
merge2 "^1.3.0"
13349+
micromatch "^4.0.4"
13350+
1334813351
fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0:
1334913352
version "2.1.0"
1335013353
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"
@@ -15196,7 +15199,7 @@ globals@^13.2.0, globals@^13.6.0, globals@^13.9.0:
1519615199
dependencies:
1519715200
type-fest "^0.20.2"
1519815201

15199-
[email protected], globby@^11.0.0, globby@^11.0.1:
15202+
[email protected], globby@^11.0.0:
1520015203
version "11.0.1"
1520115204
resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.1.tgz#9a2bf107a068f3ffeabc49ad702c79ede8cfd357"
1520215205
integrity sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ==
@@ -20158,7 +20161,7 @@ lz-string@^1.4.4:
2015820161
resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.4.4.tgz#c0d8eaf36059f705796e1e344811cf4c498d3a26"
2015920162
integrity sha1-wNjq82BZ9wV5bh40SBHPTEmNOiY=
2016020163

20161-
magic-string@^0.25.0, magic-string@^0.25.5, magic-string@^0.25.7:
20164+
magic-string@^0.25.0, magic-string@^0.25.7:
2016220165
version "0.25.7"
2016320166
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051"
2016420167
integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==

0 commit comments

Comments
 (0)