@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.
Files changed (50) hide show
  1. package/executors.json +62 -62
  2. package/generators.json +185 -185
  3. package/migrations.json +2412 -2412
  4. package/ng-package.json +19 -19
  5. package/package.json +10 -10
  6. package/project.json +2 -8
  7. package/src/builders/dev-server/schema.json +163 -163
  8. package/src/builders/webpack-browser/schema.json +567 -567
  9. package/src/builders/webpack-server/schema.json +303 -303
  10. package/src/executors/application/schema.json +732 -732
  11. package/src/executors/browser-esbuild/schema.json +548 -548
  12. package/src/executors/delegate-build/schema.json +31 -31
  13. package/src/executors/extract-i18n/schema.json +47 -47
  14. package/src/executors/module-federation-dev-server/schema.json +164 -164
  15. package/src/executors/module-federation-ssr-dev-server/schema.json +119 -119
  16. package/src/executors/ng-packagr-lite/schema.json +35 -35
  17. package/src/executors/package/schema.json +35 -35
  18. package/src/executors/unit-test/schema.json +305 -305
  19. package/src/generators/add-linting/schema.json +48 -48
  20. package/src/generators/application/schema.json +188 -188
  21. package/src/generators/component/schema.json +123 -123
  22. package/src/generators/component-story/schema.json +50 -50
  23. package/src/generators/component-test/schema.json +52 -52
  24. package/src/generators/convert-to-application-executor/schema.json +23 -23
  25. package/src/generators/convert-to-rspack/schema.json +27 -27
  26. package/src/generators/convert-to-with-mf/schema.json +30 -30
  27. package/src/generators/cypress-component-configuration/schema.json +43 -43
  28. package/src/generators/directive/schema.json +89 -89
  29. package/src/generators/federate-module/schema.json +80 -80
  30. package/src/generators/host/schema.json +189 -189
  31. package/src/generators/init/schema.json +31 -31
  32. package/src/generators/library/schema.json +189 -189
  33. package/src/generators/library-secondary-entry-point/schema.json +40 -40
  34. package/src/generators/move/schema.json +53 -53
  35. package/src/generators/ng-add/schema.json +62 -63
  36. package/src/generators/ngrx/schema.json +99 -99
  37. package/src/generators/ngrx-feature-store/schema.json +69 -69
  38. package/src/generators/ngrx-root-store/schema.json +68 -68
  39. package/src/generators/pipe/schema.json +75 -75
  40. package/src/generators/remote/schema.json +182 -182
  41. package/src/generators/scam/schema.json +120 -120
  42. package/src/generators/scam-directive/schema.json +82 -82
  43. package/src/generators/scam-pipe/schema.json +64 -64
  44. package/src/generators/scam-to-standalone/schema.json +29 -29
  45. package/src/generators/setup-mf/schema.json +90 -90
  46. package/src/generators/setup-ssr/schema.json +70 -70
  47. package/src/generators/setup-tailwind/schema.json +39 -39
  48. package/src/generators/stories/schema.json +53 -53
  49. package/src/generators/storybook-configuration/schema.json +80 -80
  50. package/src/generators/web-worker/schema.json +45 -45
