Skip to content

Commit

Permalink
chore: npm-check-updates && yarn upgrade (aws#3701)
Browse files Browse the repository at this point in the history
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
  • Loading branch information
aws-cdk-automation authored Aug 17, 2022
1 parent d1a3eaa commit 52afd93
Show file tree
Hide file tree
Showing 7 changed files with 692 additions and 667 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/yarn-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ jobs:
# We special-case typescript because it's not semantically versionned, and major.minor is the API contract
run: |-
# Upgrade devDependencies at repository root
ncu --upgrade --target=minor --filter=@types/node,@jest/types,jest-config,jest-circus
ncu --upgrade --target=minor --filter=@types/inquirer,@types/node,@jest/types,jest-config,jest-circus
ncu --upgrade --target=patch --filter=typescript
ncu --upgrade --target=latest --reject=@types/node,typescript,@jest/types,jest-config,jest-circus
ncu --upgrade --target=latest --reject=@types/inquirer,@types/node,typescript,@jest/types,jest-config,jest-circus
# Upgrade all production dependencies (and other always major-pinned dependencies)
lerna exec --parallel ncu -- --upgrade --target=minor \
Expand All @@ -85,7 +85,7 @@ jobs:
# Upgrade all other dependencies (devDependencies) to the latest
lerna exec --parallel ncu -- --upgrade --target=latest \
--reject='@types/node,typescript,${{ steps.production-dependencies.outputs.list }},${{ steps.monorepo-packages.outputs.list }}'
--reject='@types/inquirer,@types/node,typescript,${{ 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
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@jest/types": "^28.1.3",
"@types/jest": "^28.1.6",
"@types/node": "^14.18.23",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"all-contributors-cli": "^6.20.0",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
Expand All @@ -31,7 +31,7 @@
"jest-circus": "^28.1.3",
"jest-config": "^28.1.3",
"jest-expect-message": "^1.0.2",
"lerna": "^5.3.0",
"lerna": "^5.4.0",
"prettier": "^2.7.1",
"standard-version": "^9.5.0",
"ts-node": "^10.9.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/@jsii/benchmarks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dependencies": {
"fs-extra": "^10.1.0",
"jsii": "^0.0.0",
"npm": "^8.15.1",
"npm": "^8.16.0",
"tar": "^6.1.11",
"typescript": "~3.9.10",
"yargs": "^16.2.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/jsii-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"jsii-config": "bin/jsii-config"
},
"devDependencies": {
"@types/inquirer": "^8.2.1",
"@types/yargs": "^17.0.10",
"@types/inquirer": "^8.2.3",
"@types/yargs": "^17.0.11",
"jest-expect-message": "^1.0.2"
},
"dependencies": {
"@jsii/check-node": "0.0.0",
"@jsii/spec": "^0.0.0",
"inquirer": "^7.3.3",
"inquirer": "^8.2.4",
"yargs": "^16.2.0"
}
}
2 changes: 1 addition & 1 deletion packages/jsii-pacmak/lib/targets/version-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function toReleaseVersion(
assemblyVersion: string,
target: TargetName,
): string {
const version = parse(assemblyVersion, { includePrerelease: true });
const version = parse(assemblyVersion);
if (version == null) {
throw new Error(
`Unable to parse the provided assembly version: "${assemblyVersion}"`,
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-rosetta/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@types/semver": "^7.3.10",
"jsii-build-tools": "0.0.0",
"memory-streams": "^0.1.3",
"mock-fs": "^5.1.3"
"mock-fs": "^5.1.4"
},
"dependencies": {
"@jsii/check-node": "0.0.0",
Expand Down
Loading

0 comments on commit 52afd93

Please sign in to comment.