@nx/angular 22.7.0-beta.7 → 22.7.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/executors.json +62 -62
- package/generators.json +185 -185
- package/migrations.json +2412 -2412
- package/ng-package.json +19 -19
- package/package.json +10 -10
- package/project.json +2 -8
- package/src/builders/dev-server/schema.json +163 -163
- package/src/builders/webpack-browser/schema.json +567 -567
- package/src/builders/webpack-server/schema.json +303 -303
- package/src/executors/application/schema.json +732 -732
- package/src/executors/browser-esbuild/schema.json +548 -548
- package/src/executors/delegate-build/schema.json +31 -31
- package/src/executors/extract-i18n/schema.json +47 -47
- package/src/executors/module-federation-dev-server/schema.json +164 -164
- package/src/executors/module-federation-ssr-dev-server/schema.json +119 -119
- package/src/executors/ng-packagr-lite/schema.json +35 -35
- package/src/executors/package/schema.json +35 -35
- package/src/executors/unit-test/schema.json +305 -305
- package/src/generators/add-linting/schema.json +48 -48
- package/src/generators/application/schema.json +188 -188
- package/src/generators/component/schema.json +123 -123
- package/src/generators/component-story/schema.json +50 -50
- package/src/generators/component-test/schema.json +52 -52
- package/src/generators/convert-to-application-executor/schema.json +23 -23
- package/src/generators/convert-to-rspack/schema.json +27 -27
- package/src/generators/convert-to-with-mf/schema.json +30 -30
- package/src/generators/cypress-component-configuration/schema.json +43 -43
- package/src/generators/directive/schema.json +89 -89
- package/src/generators/federate-module/schema.json +80 -80
- package/src/generators/host/schema.json +189 -189
- package/src/generators/init/schema.json +31 -31
- package/src/generators/library/schema.json +189 -189
- package/src/generators/library-secondary-entry-point/schema.json +40 -40
- package/src/generators/move/schema.json +53 -53
- package/src/generators/ng-add/schema.json +62 -63
- package/src/generators/ngrx/schema.json +99 -99
- package/src/generators/ngrx-feature-store/schema.json +69 -69
- package/src/generators/ngrx-root-store/schema.json +68 -68
- package/src/generators/pipe/schema.json +75 -75
- package/src/generators/remote/schema.json +182 -182
- package/src/generators/scam/schema.json +120 -120
- package/src/generators/scam-directive/schema.json +82 -82
- package/src/generators/scam-pipe/schema.json +64 -64
- package/src/generators/scam-to-standalone/schema.json +29 -29
- package/src/generators/setup-mf/schema.json +90 -90
- package/src/generators/setup-ssr/schema.json +70 -70
- package/src/generators/setup-tailwind/schema.json +39 -39
- package/src/generators/stories/schema.json +53 -53
- package/src/generators/storybook-configuration/schema.json +80 -80
- package/src/generators/web-worker/schema.json +45 -45
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "NxAngularStorybookConfigurationGenerator",
|
|
4
|
+
"title": "Adds Storybook configuration to a project.",
|
|
5
|
+
"description": "Adds Storybook configuration to a project to be able to use and create stories.",
|
|
6
|
+
"cli": "nx",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"project": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"aliases": ["name", "projectName"],
|
|
12
|
+
"description": "Project for which to generate Storybook configuration.",
|
|
13
|
+
"$default": {
|
|
14
|
+
"$source": "argv",
|
|
15
|
+
"index": 0
|
|
16
|
+
},
|
|
17
|
+
"x-prompt": "For which project do you want to generate Storybook configuration?",
|
|
18
|
+
"x-dropdown": "projects",
|
|
19
|
+
"x-priority": "important"
|
|
20
|
+
},
|
|
21
|
+
"interactionTests": {
|
|
22
|
+
"type": "boolean",
|
|
23
|
+
"description": "Set up Storybook interaction tests.",
|
|
24
|
+
"x-prompt": "Do you want to set up Storybook interaction tests?",
|
|
25
|
+
"alias": ["configureTestRunner"],
|
|
26
|
+
"x-priority": "important",
|
|
27
|
+
"default": true
|
|
28
|
+
},
|
|
29
|
+
"generateStories": {
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"description": "Specifies whether to automatically generate `*.stories.ts` files for components declared in this project or not.",
|
|
32
|
+
"x-prompt": "Automatically generate *.stories.ts files for components declared in this project?",
|
|
33
|
+
"default": true,
|
|
34
|
+
"x-priority": "important"
|
|
35
|
+
},
|
|
36
|
+
"configureStaticServe": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"description": "Specifies whether to configure a static file server target for serving storybook. Helpful for speeding up CI build/test times.",
|
|
39
|
+
"x-prompt": "Configure a static file server for the storybook instance?",
|
|
40
|
+
"default": true,
|
|
41
|
+
"x-priority": "important"
|
|
42
|
+
},
|
|
43
|
+
"linter": {
|
|
44
|
+
"description": "The tool to use for running lint checks.",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"enum": ["eslint", "none"],
|
|
47
|
+
"default": "eslint"
|
|
48
|
+
},
|
|
49
|
+
"tsConfiguration": {
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"description": "Configure your project with TypeScript. Generate main.ts and preview.ts files, instead of main.js and preview.js.",
|
|
52
|
+
"default": true,
|
|
53
|
+
"x-priority": "important"
|
|
54
|
+
},
|
|
55
|
+
"skipFormat": {
|
|
56
|
+
"description": "Skip formatting files.",
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"default": false,
|
|
59
|
+
"x-priority": "internal"
|
|
60
|
+
},
|
|
61
|
+
"ignorePaths": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"description": "Paths to ignore when looking for components.",
|
|
64
|
+
"items": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"description": "Path to ignore."
|
|
67
|
+
},
|
|
68
|
+
"default": [
|
|
69
|
+
"*.stories.ts,*.stories.tsx,*.stories.js,*.stories.jsx,*.stories.mdx"
|
|
70
|
+
],
|
|
71
|
+
"examples": [
|
|
72
|
+
"apps/my-app/src/not-stories/**",
|
|
73
|
+
"**/**/src/**/not-stories/**",
|
|
74
|
+
"libs/my-lib/**/*.something.ts",
|
|
75
|
+
"**/**/src/**/*.other.*",
|
|
76
|
+
"libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts"
|
|
77
|
+
]
|
|
78
|
+
}
|
|
20
79
|
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"x-prompt": "Do you want to set up Storybook interaction tests?",
|
|
25
|
-
"alias": ["configureTestRunner"],
|
|
26
|
-
"x-priority": "important",
|
|
27
|
-
"default": true
|
|
28
|
-
},
|
|
29
|
-
"generateStories": {
|
|
30
|
-
"type": "boolean",
|
|
31
|
-
"description": "Specifies whether to automatically generate `*.stories.ts` files for components declared in this project or not.",
|
|
32
|
-
"x-prompt": "Automatically generate *.stories.ts files for components declared in this project?",
|
|
33
|
-
"default": true,
|
|
34
|
-
"x-priority": "important"
|
|
35
|
-
},
|
|
36
|
-
"configureStaticServe": {
|
|
37
|
-
"type": "boolean",
|
|
38
|
-
"description": "Specifies whether to configure a static file server target for serving storybook. Helpful for speeding up CI build/test times.",
|
|
39
|
-
"x-prompt": "Configure a static file server for the storybook instance?",
|
|
40
|
-
"default": true,
|
|
41
|
-
"x-priority": "important"
|
|
42
|
-
},
|
|
43
|
-
"linter": {
|
|
44
|
-
"description": "The tool to use for running lint checks.",
|
|
45
|
-
"type": "string",
|
|
46
|
-
"enum": ["eslint", "none"],
|
|
47
|
-
"default": "eslint"
|
|
48
|
-
},
|
|
49
|
-
"tsConfiguration": {
|
|
50
|
-
"type": "boolean",
|
|
51
|
-
"description": "Configure your project with TypeScript. Generate main.ts and preview.ts files, instead of main.js and preview.js.",
|
|
52
|
-
"default": true,
|
|
53
|
-
"x-priority": "important"
|
|
54
|
-
},
|
|
55
|
-
"skipFormat": {
|
|
56
|
-
"description": "Skip formatting files.",
|
|
57
|
-
"type": "boolean",
|
|
58
|
-
"default": false,
|
|
59
|
-
"x-priority": "internal"
|
|
60
|
-
},
|
|
61
|
-
"ignorePaths": {
|
|
62
|
-
"type": "array",
|
|
63
|
-
"description": "Paths to ignore when looking for components.",
|
|
64
|
-
"items": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"description": "Path to ignore."
|
|
67
|
-
},
|
|
68
|
-
"default": [
|
|
69
|
-
"*.stories.ts,*.stories.tsx,*.stories.js,*.stories.jsx,*.stories.mdx"
|
|
70
|
-
],
|
|
71
|
-
"examples": [
|
|
72
|
-
"apps/my-app/src/not-stories/**",
|
|
73
|
-
"**/**/src/**/not-stories/**",
|
|
74
|
-
"libs/my-lib/**/*.something.ts",
|
|
75
|
-
"**/**/src/**/*.other.*",
|
|
76
|
-
"libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts"
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"additionalProperties": false,
|
|
81
|
-
"required": ["project"],
|
|
82
|
-
"examplesFile": "../../../docs/storybook-configuration-examples.md"
|
|
80
|
+
"additionalProperties": false,
|
|
81
|
+
"required": ["project"],
|
|
82
|
+
"examplesFile": "../../../docs/storybook-configuration-examples.md"
|
|
83
83
|
}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "NxAngularWebWorkerGenerator",
|
|
4
|
+
"title": "Angular Web Worker Options Schema",
|
|
5
|
+
"description": "Creates a new, generic web worker definition in the given or default project.",
|
|
6
|
+
"cli": "nx",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"path": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"format": "path",
|
|
12
|
+
"description": "The path at which to create the worker file, relative to the current workspace."
|
|
13
|
+
},
|
|
14
|
+
"project": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "The name of the project.",
|
|
17
|
+
"$default": {
|
|
18
|
+
"$source": "projectName"
|
|
19
|
+
},
|
|
20
|
+
"x-dropdown": "projects",
|
|
21
|
+
"x-priority": "important"
|
|
22
|
+
},
|
|
23
|
+
"name": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "The name of the worker.",
|
|
26
|
+
"$default": {
|
|
27
|
+
"$source": "argv",
|
|
28
|
+
"index": 0
|
|
29
|
+
},
|
|
30
|
+
"x-prompt": "What name would you like to use for the worker?",
|
|
31
|
+
"x-priority": "important"
|
|
32
|
+
},
|
|
33
|
+
"snippet": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"default": true,
|
|
36
|
+
"description": "Add a worker creation snippet in a sibling file of the same name."
|
|
37
|
+
},
|
|
38
|
+
"skipFormat": {
|
|
39
|
+
"description": "Skip formatting files.",
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"default": false,
|
|
42
|
+
"x-priority": "internal"
|
|
43
|
+
}
|
|
13
44
|
},
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"$default": {
|
|
18
|
-
"$source": "projectName"
|
|
19
|
-
},
|
|
20
|
-
"x-dropdown": "projects",
|
|
21
|
-
"x-priority": "important"
|
|
22
|
-
},
|
|
23
|
-
"name": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"description": "The name of the worker.",
|
|
26
|
-
"$default": {
|
|
27
|
-
"$source": "argv",
|
|
28
|
-
"index": 0
|
|
29
|
-
},
|
|
30
|
-
"x-prompt": "What name would you like to use for the worker?",
|
|
31
|
-
"x-priority": "important"
|
|
32
|
-
},
|
|
33
|
-
"snippet": {
|
|
34
|
-
"type": "boolean",
|
|
35
|
-
"default": true,
|
|
36
|
-
"description": "Add a worker creation snippet in a sibling file of the same name."
|
|
37
|
-
},
|
|
38
|
-
"skipFormat": {
|
|
39
|
-
"description": "Skip formatting files.",
|
|
40
|
-
"type": "boolean",
|
|
41
|
-
"default": false,
|
|
42
|
-
"x-priority": "internal"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"additionalProperties": false,
|
|
46
|
-
"required": ["name", "project"],
|
|
47
|
-
"examplesFile": "../../../docs/web-worker-examples.md"
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"required": ["name", "project"],
|
|
47
|
+
"examplesFile": "../../../docs/web-worker-examples.md"
|
|
48
48
|
}
|