Skip to content

Commit

Permalink
chore: npm-check-updates && yarn upgrade (#3863)
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 Dec 1, 2022
1 parent 3a73d45 commit 2b69722
Show file tree
Hide file tree
Showing 9 changed files with 609 additions and 600 deletions.
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": "^29.2.3",
"@types/node": "^14.18.33",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"all-contributors-cli": "^6.24.0",
"eslint": "^8.28.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.1.3",
"lerna": "^6.0.3",
"lerna": "^6.1.0",
"prettier": "^2.8.0",
"standard-version": "^9.5.0",
"ts-node": "^10.9.1",
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 @@ -42,6 +42,6 @@
"jsii-build-tools": "^0.0.0",
"jsii-calc": "^3.20.120",
"jsii-pacmak": "^0.0.0",
"pyright": "^1.1.281"
"pyright": "^1.1.282"
}
}
2 changes: 1 addition & 1 deletion packages/jsii-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"devDependencies": {
"@types/inquirer": "^8.2.3",
"@types/yargs": "^17.0.13",
"@types/yargs": "^17.0.15",
"jest-expect-message": "^1.1.3"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@jsii/spec": "^0.0.0",
"fs-extra": "^10.1.0",
"jsii-reflect": "^0.0.0",
"log4js": "^6.7.0",
"log4js": "^6.7.1",
"yargs": "^16.2.0"
},
"devDependencies": {
Expand Down
23 changes: 19 additions & 4 deletions packages/jsii-pacmak/bin/jsii-pacmak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,33 @@ import { VERSION_DESC } from '../lib/version';
(argv) =>
argv.positional('PROJECTS', {
type: 'string',
array: true,
desc: 'Project(s) to generate',
normalize: true,
default: ['.'],
}),
)
.option('targets', {
alias: ['target', 't'],
type: 'array',
type: 'string',
array: true,
desc: 'target languages for which to generate bindings',
defaultDescription:
'all targets defined in `package.json` will be generated',
choices: Object.values(TargetName),
coerce: (value: string | string[]) =>
(typeof value === 'string'
? value.split(',')
: value.flatMap((item) => item.split(','))
).map((choice) => {
if (Object.values(TargetName).includes(choice as any)) {
return choice as TargetName;
}
throw new Error(
`Invalid target name: ${choice} (valid values are: ${Object.values(
TargetName,
).join(', ')})`,
);
}),
required: false,
})
.option('outdir', {
Expand Down Expand Up @@ -161,7 +176,7 @@ import { VERSION_DESC } from '../lib/version';
}

const rosettaUnknownSnippets =
(argv['rosetta-unknown-snippets'] as UnknownSnippetMode | undefined) ??
argv['rosetta-unknown-snippets'] ??
(argv['rosetta-translate-live']
? UnknownSnippetMode.TRANSLATE
: UnknownSnippetMode.VERBATIM);
Expand All @@ -181,7 +196,7 @@ import { VERSION_DESC } from '../lib/version';
rosettaUnknownSnippets,
rosettaTablet: argv['rosetta-tablet'],
runtimeTypeChecking: argv['runtime-type-checking'],
targets: argv.targets?.map((target) => target as TargetName),
targets: argv.targets?.map((target) => target),
updateNpmIgnoreFiles: argv.npmignore,
validateAssemblies: argv['validate-assemblies'],
});
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-pacmak/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"jsii": "^0.0.0",
"jsii-build-tools": "^0.0.0",
"jsii-calc": "^3.20.120",
"pyright": "^1.1.281"
"pyright": "^1.1.282"
},
"keywords": [
"jsii",
Expand Down
27 changes: 14 additions & 13 deletions packages/jsii-rosetta/bin/jsii-rosetta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ function main() {
command
.positional('ASSEMBLY', {
type: 'string',
string: true,
default: new Array<string>(),
array: true,
default: [],
describe: 'Assembly or directory to mutate',
})
.option('log-file', {
Expand Down Expand Up @@ -142,8 +142,8 @@ function main() {
command
.positional('ASSEMBLY', {
type: 'string',
string: true,
default: new Array<string>(),
array: true,
default: [],
describe: 'Assembly or directory to extract from',
})
.option('output', {
Expand All @@ -165,9 +165,10 @@ function main() {
})
.option('include', {
alias: 'i',
type: 'array',
type: 'string',
array: true,
describe: 'Extract only snippets with given ids',
default: new Array<string>(),
default: [],
})
.option('infuse', {
type: 'boolean',
Expand Down Expand Up @@ -281,16 +282,16 @@ function main() {
command
.positional('ASSEMBLY', {
type: 'string',
string: true,
default: new Array<string>(),
array: true,
default: [],
required: true,
describe: 'Assembly to transliterate',
})
.option('language', {
alias: 'l',
type: 'string',
string: true,
default: new Array<string>(),
array: true,
default: [],
describe: 'Language ID to transliterate to',
})
.options('strict', {
Expand Down Expand Up @@ -343,8 +344,8 @@ function main() {
})
.positional('ASSEMBLY', {
type: 'string',
string: true,
default: new Array<string>(),
array: true,
default: [],
describe: 'Assembly or directory to search',
})
.demandOption('TABLET'),
Expand All @@ -361,7 +362,7 @@ function main() {
(command) =>
command.positional('ASSEMBLY', {
type: 'string',
string: true,
array: true,
default: ['.'],
describe: 'Assembly or directory to search',
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"chalk": "^4",
"fast-deep-equal": "^3.1.3",
"fs-extra": "^10.1.0",
"log4js": "^6.7.0",
"log4js": "^6.7.1",
"semver": "^7.3.8",
"semver-intersect": "^1.4.0",
"sort-json": "^2.0.1",
Expand Down
Loading

0 comments on commit 2b69722

Please sign in to comment.