feat(nest): feat(nest): add standalone config flag to nest library generator

This commit is contained in:
Jay Bell 2021-09-15 09:10:58 -07:00 committed by GitHub
parent ff023bbf57
commit 470f86d0ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 31 additions and 0 deletions

View File

@ -120,6 +120,14 @@ Type: `boolean`
Do not update tsconfig.base.json for development experience.
### standaloneConfig
Default: `false`
Type: `boolean`
Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json
### strict
Default: `false`

View File

@ -120,6 +120,14 @@ Type: `boolean`
Do not update tsconfig.base.json for development experience.
### standaloneConfig
Default: `false`
Type: `boolean`
Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json
### strict
Default: `false`

View File

@ -120,6 +120,14 @@ Type: `boolean`
Do not update tsconfig.base.json for development experience.
### standaloneConfig
Default: `false`
Type: `boolean`
Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json
### strict
Default: `false`

View File

@ -58,5 +58,6 @@ export function toNodeLibraryGeneratorOptions(
tags: options.tags,
testEnvironment: options.testEnvironment,
unitTestRunner: options.unitTestRunner,
standaloneConfig: options.standaloneConfig,
};
}

View File

@ -27,6 +27,7 @@ export interface LibraryGeneratorOptions {
| 'es2020';
testEnvironment?: 'jsdom' | 'node';
unitTestRunner?: UnitTestRunner;
standaloneConfig?: boolean;
}
export interface NormalizedOptions extends LibraryGeneratorOptions {

View File

@ -106,6 +106,11 @@
"description": "Whether to enable tsconfig strict mode or not.",
"type": "boolean",
"default": false
},
"standaloneConfig": {
"description": "Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json",
"type": "boolean",
"default": false
}
},
"additionalProperties": false,