@@ -1,127 +1,127 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
3
- "$id": "SCAMGenerator",
4
- "cli": "nx",
5
- "title": "SCAM Generator Options Schema",
6
- "type": "object",
7
- "examples": [
8
- {
9
- "description": "Generate a component with the exported symbol matching the file name. It results in the component `FooComponent` at `mylib/src/lib/foo.component.ts`",
10
- "command": "nx g @nx/angular:scam mylib/src/lib/foo.component.ts"
11
- },
12
- {
13
- "description": "Generate a component without providing the file extension. It results in the component `FooComponent` at `mylib/src/lib/foo.component.ts`",
14
- "command": "nx g @nx/angular:scam mylib/src/lib/foo"
15
- },
16
- {
17
- "description": "Generate a component with the exported symbol different from the file name. It results in the component `CustomComponent` at `mylib/src/lib/foo.component.ts`",
18
- "command": "nx g @nx/angular:scam mylib/src/lib/foo --name=custom"
19
- }
20
- ],
21
- "description": "Creates a new Angular SCAM.",
22
- "additionalProperties": false,
23
- "properties": {
24
- "path": {
25
- "type": "string",
26
- "description": "The file path to the SCAM. Relative to the current working directory.",
27
- "$default": {
28
- "$source": "argv",
29
- "index": 0
30
- },
31
- "x-prompt": "What is the SCAM file path?"
32
- },
33
- "name": {
34
- "type": "string",
35
- "description": "The component symbol name. Defaults to the last segment of the file path."
36
- },
37
- "displayBlock": {
38
- "description": "Specifies if the style will contain `:host { display: block; }`.",
39
- "type": "boolean",
40
- "default": false,
41
- "alias": "b"
42
- },
43
- "inlineStyle": {
44
- "description": "Include styles inline in the `component.ts` file. Only CSS styles can be included inline. By default, an external styles file is created and referenced in the `component.ts` file.",
45
- "type": "boolean",
46
- "default": false,
47
- "alias": "s"
48
- },
49
- "inlineTemplate": {
50
- "description": "Include template inline in the `component.ts` file. By default, an external template file is created and referenced in the `component.ts` file.",
51
- "type": "boolean",
52
- "default": false,
53
- "alias": "t"
54
- },
55
- "viewEncapsulation": {
56
- "description": "The view encapsulation strategy to use in the new component.",
57
- "enum": ["Emulated", "None", "ShadowDom"],
58
- "type": "string",
59
- "alias": "v"
60
- },
61
- "changeDetection": {
62
- "description": "The change detection strategy to use in the new component.",
63
- "enum": ["Default", "OnPush"],
64
- "type": "string",
65
- "default": "Default",
66
- "alias": "c"
67
- },
68
- "style": {
69
- "description": "The file extension or preprocessor to use for style files, or 'none' to skip generating the style file.",
70
- "type": "string",
71
- "default": "css",
72
- "enum": ["css", "scss", "sass", "less", "none"]
73
- },
74
- "skipTests": {
75
- "type": "boolean",
76
- "description": "Do not create `spec.ts` test files for the new component.",
77
- "default": false
78
- },
79
- "inlineScam": {
80
- "type": "boolean",
81
- "description": "Create the `NgModule` in the same file as the component.",
82
- "default": true,
83
- "x-priority": "important"
84
- },
85
- "selector": {
86
- "type": "string",
87
- "format": "html-selector",
88
- "description": "The `HTML` selector to use for this component."
89
- },
90
- "skipSelector": {
91
- "type": "boolean",
92
- "default": false,
93
- "description": "Specifies if the component should have a selector or not."
94
- },
95
- "type": {
96
- "type": "string",
97
- "description": "Append a custom type to the component's filename. It defaults to 'component' for Angular versions below v20. For Angular v20 and above, no type is appended unless specified."
98
- },
99
- "prefix": {
100
- "type": "string",
101
- "description": "The prefix to apply to the generated component selector.",
102
- "alias": "p",
103
- "oneOf": [
2
+ "$schema": "http://json-schema.org/draft-07/schema",
3
+ "$id": "SCAMGenerator",
4
+ "cli": "nx",
5
+ "title": "SCAM Generator Options Schema",
6
+ "type": "object",
7
+ "examples": [
8
+ {
9
+ "description": "Generate a component with the exported symbol matching the file name. It results in the component `FooComponent` at `mylib/src/lib/foo.component.ts`",
10
+ "command": "nx g @nx/angular:scam mylib/src/lib/foo.component.ts"
11
+ },
104
12
  {
105
- "maxLength": 0
13
+ "description": "Generate a component without providing the file extension. It results in the component `FooComponent` at `mylib/src/lib/foo.component.ts`",
14
+ "command": "nx g @nx/angular:scam mylib/src/lib/foo"
106
15
  },
107
16
  {
108
- "minLength": 1,
109
- "format": "html-selector"
17
+ "description": "Generate a component with the exported symbol different from the file name. It results in the component `CustomComponent` at `mylib/src/lib/foo.component.ts`",
18
+ "command": "nx g @nx/angular:scam mylib/src/lib/foo --name=custom"
19
+ }
20
+ ],
21
+ "description": "Creates a new Angular SCAM.",
22
+ "additionalProperties": false,
23
+ "properties": {
24
+ "path": {
25
+ "type": "string",
26
+ "description": "The file path to the SCAM. Relative to the current working directory.",
27
+ "$default": {
28
+ "$source": "argv",
29
+ "index": 0
30
+ },
31
+ "x-prompt": "What is the SCAM file path?"
32
+ },
33
+ "name": {
34
+ "type": "string",
35
+ "description": "The component symbol name. Defaults to the last segment of the file path."
36
+ },
37
+ "displayBlock": {
38
+ "description": "Specifies if the style will contain `:host { display: block; }`.",
39
+ "type": "boolean",
40
+ "default": false,
41
+ "alias": "b"
42
+ },
43
+ "inlineStyle": {
44
+ "description": "Include styles inline in the `component.ts` file. Only CSS styles can be included inline. By default, an external styles file is created and referenced in the `component.ts` file.",
45
+ "type": "boolean",
46
+ "default": false,
47
+ "alias": "s"
48
+ },
49
+ "inlineTemplate": {
50
+ "description": "Include template inline in the `component.ts` file. By default, an external template file is created and referenced in the `component.ts` file.",
51
+ "type": "boolean",
52
+ "default": false,
53
+ "alias": "t"
54
+ },
55
+ "viewEncapsulation": {
56
+ "description": "The view encapsulation strategy to use in the new component.",
57
+ "enum": ["Emulated", "None", "ShadowDom"],
58
+ "type": "string",
59
+ "alias": "v"
60
+ },
61
+ "changeDetection": {
62
+ "description": "The change detection strategy to use in the new component.",
63
+ "enum": ["Default", "OnPush"],
64
+ "type": "string",
65
+ "default": "Default",
66
+ "alias": "c"
67
+ },
68
+ "style": {
69
+ "description": "The file extension or preprocessor to use for style files, or 'none' to skip generating the style file.",
70
+ "type": "string",
71
+ "default": "css",
72
+ "enum": ["css", "scss", "sass", "less", "none"]
73
+ },
74
+ "skipTests": {
75
+ "type": "boolean",
76
+ "description": "Do not create `spec.ts` test files for the new component.",
77
+ "default": false
78
+ },
79
+ "inlineScam": {
80
+ "type": "boolean",
81
+ "description": "Create the `NgModule` in the same file as the component.",
82
+ "default": true,
83
+ "x-priority": "important"
84
+ },
85
+ "selector": {
86
+ "type": "string",
87
+ "format": "html-selector",
88
+ "description": "The `HTML` selector to use for this component."
89
+ },
90
+ "skipSelector": {
91
+ "type": "boolean",
92
+ "default": false,
93
+ "description": "Specifies if the component should have a selector or not."
94
+ },
95
+ "type": {
96
+ "type": "string",
97
+ "description": "Append a custom type to the component's filename. It defaults to 'component' for Angular versions below v20. For Angular v20 and above, no type is appended unless specified."
98
+ },
99
+ "prefix": {
100
+ "type": "string",
101
+ "description": "The prefix to apply to the generated component selector.",
102
+ "alias": "p",
103
+ "oneOf": [
104
+ {
105
+ "maxLength": 0
106
+ },
107
+ {
108
+ "minLength": 1,
109
+ "format": "html-selector"
110
+ }
111
+ ]
112
+ },
113
+ "export": {
114
+ "type": "boolean",
115
+ "description": "Specifies if the SCAM should be exported from the project's entry point (normally `index.ts`). It only applies to libraries.",
116
+ "default": true,
117
+ "x-priority": "important"
118
+ },
119
+ "skipFormat": {
120
+ "type": "boolean",
121
+ "description": "Skip formatting files.",
122
+ "default": false,
123
+ "x-priority": "internal"
110
124
  }
111
- ]
112
- },
113
- "export": {
114
- "type": "boolean",
115
- "description": "Specifies if the SCAM should be exported from the project's entry point (normally `index.ts`). It only applies to libraries.",
116
- "default": true,
117
- "x-priority": "important"
118
125
  },
119
- "skipFormat": {
120
- "type": "boolean",
121
- "description": "Skip formatting files.",
122
- "default": false,
123
- "x-priority": "internal"
124
- }
125
- },
126
- "required": ["path"]
126
+ "required": ["path"]
127
127
  }
