Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
chore: upgrade to yarn 3#6162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -55,12 +55,12 @@ jobs: | ||
# Revert renovate's changes to package.json and yarn.lock so that it is a clean migrate from the status quo | ||
git checkout HEAD~1 -- package.json yarn.lock | ||
yarn | ||
npx nx migrate @nx/workspace@$NX_VERSION | ||
# Sometimes Nx can require config formatting changes after a migrate command | ||
yarn | ||
npx nx format | ||
# migrations.json may or may not exist after running nx migrate | ||
@@ -72,6 +72,9 @@ jobs: | ||
rm migrations.json | ||
fi | ||
# Run the special nx repair command to ensure config matches latest and greatest | ||
npx nx repair | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. (not a blocker, I just am curious what this actually does) | ||
# Ensure all the changed files are formatted appropriately | ||
yarn format | ||
Large diffs are not rendered by default.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
yarnPath: .yarn/releases/yarn-3.4.1.cjs | ||
nodeLinker: node-modules |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -5,7 +5,9 @@ | ||
command = "NX_VERBOSE_LOGGING=true yarn patch-package && yarn nx build website" | ||
[build.environment] | ||
NETLIFY_USE_YARN = "true" | ||
# TODO: adjust these once https://github.com/netlify/build-image/issues/612 is resolved | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. That awkward moment when the upstream repo is archived without resolving the issue... 🤷 | ||
YARN_ENABLE_GLOBAL_CACHE = "true" | ||
YARN_GLOBAL_FOLDER = "/opt/buildhome/.yarn_cache" | ||
# https://docs.netlify.com/configure-builds/file-based-configuration/#redirects | ||
bradzacher marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -60,7 +60,6 @@ | ||
"@babel/eslint-parser": "^7.22.7", | ||
"@babel/parser": "^7.22.7", | ||
"@babel/types": "^7.22.5", | ||
bradzacher marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"@nx/jest": "16.5.3", | ||
"@nx/linter": "16.5.3", | ||
"@nx/workspace": "16.5.3", | ||
@@ -70,8 +69,8 @@ | ||
"@types/babel__core": "^7.20.1", | ||
"@types/debug": "^4.1.8", | ||
"@types/is-glob": "^4.0.2", | ||
"@types/jest": "29.5.3", | ||
"@types/jest-specific-snapshot": "^0.5.6", | ||
"@types/marked": "^5.0.0", | ||
"@types/natural-compare": "^1.4.1", | ||
"@types/ncp": "^2.0.5", | ||
@@ -83,8 +82,8 @@ | ||
"cross-fetch": "^4.0.0", | ||
"cspell": "^6.31.1", | ||
"downlevel-dts": ">=0.11.0", | ||
"eslint": "^8.44.0", | ||
"eslint-plugin-deprecation": "^1.4.1", | ||
"eslint-plugin-eslint-comments": "^3.2.0", | ||
"eslint-plugin-eslint-plugin": "^5.1.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
@@ -97,21 +96,21 @@ | ||
"execa": "7.1.1", | ||
"glob": "^10.3.3", | ||
"husky": "^8.0.3", | ||
"jest": "29.6.2", | ||
"jest-diff": "^29.6.2", | ||
"jest-snapshot": "^29.6.2", | ||
"jest-specific-snapshot": "^8.0.0", | ||
"lerna": "7.1.5", | ||
"lint-staged": "^13.2.3", | ||
"make-dir": "^4.0.0", | ||
"markdownlint-cli": "^0.35.0", | ||
"ncp": "^2.0.0", | ||
"netlify": "^13.1.9", | ||
"nx": "16.5.3", | ||
"nx-cloud": "16.1.1", | ||
"patch-package": "^8.0.0", | ||
"prettier": "^2.8.4", | ||
"pretty-format": "^29.6.2", | ||
"raw-loader": "^4.0.2", | ||
"rimraf": "^5.0.1", | ||
"tmp": "^0.2.1", | ||
@@ -145,5 +144,5 @@ | ||
"tsx": "^3.12.7", | ||
"typescript": "5.2.1-rc" | ||
}, | ||
"packageManager": "yarn@3.3.0" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -18,6 +18,10 @@ | ||
"@typescript-eslint/scope-manager": "6.4.0", | ||
"@typescript-eslint/type-utils": "6.4.0", | ||
"@typescript-eslint/utils": "6.4.0", | ||
"prettier": "^2.8.4" | ||
}, | ||
"devDependencies": { | ||
"jest": "29.6.2", | ||
"rimraf": "*" | ||
bradzacher marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
} | ||
} |
Uh oh!
There was an error while loading.Please reload this page.