fix(angular): remove deprecated standaloneConfig from generators (#30578)
## Current Behavior The `standaloneConfig` option has long been deprecated as it is the only behaviour that Nx now provides. Using it is a no-op. ## Expected Behavior Remove the `standaloneConfig` option.
This commit is contained in:
parent
5aab4eb420
commit
4f14f9d5af
@ -127,12 +127,6 @@
|
|||||||
"description": "Create an application with stricter type checking and build optimization options.",
|
"description": "Create an application with stricter type checking and build optimization options.",
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"standaloneConfig": {
|
|
||||||
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
||||||
"type": "boolean",
|
|
||||||
"default": true,
|
|
||||||
"x-deprecated": "Nx only supports standaloneConfig"
|
|
||||||
},
|
|
||||||
"port": {
|
"port": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "The port at which the remote application should be served."
|
"description": "The port at which the remote application should be served."
|
||||||
|
|||||||
@ -141,12 +141,6 @@
|
|||||||
"description": "Create an application with stricter type checking and build optimization options.",
|
"description": "Create an application with stricter type checking and build optimization options.",
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"standaloneConfig": {
|
|
||||||
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
||||||
"type": "boolean",
|
|
||||||
"default": true,
|
|
||||||
"x-deprecated": "Nx only supports standaloneConfig"
|
|
||||||
},
|
|
||||||
"setParserOptionsProject": {
|
"setParserOptionsProject": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
||||||
|
|||||||
@ -108,12 +108,6 @@
|
|||||||
"enum": ["eslint", "none"],
|
"enum": ["eslint", "none"],
|
||||||
"default": "eslint"
|
"default": "eslint"
|
||||||
},
|
},
|
||||||
"standaloneConfig": {
|
|
||||||
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
||||||
"type": "boolean",
|
|
||||||
"default": true,
|
|
||||||
"x-deprecated": "Nx only supports standaloneConfig"
|
|
||||||
},
|
|
||||||
"compilationMode": {
|
"compilationMode": {
|
||||||
"description": "Specifies the compilation mode to use. If not specified, it will default to `partial` for publishable libraries and to `full` for buildable libraries. The `full` value can not be used for publishable libraries.",
|
"description": "Specifies the compilation mode to use. If not specified, it will default to `partial` for publishable libraries and to `full` for buildable libraries. The `full` value can not be used for publishable libraries.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -135,12 +135,6 @@
|
|||||||
"description": "Create an application with stricter type checking and build optimization options.",
|
"description": "Create an application with stricter type checking and build optimization options.",
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"standaloneConfig": {
|
|
||||||
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
||||||
"type": "boolean",
|
|
||||||
"default": true,
|
|
||||||
"x-deprecated": "Nx only supports standaloneConfig"
|
|
||||||
},
|
|
||||||
"setParserOptionsProject": {
|
"setParserOptionsProject": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
||||||
|
|||||||
@ -20,7 +20,6 @@ export interface Schema {
|
|||||||
e2eTestRunner?: E2eTestRunner;
|
e2eTestRunner?: E2eTestRunner;
|
||||||
backendProject?: string;
|
backendProject?: string;
|
||||||
strict?: boolean;
|
strict?: boolean;
|
||||||
standaloneConfig?: boolean;
|
|
||||||
port?: number;
|
port?: number;
|
||||||
setParserOptionsProject?: boolean;
|
setParserOptionsProject?: boolean;
|
||||||
skipPackageJson?: boolean;
|
skipPackageJson?: boolean;
|
||||||
|
|||||||
@ -130,12 +130,6 @@
|
|||||||
"description": "Create an application with stricter type checking and build optimization options.",
|
"description": "Create an application with stricter type checking and build optimization options.",
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"standaloneConfig": {
|
|
||||||
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
||||||
"type": "boolean",
|
|
||||||
"default": true,
|
|
||||||
"x-deprecated": "Nx only supports standaloneConfig"
|
|
||||||
},
|
|
||||||
"port": {
|
"port": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "The port at which the remote application should be served."
|
"description": "The port at which the remote application should be served."
|
||||||
|
|||||||
@ -20,7 +20,6 @@ export interface Schema {
|
|||||||
e2eTestRunner?: E2eTestRunner;
|
e2eTestRunner?: E2eTestRunner;
|
||||||
backendProject?: string;
|
backendProject?: string;
|
||||||
strict?: boolean;
|
strict?: boolean;
|
||||||
standaloneConfig?: boolean;
|
|
||||||
inlineStyle?: boolean;
|
inlineStyle?: boolean;
|
||||||
inlineTemplate?: boolean;
|
inlineTemplate?: boolean;
|
||||||
viewEncapsulation?: 'Emulated' | 'Native' | 'None';
|
viewEncapsulation?: 'Emulated' | 'Native' | 'None';
|
||||||
|
|||||||
@ -144,12 +144,6 @@
|
|||||||
"description": "Create an application with stricter type checking and build optimization options.",
|
"description": "Create an application with stricter type checking and build optimization options.",
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"standaloneConfig": {
|
|
||||||
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
||||||
"type": "boolean",
|
|
||||||
"default": true,
|
|
||||||
"x-deprecated": "Nx only supports standaloneConfig"
|
|
||||||
},
|
|
||||||
"setParserOptionsProject": {
|
"setParserOptionsProject": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
||||||
|
|||||||
@ -13,7 +13,6 @@ export interface NormalizedSchema {
|
|||||||
buildable?: boolean;
|
buildable?: boolean;
|
||||||
publishable?: boolean;
|
publishable?: boolean;
|
||||||
importPath?: string;
|
importPath?: string;
|
||||||
standaloneConfig?: boolean;
|
|
||||||
spec?: boolean;
|
spec?: boolean;
|
||||||
commonModule?: boolean;
|
commonModule?: boolean;
|
||||||
routing?: boolean;
|
routing?: boolean;
|
||||||
|
|||||||
@ -12,7 +12,6 @@ export interface Schema {
|
|||||||
buildable?: boolean;
|
buildable?: boolean;
|
||||||
publishable?: boolean;
|
publishable?: boolean;
|
||||||
importPath?: string;
|
importPath?: string;
|
||||||
standaloneConfig?: boolean;
|
|
||||||
spec?: boolean;
|
spec?: boolean;
|
||||||
flat?: boolean;
|
flat?: boolean;
|
||||||
commonModule?: boolean;
|
commonModule?: boolean;
|
||||||
|
|||||||
@ -108,12 +108,6 @@
|
|||||||
"enum": ["eslint", "none"],
|
"enum": ["eslint", "none"],
|
||||||
"default": "eslint"
|
"default": "eslint"
|
||||||
},
|
},
|
||||||
"standaloneConfig": {
|
|
||||||
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
||||||
"type": "boolean",
|
|
||||||
"default": true,
|
|
||||||
"x-deprecated": "Nx only supports standaloneConfig"
|
|
||||||
},
|
|
||||||
"compilationMode": {
|
"compilationMode": {
|
||||||
"description": "Specifies the compilation mode to use. If not specified, it will default to `partial` for publishable libraries and to `full` for buildable libraries. The `full` value can not be used for publishable libraries.",
|
"description": "Specifies the compilation mode to use. If not specified, it will default to `partial` for publishable libraries and to `full` for buildable libraries. The `full` value can not be used for publishable libraries.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -19,7 +19,6 @@ export interface Schema {
|
|||||||
e2eTestRunner?: E2eTestRunner;
|
e2eTestRunner?: E2eTestRunner;
|
||||||
backendProject?: string;
|
backendProject?: string;
|
||||||
strict?: boolean;
|
strict?: boolean;
|
||||||
standaloneConfig?: boolean;
|
|
||||||
inlineStyle?: boolean;
|
inlineStyle?: boolean;
|
||||||
inlineTemplate?: boolean;
|
inlineTemplate?: boolean;
|
||||||
viewEncapsulation?: 'Emulated' | 'Native' | 'None';
|
viewEncapsulation?: 'Emulated' | 'Native' | 'None';
|
||||||
|
|||||||
@ -138,12 +138,6 @@
|
|||||||
"description": "Create an application with stricter type checking and build optimization options.",
|
"description": "Create an application with stricter type checking and build optimization options.",
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"standaloneConfig": {
|
|
||||||
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
||||||
"type": "boolean",
|
|
||||||
"default": true,
|
|
||||||
"x-deprecated": "Nx only supports standaloneConfig"
|
|
||||||
},
|
|
||||||
"setParserOptionsProject": {
|
"setParserOptionsProject": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user