@@ -1,89 +1,89 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
3
- "$id": "SCAMDirectiveGenerator",
4
- "cli": "nx",
5
- "title": "SCAM Directive Generator Options Schema",
6
- "type": "object",
7
- "examples": [
8
- {
9
- "description": "Generate a directive with the exported symbol matching the file name. It results in the directive `FooDirective` at `mylib/src/lib/foo.directive.ts`",
10
- "command": "nx g @nx/angular:scam-directive mylib/src/lib/foo.directive.ts"
11
- },
12
- {
13
- "description": "Generate a directive without providing the file extension. It results in the directive `Foo` at `mylib/src/lib/foo.ts`",
14
- "command": "nx g @nx/angular:scam-directive mylib/src/lib/foo"
15
- },
16
- {
17
- "description": "Generate a directive with a given type/suffix. It results in the directive `FooDirective` at `mylib/src/lib/foo.directive.ts`",
18
- "command": "nx g @nx/angular:scam-directive mylib/src/lib/foo --type=directive"
19
- },
20
- {
21
- "description": "Generate a directive with the exported symbol different from the file name. It results in the directive `Custom` at `mylib/src/lib/foo.ts`",
22
- "command": "nx g @nx/angular:scam-directive mylib/src/lib/foo --name=custom"
23
- }
24
- ],
25
- "description": "Creates a new, generic Angular directive definition in the given or default project.",
26
- "additionalProperties": false,
27
- "properties": {
28
- "path": {
29
- "type": "string",
30
- "description": "The file path to the SCAM directive. Relative to the current working directory.",
31
- "$default": {
32
- "$source": "argv",
33
- "index": 0
34
- },
35
- "x-prompt": "What is the SCAM directive file path?"
36
- },
37
- "name": {
38
- "type": "string",
39
- "description": "The directive symbol name. Defaults to the last segment of the file path."
40
- },
41
- "skipTests": {
42
- "type": "boolean",
43
- "description": "Do not create `spec.ts` test files for the new directive.",
44
- "default": false
45
- },
46
- "inlineScam": {
47
- "type": "boolean",
48
- "description": "Create the `NgModule` in the same file as the Directive.",
49
- "default": true,
50
- "x-priority": "important"
51
- },
52
- "selector": {
53
- "type": "string",
54
- "format": "html-selector",
55
- "description": "The `HTML` selector to use for this directive."
56
- },
57
- "prefix": {
58
- "type": "string",
59
- "description": "The prefix to apply to the generated directive selector.",
60
- "alias": "p",
61
- "oneOf": [
2
+ "$schema": "http://json-schema.org/draft-07/schema",
3
+ "$id": "SCAMDirectiveGenerator",
4
+ "cli": "nx",
5
+ "title": "SCAM Directive Generator Options Schema",
6
+ "type": "object",
7
+ "examples": [
8
+ {
9
+ "description": "Generate a directive with the exported symbol matching the file name. It results in the directive `FooDirective` at `mylib/src/lib/foo.directive.ts`",
10
+ "command": "nx g @nx/angular:scam-directive mylib/src/lib/foo.directive.ts"
11
+ },
12
+ {
13
+ "description": "Generate a directive without providing the file extension. It results in the directive `Foo` at `mylib/src/lib/foo.ts`",
14
+ "command": "nx g @nx/angular:scam-directive mylib/src/lib/foo"
15
+ },
62
16
  {
63
- "maxLength": 0
17
+ "description": "Generate a directive with a given type/suffix. It results in the directive `FooDirective` at `mylib/src/lib/foo.directive.ts`",
18
+ "command": "nx g @nx/angular:scam-directive mylib/src/lib/foo --type=directive"
64
19
  },
65
20
  {
66
- "minLength": 1,
67
- "format": "html-selector"
21
+ "description": "Generate a directive with the exported symbol different from the file name. It results in the directive `Custom` at `mylib/src/lib/foo.ts`",
22
+ "command": "nx g @nx/angular:scam-directive mylib/src/lib/foo --name=custom"
23
+ }
24
+ ],
25
+ "description": "Creates a new, generic Angular directive definition in the given or default project.",
26
+ "additionalProperties": false,
27
+ "properties": {
28
+ "path": {
29
+ "type": "string",
30
+ "description": "The file path to the SCAM directive. Relative to the current working directory.",
31
+ "$default": {
32
+ "$source": "argv",
33
+ "index": 0
34
+ },
35
+ "x-prompt": "What is the SCAM directive file path?"
36
+ },
37
+ "name": {
38
+ "type": "string",
39
+ "description": "The directive symbol name. Defaults to the last segment of the file path."
40
+ },
41
+ "skipTests": {
42
+ "type": "boolean",
43
+ "description": "Do not create `spec.ts` test files for the new directive.",
44
+ "default": false
45
+ },
46
+ "inlineScam": {
47
+ "type": "boolean",
48
+ "description": "Create the `NgModule` in the same file as the Directive.",
49
+ "default": true,
50
+ "x-priority": "important"
51
+ },
52
+ "selector": {
53
+ "type": "string",
54
+ "format": "html-selector",
55
+ "description": "The `HTML` selector to use for this directive."
56
+ },
57
+ "prefix": {
58
+ "type": "string",
59
+ "description": "The prefix to apply to the generated directive selector.",
60
+ "alias": "p",
61
+ "oneOf": [
62
+ {
63
+ "maxLength": 0
64
+ },
65
+ {
66
+ "minLength": 1,
67
+ "format": "html-selector"
68
+ }
69
+ ]
70
+ },
71
+ "export": {
72
+ "type": "boolean",
73
+ "description": "Specifies if the SCAM should be exported from the project's entry point (normally `index.ts`). It only applies to libraries.",
74
+ "default": true,
75
+ "x-priority": "important"
76
+ },
77
+ "type": {
78
+ "type": "string",
79
+ "description": "Append a custom type to the directive's filename. It defaults to 'directive' for Angular versions below v20. For Angular v20 and above, no type is appended unless specified."
80
+ },
81
+ "skipFormat": {
82
+ "description": "Skip formatting files.",
83
+ "type": "boolean",
84
+ "default": false,
85
+ "x-priority": "internal"
68
86
  }
69
- ]
70
- },
71
- "export": {
72
- "type": "boolean",
73
- "description": "Specifies if the SCAM should be exported from the project's entry point (normally `index.ts`). It only applies to libraries.",
74
- "default": true,
75
- "x-priority": "important"
76
- },
77
- "type": {
78
- "type": "string",
79
- "description": "Append a custom type to the directive's filename. It defaults to 'directive' for Angular versions below v20. For Angular v20 and above, no type is appended unless specified."
80
87
  },
81
- "skipFormat": {
82
- "description": "Skip formatting files.",
83
- "type": "boolean",
84
- "default": false,
85
- "x-priority": "internal"
86
- }
87
- },
88
- "required": ["path"]
88
+ "required": ["path"]
89
89
  }
