Skip to content

Commit 02a944b

Browse files
chore(schematics): add Nx support for installation via alias add
- added `add` schematic alias so Nx users can run `nx g @foblex/flow:add` - ensured `ng add @foblex/flow` continues to work without requiring Nx - no runtime changes, only install/usage improvements
1 parent e6a7321 commit 02a944b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

projects/f-flow/schematics/collection.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,15 @@
66
"factory": "./ng-add/index#ngAdd",
77
"schema": "./ng-add/schema.json"
88
},
9+
"add": {
10+
"description": "Installs @foblex/flow and its dependencies (alias for Nx users)",
11+
"factory": "./ng-add/index#ngAdd",
12+
"schema": "./ng-add/schema.json"
13+
},
914
"ng-update": {
1015
"description": "Updates @foblex/flow to the latest version",
1116
"factory": "./ng-update/index#ngUpdate",
1217
"schema": "./ng-update/schema.json"
13-
},
18+
}
1419
}
1520
}

0 commit comments

Comments
 (0)