|
1 | 1 | { |
2 | | - "version": 1, |
| 2 | + "version": 2, |
3 | 3 | "projects": { |
4 | 4 | "angular": { |
5 | 5 | "root": "packages/angular", |
6 | 6 | "sourceRoot": "packages/angular/src", |
7 | 7 | "projectType": "library", |
8 | 8 | "schematics": {}, |
9 | | - "architect": { |
| 9 | + "targets": { |
10 | 10 | "build": { |
11 | | - "builder": "@nrwl/workspace:run-commands", |
| 11 | + "executor": "@nrwl/workspace:run-commands", |
12 | 12 | "outputs": ["dist/packages"], |
13 | 13 | "options": { |
14 | 14 | "commands": ["node tools/scripts/build-angular.ts angular"], |
15 | 15 | "parallel": false |
16 | 16 | } |
17 | 17 | }, |
18 | 18 | "lint": { |
19 | | - "builder": "@nrwl/linter:eslint", |
| 19 | + "executor": "@nrwl/linter:eslint", |
20 | 20 | "options": { |
21 | 21 | "lintFilePatterns": ["packages/angular/**/*.ts", "packages/angular/src/**/*.html"] |
22 | 22 | } |
23 | 23 | }, |
24 | 24 | "test": { |
25 | | - "builder": "@nrwl/jest:jest", |
| 25 | + "executor": "@nrwl/jest:jest", |
26 | 26 | "options": { |
27 | 27 | "jestConfig": "packages/angular/jest.config.js", |
28 | 28 | "passWithNoTests": true |
|
41 | 41 | "styleext": "scss" |
42 | 42 | } |
43 | 43 | }, |
44 | | - "architect": { |
| 44 | + "targets": { |
45 | 45 | "build": { |
46 | | - "builder": "@nativescript/nx:build", |
| 46 | + "executor": "@nativescript/nx:build", |
47 | 47 | "options": { |
48 | 48 | "noHmr": true, |
49 | 49 | "production": true, |
|
63 | 63 | } |
64 | 64 | }, |
65 | 65 | "ios": { |
66 | | - "builder": "@nativescript/nx:build", |
| 66 | + "executor": "@nativescript/nx:build", |
67 | 67 | "options": { |
68 | 68 | "platform": "ios" |
69 | 69 | }, |
|
77 | 77 | } |
78 | 78 | }, |
79 | 79 | "android": { |
80 | | - "builder": "@nativescript/nx:build", |
| 80 | + "executor": "@nativescript/nx:build", |
81 | 81 | "options": { |
82 | 82 | "platform": "android" |
83 | 83 | }, |
|
91 | 91 | } |
92 | 92 | }, |
93 | 93 | "clean": { |
94 | | - "builder": "@nativescript/nx:build", |
| 94 | + "executor": "@nativescript/nx:build", |
95 | 95 | "options": { |
96 | 96 | "clean": true |
97 | 97 | } |
98 | 98 | }, |
99 | 99 | "lint": { |
100 | | - "builder": "@nrwl/linter:eslint", |
| 100 | + "executor": "@nrwl/linter:eslint", |
101 | 101 | "options": { |
102 | 102 | "lintFilePatterns": ["apps/nativescript-demo-ng/**/*.ts", "apps/nativescript-demo-ng/src/**/*.html"] |
103 | 103 | } |
104 | 104 | }, |
105 | 105 | "test": { |
106 | | - "builder": "@nrwl/jest:jest", |
| 106 | + "executor": "@nrwl/jest:jest", |
107 | 107 | "options": { |
108 | 108 | "jestConfig": "apps/nativescript-demo-ng/jest.config.js", |
109 | 109 | "tsConfig": "apps/nativescript-demo-ng/tsconfig.spec.json", |
|
117 | 117 | "root": "packages/zone-js", |
118 | 118 | "sourceRoot": "packages/zone-js/src", |
119 | 119 | "projectType": "library", |
120 | | - "architect": { |
| 120 | + "targets": { |
121 | 121 | "build": { |
122 | | - "builder": "@nrwl/node:package", |
| 122 | + "executor": "@nrwl/node:package", |
123 | 123 | "options": { |
124 | 124 | "outputPath": "dist/packages/zone-js", |
125 | 125 | "tsConfig": "packages/zone-js/tsconfig.lib.json", |
|
129 | 129 | } |
130 | 130 | }, |
131 | 131 | "lint": { |
132 | | - "builder": "@nrwl/linter:eslint", |
| 132 | + "executor": "@nrwl/linter:eslint", |
133 | 133 | "options": { |
134 | 134 | "lintFilePatterns": ["packages/zone-js/**/*.ts"] |
135 | 135 | } |
136 | 136 | }, |
137 | 137 | "test": { |
138 | | - "builder": "@nrwl/jest:jest", |
| 138 | + "executor": "@nrwl/jest:jest", |
139 | 139 | "outputs": ["coverage/packages/zone-js"], |
140 | 140 | "options": { |
141 | 141 | "jestConfig": "packages/zone-js/jest.config.js", |
|
0 commit comments