igniteui-cli 9.0.5 → 9.0.6
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 +3 -0
- package/templates/webcomponents/igc-ts/projects/empty/files/__dot__editorconfig +16 -0
- package/templates/webcomponents/igc-ts/projects/empty/files/package.json +3 -2
- package/templates/webcomponents/igc-ts/projects/empty/files/web-dev-server.config.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-cli",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.6",
|
|
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": "~13.0.
|
|
76
|
-
"@igniteui/cli-core": "~9.0.
|
|
75
|
+
"@igniteui/angular-templates": "~13.0.906",
|
|
76
|
+
"@igniteui/cli-core": "~9.0.6",
|
|
77
77
|
"chalk": "^2.3.2",
|
|
78
78
|
"fs-extra": "^3.0.1",
|
|
79
79
|
"glob": "^7.1.2",
|
|
@@ -203,6 +203,9 @@ class TypeScriptFileUpdate {
|
|
|
203
203
|
if (options["indent_size"]) {
|
|
204
204
|
this.formatOptions.indentSize = parseInt(options["indent_size"], 10) || this.formatOptions.indentSize;
|
|
205
205
|
}
|
|
206
|
+
if (options["quote_type"]) {
|
|
207
|
+
this.formatOptions.singleQuotes = options["quote_type"] === "single";
|
|
208
|
+
}
|
|
206
209
|
}
|
|
207
210
|
if (this.fileSystem.fileExists("tslint.json")) {
|
|
208
211
|
// tslint prio - overrides other settings
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Editor configuration, see https://editorconfig.org
|
|
2
|
+
root = true
|
|
3
|
+
|
|
4
|
+
[*]
|
|
5
|
+
charset = utf-8
|
|
6
|
+
indent_style = space
|
|
7
|
+
indent_size = 2
|
|
8
|
+
insert_final_newline = true
|
|
9
|
+
trim_trailing_whitespace = true
|
|
10
|
+
|
|
11
|
+
[*.ts]
|
|
12
|
+
quote_type = single
|
|
13
|
+
|
|
14
|
+
[*.md]
|
|
15
|
+
max_line_length = off
|
|
16
|
+
trim_trailing_whitespace = false
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"./$(dash-name).js": "./dist/src/$(dash-name).js"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
|
-
"start": "tsc && wds",
|
|
16
|
+
"start": "tsc && concurrently --kill-others \"tsc -w\" \"wds\"",
|
|
17
17
|
"build": "webpack --mode production",
|
|
18
18
|
"lint": "eslint --ext .js,.ts,.html . --ignore-path .gitignore",
|
|
19
19
|
"test": "tsc && wtr"
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"igniteui-dockmanager": "~1.6.0",
|
|
32
32
|
"@igniteui/material-icons-extended": "^2.10.0",
|
|
33
33
|
"lit": "^2.0.2",
|
|
34
|
+
"typescript": "^4.5.2",
|
|
34
35
|
"babel-runtime": "^6.26.0"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
@@ -40,9 +41,9 @@
|
|
|
40
41
|
"@web/dev-server": "^0.1.22",
|
|
41
42
|
"@web/test-runner": "next",
|
|
42
43
|
"igniteui-cli": "$(cliVersion)",
|
|
44
|
+
"concurrently": "^6.3.0",
|
|
43
45
|
"eslint": "^7.32.0",
|
|
44
46
|
"tslib": "^2.3.1",
|
|
45
|
-
"typescript": "^4.5.2",
|
|
46
47
|
"@babel/cli": "^7.16.0",
|
|
47
48
|
"@babel/core": "^7.16.0",
|
|
48
49
|
"@babel/plugin-proposal-class-properties": "^7.16.0",
|
|
@@ -16,7 +16,7 @@ export default /** @type {import('@web/dev-server').DevServerConfig} */ ({
|
|
|
16
16
|
// esbuildTarget: 'auto'
|
|
17
17
|
|
|
18
18
|
/** Set appIndex to enable SPA routing */
|
|
19
|
-
|
|
19
|
+
appIndex: './index.html',
|
|
20
20
|
|
|
21
21
|
plugins: [
|
|
22
22
|
/** Use Hot Module Replacement by uncommenting. Requires @open-wc/dev-server-hmr plugin */
|