Skip to content

chore(deps): update nx to v16.8.1 #7567

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
merge_group:

env:
PRIMARY_NODE_VERSION: 20
PRIMARY_NODE_VERSION: '>=20.6.1'
# Only set the read-write token if we are on the main branch
NX_CLOUD_ACCESS_TOKEN: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') && secrets.NX_CLOUD_ACCESS_TOKEN || '' }}

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/nx-migrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,25 +55,25 @@ 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
YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn

npx nx migrate @nx/workspace@$NX_VERSION
yarn nx migrate @nx/workspace@$NX_VERSION

# Sometimes Nx can require config formatting changes after a migrate command
yarn
npx nx format
YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn
yarn nx format

# migrations.json may or may not exist after running nx migrate
if [ -f migrations.json ]; then
# This will also invoke yarn automatically
npx nx migrate --run-migrations=migrations.json
yarn nx migrate --run-migrations=migrations.json

# After we have run its migrations, we no longer need the migrations.json file
rm migrations.json
fi

# Run the special nx repair command to ensure config matches latest and greatest
npx nx repair
yarn nx repair

# Ensure all the changed files are formatted appropriately
yarn format
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
"@babel/eslint-parser": "^7.22.7",
"@babel/parser": "^7.22.7",
"@babel/types": "^7.22.5",
"@nx/jest": "16.7.2",
"@nx/linter": "16.7.2",
"@nx/workspace": "16.7.2",
"@nx/jest": "16.8.1",
"@nx/linter": "16.8.1",
"@nx/workspace": "16.8.1",
"@swc/core": "^1.3.68",
"@swc/jest": "^0.2.26",
"@types/babel__code-frame": "^7.0.3",
Expand Down Expand Up @@ -106,8 +106,8 @@
"markdownlint-cli": "^0.36.0",
"ncp": "^2.0.0",
"netlify": "^13.1.9",
"nx": "16.7.2",
"nx-cloud": "16.4.0-beta.1",
"nx": "16.8.1",
"nx-cloud": "16.4.0",
"prettier": "^2.8.4",
"pretty-format": "^29.6.2",
"raw-loader": "^4.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
}
],
"outputs": [
"packages/types/src/generated"
"{projectRoot}/src/generated"
]
},
"build": {
Expand Down
Loading