@ngrx/schematics
Advanced tools
Comparing version 14.0.0 to 14.0.1
{ | ||
"name": "@ngrx/schematics", | ||
"version": "14.0.0", | ||
"version": "14.0.1", | ||
"description": "NgRx Schematics for Angular", | ||
@@ -5,0 +5,0 @@ "repository": { |
"use strict"; | ||
exports.__esModule = true; | ||
exports.platformVersion = void 0; | ||
exports.platformVersion = '^14.0.0'; | ||
exports.platformVersion = '^14.0.1'; | ||
//# sourceMappingURL=libs-version.js.map |
@@ -26,3 +26,6 @@ { | ||
"description": "The path to create the component.", | ||
"visible": false | ||
"visible": false, | ||
"$default": { | ||
"$source": "workingDirectory" | ||
} | ||
}, | ||
@@ -29,0 +32,0 @@ "project": { |
@@ -20,3 +20,6 @@ { | ||
"description": "The path to create the component store.", | ||
"visible": false | ||
"visible": false, | ||
"$default": { | ||
"$source": "workingDirectory" | ||
} | ||
}, | ||
@@ -23,0 +26,0 @@ "project": { |
@@ -11,3 +11,6 @@ { | ||
"description": "The path to create the component.", | ||
"visible": false | ||
"visible": false, | ||
"$default": { | ||
"$source": "workingDirectory" | ||
} | ||
}, | ||
@@ -14,0 +17,0 @@ "project": { |
@@ -19,3 +19,6 @@ { | ||
"description": "The path to create the service.", | ||
"visible": false | ||
"visible": false, | ||
"$default": { | ||
"$source": "workingDirectory" | ||
} | ||
}, | ||
@@ -22,0 +25,0 @@ "project": { |
@@ -20,3 +20,6 @@ { | ||
"description": "The path to create the component.", | ||
"visible": false | ||
"visible": false, | ||
"$default": { | ||
"$source": "workingDirectory" | ||
} | ||
}, | ||
@@ -23,0 +26,0 @@ "project": { |
@@ -20,3 +20,6 @@ { | ||
"description": "The path to create the component.", | ||
"visible": false | ||
"visible": false, | ||
"$default": { | ||
"$source": "workingDirectory" | ||
} | ||
}, | ||
@@ -23,0 +26,0 @@ "project": { |
@@ -11,3 +11,6 @@ { | ||
"description": "The path to create the feature.", | ||
"visible": false | ||
"visible": false, | ||
"$default": { | ||
"$source": "workingDirectory" | ||
} | ||
}, | ||
@@ -14,0 +17,0 @@ "project": { |
"use strict"; | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { | ||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
}; | ||
exports.__esModule = true; | ||
@@ -33,8 +8,9 @@ var schematics_1 = require("@angular-devkit/schematics"); | ||
var path = (0, schematics_core_1.getWorkspacePath)(host); | ||
if (!(workspace['cli'] && workspace['cli']['schematicCollections'])) { | ||
throw new Error('schematicCollections is not defined in the global cli options'); | ||
workspace.cli = workspace.cli || {}; | ||
workspace.cli.schematicCollections = workspace.cli.schematicCollections || []; | ||
if (workspace.cli.defaultCollection) { | ||
workspace.cli.schematicCollections.push(workspace.cli.defaultCollection); | ||
delete workspace.cli.defaultCollection; | ||
} | ||
workspace['cli']['schematicCollections'] = __spreadArray(__spreadArray([], __read(workspace['cli']['schematicCollections']), false), [ | ||
'@ngrx/schematics', | ||
], false); | ||
workspace.cli.schematicCollections.push('@ngrx/schematics'); | ||
host.overwrite(path, JSON.stringify(workspace, null, 2)); | ||
@@ -41,0 +17,0 @@ } |
@@ -20,3 +20,6 @@ { | ||
"description": "The path to create the component.", | ||
"visible": false | ||
"visible": false, | ||
"$default": { | ||
"$source": "workingDirectory" | ||
} | ||
}, | ||
@@ -23,0 +26,0 @@ "project": { |
@@ -19,3 +19,6 @@ { | ||
"description": "The path to create the selectors.", | ||
"visible": false | ||
"visible": false, | ||
"$default": { | ||
"$source": "workingDirectory" | ||
} | ||
}, | ||
@@ -22,0 +25,0 @@ "project": { |
@@ -20,3 +20,6 @@ { | ||
"description": "The path to create the component.", | ||
"visible": false | ||
"visible": false, | ||
"$default": { | ||
"$source": "workingDirectory" | ||
} | ||
}, | ||
@@ -23,0 +26,0 @@ "project": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3718
360574