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.
|
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
|
### strict
|
||||||
|
|
||||||
Default: `false`
|
Default: `false`
|
||||||
|
|||||||
@ -120,6 +120,14 @@ Type: `boolean`
|
|||||||
|
|
||||||
Do not update tsconfig.base.json for development experience.
|
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
|
### strict
|
||||||
|
|
||||||
Default: `false`
|
Default: `false`
|
||||||
|
|||||||
@ -120,6 +120,14 @@ Type: `boolean`
|
|||||||
|
|
||||||
Do not update tsconfig.base.json for development experience.
|
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
|
### strict
|
||||||
|
|
||||||
Default: `false`
|
Default: `false`
|
||||||
|
|||||||
@ -58,5 +58,6 @@ export function toNodeLibraryGeneratorOptions(
|
|||||||
tags: options.tags,
|
tags: options.tags,
|
||||||
testEnvironment: options.testEnvironment,
|
testEnvironment: options.testEnvironment,
|
||||||
unitTestRunner: options.unitTestRunner,
|
unitTestRunner: options.unitTestRunner,
|
||||||
|
standaloneConfig: options.standaloneConfig,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,6 +27,7 @@ export interface LibraryGeneratorOptions {
|
|||||||
| 'es2020';
|
| 'es2020';
|
||||||
testEnvironment?: 'jsdom' | 'node';
|
testEnvironment?: 'jsdom' | 'node';
|
||||||
unitTestRunner?: UnitTestRunner;
|
unitTestRunner?: UnitTestRunner;
|
||||||
|
standaloneConfig?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface NormalizedOptions extends LibraryGeneratorOptions {
|
export interface NormalizedOptions extends LibraryGeneratorOptions {
|
||||||
|
|||||||
@ -106,6 +106,11 @@
|
|||||||
"description": "Whether to enable tsconfig strict mode or not.",
|
"description": "Whether to enable tsconfig strict mode or not.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"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,
|
"additionalProperties": false,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user