igniteui-cli 10.1.0-beta.8 → 10.1.0
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/package.json +3 -3
- package/templates/webcomponents/TypeScriptFileUpdate.js +4 -4
- package/templates/webcomponents/igc-ts/projects/_base/files/.npmrc +2 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/node.js.yml +3 -3
- package/templates/webcomponents/igc-ts/projects/_base/files/index.html +1 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/package.json +1 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/styles.css +4 -3
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/index.html +1 -1
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-cli",
|
|
3
|
-
"version": "10.1.0
|
|
3
|
+
"version": "10.1.0",
|
|
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
|
|
76
|
-
"@igniteui/cli-core": "~10.1.0
|
|
75
|
+
"@igniteui/angular-templates": "~14.1.1010",
|
|
76
|
+
"@igniteui/cli-core": "~10.1.0",
|
|
77
77
|
"chalk": "^2.3.2",
|
|
78
78
|
"fs-extra": "^3.0.1",
|
|
79
79
|
"glob": "^7.1.2",
|
|
@@ -188,7 +188,7 @@ class TypeScriptFileUpdate {
|
|
|
188
188
|
else {
|
|
189
189
|
importClause = undefined;
|
|
190
190
|
}
|
|
191
|
-
const importDeclaration = ts.factory.createImportDeclaration(undefined, undefined, importClause, ts.factory.createStringLiteral(importPath));
|
|
191
|
+
const importDeclaration = ts.factory.createImportDeclaration(undefined, undefined, importClause, ts.factory.createStringLiteral(importPath, true));
|
|
192
192
|
return importDeclaration;
|
|
193
193
|
}
|
|
194
194
|
//#endregion ts.TransformerFactory
|
|
@@ -326,9 +326,9 @@ class TypeScriptFileUpdate {
|
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
328
|
createRouteEntry(filePath, className, linkText, routerAlias) {
|
|
329
|
-
const routePath = ts.factory.createPropertyAssignment("path", ts.factory.createStringLiteral(filePath));
|
|
330
|
-
const routeComponent = ts.factory.createPropertyAssignment("component", ts.factory.createStringLiteral(className));
|
|
331
|
-
const routeData = ts.factory.createPropertyAssignment("name", ts.factory.createStringLiteral(linkText));
|
|
329
|
+
const routePath = ts.factory.createPropertyAssignment("path", ts.factory.createStringLiteral(filePath, true));
|
|
330
|
+
const routeComponent = ts.factory.createPropertyAssignment("component", ts.factory.createStringLiteral(className, true));
|
|
331
|
+
const routeData = ts.factory.createPropertyAssignment("name", ts.factory.createStringLiteral(linkText, true));
|
|
332
332
|
if (routerAlias) {
|
|
333
333
|
const childrenData = ts.factory.createPropertyAssignment("children", ts.factory.createIdentifier(routerAlias));
|
|
334
334
|
return ts.factory.createObjectLiteralExpression([routePath, routeComponent, routeData, childrenData]);
|
package/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/node.js.yml
CHANGED
|
@@ -25,9 +25,9 @@ jobs:
|
|
|
25
25
|
uses: actions/setup-node@v2
|
|
26
26
|
with:
|
|
27
27
|
node-version: ${{ matrix.node-version }}
|
|
28
|
-
cache: 'npm'
|
|
29
|
-
- run: npm ci
|
|
28
|
+
# cache: 'npm' # enable after committing lock file from first install
|
|
29
|
+
- run: npm i # replace with 'npm ci' after committing lock file from first install
|
|
30
30
|
# - run: npm run lint
|
|
31
31
|
- run: npm run build
|
|
32
32
|
- run: npm run test
|
|
33
|
-
|
|
33
|
+
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
body {
|
|
2
|
-
background: hsla(var(--
|
|
3
|
-
color: var(--
|
|
2
|
+
background: hsla(var(--ig-surface-500, 0 0% 100%));
|
|
3
|
+
color: var(--ig-surface-500-contrast, black);
|
|
4
|
+
font-family: var(--ig-font-family);
|
|
4
5
|
}
|
|
5
6
|
|
|
6
7
|
html,
|
|
@@ -14,7 +15,7 @@ body, h1, h2, h3, h4, h5, h6, p {
|
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
html {
|
|
17
|
-
box-sizing: border-box
|
|
18
|
+
box-sizing: border-box;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
img, video {
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"@vaadin/router": "^1.7.4",
|
|
24
24
|
"@igniteui/material-icons-extended": "^2.11.0",
|
|
25
25
|
"igniteui-dockmanager": "~1.8.0",
|
|
26
|
-
"igniteui-webcomponents": "
|
|
27
|
-
"igniteui-webcomponents-charts": "~
|
|
28
|
-
"igniteui-webcomponents-core": "~
|
|
29
|
-
"igniteui-webcomponents-gauges": "~
|
|
30
|
-
"igniteui-webcomponents-grids": "~
|
|
31
|
-
"igniteui-webcomponents-inputs": "~
|
|
32
|
-
"igniteui-webcomponents-layouts": "~
|
|
26
|
+
"igniteui-webcomponents": "4.0.0",
|
|
27
|
+
"igniteui-webcomponents-charts": "~4.0.0",
|
|
28
|
+
"igniteui-webcomponents-core": "~4.0.0",
|
|
29
|
+
"igniteui-webcomponents-gauges": "~4.0.0",
|
|
30
|
+
"igniteui-webcomponents-grids": "~4.4.0",
|
|
31
|
+
"igniteui-webcomponents-inputs": "~4.0.0",
|
|
32
|
+
"igniteui-webcomponents-layouts": "~4.0.0",
|
|
33
33
|
"lit": "^2.0.2",
|
|
34
34
|
"typescript": "^4.5.2"
|
|
35
35
|
},
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"concurrently": "^6.3.0",
|
|
51
51
|
"deepmerge": "^4.2.2",
|
|
52
52
|
"eslint": "^7.32.0",
|
|
53
|
-
"igniteui-cli": "10.1.0
|
|
53
|
+
"igniteui-cli": "10.1.0",
|
|
54
54
|
"rimraf": "^3.0.2",
|
|
55
55
|
"rollup": "^2.60.0",
|
|
56
56
|
"rollup-plugin-copy-assets": "^2.0.3",
|