-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to Yarn 4.0.2 * chore: add missing `-A` param to `yarn workspaces foreach` call * Update engines field * Update log ignore patterns * Add script to rebuild packages during yarn build if needed --------- Co-authored-by: Markus Dobmann <[email protected]>
- Loading branch information
1 parent
ff1b732
commit 6aaedd0
Showing
10 changed files
with
8,527 additions
and
8,461 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
# yarn start fails when this package is not built. It a good indication that the | ||
# prerequisite packages were cleaned and need to be prepared again. | ||
if [ ! -d "packages/create-calypso-config/dist" ] ; then | ||
echo "Building packages..." | ||
yarn workspaces foreach --all --parallel --verbose run prepare | ||
else | ||
echo "Packages are built." | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,13 +54,13 @@ | |
}, | ||
"engines": { | ||
"node": "^v20.8.1", | ||
"yarn": "^3.1.1" | ||
"yarn": "^4.0.0" | ||
}, | ||
"scripts": { | ||
"analyze-bundles": "yarn run build-client-stats && webpack-bundle-analyzer client/stats.json public/evergreen -h 127.0.0.1 -p 9898 -s gzip", | ||
"analyze-bundles:server": "yarn run build-server-stats && webpack-bundle-analyzer client/stats-server.json build -h 127.0.0.1 -p 9898 -s parsed", | ||
"analyze-icfy": "yarn run build-client-stats && node --max-old-space-size=4096 bin/icfy-analyze.js", | ||
"build": "yarn run build-static && yarn run build-css && run-p -s 'build-devdocs:*' && run-p -s build-server build-client-if-prod", | ||
"build": "./bin/build-packages-if-needed.sh && yarn run build-static && yarn run build-css && run-p -s 'build-devdocs:*' && run-p -s build-server build-client-if-prod", | ||
"build-client": "BROWSERSLIST_ENV=evergreen yarn webpack --config client/webpack.config.js --stats-preset errors-only", | ||
"build-client-if-prod": "node -e \"process.env.CALYPSO_ENV === 'production' && process.exit(1)\" || { yarn run build-client && yarn run build-languages-if-enabled }", | ||
"build-client-stats": "NODE_ENV=production CALYPSO_ENV=production EMIT_STATS=true yarn run build-client", | ||
|
@@ -387,7 +387,7 @@ | |
"@wordpress/widgets": "3.21.0", | ||
"@wordpress/wordcount": "3.44.0" | ||
}, | ||
"packageManager": "yarn@3.2.3", | ||
"packageManager": "yarn@4.0.2", | ||
"dependenciesMeta": { | ||
"@react-spring/[email protected]": { | ||
"built": false | ||
|
Oops, something went wrong.