@sitecore-jss/sitecore-jss-angular-schematics 21.0.8 → 21.0.10
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/README.md +9 -9
- package/package.json +2 -2
- package/src/jss-component/schema.json +101 -101
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# Sitecore JavaScript Rendering SDK Angular Schematics
|
|
2
|
-
|
|
3
|
-
This module is provided as a part of Sitecore JavaScript Rendering SDK (JSS). It contains Angular developer code generation schematics.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
[Installation (Experience Platform)](https://doc.sitecore.com/xp/en/developers/hd/201/sitecore-headless-development/jss-angular-schematics.html)
|
|
7
|
-
[Usage](https://doc.sitecore.com/xp/en/developers/hd/201/sitecore-headless-development/scaffolding-components-in-jss-apps.html)
|
|
8
|
-
|
|
9
|
-
[API reference documentation](/ref-docs/sitecore-jss-angular-schematics/)
|
|
1
|
+
# Sitecore JavaScript Rendering SDK Angular Schematics
|
|
2
|
+
|
|
3
|
+
This module is provided as a part of Sitecore JavaScript Rendering SDK (JSS). It contains Angular developer code generation schematics.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
[Installation (Experience Platform)](https://doc.sitecore.com/xp/en/developers/hd/201/sitecore-headless-development/jss-angular-schematics.html)
|
|
7
|
+
[Usage](https://doc.sitecore.com/xp/en/developers/hd/201/sitecore-headless-development/scaffolding-components-in-jss-apps.html)
|
|
8
|
+
|
|
9
|
+
[API reference documentation](/ref-docs/sitecore-jss-angular-schematics/)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitecore-jss/sitecore-jss-angular-schematics",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.10",
|
|
4
4
|
"description": "Scaffolding schematics for Sitecore JSS Angular apps",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc -p tsconfig.json",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"nyc": "^15.1.0",
|
|
37
37
|
"typescript": "~4.3.5"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "f95d4d42d34e32f181cad5172aa9e2119db0f467"
|
|
40
40
|
}
|
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"id": "SchematicsAngularComponent",
|
|
4
|
-
"title": "JSS Angular Component Options Schema",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"path": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "path",
|
|
10
|
-
"description": "The path to create the component.",
|
|
11
|
-
"visible": false
|
|
12
|
-
},
|
|
13
|
-
"noManifest": {
|
|
14
|
-
"description": "Skips generating a disconnected manifest definition. Use for Sitecore-first development.",
|
|
15
|
-
"type": "boolean",
|
|
16
|
-
"default": false
|
|
17
|
-
},
|
|
18
|
-
"project": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"description": "The name of the project.",
|
|
21
|
-
"$default": {
|
|
22
|
-
"$source": "projectName"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"name": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "The name of the component.",
|
|
28
|
-
"$default": {
|
|
29
|
-
"$source": "argv",
|
|
30
|
-
"index": 0
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"inlineStyle": {
|
|
34
|
-
"description": "Specifies if the style will be in the ts file.",
|
|
35
|
-
"type": "boolean",
|
|
36
|
-
"default": false,
|
|
37
|
-
"alias": "s"
|
|
38
|
-
},
|
|
39
|
-
"inlineTemplate": {
|
|
40
|
-
"description": "Specifies if the template will be in the ts file.",
|
|
41
|
-
"type": "boolean",
|
|
42
|
-
"default": false,
|
|
43
|
-
"alias": "t"
|
|
44
|
-
},
|
|
45
|
-
"viewEncapsulation": {
|
|
46
|
-
"description": "Specifies the view encapsulation strategy.",
|
|
47
|
-
"enum": ["Emulated", "Native", "None"],
|
|
48
|
-
"type": "string",
|
|
49
|
-
"alias": "v"
|
|
50
|
-
},
|
|
51
|
-
"changeDetection": {
|
|
52
|
-
"description": "Specifies the change detection strategy.",
|
|
53
|
-
"enum": ["Default", "OnPush"],
|
|
54
|
-
"type": "string",
|
|
55
|
-
"default": "Default",
|
|
56
|
-
"alias": "c"
|
|
57
|
-
},
|
|
58
|
-
"prefix": {
|
|
59
|
-
"type": "string",
|
|
60
|
-
"description": "The prefix to apply to generated selectors.",
|
|
61
|
-
"alias": "p",
|
|
62
|
-
"oneOf": [
|
|
63
|
-
{
|
|
64
|
-
"maxLength": 0
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"minLength": 1,
|
|
68
|
-
"format": "html-selector"
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"default": "app"
|
|
72
|
-
},
|
|
73
|
-
"styleext": {
|
|
74
|
-
"description": "The file extension to be used for style files.",
|
|
75
|
-
"type": "string",
|
|
76
|
-
"default": "css"
|
|
77
|
-
},
|
|
78
|
-
"spec": {
|
|
79
|
-
"type": "boolean",
|
|
80
|
-
"description": "Specifies if a spec file is generated.",
|
|
81
|
-
"default": true
|
|
82
|
-
},
|
|
83
|
-
"flat": {
|
|
84
|
-
"type": "boolean",
|
|
85
|
-
"description": "Flag to indicate if a dir is created.",
|
|
86
|
-
"default": false
|
|
87
|
-
},
|
|
88
|
-
"selector": {
|
|
89
|
-
"type": "string",
|
|
90
|
-
"format": "html-selector",
|
|
91
|
-
"description": "The selector to use for the component."
|
|
92
|
-
},
|
|
93
|
-
"lazyload": {
|
|
94
|
-
"type": "boolean",
|
|
95
|
-
"default": false,
|
|
96
|
-
"description": "Specify whether to generate a lazy-loading module file for the component. When using the default JSS component factory code generator, this will cause the component to lazy load when needed. If using hand-edited component factory, you'll need to add the module to the lazy components manually."
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"required": [],
|
|
100
|
-
"additionalProperties": false
|
|
101
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"id": "SchematicsAngularComponent",
|
|
4
|
+
"title": "JSS Angular Component Options Schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "path",
|
|
10
|
+
"description": "The path to create the component.",
|
|
11
|
+
"visible": false
|
|
12
|
+
},
|
|
13
|
+
"noManifest": {
|
|
14
|
+
"description": "Skips generating a disconnected manifest definition. Use for Sitecore-first development.",
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"default": false
|
|
17
|
+
},
|
|
18
|
+
"project": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "The name of the project.",
|
|
21
|
+
"$default": {
|
|
22
|
+
"$source": "projectName"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"name": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "The name of the component.",
|
|
28
|
+
"$default": {
|
|
29
|
+
"$source": "argv",
|
|
30
|
+
"index": 0
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"inlineStyle": {
|
|
34
|
+
"description": "Specifies if the style will be in the ts file.",
|
|
35
|
+
"type": "boolean",
|
|
36
|
+
"default": false,
|
|
37
|
+
"alias": "s"
|
|
38
|
+
},
|
|
39
|
+
"inlineTemplate": {
|
|
40
|
+
"description": "Specifies if the template will be in the ts file.",
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"default": false,
|
|
43
|
+
"alias": "t"
|
|
44
|
+
},
|
|
45
|
+
"viewEncapsulation": {
|
|
46
|
+
"description": "Specifies the view encapsulation strategy.",
|
|
47
|
+
"enum": ["Emulated", "Native", "None"],
|
|
48
|
+
"type": "string",
|
|
49
|
+
"alias": "v"
|
|
50
|
+
},
|
|
51
|
+
"changeDetection": {
|
|
52
|
+
"description": "Specifies the change detection strategy.",
|
|
53
|
+
"enum": ["Default", "OnPush"],
|
|
54
|
+
"type": "string",
|
|
55
|
+
"default": "Default",
|
|
56
|
+
"alias": "c"
|
|
57
|
+
},
|
|
58
|
+
"prefix": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "The prefix to apply to generated selectors.",
|
|
61
|
+
"alias": "p",
|
|
62
|
+
"oneOf": [
|
|
63
|
+
{
|
|
64
|
+
"maxLength": 0
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"minLength": 1,
|
|
68
|
+
"format": "html-selector"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"default": "app"
|
|
72
|
+
},
|
|
73
|
+
"styleext": {
|
|
74
|
+
"description": "The file extension to be used for style files.",
|
|
75
|
+
"type": "string",
|
|
76
|
+
"default": "css"
|
|
77
|
+
},
|
|
78
|
+
"spec": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"description": "Specifies if a spec file is generated.",
|
|
81
|
+
"default": true
|
|
82
|
+
},
|
|
83
|
+
"flat": {
|
|
84
|
+
"type": "boolean",
|
|
85
|
+
"description": "Flag to indicate if a dir is created.",
|
|
86
|
+
"default": false
|
|
87
|
+
},
|
|
88
|
+
"selector": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"format": "html-selector",
|
|
91
|
+
"description": "The selector to use for the component."
|
|
92
|
+
},
|
|
93
|
+
"lazyload": {
|
|
94
|
+
"type": "boolean",
|
|
95
|
+
"default": false,
|
|
96
|
+
"description": "Specify whether to generate a lazy-loading module file for the component. When using the default JSS component factory code generator, this will cause the component to lazy load when needed. If using hand-edited component factory, you'll need to add the module to the lazy components manually."
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"required": [],
|
|
100
|
+
"additionalProperties": false
|
|
101
|
+
}
|