@wirechunk/cli 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/main.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import type { OptionValues } from '@commander-js/extra-typings';
4
- import { Command, Option } from '@commander-js/extra-typings';
4
+ import { Command } from '@commander-js/extra-typings';
5
5
  import chalk from 'chalk';
6
6
  import { bootstrap } from './commands/bootstrap.ts';
7
7
  import { createExtensionVersion } from './commands/create-extension-version.ts';
@@ -86,8 +86,9 @@ program
86
86
  '--platform-id <string>',
87
87
  'the ID of the platform ID to which the users will be added, used only if org ID is not specified',
88
88
  )
89
- .addOption(
90
- new Option('--role <string>', 'the role the user will have').default('OrganizationOwner'),
89
+ .option(
90
+ '--role <string>',
91
+ 'the role the user will have (defaults to the default role set on the platform, if defined, or an empty string)',
91
92
  )
92
93
  .option('--email-verified', 'mark the email address as already verified by the user', false)
93
94
  .option('--pending', 'create the user in a pending state', false)
package/tsconfig.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "target": "ES2023",
4
- "lib": ["ES2023", "ESNext.Promise"],
4
+ "lib": ["ES2024", "ESNext.Promise"],
5
5
  "module": "NodeNext",
6
6
  "moduleResolution": "NodeNext",
7
7
  "allowImportingTsExtensions": true,