Skip to content

Commit dccf0e2

Browse files
committed
chore: dep bumps and 12.1.0-rc.0
1 parent c08d668 commit dccf0e2

File tree

7 files changed

+495
-1495
lines changed

7 files changed

+495
-1495
lines changed

DevelopmentWorkflow.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ cd angular
3333

3434
```
3535
$ cd angular
36-
$ npm clean.all
36+
$ yarn clean.all
3737
```
3838

3939
### Run some of the e2e applications e.g. router-tab-view
@@ -43,14 +43,14 @@ $ npm clean.all
4343
Install NPM packages (use the local copy of `@nativescript/angular`):
4444
```
4545
$ cd e2e/router-tab-view
46-
$ npm install
46+
$ yarn install
4747
```
4848

4949
Start the app:
5050

5151
```
52-
$ tns run android
53-
$ tns run ios
52+
$ ns run android
53+
$ ns run ios
5454
```
5555

5656
Make changes to `@nativescript/angular` and see them applied in the running app.
@@ -60,7 +60,6 @@ Make changes to `@nativescript/angular` and see them applied in the running app.
6060
Install the NPM dependencies:
6161
```
6262
$ cd apps/nativescript-demo-ng
63-
$ npm install
6463
```
6564

6665
Run the tests:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Clean and setup workspace:
44

55
```
6-
npm run clean
6+
yarn clean.all
77
```
88

99
Build angular package:

apps/nativescript-demo-ng/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"devDependencies": {
1313
"@nativescript/android": "8.0.0",
14-
"@nativescript/ios": "8.0.0",
14+
"@nativescript/ios": "8.1.0-rc.1",
1515
"@nativescript/unit-test-runner": "^2.0.5"
1616
}
1717
}

