|
3 | 3 | "version": 1, |
4 | 4 | "newProjectRoot": "projects", |
5 | 5 | "projects": { |
6 | | - "ngx-logger": { |
| 6 | + "integration": { |
7 | 7 | "root": "", |
8 | | - "sourceRoot": "src", |
| 8 | + "prefix": "", |
| 9 | + "sourceRoot": "integration", |
9 | 10 | "projectType": "application", |
10 | | - "prefix": "app", |
11 | 11 | "schematics": {}, |
12 | 12 | "architect": { |
13 | 13 | "build": { |
14 | 14 | "builder": "@angular-devkit/build-angular:browser", |
15 | 15 | "options": { |
16 | | - "outputPath": "dist/ngx-logger", |
17 | | - "index": "src/index.html", |
18 | | - "main": "src/main.ts", |
19 | | - "polyfills": "src/polyfills.ts", |
20 | | - "tsConfig": "src/tsconfig.app.json", |
21 | | - "assets": ["src/favicon.ico", "src/assets"], |
22 | | - "styles": ["src/styles.css"], |
| 16 | + "outputPath": "dist/integration", |
| 17 | + "index": "integration/app/index.html", |
| 18 | + "main": "integration/app/main.ts", |
| 19 | + "polyfills": "integration/app/polyfills.ts", |
| 20 | + "tsConfig": "integration/app/tsconfig.app.json", |
| 21 | + "assets": ["integration/app/favicon.ico", "integration/app/assets"], |
| 22 | + "styles": ["integration/app/styles.css"], |
23 | 23 | "scripts": [], |
24 | 24 | "es5BrowserSupport": true |
25 | 25 | }, |
26 | 26 | "configurations": { |
27 | 27 | "production": { |
28 | 28 | "fileReplacements": [ |
29 | 29 | { |
30 | | - "replace": "src/environments/environment.ts", |
31 | | - "with": "src/environments/environment.prod.ts" |
| 30 | + "replace": "integration/app/src/environments/environment.ts", |
| 31 | + "with": "integration/app/src/environments/environment.prod.ts" |
32 | 32 | } |
33 | 33 | ], |
34 | 34 | "optimization": true, |
|
53 | 53 | "serve": { |
54 | 54 | "builder": "@angular-devkit/build-angular:dev-server", |
55 | 55 | "options": { |
56 | | - "browserTarget": "ngx-logger:build" |
| 56 | + "browserTarget": "integration:build" |
57 | 57 | }, |
58 | 58 | "configurations": { |
59 | 59 | "production": { |
60 | | - "browserTarget": "ngx-logger:build:production" |
| 60 | + "browserTarget": "integration:build:production" |
61 | 61 | } |
62 | 62 | } |
63 | | - }, |
64 | | - "extract-i18n": { |
65 | | - "builder": "@angular-devkit/build-angular:extract-i18n", |
66 | | - "options": { |
67 | | - "browserTarget": "ngx-logger:build" |
68 | | - } |
69 | | - }, |
70 | | - "lint": { |
71 | | - "builder": "@angular-devkit/build-angular:tslint", |
72 | | - "options": { |
73 | | - "tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"], |
74 | | - "exclude": ["**/node_modules/**"] |
75 | | - } |
76 | 63 | } |
77 | 64 | } |
78 | 65 | }, |
79 | 66 | "logger": { |
80 | | - "root": "projects/logger", |
81 | | - "sourceRoot": "projects/logger/src", |
| 67 | + "root": "", |
| 68 | + "prefix": "", |
| 69 | + "sourceRoot": "", |
82 | 70 | "projectType": "library", |
83 | | - "prefix": "lib", |
84 | 71 | "architect": { |
85 | 72 | "build": { |
86 | 73 | "builder": "@angular-devkit/build-ng-packagr:build", |
87 | 74 | "options": { |
88 | | - "tsConfig": "projects/logger/tsconfig.lib.json", |
89 | | - "project": "projects/logger/ng-package.json" |
90 | | - } |
91 | | - }, |
92 | | - "lint": { |
93 | | - "builder": "@angular-devkit/build-angular:tslint", |
94 | | - "options": { |
95 | | - "tsConfig": ["projects/logger/tsconfig.lib.json", "projects/logger/tsconfig.spec.json"], |
96 | | - "exclude": ["**/node_modules/**"] |
| 75 | + "tsConfig": "lib/tsconfig.lib.json", |
| 76 | + "project": "lib/ng-package.json" |
97 | 77 | } |
98 | 78 | } |
99 | 79 | } |
100 | 80 | } |
101 | 81 | }, |
102 | | - "defaultProject": "ngx-logger" |
| 82 | + "defaultProject": "logger" |
103 | 83 | } |
0 commit comments