@@ -1,67 +1,67 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
3
- "$id": "SCAMPipeGenerator",
4
- "cli": "nx",
5
- "title": "SCAM Pipe Generator Options Schema",
6
- "type": "object",
7
- "examples": [
8
- {
9
- "description": "Generate a pipe with the exported symbol matching the file name. It results in the pipe `FooPipe` at `mylib/src/lib/foo.pipe.ts`",
10
- "command": "nx g @nx/angular:scam-pipe mylib/src/lib/foo.pipe.ts"
2
+ "$schema": "http://json-schema.org/draft-07/schema",
3
+ "$id": "SCAMPipeGenerator",
4
+ "cli": "nx",
5
+ "title": "SCAM Pipe Generator Options Schema",
6
+ "type": "object",
7
+ "examples": [
8
+ {
9
+ "description": "Generate a pipe with the exported symbol matching the file name. It results in the pipe `FooPipe` at `mylib/src/lib/foo.pipe.ts`",
10
+ "command": "nx g @nx/angular:scam-pipe mylib/src/lib/foo.pipe.ts"
11
+ },
12
+ {
13
+ "description": "Generate a pipe without providing the file extension. It results in the pipe `FooPipe` at `mylib/src/lib/foo.pipe.ts`",
14
+ "command": "nx g @nx/angular:scam-pipe mylib/src/lib/foo"
15
+ },
16
+ {
17
+ "description": "Generate a pipe with the exported symbol different from the file name. It results in the pipe `CustomPipe` at `mylib/src/lib/foo.pipe.ts`",
18
+ "command": "nx g @nx/angular:scam-pipe mylib/src/lib/foo --name=custom"
19
+ }
20
+ ],
21
+ "description": "Creates a new, generic Angular pipe definition in the given or default project.",
22
+ "additionalProperties": false,
23
+ "properties": {
24
+ "path": {
25
+ "type": "string",
26
+ "description": "The file path to the SCAM pipe. Relative to the current working directory.",
27
+ "$default": {
28
+ "$source": "argv",
29
+ "index": 0
30
+ },
31
+ "x-prompt": "What is the SCAM pipe file path?"
32
+ },
33
+ "name": {
34
+ "type": "string",
35
+ "description": "The pipe symbol name. Defaults to the last segment of the file path."
36
+ },
37
+ "skipTests": {
38
+ "type": "boolean",
39
+ "description": "Do not create `spec.ts` test files for the new pipe.",
40
+ "default": false
41
+ },
42
+ "inlineScam": {
43
+ "type": "boolean",
44
+ "description": "Create the NgModule in the same file as the Pipe.",
45
+ "default": true,
46
+ "x-priority": "important"
47
+ },
48
+ "export": {
49
+ "type": "boolean",
50
+ "description": "Specifies if the SCAM should be exported from the project's entry point (normally `index.ts`). It only applies to libraries.",
51
+ "default": true,
52
+ "x-priority": "important"
53
+ },
54
+ "typeSeparator": {
55
+ "type": "string",
56
+ "enum": ["-", "."],
57
+ "description": "The separator character to use before the type within the generated file's name. For example, if you set the option to `.`, the file will be named `example.pipe.ts`. It defaults to '-' for Angular v20+. For versions below v20, it defaults to '.'."
58
+ },
59
+ "skipFormat": {
60
+ "description": "Skip formatting files.",
61
+ "type": "boolean",
62
+ "default": false,
63
+ "x-priority": "internal"
64
+ }
11
65
  },
12
- {
13
- "description": "Generate a pipe without providing the file extension. It results in the pipe `FooPipe` at `mylib/src/lib/foo.pipe.ts`",
14
- "command": "nx g @nx/angular:scam-pipe mylib/src/lib/foo"
15
- },
16
- {
17
- "description": "Generate a pipe with the exported symbol different from the file name. It results in the pipe `CustomPipe` at `mylib/src/lib/foo.pipe.ts`",
18
- "command": "nx g @nx/angular:scam-pipe mylib/src/lib/foo --name=custom"
19
- }
20
- ],
21
- "description": "Creates a new, generic Angular pipe definition in the given or default project.",
22
- "additionalProperties": false,
23
- "properties": {
24
- "path": {
25
- "type": "string",
26
- "description": "The file path to the SCAM pipe. Relative to the current working directory.",
27
- "$default": {
28
- "$source": "argv",
29
- "index": 0
30
- },
31
- "x-prompt": "What is the SCAM pipe file path?"
32
- },
33
- "name": {
34
- "type": "string",
35
- "description": "The pipe symbol name. Defaults to the last segment of the file path."
36
- },
37
- "skipTests": {
38
- "type": "boolean",
39
- "description": "Do not create `spec.ts` test files for the new pipe.",
40
- "default": false
41
- },
42
- "inlineScam": {
43
- "type": "boolean",
44
- "description": "Create the NgModule in the same file as the Pipe.",
45
- "default": true,
46
- "x-priority": "important"
47
- },
48
- "export": {
49
- "type": "boolean",
50
- "description": "Specifies if the SCAM should be exported from the project's entry point (normally `index.ts`). It only applies to libraries.",
51
- "default": true,
52
- "x-priority": "important"
53
- },
54
- "typeSeparator": {
55
- "type": "string",
56
- "enum": ["-", "."],
57
- "description": "The separator character to use before the type within the generated file's name. For example, if you set the option to `.`, the file will be named `example.pipe.ts`. It defaults to '-' for Angular v20+. For versions below v20, it defaults to '.'."
58
- },
59
- "skipFormat": {
60
- "description": "Skip formatting files.",
61
- "type": "boolean",
62
- "default": false,
63
- "x-priority": "internal"
64
- }
65
- },
66
- "required": ["path"]
66
+ "required": ["path"]
67
67
  }
