|
17 | 17 | "prefix": "lib", |
18 | 18 | "architect": { |
19 | 19 | "build": { |
20 | | - "builder": "@angular-devkit/build-angular:ng-packagr", |
21 | | - "options": { |
22 | | - "project": "projects/sample/ng-package.json" |
23 | | - }, |
| 20 | + "builder": "@angular/build:ng-packagr", |
24 | 21 | "configurations": { |
25 | 22 | "production": { |
26 | 23 | "tsConfig": "projects/sample/tsconfig.lib.prod.json" |
|
32 | 29 | "defaultConfiguration": "development" |
33 | 30 | }, |
34 | 31 | "test": { |
35 | | - "builder": "@analogjs/vitest-angular:test", |
| 32 | + "builder": "@angular/build:unit-test", |
36 | 33 | "options": { |
37 | | - "tsConfig": "projects/sample/tsconfig.spec.json", |
38 | | - "polyfills": [] |
| 34 | + "tsConfig": "projects/sample/tsconfig.spec.json" |
39 | 35 | } |
40 | 36 | } |
41 | 37 | } |
42 | 38 | }, |
43 | 39 | "sample-plugin": { |
44 | 40 | "projectType": "application", |
45 | 41 | "schematics": { |
46 | | - "@schematics/angular:component": { |
47 | | - "style": "css" |
48 | | - } |
49 | 42 | }, |
50 | 43 | "root": "projects/sample-plugin", |
51 | 44 | "sourceRoot": "projects/sample-plugin/src", |
|
71 | 64 | "target": "sample-plugin:serve-original:development", |
72 | 65 | "rebuildDelay": 0, |
73 | 66 | "dev": true, |
| 67 | + "cacheExternalArtifacts": false, |
74 | 68 | "port": 0 |
75 | 69 | } |
76 | 70 | }, |
| 71 | + "test": { |
| 72 | + "builder": "@angular/build:unit-test" |
| 73 | + }, |
77 | 74 | "esbuild": { |
78 | | - "builder": "@angular-devkit/build-angular:application", |
| 75 | + "builder": "@angular/build:application", |
79 | 76 | "options": { |
80 | 77 | "outputPath": "dist/xt-sample-plugin", |
81 | 78 | "index": "projects/sample-plugin/src/index.html", |
|
85 | 82 | "es-module-shims" |
86 | 83 | ], |
87 | 84 | "tsConfig": "projects/sample-plugin/tsconfig.app.json", |
88 | | - "inlineStyleLanguage": "css", |
89 | 85 | "assets": [ |
90 | 86 | { |
91 | 87 | "glob": "**/*", |
|
94 | 90 | ], |
95 | 91 | "styles": [ |
96 | 92 | "projects/sample-plugin/src/styles.css" |
97 | | - ], |
98 | | - "scripts": [] |
| 93 | + ] |
99 | 94 | }, |
100 | 95 | "configurations": { |
101 | 96 | "production": { |
|
122 | 117 | "defaultConfiguration": "development" |
123 | 118 | }, |
124 | 119 | "serve-original": { |
125 | | - "builder": "@angular-devkit/build-angular:dev-server", |
| 120 | + "builder": "@angular/build:dev-server", |
126 | 121 | "configurations": { |
127 | 122 | "production": { |
128 | 123 | "buildTarget": "sample-plugin:esbuild:production" |
|
135 | 130 | "options": { |
136 | 131 | "port": 4201 |
137 | 132 | } |
138 | | - }, |
139 | | - "extract-i18n": { |
140 | | - "builder": "@angular-devkit/build-angular:extract-i18n" |
141 | | - }, |
142 | | - "test": { |
143 | | - "builder": "@analogjs/vitest-angular:test", |
144 | | - "options": { |
145 | | - "polyfills": [], |
146 | | - "tsConfig": "projects/sample-plugin/tsconfig.spec.json", |
147 | | - "inlineStyleLanguage": "css", |
148 | | - "assets": [ |
149 | | - { |
150 | | - "glob": "**/*", |
151 | | - "input": "projects/sample-plugin/public" |
152 | | - } |
153 | | - ], |
154 | | - "styles": [ |
155 | | - "projects/sample-plugin/src/styles.css" |
156 | | - ], |
157 | | - "scripts": [] |
158 | | - } |
159 | | - } |
| 133 | + } |
160 | 134 | } |
161 | 135 | } |
162 | 136 | } |
|
0 commit comments