diff --git a/nx.json b/nx.json index 7abaf8c..3b95cc0 100644 --- a/nx.json +++ b/nx.json @@ -31,7 +31,19 @@ "style": "css" } }, - "defaultProject": "ngx-bang", + "namedInputs": { + "default": ["{projectRoot}/**/*"], + "prod": ["!{projectRoot}/**/*.spec.ts"] + }, + "targetDefaults": { + "build": { + "inputs": ["prod", "^prod"], + "dependsOn": ["^build"] + }, + "test": { + "inputs": ["default", "^prod"] + } + }, "pluginsConfig": { "@nrwl/js": { "analyzeSourceFiles": true diff --git a/packages/ngrx-slice/package.json b/packages/ngrx-slice/package.json index 0f23fec..4ef6164 100644 --- a/packages/ngrx-slice/package.json +++ b/packages/ngrx-slice/package.json @@ -21,9 +21,9 @@ "type": "git" }, "peerDependencies": { - "@angular/common": "^13.0.0", - "@angular/core": "^13.0.0", - "@ngrx/store": "^13.0.0", + "@angular/common": "^13.0.0 || ^14.0.0", + "@angular/core": "^13.0.0 || ^14.0.0", + "@ngrx/store": "^13.0.0 || ^14.0.0", "immer": "~9.0.0" }, "dependencies": {