@nx/angular 19.1.0-canary.20240507-1fe262a → 19.1.0-canary.20240509-8f705e3
Sign up to get free protection for your applications and to get access to all the features.
- package/executors.json +9 -9
- package/package.json +8 -8
- package/src/builders/dev-server/schema.json +2 -2
- package/src/builders/module-federation-dev-ssr/schema.json +1 -1
- package/src/builders/utilities/module-federation.d.ts +4 -1
- package/src/builders/utilities/module-federation.js +3 -1
- package/src/builders/webpack-browser/schema.d.ts +1 -1
- package/src/builders/webpack-browser/schema.json +1 -1
- package/src/builders/webpack-server/schema.json +1 -1
- package/src/executors/application/schema.json +1 -1
- package/src/executors/browser-esbuild/schema.json +1 -1
- package/src/executors/module-federation-dev-server/lib/start-dev-remotes.js +2 -1
- package/src/executors/module-federation-dev-server/module-federation-dev-server.impl.js +5 -2
- package/src/executors/module-federation-dev-server/schema.d.ts +7 -1
- package/src/executors/module-federation-dev-server/schema.json +20 -3
- package/src/executors/ng-packagr-lite/schema.json +1 -1
- package/src/executors/package/schema.json +1 -1
- package/src/generators/component/schema.d.ts +3 -3
- package/src/generators/component/schema.json +2 -2
- package/src/generators/directive/schema.d.ts +3 -3
- package/src/generators/directive/schema.json +2 -2
- package/src/generators/pipe/schema.d.ts +3 -3
- package/src/generators/pipe/schema.json +2 -2
- package/src/generators/scam/schema.d.ts +3 -3
- package/src/generators/scam/schema.json +2 -2
- package/src/generators/scam-directive/schema.d.ts +3 -3
- package/src/generators/scam-directive/schema.json +2 -2
- package/src/generators/scam-pipe/schema.d.ts +3 -3
- package/src/generators/scam-pipe/schema.json +2 -2
- package/src/generators/storybook-configuration/schema.json +3 -3
package/executors.json
CHANGED
@@ -8,27 +8,27 @@
|
|
8
8
|
"ng-packagr-lite": {
|
9
9
|
"implementation": "./src/executors/ng-packagr-lite/ng-packagr-lite.impl",
|
10
10
|
"schema": "./src/executors/ng-packagr-lite/schema.json",
|
11
|
-
"description": "Builds
|
11
|
+
"description": "Builds an Angular library with support for incremental builds.\n\nThis executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nx/angular:package` executor but with some key differences:\n- For supported Angular versions lower than v16, it doesn't run `ngcc` automatically (`ngcc` is no longer available from Angular v16 onwards, for lower versions, it needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`).\n- It only produces ESM2022 bundles (ESM2020 for supported Angular versions lower than v16)."
|
12
12
|
},
|
13
13
|
"package": {
|
14
14
|
"implementation": "./src/executors/package/package.impl",
|
15
15
|
"schema": "./src/executors/package/schema.json",
|
16
|
-
"description": "Builds and packages an Angular library producing an output following the Angular Package Format (APF) to be distributed as an NPM package.\nThis executor is
|
16
|
+
"description": "Builds and packages an Angular library producing an output following the Angular Package Format (APF) to be distributed as an NPM package.\n\nThis executor is a drop-in replacement for the `@angular-devkit/build-angular:ng-packagr` with additional support for incremental builds."
|
17
17
|
},
|
18
18
|
"browser-esbuild": {
|
19
19
|
"implementation": "./src/executors/browser-esbuild/browser-esbuild.impl",
|
20
20
|
"schema": "./src/executors/browser-esbuild/schema.json",
|
21
|
-
"description": "Builds
|
21
|
+
"description": "Builds an Angular application using [esbuild](https://esbuild.github.io/)."
|
22
22
|
},
|
23
23
|
"module-federation-dev-server": {
|
24
24
|
"implementation": "./src/executors/module-federation-dev-server/module-federation-dev-server.impl",
|
25
25
|
"schema": "./src/executors/module-federation-dev-server/schema.json",
|
26
|
-
"description": "
|
26
|
+
"description": "Serves host [Module Federation](https://module-federation.io/) applications ([webpack](https://webpack.js.org/)-based) allowing to specify which remote applications should be served with the host."
|
27
27
|
},
|
28
28
|
"application": {
|
29
29
|
"implementation": "./src/executors/application/application.impl",
|
30
30
|
"schema": "./src/executors/application/schema.json",
|
31
|
-
"description": "Builds an application
|
31
|
+
"description": "Builds an Angular application using [esbuild](https://esbuild.github.io/) with integrated SSR and prerendering capabilities. _Note: this is only supported in Angular versions >= 17.0.0_."
|
32
32
|
},
|
33
33
|
"extract-i18n": {
|
34
34
|
"implementation": "./src/executors/extract-i18n/extract-i18n.impl",
|
@@ -40,22 +40,22 @@
|
|
40
40
|
"webpack-browser": {
|
41
41
|
"implementation": "./src/builders/webpack-browser/webpack-browser.impl",
|
42
42
|
"schema": "./src/builders/webpack-browser/schema.json",
|
43
|
-
"description": "
|
43
|
+
"description": "Builds an Angular application using [webpack](https://webpack.js.org/)."
|
44
44
|
},
|
45
45
|
"dev-server": {
|
46
46
|
"implementation": "./src/builders/dev-server/dev-server.impl",
|
47
47
|
"schema": "./src/builders/dev-server/schema.json",
|
48
|
-
"description": "Serves an Angular application using [
|
48
|
+
"description": "Serves an Angular application using [webpack](https://webpack.js.org/) when the build target is using a webpack-based executor, or [Vite](https://vitejs.dev/) when the build target uses an [esbuild](https://esbuild.github.io/)-based executor."
|
49
49
|
},
|
50
50
|
"webpack-server": {
|
51
51
|
"implementation": "./src/builders/webpack-server/webpack-server.impl",
|
52
52
|
"schema": "./src/builders/webpack-server/schema.json",
|
53
|
-
"description": "
|
53
|
+
"description": "Builds a server Angular application using [webpack](https://webpack.js.org/). This executor is a drop-in replacement for the `@angular-devkit/build-angular:server` builder provided by the Angular CLI. It is usually used in tandem with the `@nx/angular:webpack-browser` executor when your Angular application uses a custom webpack configuration."
|
54
54
|
},
|
55
55
|
"module-federation-dev-ssr": {
|
56
56
|
"implementation": "./src/builders/module-federation-dev-ssr/module-federation-dev-ssr.impl",
|
57
57
|
"schema": "./src/builders/module-federation-dev-ssr/schema.json",
|
58
|
-
"description": "
|
58
|
+
"description": "Serves host [Module Federation](https://module-federation.io/) applications ([webpack](https://webpack.js.org/)-based) that use SSR allowing to specify which remote applications should be served with the host."
|
59
59
|
}
|
60
60
|
}
|
61
61
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/angular",
|
3
|
-
"version": "19.1.0-canary.
|
3
|
+
"version": "19.1.0-canary.20240509-8f705e3",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
|
6
6
|
"repository": {
|
@@ -78,14 +78,14 @@
|
|
78
78
|
"tslib": "^2.3.0",
|
79
79
|
"webpack": "^5.80.0",
|
80
80
|
"webpack-merge": "^5.8.0",
|
81
|
-
"@nx/devkit": "19.1.0-canary.
|
82
|
-
"@nx/js": "19.1.0-canary.
|
83
|
-
"@nx/eslint": "19.1.0-canary.
|
84
|
-
"@nx/webpack": "19.1.0-canary.
|
85
|
-
"@nx/web": "19.1.0-canary.
|
86
|
-
"@nx/workspace": "19.1.0-canary.
|
81
|
+
"@nx/devkit": "19.1.0-canary.20240509-8f705e3",
|
82
|
+
"@nx/js": "19.1.0-canary.20240509-8f705e3",
|
83
|
+
"@nx/eslint": "19.1.0-canary.20240509-8f705e3",
|
84
|
+
"@nx/webpack": "19.1.0-canary.20240509-8f705e3",
|
85
|
+
"@nx/web": "19.1.0-canary.20240509-8f705e3",
|
86
|
+
"@nx/workspace": "19.1.0-canary.20240509-8f705e3",
|
87
87
|
"piscina": "^4.4.0",
|
88
|
-
"@nrwl/angular": "19.1.0-canary.
|
88
|
+
"@nrwl/angular": "19.1.0-canary.20240509-8f705e3"
|
89
89
|
},
|
90
90
|
"peerDependencies": {
|
91
91
|
"@angular-devkit/build-angular": ">= 15.0.0 < 18.0.0",
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
4
4
|
"$schema": "http://json-schema.org/draft-07/schema",
|
5
5
|
"title": "Schema for Webpack Dev Server",
|
6
|
-
"description": "Serves an Angular application using [
|
6
|
+
"description": "Serves an Angular application using [webpack](https://webpack.js.org/) when the build target is using a webpack-based executor, or [Vite](https://vitejs.dev/) when the build target uses an [esbuild](https://esbuild.github.io/)-based executor.",
|
7
7
|
"examplesFile": "../../../docs/dev-server-examples.md",
|
8
8
|
"type": "object",
|
9
9
|
"presets": [
|
@@ -17,7 +17,7 @@
|
|
17
17
|
"type": "string",
|
18
18
|
"description": "A browser builder target to serve in the format of `project:target[:configuration]`. Ignored if `buildTarget` is set.",
|
19
19
|
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$",
|
20
|
-
"x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx
|
20
|
+
"x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v20."
|
21
21
|
},
|
22
22
|
"buildTarget": {
|
23
23
|
"type": "string",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema",
|
3
3
|
"title": "Module Federation SSR Dev Server Target",
|
4
|
-
"description": "SSR
|
4
|
+
"description": "Serves host [Module Federation](https://module-federation.io/) applications ([webpack](https://webpack.js.org/)-based) that use SSR allowing to specify which remote applications should be served with the host.",
|
5
5
|
"type": "object",
|
6
6
|
"properties": {
|
7
7
|
"browserTarget": {
|
@@ -2,5 +2,8 @@ import { ProjectConfiguration } from '@nx/devkit';
|
|
2
2
|
export declare function getDynamicRemotes(project: ProjectConfiguration, context: import('@angular-devkit/architect').BuilderContext, workspaceProjects: Record<string, ProjectConfiguration>, remotesToSkip: Set<string>, pathToManifestFile?: string): string[];
|
3
3
|
export declare function getStaticRemotes(project: ProjectConfiguration, context: import('@angular-devkit/architect').BuilderContext, workspaceProjects: Record<string, ProjectConfiguration>, remotesToSkip: Set<string>): string[];
|
4
4
|
export declare function validateDevRemotes(options: {
|
5
|
-
devRemotes?: string
|
5
|
+
devRemotes?: (string | {
|
6
|
+
remoteName: string;
|
7
|
+
configuration: string;
|
8
|
+
})[];
|
6
9
|
}, workspaceProjects: Record<string, ProjectConfiguration>): void;
|
@@ -85,7 +85,9 @@ function getStaticRemotes(project, context, workspaceProjects, remotesToSkip) {
|
|
85
85
|
}
|
86
86
|
exports.getStaticRemotes = getStaticRemotes;
|
87
87
|
function validateDevRemotes(options, workspaceProjects) {
|
88
|
-
const invalidDevRemotes = options.devRemotes?.filter((remote) => !
|
88
|
+
const invalidDevRemotes = options.devRemotes?.filter((remote) => !(typeof remote === 'string'
|
89
|
+
? workspaceProjects[remote]
|
90
|
+
: workspaceProjects[remote.remoteName])) ?? [];
|
89
91
|
if (invalidDevRemotes.length) {
|
90
92
|
throw new Error(invalidDevRemotes.length === 1
|
91
93
|
? `Invalid dev remote provided: ${invalidDevRemotes[0]}.`
|
@@ -7,7 +7,7 @@ export type BrowserBuilderSchema = Schema & {
|
|
7
7
|
indexHtmlTransformer?: string;
|
8
8
|
buildLibsFromSource?: boolean;
|
9
9
|
/**
|
10
|
-
* @deprecated Use `indexHtmlTransformer` instead. It will be removed in Nx
|
10
|
+
* @deprecated Use `indexHtmlTransformer` instead. It will be removed in Nx 20.
|
11
11
|
*/
|
12
12
|
indexFileTransformer?: string;
|
13
13
|
};
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
4
4
|
"$schema": "http://json-schema.org/draft-07/schema",
|
5
5
|
"title": "Schema for Webpack Browser",
|
6
|
-
"description": "
|
6
|
+
"description": "Builds an Angular application using [webpack](https://webpack.js.org/).",
|
7
7
|
"examplesFile": "../../../docs/webpack-browser-examples.md",
|
8
8
|
"type": "object",
|
9
9
|
"presets": [
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
4
4
|
"$schema": "http://json-schema.org/draft-07/schema",
|
5
5
|
"title": "Schema for Webpack Server",
|
6
|
-
"description": "
|
6
|
+
"description": "Builds a server Angular application using [webpack](https://webpack.js.org/). This executor is a drop-in replacement for the `@angular-devkit/build-angular:server` builder provided by the Angular CLI. It is usually used in tandem with the `@nx/angular:webpack-browser` executor when your Angular application uses a custom webpack configuration.",
|
7
7
|
"type": "object",
|
8
8
|
"properties": {
|
9
9
|
"assets": {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema",
|
3
3
|
"title": "Schema for Nx Application Executor",
|
4
|
-
"description": "Builds an application
|
4
|
+
"description": "Builds an Angular application using [esbuild](https://esbuild.github.io/) with integrated SSR and prerendering capabilities. _Note: this is only supported in Angular versions >= 17.0.0_.",
|
5
5
|
"examplesFile": "../../../docs/application-executor-examples.md",
|
6
6
|
"outputCapture": "direct-nodejs",
|
7
7
|
"type": "object",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema",
|
3
3
|
"title": "Schema for Nx ESBuild Executor",
|
4
|
-
"description": "
|
4
|
+
"description": "Builds an Angular application using [esbuild](https://esbuild.github.io/).",
|
5
5
|
"examplesFile": "../../../docs/browser-esbuild-examples.md",
|
6
6
|
"outputCapture": "direct-nodejs",
|
7
7
|
"type": "object",
|
@@ -13,10 +13,11 @@ async function startRemotes(remotes, workspaceProjects, options, context, target
|
|
13
13
|
}
|
14
14
|
const [collection, executor] = workspaceProjects[app].targets[target].executor.split(':');
|
15
15
|
const isUsingModuleFederationDevServerExecutor = executor.includes('module-federation-dev-server');
|
16
|
+
const configurationOverride = options.devRemotes.find((r) => typeof r !== 'string' && r.remoteName === app)?.configuration;
|
16
17
|
remoteIters.push(await (0, devkit_1.runExecutor)({
|
17
18
|
project: app,
|
18
19
|
target,
|
19
|
-
configuration: context.configurationName,
|
20
|
+
configuration: configurationOverride ?? context.configurationName,
|
20
21
|
}, {
|
21
22
|
...(target === 'serve' ? { verbose: options.verbose ?? false } : {}),
|
22
23
|
...(isUsingModuleFederationDevServerExecutor
|
@@ -52,14 +52,17 @@ async function* moduleFederationDevServerExecutor(schema, context) {
|
|
52
52
|
}
|
53
53
|
(0, module_federation_2.validateDevRemotes)(options, workspaceProjects);
|
54
54
|
const moduleFederationConfig = (0, module_federation_1.getModuleFederationConfig)(project.targets.build.options.tsConfig, context.root, project.root, 'angular');
|
55
|
-
const
|
55
|
+
const remoteNames = options.devRemotes?.map((r) => typeof r === 'string' ? r : r.remoteName);
|
56
|
+
const remotes = (0, module_federation_1.getRemotes)(remoteNames, options.skipRemotes, moduleFederationConfig, {
|
56
57
|
projectName: project.name,
|
57
58
|
projectGraph: context.projectGraph,
|
58
59
|
root: context.root,
|
59
60
|
}, pathToManifestFile);
|
60
61
|
if (remotes.devRemotes.length > 0 && !schema.staticRemotesPort) {
|
61
62
|
options.staticRemotesPort = options.devRemotes.reduce((portToUse, r) => {
|
62
|
-
const
|
63
|
+
const remoteName = typeof r === 'string' ? r : r.remoteName;
|
64
|
+
const remotePort = context.projectGraph.nodes[remoteName].data.targets['serve'].options
|
65
|
+
.port;
|
63
66
|
if (remotePort >= portToUse) {
|
64
67
|
return remotePort + 1;
|
65
68
|
}
|
@@ -16,7 +16,13 @@ interface BaseSchema {
|
|
16
16
|
hmr?: boolean;
|
17
17
|
watch?: boolean;
|
18
18
|
poll?: number;
|
19
|
-
devRemotes?:
|
19
|
+
devRemotes?: (
|
20
|
+
| string
|
21
|
+
| {
|
22
|
+
remoteName: string;
|
23
|
+
configuration: string;
|
24
|
+
}
|
25
|
+
)[];
|
20
26
|
skipRemotes?: string[];
|
21
27
|
pathToManifestFile?: string;
|
22
28
|
static?: boolean;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema",
|
3
3
|
"title": "Schema for Module Federation Dev Server",
|
4
4
|
"outputCapture": "direct-nodejs",
|
5
|
-
"description": "
|
5
|
+
"description": "Serves host [Module Federation](https://module-federation.io/) applications ([webpack](https://webpack.js.org/)-based) allowing to specify which remote applications should be served with the host.",
|
6
6
|
"type": "object",
|
7
7
|
"presets": [
|
8
8
|
{
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"type": "string",
|
16
16
|
"description": "A browser builder target to serve in the format of `project:target[:configuration]`.",
|
17
17
|
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$",
|
18
|
-
"x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx
|
18
|
+
"x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v20."
|
19
19
|
},
|
20
20
|
"buildTarget": {
|
21
21
|
"type": "string",
|
@@ -112,7 +112,24 @@
|
|
112
112
|
"devRemotes": {
|
113
113
|
"type": "array",
|
114
114
|
"items": {
|
115
|
-
"
|
115
|
+
"oneOf": [
|
116
|
+
{
|
117
|
+
"type": "string"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"type": "object",
|
121
|
+
"properties": {
|
122
|
+
"remoteName": {
|
123
|
+
"type": "string"
|
124
|
+
},
|
125
|
+
"configuration": {
|
126
|
+
"type": "string"
|
127
|
+
}
|
128
|
+
},
|
129
|
+
"required": ["remoteName"],
|
130
|
+
"additionalProperties": false
|
131
|
+
}
|
132
|
+
]
|
116
133
|
},
|
117
134
|
"description": "List of remote applications to run in development mode (i.e. using serve target).",
|
118
135
|
"x-priority": "important"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
4
4
|
"$schema": "https://json-schema.org/schema",
|
5
5
|
"title": "ng-packagr Target",
|
6
|
-
"description": "Builds
|
6
|
+
"description": "Builds an Angular library with support for incremental builds.\n\nThis executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nx/angular:package` executor but with some key differences:\n- For supported Angular versions lower than v16, it doesn't run `ngcc` automatically (`ngcc` is no longer available from Angular v16 onwards, for lower versions, it needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`).\n- It only produces ESM2022 bundles (ESM2020 for supported Angular versions lower than v16).",
|
7
7
|
"cli": "nx",
|
8
8
|
"type": "object",
|
9
9
|
"presets": [
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
4
4
|
"$schema": "https://json-schema.org/schema",
|
5
5
|
"title": "ng-packagr Target",
|
6
|
-
"description": "Builds and packages an Angular library producing an output following the Angular Package Format (APF) to be distributed as an NPM package.\n\nThis executor is
|
6
|
+
"description": "Builds and packages an Angular library producing an output following the Angular Package Format (APF) to be distributed as an NPM package.\n\nThis executor is a drop-in replacement for the `@angular-devkit/build-angular:ng-packagr` with additional support for incremental builds.",
|
7
7
|
"cli": "nx",
|
8
8
|
"type": "object",
|
9
9
|
"presets": [
|
@@ -22,15 +22,15 @@ export interface Schema {
|
|
22
22
|
skipFormat?: boolean;
|
23
23
|
|
24
24
|
/**
|
25
|
-
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
25
|
+
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.
|
26
26
|
*/
|
27
27
|
flat?: boolean;
|
28
28
|
/**
|
29
|
-
* @deprecated Provide the `directory` option instead. It will be removed in Nx
|
29
|
+
* @deprecated Provide the `directory` option instead. It will be removed in Nx v20.
|
30
30
|
*/
|
31
31
|
path?: string;
|
32
32
|
/**
|
33
|
-
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx
|
33
|
+
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20.
|
34
34
|
*/
|
35
35
|
project?: string;
|
36
36
|
}
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"$source": "projectName"
|
35
35
|
},
|
36
36
|
"x-dropdown": "projects",
|
37
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx
|
37
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20."
|
38
38
|
},
|
39
39
|
"prefix": {
|
40
40
|
"type": "string",
|
@@ -98,7 +98,7 @@
|
|
98
98
|
"type": "boolean",
|
99
99
|
"description": "Create the new files at the top level of the current project.",
|
100
100
|
"default": false,
|
101
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
101
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20."
|
102
102
|
},
|
103
103
|
"skipImport": {
|
104
104
|
"type": "boolean",
|
@@ -13,15 +13,15 @@ export interface Schema {
|
|
13
13
|
export?: boolean;
|
14
14
|
skipFormat?: boolean;
|
15
15
|
/**
|
16
|
-
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
16
|
+
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.
|
17
17
|
*/
|
18
18
|
flat?: boolean;
|
19
19
|
/**
|
20
|
-
* @deprecated Provide the `directory` option instead. It will be removed in Nx
|
20
|
+
* @deprecated Provide the `directory` option instead. It will be removed in Nx v20.
|
21
21
|
*/
|
22
22
|
path?: string;
|
23
23
|
/**
|
24
|
-
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx
|
24
|
+
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20.
|
25
25
|
*/
|
26
26
|
project?: string;
|
27
27
|
}
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"$source": "projectName"
|
35
35
|
},
|
36
36
|
"x-dropdown": "projects",
|
37
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx
|
37
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20."
|
38
38
|
},
|
39
39
|
"prefix": {
|
40
40
|
"type": "string",
|
@@ -74,7 +74,7 @@
|
|
74
74
|
"type": "boolean",
|
75
75
|
"description": "When true (the default), creates the new files at the top level of the current project.",
|
76
76
|
"default": true,
|
77
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
77
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20."
|
78
78
|
},
|
79
79
|
"module": {
|
80
80
|
"type": "string",
|
@@ -11,15 +11,15 @@ export interface Schema {
|
|
11
11
|
export?: boolean;
|
12
12
|
skipFormat?: boolean;
|
13
13
|
/**
|
14
|
-
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
14
|
+
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.
|
15
15
|
*/
|
16
16
|
flat?: boolean;
|
17
17
|
/**
|
18
|
-
* @deprecated Provide the `directory` option instead. It will be removed in Nx
|
18
|
+
* @deprecated Provide the `directory` option instead. It will be removed in Nx v20.
|
19
19
|
*/
|
20
20
|
path?: string;
|
21
21
|
/**
|
22
|
-
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx
|
22
|
+
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20.
|
23
23
|
*/
|
24
24
|
project?: string;
|
25
25
|
}
|
@@ -34,13 +34,13 @@
|
|
34
34
|
"$source": "projectName"
|
35
35
|
},
|
36
36
|
"x-dropdown": "projects",
|
37
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx
|
37
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20."
|
38
38
|
},
|
39
39
|
"flat": {
|
40
40
|
"type": "boolean",
|
41
41
|
"default": true,
|
42
42
|
"description": "When true (the default) creates files at the top level of the project.",
|
43
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
43
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20."
|
44
44
|
},
|
45
45
|
"skipTests": {
|
46
46
|
"type": "boolean",
|
@@ -19,15 +19,15 @@ export interface Schema {
|
|
19
19
|
export?: boolean;
|
20
20
|
skipFormat?: boolean;
|
21
21
|
/**
|
22
|
-
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
22
|
+
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.
|
23
23
|
*/
|
24
24
|
flat?: boolean;
|
25
25
|
/**
|
26
|
-
* @deprecated Provide the `directory` option instead. It will be removed in Nx
|
26
|
+
* @deprecated Provide the `directory` option instead. It will be removed in Nx v20.
|
27
27
|
*/
|
28
28
|
path?: string;
|
29
29
|
/**
|
30
|
-
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx
|
30
|
+
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20.
|
31
31
|
*/
|
32
32
|
project?: string;
|
33
33
|
}
|
@@ -40,7 +40,7 @@
|
|
40
40
|
"$source": "projectName"
|
41
41
|
},
|
42
42
|
"x-dropdown": "projects",
|
43
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx
|
43
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20."
|
44
44
|
},
|
45
45
|
"displayBlock": {
|
46
46
|
"description": "Specifies if the style will contain `:host { display: block; }`.",
|
@@ -94,7 +94,7 @@
|
|
94
94
|
"type": "boolean",
|
95
95
|
"description": "Create the new files at the top level of the current project.",
|
96
96
|
"default": false,
|
97
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
97
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20."
|
98
98
|
},
|
99
99
|
"selector": {
|
100
100
|
"type": "string",
|
@@ -11,15 +11,15 @@ export interface Schema {
|
|
11
11
|
export?: boolean;
|
12
12
|
skipFormat?: boolean;
|
13
13
|
/**
|
14
|
-
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
14
|
+
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.
|
15
15
|
*/
|
16
16
|
flat?: boolean;
|
17
17
|
/**
|
18
|
-
* @deprecated Provide the `directory` option instead. It will be removed in Nx
|
18
|
+
* @deprecated Provide the `directory` option instead. It will be removed in Nx v20.
|
19
19
|
*/
|
20
20
|
path?: string;
|
21
21
|
/**
|
22
|
-
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx
|
22
|
+
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20.
|
23
23
|
*/
|
24
24
|
project?: string;
|
25
25
|
}
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"$source": "projectName"
|
42
42
|
},
|
43
43
|
"x-dropdown": "projects",
|
44
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx
|
44
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20."
|
45
45
|
},
|
46
46
|
"skipTests": {
|
47
47
|
"type": "boolean",
|
@@ -58,7 +58,7 @@
|
|
58
58
|
"type": "boolean",
|
59
59
|
"description": "Create the new files at the top level of the current project.",
|
60
60
|
"default": true,
|
61
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
61
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20."
|
62
62
|
},
|
63
63
|
"selector": {
|
64
64
|
"type": "string",
|
@@ -9,15 +9,15 @@ export interface Schema {
|
|
9
9
|
export?: boolean;
|
10
10
|
skipFormat?: boolean;
|
11
11
|
/**
|
12
|
-
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
12
|
+
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20.
|
13
13
|
*/
|
14
14
|
flat?: boolean;
|
15
15
|
/**
|
16
|
-
* @deprecated Provide the `directory` option instead. It will be removed in Nx
|
16
|
+
* @deprecated Provide the `directory` option instead. It will be removed in Nx v20.
|
17
17
|
*/
|
18
18
|
path?: string;
|
19
19
|
/**
|
20
|
-
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx
|
20
|
+
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v20.
|
21
21
|
*/
|
22
22
|
project?: string;
|
23
23
|
}
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"$source": "projectName"
|
42
42
|
},
|
43
43
|
"x-dropdown": "projects",
|
44
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx
|
44
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20."
|
45
45
|
},
|
46
46
|
"skipTests": {
|
47
47
|
"type": "boolean",
|
@@ -58,7 +58,7 @@
|
|
58
58
|
"type": "boolean",
|
59
59
|
"description": "Create the new files at the top level of the current project.",
|
60
60
|
"default": true,
|
61
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
61
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v20."
|
62
62
|
},
|
63
63
|
"export": {
|
64
64
|
"type": "boolean",
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"configureCypress": {
|
30
30
|
"type": "boolean",
|
31
31
|
"description": "Specifies whether to configure Cypress or not.",
|
32
|
-
"x-deprecated": "Use interactionTests instead. This option will be removed in
|
32
|
+
"x-deprecated": "Use interactionTests instead. This option will be removed in v20."
|
33
33
|
},
|
34
34
|
"generateStories": {
|
35
35
|
"type": "boolean",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"generateCypressSpecs": {
|
42
42
|
"type": "boolean",
|
43
43
|
"description": "Specifies whether to automatically generate test files in the generated Cypress e2e app.",
|
44
|
-
"x-deprecated": "Use interactionTests instead. This option will be removed in
|
44
|
+
"x-deprecated": "Use interactionTests instead. This option will be removed in v20."
|
45
45
|
},
|
46
46
|
"configureStaticServe": {
|
47
47
|
"type": "boolean",
|
@@ -53,7 +53,7 @@
|
|
53
53
|
"cypressDirectory": {
|
54
54
|
"type": "string",
|
55
55
|
"description": "A directory where the Cypress project will be placed. Placed at the root by default.",
|
56
|
-
"x-deprecated": "Use interactionTests instead. This option will be removed in
|
56
|
+
"x-deprecated": "Use interactionTests instead. This option will be removed in v20."
|
57
57
|
},
|
58
58
|
"linter": {
|
59
59
|
"description": "The tool to use for running lint checks.",
|