Skip to content

chore: add .editorconfig and tsfmt.json files #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

[*.json]
indent_style = space
indent_size = 2
15 changes: 15 additions & 0 deletions packages/template-blank-ng/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

[*.json]
indent_style = space
indent_size = 2

[*.ts]
indent_style = space
indent_size = 4
2 changes: 1 addition & 1 deletion packages/template-blank-ng/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
}
},
"defaultProject": "blank"
}
}
114 changes: 57 additions & 57 deletions packages/template-blank-ng/package.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
{
"nativescript": {
"id": "org.nativescript.Blank",
"templateVersion": "v2",
"tns-android": {
"version": "5.2.1"
},
"tns-ios": {
"version": "5.2.0"
}
"nativescript": {
"id": "org.nativescript.Blank",
"templateVersion": "v2",
"tns-android": {
"version": "5.2.1"
},
"name": "tns-template-blank-ng",
"displayName": "Blank",
"templateType": "App template",
"version": "5.2.1",
"description": "Blank template for NativeScript apps using Angular",
"author": "Telerik <[email protected]>",
"license": "Apache-2.0",
"keywords": [
"telerik",
"mobile",
"angular",
"nativescript",
"{N}",
"tns",
"template",
"category-general"
],
"repository": {
"type": "git",
"url": "https://github.com/NativeScript/nativescript-app-templates"
},
"homepage": "https://github.com/NativeScript/nativescript-app-templates",
"bugs": {
"url": "https://github.com/NativeScript/NativeScript/issues"
},
"dependencies": {
"@angular/animations": "~7.2.0",
"@angular/common": "~7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/core": "~7.2.0",
"@angular/forms": "~7.2.0",
"@angular/http": "~7.2.0",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/router": "~7.2.0",
"nativescript-angular": "~7.2.1",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.12",
"rxjs": "~6.3.0",
"tns-core-modules": "~5.2.0",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular/compiler-cli": "~7.2.0",
"@nativescript/schematics": "~0.5.0",
"@ngtools/webpack": "~7.2.0",
"nativescript-dev-typescript": "~0.8.0",
"nativescript-dev-webpack": "~0.20.0"
"tns-ios": {
"version": "5.2.0"
}
},
"name": "tns-template-blank-ng",
"displayName": "Blank",
"templateType": "App template",
"version": "5.2.1",
"description": "Blank template for NativeScript apps using Angular",
"author": "Telerik <[email protected]>",
"license": "Apache-2.0",
"keywords": [
"telerik",
"mobile",
"angular",
"nativescript",
"{N}",
"tns",
"template",
"category-general"
],
"repository": {
"type": "git",
"url": "https://github.com/NativeScript/nativescript-app-templates"
},
"homepage": "https://github.com/NativeScript/nativescript-app-templates",
"bugs": {
"url": "https://github.com/NativeScript/NativeScript/issues"
},
"dependencies": {
"@angular/animations": "~7.2.0",
"@angular/common": "~7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/core": "~7.2.0",
"@angular/forms": "~7.2.0",
"@angular/http": "~7.2.0",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/router": "~7.2.0",
"nativescript-angular": "~7.2.1",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.12",
"rxjs": "~6.3.0",
"tns-core-modules": "~5.2.0",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular/compiler-cli": "~7.2.0",
"@nativescript/schematics": "~0.5.0",
"@ngtools/webpack": "~7.2.0",
"nativescript-dev-typescript": "~0.8.0",
"nativescript-dev-webpack": "~0.20.0"
}
}
10 changes: 5 additions & 5 deletions packages/template-blank-ng/src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main": "main.js",
"android": {
"v8Flags": "--expose_gc"
}
}
"main": "main.js",
"android": {
"v8Flags": "--expose_gc"
}
}
4 changes: 4 additions & 0 deletions packages/template-blank-ng/tsfmt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"indentSize": 4,
"tabSize": 4
}
15 changes: 15 additions & 0 deletions packages/template-blank-ts/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

[*.json]
indent_style = space
indent_size = 2

[*.ts]
indent_style = space
indent_size = 4
10 changes: 5 additions & 5 deletions packages/template-blank-ts/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main": "app.js",
"android": {
"v8Flags": "--expose_gc"
}
}
"main": "app.js",
"android": {
"v8Flags": "--expose_gc"
}
}
80 changes: 40 additions & 40 deletions packages/template-blank-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
{
"nativescript": {
"id": "org.nativescript.Blank",
"templateVersion": "v2",
"tns-android": {
"version": "5.2.1"
},
"tns-ios": {
"version": "5.2.0"
}
"nativescript": {
"id": "org.nativescript.Blank",
"templateVersion": "v2",
"tns-android": {
"version": "5.2.1"
},
"name": "tns-template-blank-ts",
"displayName": "Blank",
"templateType": "App template",
"version": "5.2.0",
"description": "Blank template for Vanilla NativeScript apps using TypeScript",
"author": "Telerik <[email protected]>",
"license": "Apache-2.0",
"keywords": [
"telerik",
"mobile",
"nativescript",
"{N}",
"tns",
"template",
"category-general"
],
"repository": {
"type": "git",
"url": "https://github.com/NativeScript/nativescript-app-templates"
},
"homepage": "https://github.com/NativeScript/nativescript-app-templates",
"bugs": {
"url": "https://github.com/NativeScript/NativeScript/issues"
},
"dependencies": {
"nativescript-theme-core": "~1.0.4",
"tns-core-modules": "~5.2.0"
},
"devDependencies": {
"nativescript-dev-typescript": "~0.8.0",
"nativescript-dev-webpack": "~0.20.0"
"tns-ios": {
"version": "5.2.0"
}
},
"name": "tns-template-blank-ts",
"displayName": "Blank",
"templateType": "App template",
"version": "5.2.0",
"description": "Blank template for Vanilla NativeScript apps using TypeScript",
"author": "Telerik <[email protected]>",
"license": "Apache-2.0",
"keywords": [
"telerik",
"mobile",
"nativescript",
"{N}",
"tns",
"template",
"category-general"
],
"repository": {
"type": "git",
"url": "https://github.com/NativeScript/nativescript-app-templates"
},
"homepage": "https://github.com/NativeScript/nativescript-app-templates",
"bugs": {
"url": "https://github.com/NativeScript/NativeScript/issues"
},
"dependencies": {
"nativescript-theme-core": "~1.0.4",
"tns-core-modules": "~5.2.0"
},
"devDependencies": {
"nativescript-dev-typescript": "~0.8.0",
"nativescript-dev-webpack": "~0.20.0"
}
}
4 changes: 4 additions & 0 deletions packages/template-blank-ts/tsfmt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"indentSize": 4,
"tabSize": 4
}
15 changes: 15 additions & 0 deletions packages/template-blank-vue/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

[*.json]
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 4
16 changes: 8 additions & 8 deletions packages/template-blank-vue/jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"compilerOptions": {
"baseUrl": "./",
"paths": {
"*": ["./node_modules/tns-core-modules/*", "./node_modules/*"],
"~/*": ["app/*"]
}
},
"include": ["app/**/*"]
"compilerOptions": {
"baseUrl": "./",
"paths": {
"*": ["./node_modules/tns-core-modules/*", "./node_modules/*"],
"~/*": ["app/*"]
}
},
"include": ["app/**/*"]
}
Loading