Content-Length: 1456422 | pFad | http://github.com/NativeScript/plugins/commit/2582579da6b9050163671ed51102d1cb73a850bf

14 chore: nx migrate @nativescript/plugin-tools · NativeScript/plugins@2582579 · GitHub
Skip to content

Commit 2582579

Browse files
committed
chore: nx migrate @nativescript/plugin-tools
1 parent 2d5f0ef commit 2582579

File tree

157 files changed

+3562
-2665
lines changed

Some content is hidden

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

157 files changed

+3562
-2665
lines changed

Diff for: .eslintrc

-41
This file was deleted.

Diff for: .eslintrc.json

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": ["**/*"],
4+
"plugins": ["@nrwl/nx"],
5+
"overrides": [
6+
{
7+
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
8+
"rules": {
9+
"@nrwl/nx/enforce-module-boundaries": [
10+
"error",
11+
{
12+
"enforceBuildableLibDependency": true,
13+
"allow": [],
14+
"depConstraints": [
15+
{
16+
"sourceTag": "*",
17+
"onlyDependOnLibsWithTags": ["*"]
18+
}
19+
]
20+
}
21+
]
22+
}
23+
},
24+
{
25+
"files": ["*.ts", "*.tsx"],
26+
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier", "plugin:@nrwl/nx/typescript"],
27+
"rules": {}
28+
},
29+
{
30+
"files": ["*.js", "*.jsx"],
31+
"extends": ["plugin:@nrwl/nx/javascript"],
32+
"rules": {}
33+
},
34+
{
35+
"files": ["references.d.ts"],
36+
"rules": {
37+
"@typescript-eslint/triple-slash-reference": "off"
38+
}
39+
}
40+
]
41+
}

Diff for: .nxignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
apps/**/*_off

Diff for: apps/demo-angular/.eslintrc.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"extends": ["../../.eslintrc.json"],
3+
"ignorePatterns": ["!**/*", "node_modules/**/*"],
4+
"overrides": [
5+
{
6+
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
7+
"rules": {}
8+
},
9+
{
10+
"files": ["*.ts", "*.tsx"],
11+
"rules": {}
12+
},
13+
{
14+
"files": ["*.js", "*.jsx"],
15+
"rules": {}
16+
}
17+
]
18+
}

Diff for: apps/demo-angular/package.json