@@ -1,32 +1,32 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "GeneratorAngularScamToStandalone",
4
- "cli": "nx",
5
- "title": "Convert an Inline SCAM to Standalone Component",
6
- "description": "Convert an Inline SCAM to a Standalone Component.",
7
- "type": "object",
8
- "properties": {
9
- "component": {
10
- "type": "string",
11
- "description": "The path to the SCAM component file, relative to the root of the project containing the SCAM.",
12
- "$default": {
13
- "$source": "argv",
14
- "index": 0
15
- },
16
- "x-priority": "important"
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "GeneratorAngularScamToStandalone",
4
+ "cli": "nx",
5
+ "title": "Convert an Inline SCAM to Standalone Component",
6
+ "description": "Convert an Inline SCAM to a Standalone Component.",
7
+ "type": "object",
8
+ "properties": {
9
+ "component": {
10
+ "type": "string",
11
+ "description": "The path to the SCAM component file, relative to the root of the project containing the SCAM.",
12
+ "$default": {
13
+ "$source": "argv",
14
+ "index": 0
15
+ },
16
+ "x-priority": "important"
17
+ },
18
+ "project": {
19
+ "type": "string",
20
+ "description": "The project containing the SCAM.",
21
+ "x-prompt": "What project contains the SCAM?",
22
+ "x-dropdown": "projects",
23
+ "x-priority": "important"
24
+ },
25
+ "skipFormat": {
26
+ "type": "boolean",
27
+ "description": "Skip formatting the workspace after the generator completes.",
28
+ "x-priority": "internal"
29
+ }
17
30
  },
18
- "project": {
19
- "type": "string",
20
- "description": "The project containing the SCAM.",
21
- "x-prompt": "What project contains the SCAM?",
22
- "x-dropdown": "projects",
23
- "x-priority": "important"
24
- },
25
- "skipFormat": {
26
- "type": "boolean",
27
- "description": "Skip formatting the workspace after the generator completes.",
28
- "x-priority": "internal"
29
- }
30
- },
31
- "examplesFile": "../../../docs/scam-to-standalone-examples.md"
31
+ "examplesFile": "../../../docs/scam-to-standalone-examples.md"
32
32
  }