feat(nest): feat(nest): add standalone config flag to nest library generator
This commit is contained in:
parent
ff023bbf57
commit
470f86d0ab
@ -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`
|
||||
|
||||
@ -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`
|
||||
|
||||
@ -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`
|
||||
|
||||
@ -58,5 +58,6 @@ export function toNodeLibraryGeneratorOptions(
|
||||
tags: options.tags,
|
||||
testEnvironment: options.testEnvironment,
|
||||
unitTestRunner: options.unitTestRunner,
|
||||
standaloneConfig: options.standaloneConfig,
|
||||
};
|
||||
}
|
||||
|
||||
@ -27,6 +27,7 @@ export interface LibraryGeneratorOptions {
|
||||
| 'es2020';
|
||||
testEnvironment?: 'jsdom' | 'node';
|
||||
unitTestRunner?: UnitTestRunner;
|
||||
standaloneConfig?: boolean;
|
||||
}
|
||||
|
||||
export interface NormalizedOptions extends LibraryGeneratorOptions {
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user