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
The idea is when .projenrc.js gets generated, it should include a list of the available options out of the box, similar to how they are provided when you run tsc --init in a new repository, which produces:
{"compilerOptions": {/* Visit https://aka.ms/tsconfig.json to read more about this file *//* Basic Options */// "incremental": true, /* Enable incremental compilation */"target": "es5",/* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */"module": "commonjs",/* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */// "lib": [], /* Specify library files to be included in the compilation. */// "allowJs": true, /* Allow javascript files to be compiled. */
...
I see that jsii is being used to generate API docs right now -- maybe there's some way to hook into that or leverage it to perform this automatically?
The text was updated successfully, but these errors were encountered:
*Issue #, if available:* Closes#168
*Description of changes:* Updated default rendering function for .projenrc.js config file so that it gets initialize with a list of all options available based on the project type.
Also updated the docstrings of several props so that the "default" field would be a proper value.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Quality of life / convenience feature.
The idea is when
.projenrc.js
gets generated, it should include a list of the available options out of the box, similar to how they are provided when you runtsc --init
in a new repository, which produces:I see that jsii is being used to generate API docs right now -- maybe there's some way to hook into that or leverage it to perform this automatically?
The text was updated successfully, but these errors were encountered: