Skip to content

Commit 006e015

Browse files
authored
chore: add .editorconfig and tsfmt.json files (#16)
1 parent f8c8c87 commit 006e015

File tree

111 files changed

+1966
-1608
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+1966
-1608
lines changed

.editorconfig

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
charset = utf-8
8+
9+
[*.json]
10+
indent_style = space
11+
indent_size = 2
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
charset = utf-8
8+
9+
[*.json]
10+
indent_style = space
11+
indent_size = 2
12+
13+
[*.ts]
14+
indent_style = space
15+
indent_size = 4

packages/template-blank-ng/angular.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
}
1515
},
1616
"defaultProject": "blank"
17-
}
17+
}
+57-57
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
11
{
2-
"nativescript": {
3-
"id": "org.nativescript.Blank",
4-
"templateVersion": "v2",
5-
"tns-android": {
6-
"version": "5.2.1"
7-
},
8-
"tns-ios": {
9-
"version": "5.2.0"
10-
}
2+
"nativescript": {
3+
"id": "org.nativescript.Blank",
4+
"templateVersion": "v2",
5+
"tns-android": {
6+
"version": "5.2.1"
117
},
12-
"name": "tns-template-blank-ng",
13-
"displayName": "Blank",
14-
"templateType": "App template",
15-
"version": "5.2.1",
16-
"description": "Blank template for NativeScript apps using Angular",
17-
"author": "Telerik <support@telerik.com>",
18-
"license": "Apache-2.0",
19-
"keywords": [
20-
"telerik",
21-
"mobile",
22-
"angular",
23-
"nativescript",
24-
"{N}",
25-
"tns",
26-
"template",
27-
"category-general"
28-
],
29-
"repository": {
30-
"type": "git",
31-
"url": "https://github.com/NativeScript/nativescript-app-templates"
32-
},
33-
"homepage": "https://github.com/NativeScript/nativescript-app-templates",
34-
"bugs": {
35-
"url": "https://github.com/NativeScript/NativeScript/issues"
36-
},
37-
"dependencies": {
38-
"@angular/animations": "~7.2.0",
39-
"@angular/common": "~7.2.0",
40-
"@angular/compiler": "~7.2.0",
41-
"@angular/core": "~7.2.0",
42-
"@angular/forms": "~7.2.0",
43-
"@angular/http": "~7.2.0",
44-
"@angular/platform-browser": "~7.2.0",
45-
"@angular/platform-browser-dynamic": "~7.2.0",
46-
"@angular/router": "~7.2.0",
47-
"nativescript-angular": "~7.2.1",
48-
"nativescript-theme-core": "~1.0.4",
49-
"reflect-metadata": "~0.1.12",
50-
"rxjs": "~6.3.0",
51-
"tns-core-modules": "~5.2.0",
52-
"zone.js": "~0.8.26"
53-
},
54-
"devDependencies": {
55-
"@angular/compiler-cli": "~7.2.0",
56-
"@nativescript/schematics": "~0.5.0",
57-
"@ngtools/webpack": "~7.2.0",
58-
"nativescript-dev-typescript": "~0.8.0",
59-
"nativescript-dev-webpack": "~0.20.0"
8+
"tns-ios": {
9+
"version": "5.2.0"
6010
}
11+
},
12+
"name": "tns-template-blank-ng",
13+
"displayName": "Blank",
14+
"templateType": "App template",
15+
"version": "5.2.1",
16+
"description": "Blank template for NativeScript apps using Angular",
17+
"author": "Telerik <support@telerik.com>",
18+
"license": "Apache-2.0",
19+
"keywords": [
20+
"telerik",
21+
"mobile",
22+
"angular",
23+
"nativescript",
24+
"{N}",
25+
"tns",
26+
"template",
27+
"category-general"
28+
],
29+
"repository": {
30+
"type": "git",
31+
"url": "https://github.com/NativeScript/nativescript-app-templates"
32+
},
33+
"homepage": "https://github.com/NativeScript/nativescript-app-templates",
34+
"bugs": {
35+
"url": "https://github.com/NativeScript/NativeScript/issues"
36+
},
37+
"dependencies": {
38+
"@angular/animations": "~7.2.0",
39+
"@angular/common": "~7.2.0",
40+
"@angular/compiler": "~7.2.0",
41+
"@angular/core": "~7.2.0",
42+
"@angular/forms": "~7.2.0",
43+
"@angular/http": "~7.2.0",
44+
"@angular/platform-browser": "~7.2.0",
45+
"@angular/platform-browser-dynamic": "~7.2.0",
46+
"@angular/router": "~7.2.0",
47+
"nativescript-angular": "~7.2.1",
48+
"nativescript-theme-core": "~1.0.4",
49+
"reflect-metadata": "~0.1.12",
50+
"rxjs": "~6.3.0",
51+
"tns-core-modules": "~5.2.0",
52+
"zone.js": "~0.8.26"
53+
},
54+
"devDependencies": {
55+
"@angular/compiler-cli": "~7.2.0",
56+
"@nativescript/schematics": "~0.5.0",
57+
"@ngtools/webpack": "~7.2.0",
58+
"nativescript-dev-typescript": "~0.8.0",
59+
"nativescript-dev-webpack": "~0.20.0"
60+
}
6161
}
+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"main": "main.js",
3-
"android": {
4-
"v8Flags": "--expose_gc"
5-
}
6-
}
2+
"main": "main.js",
3+
"android": {
4+
"v8Flags": "--expose_gc"
5+
}
6+
}

packages/template-blank-ng/tsfmt.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"indentSize": 4,
3+
"tabSize": 4
4+
}
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
charset = utf-8
8+
9+
[*.json]
10+
indent_style = space
11+
indent_size = 2
12+
13+
[*.ts]
14+
indent_style = space
15+
indent_size = 4
+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"main": "app.js",
3-
"android": {
4-
"v8Flags": "--expose_gc"
5-
}
6-
}
2+
"main": "app.js",
3+
"android": {
4+
"v8Flags": "--expose_gc"
5+
}
6+
}
+40-40
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
{
2-
"nativescript": {
3-
"id": "org.nativescript.Blank",
4-
"templateVersion": "v2",
5-
"tns-android": {
6-
"version": "5.2.1"
7-
},
8-
"tns-ios": {
9-
"version": "5.2.0"
10-
}
2+
"nativescript": {
3+
"id": "org.nativescript.Blank",
4+
"templateVersion": "v2",
5+
"tns-android": {
6+
"version": "5.2.1"
117
},
12-
"name": "tns-template-blank-ts",
13-
"displayName": "Blank",
14-
"templateType": "App template",
15-
"version": "5.2.0",
16-
"description": "Blank template for Vanilla NativeScript apps using TypeScript",
17-
"author": "Telerik <support@telerik.com>",
18-
"license": "Apache-2.0",
19-
"keywords": [
20-
"telerik",
21-
"mobile",
22-
"nativescript",
23-
"{N}",
24-
"tns",
25-
"template",
26-
"category-general"
27-
],
28-
"repository": {
29-
"type": "git",
30-
"url": "https://github.com/NativeScript/nativescript-app-templates"
31-
},
32-
"homepage": "https://github.com/NativeScript/nativescript-app-templates",
33-
"bugs": {
34-
"url": "https://github.com/NativeScript/NativeScript/issues"
35-
},
36-
"dependencies": {
37-
"nativescript-theme-core": "~1.0.4",
38-
"tns-core-modules": "~5.2.0"
39-
},
40-
"devDependencies": {
41-
"nativescript-dev-typescript": "~0.8.0",
42-
"nativescript-dev-webpack": "~0.20.0"
8+
"tns-ios": {
9+
"version": "5.2.0"
4310
}
11+
},
12+
"name": "tns-template-blank-ts",
13+
"displayName": "Blank",
14+
"templateType": "App template",
15+
"version": "5.2.0",
16+
"description": "Blank template for Vanilla NativeScript apps using TypeScript",
17+
"author": "Telerik <support@telerik.com>",
18+
"license": "Apache-2.0",
19+
"keywords": [
20+
"telerik",
21+
"mobile",
22+
"nativescript",
23+
"{N}",
24+
"tns",
25+
"template",
26+
"category-general"
27+
],
28+
"repository": {
29+
"type": "git",
30+
"url": "https://github.com/NativeScript/nativescript-app-templates"
31+
},
32+
"homepage": "https://github.com/NativeScript/nativescript-app-templates",
33+
"bugs": {
34+
"url": "https://github.com/NativeScript/NativeScript/issues"
35+
},
36+
"dependencies": {
37+
"nativescript-theme-core": "~1.0.4",
38+
"tns-core-modules": "~5.2.0"
39+
},
40+
"devDependencies": {
41+
"nativescript-dev-typescript": "~0.8.0",
42+
"nativescript-dev-webpack": "~0.20.0"
43+
}
4444
}

packages/template-blank-ts/tsfmt.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"indentSize": 4,
3+
"tabSize": 4
4+
}
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
charset = utf-8
8+
9+
[*.json]
10+
indent_style = space
11+
indent_size = 2
12+
13+
[*.js]
14+
indent_style = space
15+
indent_size = 4
+8-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"compilerOptions": {
3-
"baseUrl": "./",
4-
"paths": {
5-
"*": ["./node_modules/tns-core-modules/*", "./node_modules/*"],
6-
"~/*": ["app/*"]
7-
}
8-
},
9-
"include": ["app/**/*"]
2+
"compilerOptions": {
3+
"baseUrl": "./",
4+
"paths": {
5+
"*": ["./node_modules/tns-core-modules/*", "./node_modules/*"],
6+
"~/*": ["app/*"]
7+
}
8+
},
9+
"include": ["app/**/*"]
1010
}

0 commit comments

Comments
 (0)