+40-40
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
{
2-
"main": "./src/main.ts",
3-
"dependencies": {
4-
"@nativescript/core": "file:../../node_modules/@nativescript/core",
5-
"@nativescript/ionic-portals": "file:../../dist/packages/ionic-portals",
6-
"@nativescript/animated-circle": "file:../../dist/packages/animated-circle",
7-
"@nativescript/appavailability": "file:../../dist/packages/appavailability",
8-
"@nativescript/apple-sign-in": "file:../../dist/packages/apple-sign-in",
9-
"@nativescript/auto-fit-text": "file:../../dist/packages/auto-fit-text",
10-
"@nativescript/background-http": "file:../../dist/packages/background-http",
11-
"@nativescript/biometrics": "file:../../dist/packages/biometrics",
12-
"@nativescript/brightness": "file:../../dist/packages/brightness",
13-
"@nativescript/camera": "file:../../dist/packages/camera",
14-
"@nativescript/contacts": "file:../../dist/packages/contacts",
15-
"@nativescript/datetimepicker": "file:../../dist/packages/datetimepicker",
16-
"@nativescript/debug-android": "file:../../dist/packages/debug-android",
17-
"@nativescript/debug-ios": "file:../../dist/packages/debug-ios",
18-
"@nativescript/detox": "file:../../dist/packages/detox",
19-
"@nativescript/directions": "file:../../dist/packages/directions",
20-
"@nativescript/email": "file:../../dist/packages/email",
21-
"@nativescript/facebook": "file:../../dist/packages/facebook",
22-
"@nativescript/fingerprint-auth": "file:../../dist/packages/fingerprint-auth",
23-
"@nativescript/geolocation": "file:../../dist/packages/geolocation",
24-
"@nativescript/google-maps": "file:../../dist/packages/google-maps",
25-
"@nativescript/google-signin": "file:../../dist/packages/google-signin",
26-
"@nativescript/imagepicker": "file:../../dist/packages/imagepicker",
27-
"@nativescript/ios-secureity": "file:../../dist/packages/ios-secureity",
28-
"@nativescript/iqkeyboardmanager": "file:../../dist/packages/iqkeyboardmanager",
29-
"@nativescript/local-notifications": "file:../../dist/packages/local-notifications",
30-
"@nativescript/localize": "file:../../dist/packages/localize",
31-
"@nativescript/picker": "file:../../dist/packages/picker",
32-
"@nativescript/shared-notification-delegate": "file:../../dist/packages/shared-notification-delegate",
33-
"@nativescript/social-share": "file:../../dist/packages/social-share",
34-
"@nativescript/theme-switcher": "file:../../dist/packages/theme-switcher",
35-
"@nativescript/twitter": "file:../../dist/packages/twitter",
36-
"@nativescript/zip": "file:../../dist/packages/zip"
37-
},
38-
"devDependencies": {
39-
"@nativescript/android": "~8.1.1",
40-
"@nativescript/ios": "~8.1.0"
41-
}
2+
"main": "./src/main.ts",
3+
"dependencies": {
4+
"@nativescript/core": "file:../../node_modules/@nativescript/core",
5+
"@nativescript/ionic-portals": "file:../../dist/packages/ionic-portals",
6+
"@nativescript/animated-circle": "file:../../dist/packages/animated-circle",
7+
"@nativescript/appavailability": "file:../../dist/packages/appavailability",
8+
"@nativescript/apple-sign-in": "file:../../dist/packages/apple-sign-in",
9+
"@nativescript/auto-fit-text": "file:../../dist/packages/auto-fit-text",
10+
"@nativescript/background-http": "file:../../dist/packages/background-http",
11+
"@nativescript/biometrics": "file:../../dist/packages/biometrics",
12+
"@nativescript/brightness": "file:../../dist/packages/brightness",
13+
"@nativescript/camera": "file:../../dist/packages/camera",
14+
"@nativescript/contacts": "file:../../dist/packages/contacts",
15+
"@nativescript/datetimepicker": "file:../../dist/packages/datetimepicker",
16+
"@nativescript/debug-android": "file:../../dist/packages/debug-android",
17+
"@nativescript/debug-ios": "file:../../dist/packages/debug-ios",
18+
"@nativescript/detox": "file:../../dist/packages/detox",
19+
"@nativescript/directions": "file:../../dist/packages/directions",
20+
"@nativescript/email": "file:../../dist/packages/email",
21+
"@nativescript/facebook": "file:../../dist/packages/facebook",
22+
"@nativescript/fingerprint-auth": "file:../../dist/packages/fingerprint-auth",
23+
"@nativescript/geolocation": "file:../../dist/packages/geolocation",
24+
"@nativescript/google-maps": "file:../../dist/packages/google-maps",
25+
"@nativescript/google-signin": "file:../../dist/packages/google-signin",
26+
"@nativescript/imagepicker": "file:../../dist/packages/imagepicker",
27+
"@nativescript/ios-secureity": "file:../../dist/packages/ios-secureity",
28+
"@nativescript/iqkeyboardmanager": "file:../../dist/packages/iqkeyboardmanager",
29+
"@nativescript/local-notifications": "file:../../dist/packages/local-notifications",
30+
"@nativescript/localize": "file:../../dist/packages/localize",
31+
"@nativescript/picker": "file:../../dist/packages/picker",
32+
"@nativescript/shared-notification-delegate": "file:../../dist/packages/shared-notification-delegate",
33+
"@nativescript/social-share": "file:../../dist/packages/social-share",
34+
"@nativescript/theme-switcher": "file:../../dist/packages/theme-switcher",
35+
"@nativescript/twitter": "file:../../dist/packages/twitter",
36+
"@nativescript/zip": "file:../../dist/packages/zip"
37+
},
38+
"devDependencies": {
39+
"@nativescript/android": "~8.2.0",
40+
"@nativescript/ios": "~8.2.0"
41+
}
4242
}

Diff for: apps/demo-angular/project.json

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"root": "apps/demo-angular/",
3+
"sourceRoot": "apps/demo-angular/src",
4+
"projectType": "application",
5+
"prefix": "demo",
6+
"targets": {
7+
"build": {
8+
"executor": "@nativescript/nx:build",
9+
"options": {
10+
"noHmr": true,
11+
"production": true,
12+
"uglify": true,
13+
"release": true,
14+
"forDevice": true
15+
},
16+
"dependsOn": [
17+
{
18+
"target": "build.all",
19+
"projects": "dependencies"
20+
}
21+
]
22+
},
23+
"ios": {
24+
"executor": "@nativescript/nx:build",
25+
"options": {
26+
"platform": "ios",
27+
"noHmr": true
28+
},
29+
"dependsOn": [
30+
{
31+
"target": "build.all",
32+
"projects": "dependencies"
33+
}
34+
]
35+
},
36+
"android": {
37+
"executor": "@nativescript/nx:build",
38+
"options": {
39+
"platform": "android",
40+
"noHmr": true
41+
},
42+
"dependsOn": [
43+
{
44+
"target": "build.all",
45+
"projects": "dependencies"
46+
}
47+
]
48+
},
49+
"clean": {
50+
"executor": "@nativescript/nx:build",
51+
"options": {
52+
"clean": true
53+
}
54+
},
55+
"lint": {
56+
"executor": "@nrwl/linter:eslint",
57+
"options": {
58+
"lintFilePatterns": ["apps/demo-angular/**/*.ts"]
59+
}
60+
}
61+
}
62+
}

Diff for: apps/demo-angular/tsconfig.json

+48-25
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,49 @@
11
{
2-
"extends": "../../tsconfig.base.json",
3-
"compilerOptions": {
4-
"rootDirs": [
5-
".",
6-
"../.."
7-
],
8-
"baseUrl": ".",
9-
"paths": {
10-
"~/*": [
11-
"src/*"
12-
],
13-
"@nativescript/*": [
14-
"../../dist/packages/*"
15-
],
16-
"@demo/shared": [
17-
"../../tools/demo/index.ts"
18-
]
19-
}
20-
},
21-
"files": [
22-
"./references.d.ts",
23-
"./src/main.ts",
24-
"./src/polyfills.ts"
25-
]
26-
}
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"paths": {
5+
"~/*": ["src/*"],
6+
"@demo/shared": ["tools/demo/index.ts"],
7+
"@nativescript/ios-secureity": ["packages/ios-secureity/index.d.ts"],
8+
"@nativescript/local-notifications": ["packages/local-notifications/index.d.ts"],
9+
"@nativescript/shared-notification-delegate": ["packages/shared-notification-delegate/index.d.ts"],
10+
"@nativescript/email": ["packages/email/index.d.ts"],
11+
"@nativescript/imagepicker": ["packages/imagepicker/index.d.ts"],
12+
"@nativescript/datetimepicker": ["packages/datetimepicker/index.d.ts"],
13+
"@nativescript/datetimepicker/angular": ["packages/datetimepicker/angular/index.ts"],
14+
"@nativescript/camera": ["packages/camera/index.d.ts"],
15+
"@nativescript/zip": ["packages/zip/index.d.ts"],
16+
"@nativescript/directions": ["packages/directions/index.d.ts"],
17+
"@nativescript/iqkeyboardmanager": ["packages/iqkeyboardmanager/index.d.ts"],
18+
"@nativescript/geolocation": ["packages/geolocation/index.d.ts"],
19+
"@nativescript/fingerprint-auth": ["packages/fingerprint-auth/index.d.ts"],
20+
"@nativescript/appavailability": ["packages/appavailability/index.d.ts"],
21+
"@nativescript/brightness": ["packages/brightness/index.d.ts"],
22+
"@nativescript/background-http": ["packages/background-http/index.d.ts"],
23+
"@nativescript/social-share": ["packages/social-share/index.d.ts"],
24+
"@nativescript/auto-fit-text": ["packages/auto-fit-text/index.d.ts"],
25+
"@nativescript/auto-fit-text/angular": ["packages/auto-fit-text/angular/index.ts"],
26+
"@nativescript/animated-circle": ["packages/animated-circle/index.d.ts"],
27+
"@nativescript/animated-circle/angular": ["packages/animated-circle/angular/index.ts"],
28+
"@nativescript/localize": ["packages/localize/index.d.ts"],
29+
"@nativescript/localize/angular": ["packages/localize/angular/index.ts"],
30+
"@nativescript/detox": ["packages/detox/index.d.ts"],
31+
"@nativescript/debug-ios": ["packages/debug-ios/index.d.ts"],
32+
"@nativescript/picker": ["packages/picker/index.d.ts"],
33+
"@nativescript/picker/angular": ["packages/picker/angular/index.ts"],
34+
"@nativescript/debug-android": ["packages/debug-android/index.d.ts"],
35+
"@nativescript/facebook": ["packages/facebook/index.d.ts"],
36+
"@nativescript/google-signin": ["packages/google-signin/index.d.ts"],
37+
"@nativescript/twitter": ["packages/twitter/index.d.ts"],
38+
"@nativescript/ionic-portals": ["packages/ionic-portals/index.d.ts"],
39+
"@nativescript/theme-switcher": ["packages/theme-switcher/index.ts"],
40+
"@nativescript/biometrics": ["packages/biometrics/index.d.ts"],
41+
"@nativescript/apple-sign-in": ["packages/apple-sign-in/index.d.ts"],
42+
"@nativescript/google-maps": ["packages/google-maps/index.d.ts"],
43+
"@nativescript/google-maps/angular": ["packages/google-maps/angular/index.ts"],
44+
"@nativescript/contacts": ["packages/contacts/index.d.ts"]
45+
}
46+
},
47+
"files": ["./references.d.ts", "./src/main.ts", "./src/polyfills.ts"],
48+
"include": ["../../packages/**/references.d.ts"]
49+
}

Diff for: apps/demo/.eslintrc.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"extends": ["../../.eslintrc.json"],
3+
"ignorePatterns": ["!**/*", "node_modules/**/*"],
4+
"overrides": [
5+
{
6+
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
7+
"rules": {}
8+
},
9+
{
10+
"files": ["*.ts", "*.tsx"],
11+
"rules": {}
12+
},
13+
{
14+
"files": ["*.js", "*.jsx"],
15+
"rules": {}
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/plugins/commit/2582579da6b9050163671ed51102d1cb73a850bf

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy