@ngrx/schematics
Advanced tools
Comparing version 11.1.1 to 12.0.0-beta.0
{ | ||
"name": "@ngrx/schematics", | ||
"version": "11.1.1", | ||
"version": "12.0.0-beta.0", | ||
"description": "NgRx Schematics for Angular", | ||
@@ -41,4 +41,4 @@ "repository": { | ||
}, | ||
"main": "src/index.js", | ||
"typings": "src/index.d.ts" | ||
"main": "./src/index.js", | ||
"typings": "./src/index.d.ts" | ||
} |
@@ -29,5 +29,6 @@ "use strict"; | ||
}; | ||
var __spread = (this && this.__spread) || function () { | ||
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
}; | ||
@@ -103,3 +104,3 @@ exports.__esModule = true; | ||
if (node.getChildCount(sourceFile) >= 0) { | ||
nodes.unshift.apply(nodes, __spread(node.getChildren())); | ||
nodes.unshift.apply(nodes, __spreadArray([], __read(node.getChildren()))); | ||
} | ||
@@ -106,0 +107,0 @@ } |
"use strict"; | ||
exports.__esModule = true; | ||
exports.platformVersion = void 0; | ||
exports.platformVersion = '^11.1.1'; | ||
exports.platformVersion = '^12.0.0-beta.0'; | ||
//# sourceMappingURL=libs-version.js.map |
@@ -29,5 +29,6 @@ "use strict"; | ||
}; | ||
var __spread = (this && this.__spread) || function () { | ||
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
}; | ||
@@ -209,3 +210,3 @@ exports.__esModule = true; | ||
var _b = __read(ast_utils_1.addImportToModule(source, modulePath, "StoreModule.forFeature(from" + stringUtils.classify(options.name) + "." + state + "FeatureKey, from" + stringUtils.classify(options.name) + ".reducer)", relativePath), 1), storeNgModuleImport = _b[0]; | ||
var changes = __spread(commonImports, [reducerImport, storeNgModuleImport]); | ||
var changes = __spreadArray(__spreadArray([], __read(commonImports)), [reducerImport, storeNgModuleImport]); | ||
var recorder = host.beginUpdate(modulePath); | ||
@@ -212,0 +213,0 @@ try { |
@@ -111,3 +111,3 @@ "use strict"; | ||
options.path = parsedPath.path; | ||
var opts = ['state', 'stateInterface'].reduce(function (current, key) { | ||
var opts = ['state', 'stateInterface', 'testDepth'].reduce(function (current, key) { | ||
return schematics_core_1.omit(current, key); | ||
@@ -114,0 +114,0 @@ }, options); |
@@ -18,5 +18,6 @@ "use strict"; | ||
}; | ||
var __spread = (this && this.__spread) || function () { | ||
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
}; | ||
@@ -44,3 +45,3 @@ exports.__esModule = true; | ||
var importChanges = schematics_core_1.replaceImport(sourceFile, sourceFile.fileName, '@ngrx/effects', 'Effect', 'createEffect'); | ||
schematics_core_1.commitChanges(tree, sourceFile.fileName, __spread(importChanges, createEffectsChanges)); | ||
schematics_core_1.commitChanges(tree, sourceFile.fileName, __spreadArray(__spreadArray([], __read(importChanges)), __read(createEffectsChanges))); | ||
}); | ||
@@ -74,3 +75,3 @@ }; | ||
.reduce(function (acc, removes) { return acc.concat(removes); }, []); | ||
return __spread(inserts, removes); | ||
return __spreadArray(__spreadArray([], __read(inserts)), __read(removes)); | ||
} | ||
@@ -77,0 +78,0 @@ function isEffectDecorator(decorator) { |
@@ -29,5 +29,6 @@ "use strict"; | ||
}; | ||
var __spread = (this && this.__spread) || function () { | ||
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
}; | ||
@@ -105,3 +106,3 @@ var __values = (this && this.__values) || function(o) { | ||
} | ||
var changes = __spread(commonImports, rootImports); | ||
var changes = __spreadArray(__spreadArray([], __read(commonImports)), __read(rootImports)); | ||
var recorder = host.beginUpdate(modulePath); | ||
@@ -108,0 +109,0 @@ try { |
@@ -119,3 +119,3 @@ import { | ||
...defaultAppOptions, | ||
name: defaultWorkspaceOptions.defaultProject, | ||
name: 'bar', | ||
}); | ||
@@ -122,0 +122,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
486481
6640
2
80
1