|
74 | 74 | "@schematics/angular:component": { |
75 | 75 | "type": "object", |
76 | 76 | "properties": { |
| 77 | + "changeDetection": { |
| 78 | + "description": "Specifies the change detection strategy.", |
| 79 | + "enum": ["Default", "OnPush"], |
| 80 | + "type": "string", |
| 81 | + "default": "Default", |
| 82 | + "alias": "c" |
| 83 | + }, |
| 84 | + "export": { |
| 85 | + "type": "boolean", |
| 86 | + "default": false, |
| 87 | + "description": "Specifies if declaring module exports the component." |
| 88 | + }, |
| 89 | + "flat": { |
| 90 | + "type": "boolean", |
| 91 | + "description": "Flag to indicate if a dir is created.", |
| 92 | + "default": false |
| 93 | + }, |
77 | 94 | "inlineStyle": { |
78 | 95 | "description": "Specifies if the style will be in the ts file.", |
79 | 96 | "type": "boolean", |
|
86 | 103 | "default": false, |
87 | 104 | "alias": "t" |
88 | 105 | }, |
89 | | - "viewEncapsulation": { |
90 | | - "description": "Specifies the view encapsulation strategy.", |
91 | | - "enum": ["Emulated", "Native", "None"], |
92 | | - "type": "string", |
93 | | - "alias": "v" |
94 | | - }, |
95 | | - "changeDetection": { |
96 | | - "description": "Specifies the change detection strategy.", |
97 | | - "enum": ["Default", "OnPush"], |
| 106 | + "module": { |
98 | 107 | "type": "string", |
99 | | - "default": "Default", |
100 | | - "alias": "c" |
| 108 | + "description": "Allows specification of the declaring module.", |
| 109 | + "alias": "m" |
101 | 110 | }, |
102 | 111 | "prefix": { |
103 | 112 | "type": "string", |
104 | 113 | "format": "html-selector", |
105 | 114 | "description": "The prefix to apply to generated selectors.", |
106 | 115 | "alias": "p" |
107 | 116 | }, |
108 | | - "styleext": { |
109 | | - "description": "The file extension to be used for style files.", |
| 117 | + "selector": { |
110 | 118 | "type": "string", |
111 | | - "default": "css" |
112 | | - }, |
113 | | - "spec": { |
114 | | - "type": "boolean", |
115 | | - "description": "Specifies if a spec file is generated.", |
116 | | - "default": true |
117 | | - }, |
118 | | - "flat": { |
119 | | - "type": "boolean", |
120 | | - "description": "Flag to indicate if a dir is created.", |
121 | | - "default": false |
| 119 | + "format": "html-selector", |
| 120 | + "description": "The selector to use for the component." |
122 | 121 | }, |
123 | 122 | "skipImport": { |
124 | 123 | "type": "boolean", |
125 | 124 | "description": "Flag to skip the module import.", |
126 | 125 | "default": false |
127 | 126 | }, |
128 | | - "selector": { |
129 | | - "type": "string", |
130 | | - "format": "html-selector", |
131 | | - "description": "The selector to use for the component." |
| 127 | + "spec": { |
| 128 | + "type": "boolean", |
| 129 | + "description": "Specifies if a spec file is generated.", |
| 130 | + "default": true |
132 | 131 | }, |
133 | | - "module": { |
| 132 | + "styleext": { |
| 133 | + "description": "The file extension to be used for style files.", |
134 | 134 | "type": "string", |
135 | | - "description": "Allows specification of the declaring module.", |
136 | | - "alias": "m" |
| 135 | + "default": "css" |
137 | 136 | }, |
138 | | - "export": { |
139 | | - "type": "boolean", |
140 | | - "default": false, |
141 | | - "description": "Specifies if declaring module exports the component." |
| 137 | + "viewEncapsulation": { |
| 138 | + "description": "Specifies the view encapsulation strategy.", |
| 139 | + "enum": ["Emulated", "Native", "None"], |
| 140 | + "type": "string", |
| 141 | + "alias": "v" |
142 | 142 | } |
143 | 143 | } |
144 | 144 | }, |
|
0 commit comments