package.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"license": "MIT",
55
"private": true,
66
"scripts": {
7-
"clean": "npx rimraf hooks node_modules package-lock.json yarn.lock && yarn config set ignore-engines true && ns package-manager set npm && yarn",
8-
"clean.all": "nx run nativescript-demo-ng:clean && npm run clean",
7+
"clean": "npx rimraf hooks node_modules package-lock.json yarn.lock && yarn config set ignore-engines true && ns package-manager set yarn && yarn",
8+
"clean.all": "yarn clean && nx run nativescript-demo-ng:clean",
99
"postinstall": "husky install && ngcc --properties es2015 browser module main",
1010
"nx": "nx",
1111
"start": "nx serve",
@@ -53,19 +53,19 @@
5353
"@nativescript/ios": "8.0.0",
5454
"@nativescript/types": "^8.0.0",
5555
"@nativescript/unit-test-runner": "^2.0.5",
56-
"@nativescript/webpack": "beta",
57-
"@ngtools/webpack": "^12.0.0",
56+
"@nativescript/webpack": "rc",
57+
"@ngtools/webpack": "12.2.1",
5858
"@nrwl/angular": "12.7.1",
5959
"@nrwl/cli": "12.7.1",
6060
"@nrwl/eslint-plugin-nx": "12.7.1",
6161
"@nrwl/jest": "12.7.1",
6262
"@nrwl/node": "12.7.1",
6363
"@nrwl/tao": "12.7.1",
6464
"@nrwl/workspace": "12.7.1",
65-
"@nstudio/angular": "12.5.1",
66-
"@nstudio/nativescript": "12.5.1",
67-
"@nstudio/nativescript-angular": "12.5.1",
68-
"@nstudio/xplat": "12.5.1",
65+
"@nstudio/angular": "12.7.0",
66+
"@nstudio/nativescript": "12.7.0",
67+
"@nstudio/nativescript-angular": "12.7.0",
68+
"@nstudio/xplat": "12.7.0",
6969
"@types/jasmine": "^3.7.2",
7070
"@types/jest": "~26.0.8",
7171
"@types/node": "14.14.33",
@@ -77,23 +77,22 @@
7777
"eslint": "7.22.0",
7878
"eslint-config-prettier": "8.1.0",
7979
"fs-extra": "^9.0.1",
80-
"husky": "~5.1.3",
80+
"husky": "~7.0.1",
8181
"jest": "27.0.3",
8282
"karma": "6.3.3",
8383
"karma-jasmine": "4.0.1",
8484
"karma-mocha-reporter": "^2.2.5",
8585
"karma-nativescript-launcher": "0.4.0",
8686
"karma-sinon": "^1.0.5",
8787
"karma-webpack": "5.0.0",
88-
"lint-staged": "~10.5.0",
89-
"ng-packagr": "12.1.2",
88+
"lint-staged": "^11.0.0",
89+
"ng-packagr": "12.2.0",
9090
"prettier": "2.3.2",
91-
"sass": "~1.32.0",
91+
"sass": "^1.32.0",
9292
"sinon": "^11.1.1",
9393
"ts-jest": "27.0.3",
9494
"ts-node": "9.1.1",
9595
"tslib": "^2.1.0",
96-
"tslint": "6.1.3",
9796
"typescript": "4.3.5"
9897
},
9998
"xplat": {

packages/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/angular",
3-
"version": "12.0.6",
3+
"version": "12.1.0-rc.0",
44
"homepage": "https://nativescript.org/",
55
"repository": {
66
"type": "git",

workspace.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
2-
"version": 1,
2+
"version": 2,
33
"projects": {
44
"angular": {
55
"root": "packages/angular",
66
"sourceRoot": "packages/angular/src",
77
"projectType": "library",
88
"schematics": {},
9-
"architect": {
9+
"targets": {
1010
"build": {
11-
"builder": "@nrwl/workspace:run-commands",
11+
"executor": "@nrwl/workspace:run-commands",
1212
"outputs": ["dist/packages"],
1313
"options": {
1414
"commands": ["node tools/scripts/build-angular.ts angular"],
1515
"parallel": false
1616
}
1717
},
1818
"lint": {
19-
"builder": "@nrwl/linter:eslint",
19+
"executor": "@nrwl/linter:eslint",
2020
"options": {
2121
"lintFilePatterns": ["packages/angular/**/*.ts", "packages/angular/src/**/*.html"]
2222
}
2323
},
2424
"test": {
25-
"builder": "@nrwl/jest:jest",
25+
"executor": "@nrwl/jest:jest",
2626
"options": {
2727
"jestConfig": "packages/angular/jest.config.js",
2828
"passWithNoTests": true
@@ -41,9 +41,9 @@
4141
"styleext": "scss"
4242
}
4343
},
44-
"architect": {
44+
"targets": {
4545
"build": {
46-
"builder": "@nativescript/nx:build",
46+
"executor": "@nativescript/nx:build",
4747
"options": {
4848
"noHmr": true,
4949
"production": true,
@@ -63,7 +63,7 @@
6363
}
6464
},
6565
"ios": {
66-
"builder": "@nativescript/nx:build",
66+
"executor": "@nativescript/nx:build",
6767
"options": {
6868
"platform": "ios"
6969
},
@@ -77,7 +77,7 @@
7777
}
7878
},
7979
"android": {
80-
"builder": "@nativescript/nx:build",
80+
"executor": "@nativescript/nx:build",
8181
"options": {
8282
"platform": "android"
8383
},
@@ -91,19 +91,19 @@
9191
}
9292
},
9393
"clean": {
94-
"builder": "@nativescript/nx:build",
94+
"executor": "@nativescript/nx:build",
9595
"options": {
9696
"clean": true
9797
}
9898
},
9999
"lint": {
100-
"builder": "@nrwl/linter:eslint",
100+
"executor": "@nrwl/linter:eslint",
101101
"options": {
102102
"lintFilePatterns": ["apps/nativescript-demo-ng/**/*.ts", "apps/nativescript-demo-ng/src/**/*.html"]
103103
}
104104
},
105105
"test": {
106-
"builder": "@nrwl/jest:jest",
106+
"executor": "@nrwl/jest:jest",
107107
"options": {
108108
"jestConfig": "apps/nativescript-demo-ng/jest.config.js",
109109
"tsConfig": "apps/nativescript-demo-ng/tsconfig.spec.json",
@@ -117,9 +117,9 @@
117117
"root": "packages/zone-js",
118118
"sourceRoot": "packages/zone-js/src",
119119
"projectType": "library",
120-
"architect": {
120+
"targets": {
121121
"build": {
122-
"builder": "@nrwl/node:package",
122+
"executor": "@nrwl/node:package",
123123
"options": {
124124
"outputPath": "dist/packages/zone-js",
125125
"tsConfig": "packages/zone-js/tsconfig.lib.json",
@@ -129,13 +129,13 @@
129129
}
130130
},
131131
"lint": {
132-
"builder": "@nrwl/linter:eslint",
132+
"executor": "@nrwl/linter:eslint",
133133
"options": {
134134
"lintFilePatterns": ["packages/zone-js/**/*.ts"]
135135
}
136136
},
137137
"test": {
138-
"builder": "@nrwl/jest:jest",
138+
"executor": "@nrwl/jest:jest",
139139
"outputs": ["coverage/packages/zone-js"],
140140
"options": {
141141
"jestConfig": "packages/zone-js/jest.config.js",

0 commit comments

Comments
 (0)