diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 359c36a5f1..5cf1c6b2fe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,6 +9,7 @@ - This step can be removed from this document if we upgrade to the latest version of Gatsby, which is compatible with sharp 0.28.0+ which does include binaries for M1 Macs. +- (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. - Run `yarn` in the repository's root directory to install everything you need for development. - Run `yarn build` in the root directory to build the modules. diff --git a/package.json b/package.json index ba29e04cc9..a662065edc 100644 --- a/package.json +++ b/package.json @@ -138,10 +138,6 @@ "react": "React", "react/jsx-runtime": "ReactJSX", "react/jsx-dev-runtime": "ReactJSXDev" - }, - "___experimentalFlags_WILL_CHANGE_IN_PATCH": { - "newEntrypoints": true, - "newDistFilenames": true } }, "bugs": { @@ -194,7 +190,7 @@ "@manypkg/cli": "^0.16.1", "@mdx-js/mdx": "^1.6.22", "@mdx-js/react": "^1.6.22", - "@preconstruct/cli": "1.1.34", + "@preconstruct/cli": "^2.1.5", "@testing-library/react": "13.0.0-alpha.5", "@types/jest": "^27.0.3", "@types/node": "^10.11.4", diff --git a/yarn.lock b/yarn.lock index 67a6ae579e..09f9d1ade7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5059,10 +5059,10 @@ schema-utils "^2.6.5" source-map "^0.7.3" -"@preconstruct/cli@1.1.34": - version "1.1.34" - resolved "https://registry.yarnpkg.com/@preconstruct/cli/-/cli-1.1.34.tgz#092416a936c4915777fa4560c2bcb16fb1f274cc" - integrity sha512-yrKUxDzHskWqcyLqhUFQpxkvKo+xnpkMmXso0c/u6AKn9dvTSbcBx7fdcMshDk5tzW1nR+M/xn0Eb+CtLcGT7w== +"@preconstruct/cli@^2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@preconstruct/cli/-/cli-2.1.5.tgz#f7f6d06809f382521589af15f67b87009b240c58" + integrity sha512-bMnGTkaotxq+xoOkXoUOfTFvxBX/ZUxukcacf3mx3G7Iz5m/T4ZGzSOU12pxl64e+rVWGTKlUsgaDSgyFkup0A== dependencies: "@babel/code-frame" "^7.5.5" "@babel/core" "^7.7.7" @@ -5073,7 +5073,7 @@ "@rollup/plugin-commonjs" "^15.0.0" "@rollup/plugin-json" "^4.1.0" "@rollup/plugin-node-resolve" "^9.0.0" - "@rollup/plugin-replace" "^2.3.3" + "@rollup/plugin-replace" "^2.4.1" builtin-modules "^3.1.0" chalk "^4.1.0" dataloader "^2.0.0" @@ -5081,14 +5081,13 @@ enquirer "^2.3.6" estree-walker "^2.0.1" fast-deep-equal "^2.0.1" + fast-glob "^3.2.4" fs-extra "^9.0.1" - globby "^11.0.1" is-ci "^2.0.0" is-reference "^1.2.1" jest-worker "^26.3.0" magic-string "^0.25.7" meow "^7.1.0" - micromatch "^4.0.2" ms "^2.1.2" normalize-path "^3.0.0" npm-packlist "^2.1.2" @@ -5099,6 +5098,7 @@ resolve "^1.17.0" resolve-from "^5.0.0" rollup "^2.32.0" + semver "^7.3.4" terser "^5.2.1" v8-compile-cache "^2.1.1" @@ -5310,7 +5310,7 @@ is-module "^1.0.0" resolve "^1.17.0" -"@rollup/plugin-replace@^2.3.1": +"@rollup/plugin-replace@^2.3.1", "@rollup/plugin-replace@^2.4.1": version "2.4.2" resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.4.2.tgz#a2d539314fbc77c244858faa523012825068510a" integrity sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg== @@ -5318,14 +5318,6 @@ "@rollup/pluginutils" "^3.1.0" magic-string "^0.25.7" -"@rollup/plugin-replace@^2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.3.3.tgz#cd6bae39444de119f5d905322b91ebd4078562e7" - integrity sha512-XPmVXZ7IlaoWaJLkSCDaa0Y6uVo5XQYHhiMFzOd5qSv5rE+t/UJToPIOE56flKIxBFQI27ONsxb7dqHnwSsjKQ== - dependencies: - "@rollup/pluginutils" "^3.0.8" - magic-string "^0.25.5" - "@rollup/pluginutils@^3.0.8", "@rollup/pluginutils@^3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b" @@ -13345,6 +13337,17 @@ fast-glob@^3.1.1: micromatch "^4.0.2" picomatch "^2.2.1" +fast-glob@^3.2.4: + version "3.2.11" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" + integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: version "2.1.0" 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: dependencies: type-fest "^0.20.2" -globby@11.0.1, globby@^11.0.0, globby@^11.0.1: +globby@11.0.1, globby@^11.0.0: version "11.0.1" resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.1.tgz#9a2bf107a068f3ffeabc49ad702c79ede8cfd357" integrity sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ== @@ -20158,7 +20161,7 @@ lz-string@^1.4.4: resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.4.4.tgz#c0d8eaf36059f705796e1e344811cf4c498d3a26" integrity sha1-wNjq82BZ9wV5bh40SBHPTEmNOiY= -magic-string@^0.25.0, magic-string@^0.25.5, magic-string@^0.25.7: +magic-string@^0.25.0, magic-string@^0.25.7: version "0.25.7" resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051" integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==