igniteui-cli 10.1.0-beta.2 → 10.1.0-beta.4
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/lib/commands/add.js +7 -0
- package/package.json +3 -3
- package/templates/webcomponents/igc-ts/date-time-input/default/index.js +1 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/package.json +1 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/styles.css +5 -0
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json +1 -1
package/lib/commands/add.js
CHANGED
|
@@ -108,6 +108,13 @@ command = {
|
|
|
108
108
|
},
|
|
109
109
|
addTemplate(fileName, template, options) {
|
|
110
110
|
return __awaiter(this, void 0, void 0, function* () {
|
|
111
|
+
if (!options) {
|
|
112
|
+
options = {
|
|
113
|
+
parentName: "app",
|
|
114
|
+
parentRoutingModulePath: "src/app/app-routing.ts",
|
|
115
|
+
selector: "app-" + template.id
|
|
116
|
+
};
|
|
117
|
+
}
|
|
111
118
|
fileName = fileName.trim();
|
|
112
119
|
const name = cli_core_1.Util.nameFromPath(fileName);
|
|
113
120
|
// letter+alphanumeric check
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-cli",
|
|
3
|
-
"version": "10.1.0-beta.
|
|
3
|
+
"version": "10.1.0-beta.4",
|
|
4
4
|
"description": "CLI tool for creating Ignite UI projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"all": true
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@igniteui/angular-templates": "~14.1.1010-beta.
|
|
76
|
-
"@igniteui/cli-core": "~10.1.0-beta.
|
|
75
|
+
"@igniteui/angular-templates": "~14.1.1010-beta.4",
|
|
76
|
+
"@igniteui/cli-core": "~10.1.0-beta.4",
|
|
77
77
|
"chalk": "^2.3.2",
|
|
78
78
|
"fs-extra": "^3.0.1",
|
|
79
79
|
"glob": "^7.1.2",
|
|
@@ -9,7 +9,7 @@ class IgcDateTimeInputTemplate extends IgniteUIForWebComponentsTemplate_1.Ignite
|
|
|
9
9
|
this.listInComponentTemplates = true;
|
|
10
10
|
this.id = "date-time-input";
|
|
11
11
|
this.projectType = "igc-ts";
|
|
12
|
-
this.name = "
|
|
12
|
+
this.name = "Date Time Input";
|
|
13
13
|
this.description = "basic IgcDateTimeInput";
|
|
14
14
|
}
|
|
15
15
|
addClassDeclaration(mainModule, projPath, name, modulePath) {
|