Skip to content

Commit fd41946

Browse files
committed
chore: 8.9 and use npm instead of yarn
1 parent 227d790 commit fd41946

File tree

7 files changed

+27
-28
lines changed

7 files changed

+27
-28
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lint-staged --allow-empty
1+
npx lint-staged --allow-empty

README.md

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

3333
## Prerequisites
3434

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

3837
In general, when in doubt with what to do, just `npm start`.
3938

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { NativeScriptConfig } from '@nativescript/core';
22

33
export default {
4-
id: 'org.nativescript.plugindemoangular',
5-
appResourcesPath: '../../tools/assets/App_Resources',
6-
android: {
7-
v8Flags: '--expose_gc',
8-
markingMode: 'none',
9-
},
10-
appPath: 'src',
4+
id: 'org.nativescript.plugindemoangular',
5+
appResourcesPath: '../../tools/assets/App_Resources',
6+
android: {
7+
v8Flags: '--expose_gc',
8+
markingMode: 'none',
9+
},
10+
appPath: 'src',
1111
cli: {
12-
packageManager: 'npm'
13-
}
12+
packageManager: 'npm',
13+
},
1414
} as NativeScriptConfig;

apps/demo-angular/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@nativescript/core": "file:../../node_modules/@nativescript/core"
55
},
66
"devDependencies": {
7-
"@nativescript/android": "~8.8.0",
8-
"@nativescript/ios": "~8.8.0"
7+
"@nativescript/android": "~8.9.0",
8+
"@nativescript/ios": "~8.9.0"
99
}
1010
}

apps/demo/nativescript.config.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { NativeScriptConfig } from '@nativescript/core';
22

33
export default {
4-
id: 'org.nativescript.plugindemo',
5-
appResourcesPath: '../../tools/assets/App_Resources',
6-
android: {
7-
v8Flags: '--expose_gc',
8-
markingMode: 'none',
9-
},
10-
appPath: 'src',
4+
id: 'org.nativescript.plugindemo',
5+
appResourcesPath: '../../tools/assets/App_Resources',
6+
android: {
7+
v8Flags: '--expose_gc',
8+
markingMode: 'none',
9+
},
10+
appPath: 'src',
1111
cli: {
12-
packageManager: 'npm'
13-
}
12+
packageManager: 'npm',
13+
},
1414
} as NativeScriptConfig;

apps/demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"@nativescript/core": "file:../../node_modules/@nativescript/core"
88
},
99
"devDependencies": {
10-
"@nativescript/android": "~8.8.0",
11-
"@nativescript/ios": "~8.8.0"
10+
"@nativescript/android": "~8.9.0",
11+
"@nativescript/ios": "~8.9.0"
1212
}
1313
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "MIT",
55
"scripts": {
66
"postinstall": "husky && npx ts-patch install",
7-
"setup": "npx rimraf node_modules package-lock.json dist tmp yarn.lock && yarn",
7+
"setup": "npx rimraf node_modules package-lock.json dist tmp yarn.lock && npm install",
88
"start": "nps",
99
"add": "nx g @nativescript/plugin-tools:add-package",
1010
"add-angular": "nx g @nativescript/plugin-tools:add-angular",
@@ -27,9 +27,9 @@
2727
"@angular/platform-browser-dynamic": "^19.0.0",
2828
"@angular/router": "^19.0.0",
2929
"@nativescript/angular": "^19.0.0",
30-
"@nativescript/core": "~8.8.0",
30+
"@nativescript/core": "~8.9.0",
3131
"@nativescript/plugin-tools": "5.5.1",
32-
"@nativescript/types": "~8.8.0",
32+
"@nativescript/types": "~8.9.0",
3333
"@nativescript/webpack": "~5.0.22",
3434
"@ngtools/webpack": "^19.0.0",
3535
"husky": "~9.0.0",

0 commit comments

Comments
 (0)