@ngrx/schematics
Advanced tools
Comparing version 14.3.0 to 14.3.1
{ | ||
"name": "@ngrx/schematics", | ||
"version": "14.3.0", | ||
"version": "14.3.1", | ||
"description": "NgRx Schematics for Angular", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -14,3 +14,3 @@ "use strict"; | ||
exports.__esModule = true; | ||
exports.visitTemplates = exports.visitNgModules = exports.visitDecorator = exports.visitComponents = exports.visitNgModuleExports = exports.visitNgModuleImports = exports.visitTSSourceFiles = exports.platformVersion = exports.addPackageToPackageJson = exports.parseName = exports.updatePackage = exports.stringUtils = exports.isLib = exports.getProject = exports.getProjectPath = exports.getPrefix = exports.omit = exports.addReducerToActionReducerMap = exports.addReducerImportToNgModule = exports.addReducerToStateInterface = exports.addReducerToState = exports.findPropertyInAstObject = exports.buildRelativePath = exports.findModuleFromOptions = exports.findModule = exports.findComponentFromOptions = exports.getWorkspacePath = exports.getWorkspace = exports.commitChanges = exports.createChangeRecorder = exports.createReplaceChange = exports.ReplaceChange = exports.RemoveChange = exports.InsertChange = exports.NoopChange = exports.containsProperty = exports.replaceImport = exports.addProviderToModule = exports.addProviderToComponent = exports.addImportToModule = exports.addExportToModule = exports.addDeclarationToModule = exports.addBootstrapToModule = exports.insertImport = exports.insertAfterLastOccurrence = exports.getContentOfKeyLiteral = exports.getDecoratorMetadata = exports.getSourceNodes = exports.findNodes = void 0; | ||
exports.getNodeDecorators = exports.visitTemplates = exports.visitNgModules = exports.visitDecorator = exports.visitComponents = exports.visitNgModuleExports = exports.visitNgModuleImports = exports.visitTSSourceFiles = exports.platformVersion = exports.addPackageToPackageJson = exports.parseName = exports.updatePackage = exports.stringUtils = exports.isLib = exports.getProject = exports.getProjectPath = exports.getPrefix = exports.omit = exports.addReducerToActionReducerMap = exports.addReducerImportToNgModule = exports.addReducerToStateInterface = exports.addReducerToState = exports.findPropertyInAstObject = exports.buildRelativePath = exports.findModuleFromOptions = exports.findModule = exports.findComponentFromOptions = exports.getWorkspacePath = exports.getWorkspace = exports.commitChanges = exports.createChangeRecorder = exports.createReplaceChange = exports.ReplaceChange = exports.RemoveChange = exports.InsertChange = exports.NoopChange = exports.containsProperty = exports.replaceImport = exports.addProviderToModule = exports.addProviderToComponent = exports.addImportToModule = exports.addExportToModule = exports.addDeclarationToModule = exports.addBootstrapToModule = exports.insertImport = exports.insertAfterLastOccurrence = exports.getContentOfKeyLiteral = exports.getDecoratorMetadata = exports.getSourceNodes = exports.findNodes = void 0; | ||
var strings_1 = require("./utility/strings"); | ||
@@ -89,2 +89,4 @@ var ast_utils_1 = require("./utility/ast-utils"); | ||
__createBinding(exports, visitors_1, "visitTemplates"); | ||
var decorators_1 = require("./utility/decorators"); | ||
__createBinding(exports, decorators_1, "getNodeDecorators"); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
exports.__esModule = true; | ||
exports.platformVersion = void 0; | ||
exports.platformVersion = '^14.3.0'; | ||
exports.platformVersion = '^14.3.1'; | ||
//# sourceMappingURL=libs-version.js.map |
@@ -60,2 +60,3 @@ "use strict"; | ||
var core_1 = require("@angular-devkit/core"); | ||
var decorators_1 = require("./decorators"); | ||
function visitTSSourceFiles(tree, visitor) { | ||
@@ -160,7 +161,7 @@ var e_1, _a; | ||
var classDeclarationNode = node; | ||
if (!classDeclarationNode.decorators || | ||
!classDeclarationNode.decorators.length) { | ||
var decorators = (0, decorators_1.getNodeDecorators)(classDeclarationNode); | ||
if (!decorators || !decorators.length) { | ||
return; | ||
} | ||
var componentDecorator = classDeclarationNode.decorators.find(function (d) { | ||
var componentDecorator = decorators.find(function (d) { | ||
return (ts.isCallExpression(d.expression) && | ||
@@ -167,0 +168,0 @@ ts.isIdentifier(d.expression.expression) && |
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
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
362183
122
3735