You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -408,7 +408,7 @@ export async function makeConfig(): Promise<CliConfig> {
408
408
'lib-version': {type: 'string',alias: 'V',default: undefined,desc: 'The version of the CDK library (aws-cdk-lib) to initialize built-in templates with. Defaults to the version that was current when this CLI was built.'},
409
409
'from-path': {type: 'string',desc: 'Path to a local custom template directory or multi-template repository',requiresArg: true,conflicts: ['lib-version']},
410
410
'template-path': {type: 'string',desc: 'Path to a specific template within a multi-template repository',requiresArg: true},
411
-
'package-manager': {type: 'string',desc: 'The package manager to use to install dependencies. Only applicable for TypeScript and JavaScript projects.',default: JS_PACKAGE_MANAGER.NPM,choices: Object.values(JS_PACKAGE_MANAGER)},
411
+
'package-manager': {type: 'string',desc: 'The package manager to use to install dependencies. Only applicable for TypeScript and JavaScript projects. Defaults to npm in TypeScript and JavaScript projects.',choices: JS_PACKAGE_MANAGERS},
Copy file name to clipboardExpand all lines: packages/aws-cdk/lib/cli/cli-type-registry.json
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -906,8 +906,7 @@
906
906
},
907
907
"package-manager": {
908
908
"type": "string",
909
-
"desc": "The package manager to use to install dependencies. Only applicable for TypeScript and JavaScript projects.",
910
-
"default": "npm",
909
+
"desc": "The package manager to use to install dependencies. Only applicable for TypeScript and JavaScript projects. Defaults to npm in TypeScript and JavaScript projects.",
Copy file name to clipboardExpand all lines: packages/aws-cdk/lib/cli/parse-command-line-arguments.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -896,9 +896,9 @@ export function parseCommandLineArguments(args: Array<string>): any {
896
896
requiresArg: true,
897
897
})
898
898
.option('package-manager',{
899
-
default: 'npm',
899
+
default: undefined,
900
900
type: 'string',
901
-
desc: 'The package manager to use to install dependencies. Only applicable for TypeScript and JavaScript projects.',
901
+
desc: 'The package manager to use to install dependencies. Only applicable for TypeScript and JavaScript projects. Defaults to npm in TypeScript and JavaScript projects.',
* The package manager to use to install dependencies. Only applicable for TypeScript and JavaScript projects.
1412
+
* The package manager to use to install dependencies. Only applicable for TypeScript and JavaScript projects. Defaults to npm in TypeScript and JavaScript projects.
0 commit comments