-
Notifications
You must be signed in to change notification settings - Fork 245
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
jsii-config #904
Labels
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
Comments
I like the idea. And it'll also bridge a documentation/discoverability issue here. The only twist I'd have is that I'd allow hitting to this command as |
RomainMuller
added
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
labels
Oct 23, 2019
MrArnoldPalmer
added a commit
to MrArnoldPalmer/jsii
that referenced
this issue
Nov 12, 2019
Defines jsii-config CLI application for configuring a jsii package's `jsii` options inside package.json. These options dictate what target languages and language specific packaging options jsii uses when building. The application uses [inquirer](https://www.npmjs.com/package/inquirer) for interactive prompts and [yargs](https://www.npmjs.com/package/yargs) for argument parsing. jsii-config will help configure packages with or without an existing jsii configuration in package.json. If the object does exist, the default values of fields that are prompted will be the existing values. This allows users to just hit 'enter' until they get to the options they wish to change and modify only those. After the user inputs all of the values for the relevant prompts, they are asked to confirm the config. If the user selects 'yes', the config is written to package.json, if they select 'no', they will be prompted to fill out the fields again, however, the default values will now be what they previously entered. This is done so the user will only need to change the specific fields that need it. Fixes aws#904
MrArnoldPalmer
added a commit
to MrArnoldPalmer/jsii
that referenced
this issue
Nov 12, 2019
Defines jsii-config CLI application for configuring a jsii package's `jsii` options inside package.json. These options dictate what target languages and language specific packaging options jsii uses when building. The application uses [inquirer](https://www.npmjs.com/package/inquirer) for interactive prompts and [yargs](https://www.npmjs.com/package/yargs) for argument parsing. jsii-config will help configure packages with or without an existing jsii configuration in package.json. If the object does exist, the default values of fields that are prompted will be the existing values. This allows users to just hit 'enter' until they get to the options they wish to change and modify only those. After the user inputs all of the values for the relevant prompts, they are asked to confirm the config. If the user selects 'yes', the config is written to package.json, if they select 'no', they will be prompted to fill out the fields again, however, the default values will now be what they previously entered. This is done so the user will only need to change the specific fields that need it. Fixes aws#904
MrArnoldPalmer
added a commit
to MrArnoldPalmer/jsii
that referenced
this issue
Nov 13, 2019
Defines jsii-config CLI application for configuring a jsii package's `jsii` options inside package.json. These options dictate what target languages and language specific packaging options jsii uses when building. The application uses [inquirer](https://www.npmjs.com/package/inquirer) for interactive prompts and [yargs](https://www.npmjs.com/package/yargs) for argument parsing. jsii-config will help configure packages with or without an existing jsii configuration in package.json. If the object does exist, the default values of fields that are prompted will be the existing values. This allows users to just hit 'enter' until they get to the options they wish to change and modify only those. After the user inputs all of the values for the relevant prompts, they are asked to confirm the config. If the user selects 'yes', the config is written to package.json, if they select 'no', they will be prompted to fill out the fields again, however, the default values will now be what they previously entered. This is done so the user will only need to change the specific fields that need it. Fixes aws#904
MrArnoldPalmer
added a commit
to MrArnoldPalmer/jsii
that referenced
this issue
Nov 13, 2019
Defines jsii-config CLI application for configuring a jsii package's `jsii` options inside package.json. These options dictate what target languages and language specific packaging options jsii uses when building. The application uses [inquirer](https://www.npmjs.com/package/inquirer) for interactive prompts and [yargs](https://www.npmjs.com/package/yargs) for argument parsing. jsii-config will help configure packages with or without an existing jsii configuration in package.json. If the object does exist, the default values of fields that are prompted will be the existing values. This allows users to just hit 'enter' until they get to the options they wish to change and modify only those. After the user inputs all of the values for the relevant prompts, they are asked to confirm the config. If the user selects 'yes', the config is written to package.json, if they select 'no', they will be prompted to fill out the fields again, however, the default values will now be what they previously entered. This is done so the user will only need to change the specific fields that need it. Fixes aws#904
MrArnoldPalmer
added a commit
to MrArnoldPalmer/jsii
that referenced
this issue
Nov 14, 2019
Defines jsii-config CLI application for configuring a jsii package's `jsii` options inside package.json. These options dictate what target languages and language specific packaging options jsii uses when building. The application uses [inquirer](https://www.npmjs.com/package/inquirer) for interactive prompts and [yargs](https://www.npmjs.com/package/yargs) for argument parsing. jsii-config will help configure packages with or without an existing jsii configuration in package.json. If the object does exist, the default values of fields that are prompted will be the existing values. This allows users to just hit 'enter' until they get to the options they wish to change and modify only those. After the user inputs all of the values for the relevant prompts, they are asked to confirm the config. If the user selects 'yes', the config is written to package.json, if they select 'no', they will be prompted to fill out the fields again, however, the default values will now be what they previously entered. This is done so the user will only need to change the specific fields that need it. Fixes aws#904
MrArnoldPalmer
added a commit
to MrArnoldPalmer/jsii
that referenced
this issue
Nov 15, 2019
Defines jsii-config CLI application for configuring a jsii package's `jsii` options inside package.json. These options dictate what target languages and language specific packaging options jsii uses when building. The application uses [inquirer](https://www.npmjs.com/package/inquirer) for interactive prompts and [yargs](https://www.npmjs.com/package/yargs) for argument parsing. jsii-config will help configure packages with or without an existing jsii configuration in package.json. If the object does exist, the default values of fields that are prompted will be the existing values. This allows users to just hit 'enter' until they get to the options they wish to change and modify only those. After the user inputs all of the values for the relevant prompts, they are asked to confirm the config. If the user selects 'yes', the config is written to package.json, if they select 'no', they will be prompted to fill out the fields again, however, the default values will now be what they previously entered. This is done so the user will only need to change the specific fields that need it. Fixes aws#904
eladb
pushed a commit
that referenced
this issue
Nov 18, 2019
Defines jsii-config CLI application for configuring a jsii package's jsii options inside package.json. These options dictate what target languages and language specific packaging options jsii uses when building. The application uses inquirer for interactive prompts and yargs for argument parsing. jsii-config will help configure packages with or without an existing jsii configuration in package.json. If the object does exist, the default values of fields that are prompted will be the existing values. This allows users to just hit 'enter' until they get to the options they wish to change and modify only those. After the user inputs all of the values for the relevant prompts, they are asked to confirm the config. If the user selects 'yes', the config is written to package.json, if they select 'no', they will be prompted to fill out the fields again, however, the default values will now be what they previously entered. This is done so the user will only need to change the specific fields that need it. Fixes #904
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
jsii-config
is an interactive command line tool for creating jsii configuration in package.json.Since writing the
jsii
config section inpackage.json
can be a bit of a hassle and requires quite a lot of configuration, it will be nice to offer an interactive experience:Proposed Solution
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: