8000 chore: cleanup and switch to npm · NativeScript/plugins@44ecf1a · GitHub
[go: up one dir, main page]

Skip to content

Commit 44ecf1a

Browse files
committed
chore: cleanup and switch to npm
no longer need classic yarn
1 parent 10df91e commit 44ecf1a

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ This workspace manages the suite of plugins listed above.
4141

4242
## Prerequisites
4343

44-
- Node 18+ is recommended
45-
- [yarn v1](https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable) is required
44+
- Node 20+ is recommended
4645

4746
In general, when in doubt with what to do, just `npm start`.
4847

apps/demo/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "SEE LICENSE IN <your-license-filename>",
55
"repository": "<fill-your-repository-here>",
66
"dependencies": {
7-
"@nativescript/core": "file:../../node_modules/@nativescript/core",
7+
"@nativescript/core": "*",
88
"@nativescript/camera": "file:../../packages/camera",
99
"@nativescript/animated-circle": "file:../../packages/animated-circle",
1010
"@nativescript/appavailability": "file:../../packages/appavailability",
@@ -42,8 +42,8 @@
4242
"@nativescript/google-mobile-ads": "file:../../packages/google-mobile-ads"
4343
},
4444
"devDependencies": {
45-
"@nativescript/android": "~8.8.0",
46-
"@nativescript/ios": "~8.8.0",
45+
"@nativescript/android": "~8.9.0",
46+
"@nativescript/ios": "~8.9.0",
4747
"@nativescript/tailwind": "~2.1.0",
4848
"tailwindcss": "~3.4.0"
4949
}

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.0",
44
"license": "MIT",
55
"scripts": {
6-
"setup": "npx rimraf node_modules package-lock.json dist tmp yarn.lock && yarn",
6+
"setup": "npx rimraf node_modules package-lock.json dist tmp yarn.lock && npm install",
77
"start": "nps",
88
"add": "nx g @nativescript/plugin-tools:add-package",
99
"add-angular": "nx g @nativescript/plugin-tools:add-angular",
@@ -28,10 +28,10 @@
2828
"@angular/router": "^19.0.0",
2929
"@nativescript-community/perms": "^2.3.1",
3030
"@nativescript/angular": "^19.0.0",
31-
"@nativescript/core": "~8.8.0",
32-
"@nativescript/plugin-tools": "5.5.1",
31+
"@nativescript/core": "~8.9.0",
32+
"@nativescript/plugin-tools": "5.5.3",
3333
"@nativescript/tailwind": "^2.1.0",
34-
"@nativescript/types": "~8.8.0",
34+
"@nativescript/types": "~8.9.0",
3535
"@nativescript/webpack": "~5.0.22",
3636
"@ngtools/webpack": "^19.0.0",
3737
"@types/mkdirp": "^1.0.1",
@@ -58,6 +58,5 @@
5858
"npx prettier --write"
5959
]
6060
},
61-
"dependencies": {},
62-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
61+
"dependencies": {}
6362
}

tsconfig.base.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
"@nativescript/geolocation": ["packages/geolocation/index.d.ts"],
4646
"@nativescript/google-maps": ["packages/google-maps/index.d.ts"],
4747
"@nativescript/google-maps/angular": ["packages/google-maps/angular/index.ts"],
48+
"@nativescript/google-mobile-ads": ["packages/google-mobile-ads/index.d.ts"],
49+
"@nativescript/google-mobile-ads/angular": ["packages/google-mobile-ads/angular/index.ts"],
4850
"@nativescript/google-signin": ["packages/google-signin/index.d.ts"],
4951
"@nativescript/haptics": ["packages/haptics/index.d.ts"],
5052
"@nativescript/imagepicker": ["packages/imagepicker/index.d.ts"],
@@ -62,9 +64,7 @@
6264
"@nativescript/social-share": ["packages/social-share/index.d.ts"],
6365
"@nativescript/theme-switcher": ["packages/theme-switcher/index.ts"],
6466
"@nativescript/twitter": ["packages/twitter/index.d.ts"],
65-
"@nativescript/zip": ["packages/zip/index.d.ts"],
66-
"@nativescript/google-mobile-ads": ["packages/google-mobile-ads/index.d.ts"],
67-
"@nativescript/google-mobile-ads/angular": ["packages/google-mobile-ads/angular/index.ts"]
67+
"@nativescript/zip": ["packages/zip/index.d.ts"]
6868
}
6969
},
7070
"exclude": ["node_modules", "tmp"]

0 commit comments

Comments
 (0)
0