Skip to content
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

chore: npm-check-updates && yarn upgrade #4637

Merged
merged 4 commits into from
Oct 11, 2024
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
7 changes: 4 additions & 3 deletions .github/workflows/yarn-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
# 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
# We special-case @xmldom/xmldom because newer versions are not compatible with the code and jsii-rosetta 1.x is soon EOS
run: |-
# Upgrade devDependencies at repository root
ncu --upgrade --target=minor --filter=@types/inquirer,@types/node,@jest/types,jest-config,jest-circus
Expand All @@ -81,15 +82,15 @@ jobs:
# Upgrade all production dependencies (and other always major-pinned dependencies)
lerna exec --parallel ncu -- --upgrade --target=minor \
--filter='@types/fs-extra,${{ steps.production-dependencies.outputs.list }}' \
--reject='typescript,${{ steps.monorepo-packages.outputs.list }}'
--reject='typescript,@xmldom/xmldom,${{ steps.monorepo-packages.outputs.list }}'

# Upgrade all minor-pinned dependencies
lerna exec --parallel ncu -- --upgrade --target=patch \
--filter=typescript
--filter=typescript,@xmldom/xmldom

# Upgrade all other dependencies (devDependencies) to the latest
lerna exec --parallel ncu -- --upgrade --target=latest \
--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 }}'
--reject='@types/inquirer,@types/node,@types/fs-extra,@types/yargs,@xmldom/xmldom,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"
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
},
"devDependencies": {
"@jest/types": "^29.6.3",
"@types/jest": "^29.5.12",
"@types/jest": "^29.5.13",
"@types/node": "^14.18.63",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"all-contributors-cli": "^6.26.1",
"eslint": "^9.9.1",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-import-resolver-typescript": "^3.6.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/@jsii/python-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"jsii-build-tools": "^0.0.0",
"jsii-calc": "^3.20.120",
"jsii-pacmak": "^0.0.0",
"pyright": "^1.1.378"
"pyright": "^1.1.384"
}
}
2 changes: 1 addition & 1 deletion packages/@jsii/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"jsii-build-tools": "^0.0.0",
"jsii-calc": "^3.20.120",
"source-map-loader": "^5.0.0",
"webpack": "^5.94.0",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4"
}
}
6 changes: 3 additions & 3 deletions packages/jsii-pacmak/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@jsii/spec": "^0.0.0",
"clone": "^2.1.2",
"codemaker": "^0.0.0",
"commonmark": "^0.31.1",
"commonmark": "^0.31.2",
"escape-string-regexp": "^4.0.0",
"fs-extra": "^10.1.0",
"jsii-reflect": "^0.0.0",
Expand All @@ -56,7 +56,7 @@
"@jsii/go-runtime": "^0.0.0",
"@scope/jsii-calc-lib": "^0.0.0",
"@types/clone": "^2.1.4",
"@types/diff": "^5.2.1",
"@types/diff": "^5.2.3",
"@types/commonmark": "^0.27.9",
"@types/fs-extra": "^9.0.13",
"@types/semver": "^7.5.8",
Expand All @@ -65,7 +65,7 @@
"jsii-build-tools": "^0.0.0",
"jsii-calc": "^3.20.120",
"jsii-rosetta": "^0.0.0",
"pyright": "^1.1.378"
"pyright": "^1.1.384"
},
"peerDependencies": {
"jsii-rosetta": "^0.0.0 || ~5.2.0 || ~5.3.0 || ~5.4.0 || ~5.5.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/jsii-rosetta/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
"@types/semver": "^7.5.8",
"jsii-build-tools": "0.0.0",
"memory-streams": "^0.1.3",
"mock-fs": "^5.2.0"
"mock-fs": "^5.3.0"
},
"dependencies": {
"@jsii/check-node": "0.0.0",
"@jsii/spec": "0.0.0",
"commonmark": "^0.31.1",
"commonmark": "^0.31.2",
"typescript": "~3.9.10",
"@xmldom/xmldom": "^0.8.10",
"@xmldom/xmldom": "0.8.10",
"workerpool": "^6.5.1",
"yargs": "^16.2.0",
"stream-json": "^1.8.0",
Expand Down
Loading
Loading