-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: npm-check-updates && yarn upgrade (#4624)
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
- Loading branch information
1 parent
54fa1b2
commit 6e1680b
Showing
6 changed files
with
248 additions
and
261 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ jobs: | |
contents: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Check Out | ||
uses: actions/checkout@v4 | ||
|
||
|
@@ -71,6 +70,8 @@ jobs: | |
# We special-case @types/fs-extra because 9.0.13 is the last version that supports [email protected] | ||
# We special-case @types/yargs because 17.0.13 is the last version that doesn't break | ||
# We special-case eslint-plugin-import because 26 is the last version that works for us. | ||
# We special-case glob because newer version don't support Node 18 | ||
# We special-case typescript-json-schema because newer versions require @types/node@18 which breaks packages that need to build with ts3.9 | ||
run: |- | ||
# Upgrade devDependencies at repository root | ||
ncu --upgrade --target=minor --filter=@types/inquirer,@types/node,@jest/types,jest-config,jest-circus | ||
|
@@ -87,10 +88,8 @@ jobs: | |
--filter=typescript | ||
# Upgrade all other dependencies (devDependencies) to the latest | ||
# Exclude: | ||
# - glob, because newer version don't support Node 18 | ||
lerna exec --parallel ncu -- --upgrade --target=latest \ | ||
--reject='@types/inquirer,@types/node,typescript,@types/fs-extra,@types/yargs,glob,${{ steps.production-dependencies.outputs.list }},${{ steps.monorepo-packages.outputs.list }}' | ||
--reject='@types/inquirer,@types/node,@types/fs-extra,@types/yargs,glob,typescript,typescript-json-schema,${{ steps.production-dependencies.outputs.list }},${{ steps.monorepo-packages.outputs.list }}' | ||
# This will ensure the current lockfile is up-to-date with the dependency specifications (necessary for "yarn update" to run) | ||
- name: Run "yarn install" | ||
|
@@ -148,4 +147,3 @@ jobs: | |
labels: contribution/core,dependencies,auto-approve | ||
# Privileged token so automated PR validation happens | ||
token: ${{ secrets.PROJEN_GITHUB_TOKEN }} | ||
|
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 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
Oops, something went wrong.