Skip to content

Commit fa1fddb

Browse files
committed
build: fix deps & peer deps
1 parent c9cf238 commit fa1fddb

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,6 @@ testem.log
3838
.DS_Store
3939
Thumbs.db
4040

41+
# Angular & NX
4142
.angular
43+
.nx/cache

libs/ddd/package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,18 @@
88
"type": "github",
99
"url": "https://github.com/angular-architects/nx-ddd-plugin"
1010
},
11+
"engines": {
12+
"node": ">= 18",
13+
"npm": ">= 9",
14+
"yarn": "^1.22.17"
15+
},
1116
"dependencies": {
12-
"@ngrx/schematics": "^18.0.0"
17+
"@ngrx/schematics": "^17.0.0",
18+
"tslib": "^2.3.1"
1319
},
1420
"peerDependencies": {
15-
"@nx/angular": "^19.0.0"
21+
"@angular/core": "^17.0.0",
22+
"@nx/angular": ">=18.0.0 <19.8.0"
1623
},
1724
"main": "src/index.js",
1825
"schematics": "./collection.json",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"ng": "nx",
77
"start": "nx serve",
88
"build": "nx build",
9-
"test": "nx test"
9+
"test": "nx test",
10+
"build-pack": "nx b ddd && npm pack dist/libs/ddd"
1011
},
1112
"private": true,
1213
"dependencies": {

0 commit comments

Comments
 (0)