|
3 | 3 | "version": 1,
|
4 | 4 | "newProjectRoot": "projects",
|
5 | 5 | "projects": {
|
6 |
| - "ngx-elements-router": { |
7 |
| - "projectType": "library", |
8 |
| - "root": "projects/ngx-elements-router", |
9 |
| - "sourceRoot": "projects/ngx-elements-router/src", |
10 |
| - "prefix": "aer", |
11 |
| - "architect": { |
12 |
| - "build": { |
13 |
| - "builder": "@angular-devkit/build-angular:ng-packagr", |
14 |
| - "options": { |
15 |
| - "tsConfig": "projects/ngx-elements-router/tsconfig.lib.json", |
16 |
| - "project": "projects/ngx-elements-router/ng-package.json" |
17 |
| - }, |
18 |
| - "configurations": { |
19 |
| - "production": { |
20 |
| - "tsConfig": "projects/ngx-elements-router/tsconfig.lib.prod.json" |
21 |
| - } |
22 |
| - } |
23 |
| - }, |
24 |
| - "lint": { |
25 |
| - "builder": "@angular-devkit/build-angular:tslint", |
26 |
| - "options": { |
27 |
| - "tsConfig": [ |
28 |
| - "projects/ngx-elements-router/tsconfig.lib.json", |
29 |
| - "projects/ngx-elements-router/tsconfig.spec.json" |
30 |
| - ], |
31 |
| - "exclude": ["**/node_modules/**"] |
32 |
| - } |
33 |
| - } |
34 |
| - } |
35 |
| - }, |
36 |
| - "example-micro-frontend": { |
| 6 | + "bookings": { |
37 | 7 | "projectType": "application",
|
38 |
| - "root": "projects/example-micro-frontend", |
39 |
| - "sourceRoot": "projects/example-micro-frontend/src", |
| 8 | + "root": "projects/bookings", |
| 9 | + "sourceRoot": "projects/bookings/src", |
40 | 10 | "prefix": "mf",
|
41 | 11 | "architect": {
|
42 | 12 | "build": {
|
43 | 13 | "builder": "ngx-build-plus:build",
|
44 | 14 | "options": {
|
45 | 15 | "singleBundle": true,
|
46 | 16 | "outputHashing": "none",
|
47 |
| - "outputPath": "dist/example-micro-frontend", |
48 |
| - "index": "projects/example-micro-frontend/src/index.html", |
49 |
| - "main": "projects/example-micro-frontend/src/main.ts", |
50 |
| - "polyfills": "projects/example-micro-frontend/src/polyfills.ts", |
51 |
| - "tsConfig": "projects/example-micro-frontend/tsconfig.app.json", |
| 17 | + "outputPath": "dist/bookings", |
| 18 | + "index": "projects/bookings/src/index.html", |
| 19 | + "main": "projects/bookings/src/main.ts", |
| 20 | + "polyfills": "projects/bookings/src/polyfills.ts", |
| 21 | + "tsConfig": "projects/bookings/tsconfig.app.json", |
52 | 22 | "aot": true,
|
53 | 23 | "assets": [
|
54 |
| - "projects/example-micro-frontend/src/favicon.ico", |
55 |
| - "projects/example-micro-frontend/src/assets" |
| 24 | + "projects/bookings/src/favicon.ico", |
| 25 | + "projects/bookings/src/assets" |
56 | 26 | ],
|
57 |
| - "styles": ["projects/example-micro-frontend/src/styles.css"], |
58 |
| - "scripts": ["projects/ngx-elements-router/src/dev-platform.js"] |
| 27 | + "styles": ["projects/bookings/src/styles.css"], |
| 28 | + "scripts": ["node_modules/ngx-elements-router/src/dev-platform.js"] |
59 | 29 | },
|
60 | 30 | "configurations": {
|
61 | 31 | "production": {
|
62 | 32 | "fileReplacements": [
|
63 | 33 | {
|
64 |
| - "replace": "projects/example-micro-frontend/src/environments/environment.ts", |
65 |
| - "with": "projects/example-micro-frontend/src/environments/environment.prod.ts" |
| 34 | + "replace": "projects/bookings/src/environments/environment.ts", |
| 35 | + "with": "projects/bookings/src/environments/environment.prod.ts" |
66 | 36 | }
|
67 | 37 | ],
|
68 | 38 | "optimization": true,
|
|
90 | 60 | "serve": {
|
91 | 61 | "builder": "ngx-build-plus:dev-server",
|
92 | 62 | "options": {
|
93 |
| - "browserTarget": "example-micro-frontend:build" |
| 63 | + "browserTarget": "bookings:build" |
94 | 64 | },
|
95 | 65 | "configurations": {
|
96 | 66 | "production": {
|
97 |
| - "browserTarget": "example-micro-frontend:build:production" |
| 67 | + "browserTarget": "bookings:build:production" |
98 | 68 | }
|
99 | 69 | }
|
100 | 70 | },
|
101 | 71 | "extract-i18n": {
|
102 | 72 | "builder": "@angular-devkit/build-angular:extract-i18n",
|
103 | 73 | "options": {
|
104 |
| - "browserTarget": "example-micro-frontend:build" |
| 74 | + "browserTarget": "bookings:build" |
105 | 75 | }
|
106 | 76 | },
|
107 | 77 | "lint": {
|
108 | 78 | "builder": "@angular-devkit/build-angular:tslint",
|
109 | 79 | "options": {
|
110 |
| - "tsConfig": ["projects/example-micro-frontend/tsconfig.app.json"], |
| 80 | + "tsConfig": ["projects/bookings/tsconfig.app.json"], |
111 | 81 | "exclude": ["**/node_modules/**"]
|
112 | 82 | }
|
113 | 83 | }
|
114 | 84 | }
|
115 | 85 | },
|
116 |
| - "example-platform": { |
| 86 | + "train-platform": { |
117 | 87 | "projectType": "application",
|
118 |
| - "root": "projects/example-platform", |
119 |
| - "sourceRoot": "projects/example-platform/src", |
| 88 | + "root": "projects/train-platform", |
| 89 | + "sourceRoot": "projects/train-platform/src", |
120 | 90 | "prefix": "app",
|
121 | 91 | "architect": {
|
122 | 92 | "build": {
|
123 | 93 | "builder": "@angular-devkit/build-angular:browser",
|
124 | 94 | "options": {
|
125 |
| - "outputPath": "dist/example-platform", |
126 |
| - "index": "projects/example-platform/src/index.html", |
127 |
| - "main": "projects/example-platform/src/main.ts", |
128 |
| - "polyfills": "projects/example-platform/src/polyfills.ts", |
129 |
| - "tsConfig": "projects/example-platform/tsconfig.app.json", |
| 95 | + "outputPath": "dist/train-platform", |
| 96 | + "index": "projects/train-platform/src/index.html", |
| 97 | + "main": "projects/train-platform/src/main.ts", |
| 98 | + "polyfills": "projects/train-platform/src/polyfills.ts", |
| 99 | + "tsConfig": "projects/train-platform/tsconfig.app.json", |
130 | 100 | "aot": true,
|
131 | 101 | "assets": [
|
132 |
| - "projects/example-platform/src/favicon.ico", |
133 |
| - "projects/example-platform/src/assets" |
| 102 | + "projects/train-platform/src/favicon.ico", |
| 103 | + "projects/train-platform/src/assets" |
134 | 104 | ],
|
135 |
| - "styles": ["projects/example-platform/src/styles.css"], |
| 105 | + "styles": ["projects/train-platform/src/styles.css"], |
136 | 106 | "scripts": []
|
137 | 107 | },
|
138 | 108 | "configurations": {
|
139 | 109 | "production": {
|
140 | 110 | "fileReplacements": [
|
141 | 111 | {
|
142 |
| - "replace": "projects/example-platform/src/environments/environment.ts", |
143 |
| - "with": "projects/example-platform/src/environments/environment.prod.ts" |
| 112 | + "replace": "projects/train-platform/src/environments/environment.ts", |
| 113 | + "with": "projects/train-platform/src/environments/environment.prod.ts" |
144 | 114 | }
|
145 | 115 | ],
|
146 | 116 | "optimization": true,
|
|
168 | 138 | "serve": {
|
169 | 139 | "builder": "@angular-devkit/build-angular:dev-server",
|
170 | 140 | "options": {
|
171 |
| - "browserTarget": "example-platform:build" |
| 141 | + "browserTarget": "train-platform:build" |
172 | 142 | },
|
173 | 143 | "configurations": {
|
174 | 144 | "production": {
|
175 |
| - "browserTarget": "example-platform:build:production" |
| 145 | + "browserTarget": "train-platform:build:production" |
176 | 146 | }
|
177 | 147 | }
|
178 | 148 | },
|
179 | 149 | "extract-i18n": {
|
180 | 150 | "builder": "@angular-devkit/build-angular:extract-i18n",
|
181 | 151 | "options": {
|
182 |
| - "browserTarget": "example-platform:build" |
| 152 | + "browserTarget": "train-platform:build" |
183 | 153 | }
|
184 | 154 | },
|
185 | 155 | "lint": {
|
186 | 156 | "builder": "@angular-devkit/build-angular:tslint",
|
187 | 157 | "options": {
|
188 |
| - "tsConfig": ["projects/example-platform/tsconfig.app.json"], |
| 158 | + "tsConfig": ["projects/train-platform/tsconfig.app.json"], |
189 | 159 | "exclude": ["**/node_modules/**"]
|
190 | 160 | }
|
191 | 161 | }
|
192 | 162 | }
|
193 | 163 | }
|
194 | 164 | },
|
195 |
| - "defaultProject": "ngx-elements-router" |
| 165 | + "defaultProject": "train-platform" |
196 | 166 | }
|
0 commit comments