Skip to content

Commit 30f7630

Browse files
committed
Step 1 - Auto-extend schema from Angular Devkit
1 parent 966b2ac commit 30f7630

File tree

8 files changed

+1024
-16
lines changed

8 files changed

+1024
-16
lines changed

libs/nx-angular-mf/project.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@
1313
},
1414
"tags": [],
1515
"targets": {
16+
"merge-schemes": {
17+
"executor": "nx:run-commands",
18+
"options": {
19+
"command": "node ./tools/merge-schemes/index.mjs"
20+
}
21+
},
1622
"build": {
23+
"dependsOn": ["merge-schemes"],
1724
"executor": "@nx/js:tsc",
1825
"outputs": ["{options.outputPath}"],
1926
"options": {
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
export interface BuildExecutorSchema {} // eslint-disable-line
1+
import { Schema } from '@angular-devkit/build-angular/src/builders/browser-esbuild/schema';
2+
3+
import { SchemaMf } from '../schema';
4+
5+
export type BuildExecutorSchema = SchemaMf & Schema;
6+
7+
8+
9+

0 commit comments

Comments
 (0)