|
1 | 1 | { |
2 | | - "name": "angular", |
3 | | - "$schema": "../../node_modules/nx/schemas/project-schema.json", |
| 2 | + "name": "angular-dev", |
| 3 | + "$schema": "../../../node_modules/nx/schemas/project-schema.json", |
4 | 4 | "projectType": "application", |
5 | 5 | "prefix": "abgov", |
6 | | - "sourceRoot": "playground/angular/src", |
| 6 | + "sourceRoot": "apps/dev/angular/src", |
7 | 7 | "tags": [], |
8 | 8 | "targets": { |
9 | 9 | "build": { |
10 | 10 | "executor": "@angular-devkit/build-angular:application", |
11 | 11 | "outputs": ["{options.outputPath}"], |
12 | 12 | "options": { |
13 | | - "outputPath": "dist/playground/angular", |
14 | | - "index": "playground/angular/src/index.html", |
15 | | - "browser": "playground/angular/src/main.ts", |
| 13 | + "outputPath": "dist/apps/dev/angular", |
| 14 | + "index": "apps/dev/angular/src/index.html", |
| 15 | + "browser": "apps/dev/angular/src/main.ts", |
16 | 16 | "polyfills": ["zone.js"], |
17 | | - "tsConfig": "playground/angular/tsconfig.app.json", |
| 17 | + "tsConfig": "apps/dev/angular/tsconfig.app.json", |
18 | 18 | "assets": [ |
19 | | - "playground/angular/src/favicon.ico", |
20 | | - "playground/angular/src/assets" |
| 19 | + "apps/dev/angular/src/favicon.ico", |
| 20 | + "apps/dev/angular/src/assets" |
21 | 21 | ], |
22 | | - "styles": ["playground/angular/src/styles.css"], |
| 22 | + "styles": ["apps/dev/angular/src/styles.css"], |
23 | 23 | "scripts": [] |
24 | 24 | }, |
25 | 25 | "configurations": { |
26 | 26 | "production": { |
27 | 27 | "budgets": [ |
28 | 28 | { |
29 | 29 | "type": "initial", |
30 | | - "maximumWarning": "500kb", |
31 | | - "maximumError": "1mb" |
| 30 | + "maximumWarning": "2mb", |
| 31 | + "maximumError": "3mb" |
32 | 32 | }, |
33 | 33 | { |
34 | 34 | "type": "anyComponentStyle", |
|
50 | 50 | "executor": "@angular-devkit/build-angular:dev-server", |
51 | 51 | "configurations": { |
52 | 52 | "production": { |
53 | | - "buildTarget": "angular:build:production" |
| 53 | + "buildTarget": "angular-dev:build:production" |
54 | 54 | }, |
55 | 55 | "development": { |
56 | | - "buildTarget": "angular:build:development" |
| 56 | + "buildTarget": "angular-dev:build:development" |
57 | 57 | } |
58 | 58 | }, |
59 | 59 | "defaultConfiguration": "development" |
60 | 60 | }, |
61 | 61 | "extract-i18n": { |
62 | 62 | "executor": "@angular-devkit/build-angular:extract-i18n", |
63 | 63 | "options": { |
64 | | - "buildTarget": "angular:build" |
| 64 | + "buildTarget": "angular-dev:build" |
65 | 65 | } |
66 | 66 | }, |
67 | 67 | "lint": { |
|
0 commit comments