Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ngrx/schematics

Package Overview
Dependencies
Maintainers
4
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngrx/schematics - npm Package Compare versions

Comparing version 8.6.0 to 9.0.0-beta.0

schematics-core/utility/visitors.d.ts

3

package.json
{
"name": "@ngrx/schematics",
"version": "8.6.0",
"version": "9.0.0-beta.0",
"description": "NgRx Schematics for Angular",

@@ -31,2 +31,3 @@ "repository": {

"@ngrx/data",
"@ngrx/component",
"@ngrx/schematics",

@@ -33,0 +34,0 @@ "@ngrx/store-devtools"

/// <amd-module name="@ngrx/schematics/schematics-core" />
import { dasherize, decamelize, camelize, classify, underscore, group, capitalize, featurePath, pluralize } from './utility/strings';
export { findNodes, getSourceNodes, getDecoratorMetadata, getContentOfKeyLiteral, insertAfterLastOccurrence, insertImport, addBootstrapToModule, addDeclarationToModule, addExportToModule, addImportToModule, addProviderToModule, replaceImport, } from './utility/ast-utils';
export { findNodes, getSourceNodes, getDecoratorMetadata, getContentOfKeyLiteral, insertAfterLastOccurrence, insertImport, addBootstrapToModule, addDeclarationToModule, addExportToModule, addImportToModule, addProviderToModule, replaceImport, containsProperty, } from './utility/ast-utils';
export { Host, Change, NoopChange, InsertChange, RemoveChange, ReplaceChange, createReplaceChange, createChangeRecorder, commitChanges, } from './utility/change';

@@ -24,2 +24,2 @@ export { AppConfig, getWorkspace, getWorkspacePath } from './utility/config';

export { platformVersion } from './utility/libs-version';
export { visitTSSourceFiles } from './utility/visit-utils';
export { visitTSSourceFiles, visitNgModuleImports } from './utility/visitors';

@@ -7,3 +7,3 @@ (function (factory) {

else if (typeof define === "function" && define.amd) {
define("@ngrx/schematics/schematics-core", ["require", "exports", "@ngrx/schematics/schematics-core/utility/strings", "@ngrx/schematics/schematics-core/utility/ast-utils", "@ngrx/schematics/schematics-core/utility/change", "@ngrx/schematics/schematics-core/utility/config", "@ngrx/schematics/schematics-core/utility/find-module", "@ngrx/schematics/schematics-core/utility/ngrx-utils", "@ngrx/schematics/schematics-core/utility/project", "@ngrx/schematics/schematics-core/utility/update", "@ngrx/schematics/schematics-core/utility/parse-name", "@ngrx/schematics/schematics-core/utility/package", "@ngrx/schematics/schematics-core/utility/libs-version", "@ngrx/schematics/schematics-core/utility/visit-utils"], factory);
define("@ngrx/schematics/schematics-core", ["require", "exports", "@ngrx/schematics/schematics-core/utility/strings", "@ngrx/schematics/schematics-core/utility/ast-utils", "@ngrx/schematics/schematics-core/utility/change", "@ngrx/schematics/schematics-core/utility/config", "@ngrx/schematics/schematics-core/utility/find-module", "@ngrx/schematics/schematics-core/utility/ngrx-utils", "@ngrx/schematics/schematics-core/utility/project", "@ngrx/schematics/schematics-core/utility/update", "@ngrx/schematics/schematics-core/utility/parse-name", "@ngrx/schematics/schematics-core/utility/package", "@ngrx/schematics/schematics-core/utility/libs-version", "@ngrx/schematics/schematics-core/utility/visitors"], factory);
}

@@ -27,2 +27,3 @@ })(function (require, exports) {

exports.replaceImport = ast_utils_1.replaceImport;
exports.containsProperty = ast_utils_1.containsProperty;
var change_1 = require("@ngrx/schematics/schematics-core/utility/change");

@@ -72,5 +73,6 @@ exports.NoopChange = change_1.NoopChange;

exports.platformVersion = libs_version_1.platformVersion;
var visit_utils_1 = require("@ngrx/schematics/schematics-core/utility/visit-utils");
exports.visitTSSourceFiles = visit_utils_1.visitTSSourceFiles;
var visitors_1 = require("@ngrx/schematics/schematics-core/utility/visitors");
exports.visitTSSourceFiles = visitors_1.visitTSSourceFiles;
exports.visitNgModuleImports = visitors_1.visitNgModuleImports;
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3NjaGVtYXRpY3Mvc2NoZW1hdGljcy1jb3JlL2luZGV4LnR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hbWVsaXplLFxuICBjYW1lbGl6ZSxcbiAgY2xhc3NpZnksXG4gIHVuZGVyc2NvcmUsXG4gIGdyb3VwLFxuICBjYXBpdGFsaXplLFxuICBmZWF0dXJlUGF0aCxcbiAgcGx1cmFsaXplLFxufTtcblxuZXhwb3J0IHsgdXBkYXRlUGFja2FnZSB9IGZyb20gJy4vdXRpbGl0eS91cGRhdGUnO1xuXG5leHBvcnQgeyBwYXJzZU5hbWUgfSBmcm9tICcuL3V0aWxpdHkvcGFyc2UtbmFtZSc7XG5cbmV4cG9ydCB7IGFkZFBhY2thZ2VUb1BhY2thZ2VKc29uIH0gZnJvbSAnLi91dGlsaXR5L3BhY2thZ2UnO1xuXG5leHBvcnQgeyBwbGF0Zm9ybVZlcnNpb24gfSBmcm9tICcuL3V0aWxpdHkvbGlicy12ZXJzaW9uJztcblxuZXhwb3J0IHsgdmlzaXRUU1NvdXJjZUZpbGVzLCB2aXNpdE5nTW9kdWxlSW1wb3J0cyB9IGZyb20gJy4vdXRpbGl0eS92aXNpdG9ycyc7XG4iXX0=

@@ -75,1 +75,2 @@ /// <amd-module name="@ngrx/schematics/schematics-core/utility/ast-utils" />

export declare function replaceImport(sourceFile: ts.SourceFile, path: Path, importFrom: string, importAsIs: string, importToBe: string): (ReplaceChange | RemoveChange)[];
export declare function containsProperty(objectLiteral: ts.ObjectLiteralExpression, propertyName: string): boolean;

@@ -21,6 +21,6 @@ (function (factory) {

const templateSource = schematics_1.apply(schematics_1.url(options.creators ? './creator-files' : './files'), [
options.spec
? schematics_1.noop()
: schematics_1.filter(path => !path.endsWith('.spec.ts.template')),
schematics_1.applyTemplates(Object.assign({}, schematics_core_1.stringUtils, { 'if-flat': (s) => schematics_core_1.stringUtils.group(options.flat ? '' : s, options.group ? 'actions' : '') }, options)),
options.skipTests
? schematics_1.filter(path => !path.endsWith('.spec.ts.template'))
: schematics_1.noop(),
schematics_1.applyTemplates(Object.assign(Object.assign(Object.assign({}, schematics_core_1.stringUtils), { 'if-flat': (s) => schematics_core_1.stringUtils.group(options.flat ? '' : s, options.group ? 'actions' : '') }), options)),
schematics_1.move(parsedPath.path),

@@ -33,2 +33,2 @@ ]);

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3NjaGVtYXRpY3Mvc3JjL2FjdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztJQUFBLDJEQWVvQztJQUVwQyxzRUFJMEM7SUFFMUMsbUJBQXdCLE9BQXNCO1FBQzVDLE9BQU8sQ0FBQyxJQUFVLEVBQUUsT0FBeUIsRUFBRSxFQUFFO1lBQy9DLE9BQU8sQ0FBQyxJQUFJLEdBQUcsZ0NBQWMsQ0FBQyxJQUFJLEVBQUUsT0FBTyxDQUFDLENBQUM7WUFFN0MsTUFBTSxVQUFVLEdBQUcsMkJBQVMsQ0FBQyxPQUFPLENBQUMsSUFBSSxFQUFFLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQztZQUN6RCxPQUFPLENBQUMsSUFBSSxHQUFHLFVBQVUsQ0FBQyxJQUFJLENBQUM7WUFDL0IsT0FBTyxDQUFDLElBQUksR0FBRyxVQUFVLENBQUMsSUFBSSxDQUFDO1lBRS9CLE1BQU0sY0FBYyxHQUFHLGtCQUFLLENBQzFCLGdCQUFHLENBQUMsT0FBTyxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxDQUFDLFNBQVMsQ0FBQyxFQUNyRDtnQkFDRSxPQUFPLENBQUMsSUFBSTtvQkFDVixDQUFDLENBQUMsaUJBQUksRUFBRTtvQkFDUixDQUFDLENBQUMsbUJBQU0sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUMsSUFBSSxDQUFDLFFBQV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J2lmLWZsYXQnOiAoczogc3RyaW5nKSA9PlxuICAgICAgICAgICAgc3RyaW5nVXRpbHMuZ3JvdXAoXG4gICAgICAgICAgICAgIG9wdGlvbnMuZmxhdCA/ICcnIDogcyxcbiAgICAgICAgICAgICAgb3B0aW9ucy5ncm91cCA/ICdhY3Rpb25zJyA6ICcnXG4gICAgICAgICAgICApLFxuICAgICAgICAgIC4uLm9wdGlvbnMsXG4gICAgICAgIH0pLFxuICAgICAgICBtb3ZlKHBhcnNlZFBhdGgucGF0aCksXG4gICAgICBdXG4gICAgKTtcblxuICAgIHJldHVybiBjaGFpbihbYnJhbmNoQW5kTWVyZ2UoY2hhaW4oW21lcmdlV2l0aCh0ZW1wbGF0ZVNvdXJjZSldKSldKShcbiAgICAgIGhvc3QsXG4gICAgICBjb250ZXh0XG4gICAgKTtcbiAgfTtcbn1cbiJdfQ==

@@ -16,5 +16,5 @@ /// <amd-module name="@ngrx/schematics/src/action/schema" />

/**
* Specifies if a spec file is generated.
* When true, does not create test files.
*/
spec?: boolean;
skipTests?: boolean;
/**

@@ -21,0 +21,0 @@ * Flag to indicate if a dir is created.

@@ -13,2 +13,2 @@ (function (factory) {

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9zY2hlbWF0aWNzL3NyYy9hY3Rpb24vc2NoZW1hLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIFNjaGVtYSB7XG4gIC8qKlxuICAgKiBUaGUgbmFtZSBvZiB0aGUgY29tcG9uZW50LlxuICAgKi9cbiAgbmFtZTogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBUaGUgcGF0aCB0byBjcmVhdGUgdGhlIGNvbXBvbmVudC5cbiAg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gbmFtZSBvZiB0aGUgY29tcG9uZW50LlxuICAgKi9cbiAgbmFtZTogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBUaGUgcGF0aCB0byBjcmVhdGUgdGhlIGNvbXBvbmVudC5cbiAgICovXG4gIHBhdGg/OiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFRoZSBuYW1lIG9mIHRoZSBwcm9qZWN0LlxuICAgKi9cbiAgcHJvamVjdD86IHN0cmluZztcblxuICAvKipcbiAgICogV2hlbiB0cnVlLCBkb2VzIG5vdCBjcmVhdGUgdGVzdCBmaWxlcy5cbiAgICovXG4gIHNraXBUZXN0cz86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIEZsYWcgdG8gaW5kaWNhdGUgaWYgYSBkaXIgaXMgY3JlYXRlZC5cbiAgICovXG5cbiAgZmxhdD86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIEdyb3VwIGFjdGlvbnMgZmlsZSB3aXRoaW4gJ2FjdGlvbnMnIGZvbGRlclxuICAgKi9cbiAgZ3JvdXA/OiBib29sZWFuO1xuXG4gIC8qKlxuICAgKiBTcGVjaWZpZXMgaWYgYXBpIHN1Y2Nlc3MgYW5kIGZhaWx1cmUgYWN0aW9uc1xuICAgKiBzaG91bGQgYmUgZ2VuZXJhdGVkLlxuICAgKi9cbiAgYXBpPzogYm9vbGVhbjtcblxuICAvKipcbiAgICogU3BlY2lmaWVzIHdoZXRoZXIgdG8gdXNlIGNyZWF0b3IgZnVuY3Rpb25zIGZvclxuICAgKiBoYW5kbGluZyBhY3Rpb25zIGFuZCByZWR1Y2Vycy5cbiAgICovXG4gIGNyZWF0b3JzPzogYm9vbGVhbjtcbn1cbiJdfQ==

@@ -27,5 +27,5 @@ {

},
"spec": {
"skipTest": {
"type": "boolean",
"description": "Specifies if a spec file is generated.",
"description": "When true, does not create test files.",
"default": false

@@ -54,3 +54,3 @@ },

"type": "boolean",
"default": false,
"default": true,
"description":

@@ -57,0 +57,0 @@ "Specifies whether to use creator functions for handling actions and reducers.",

@@ -79,10 +79,10 @@ (function (factory) {

const templateSource = schematics_1.apply(schematics_1.url(options.testDepth === 'unit' ? './files' : './integration-files'), [
options.spec
? schematics_1.noop()
: schematics_1.filter(path => !path.endsWith('.spec.ts.template')),
schematics_1.applyTemplates(Object.assign({ 'if-flat': (s) => (options.flat ? '' : s) }, schematics_core_1.stringUtils, options)),
options.skipTest
? schematics_1.filter(path => !path.endsWith('.spec.ts.template'))
: schematics_1.noop(),
schematics_1.applyTemplates(Object.assign(Object.assign({ 'if-flat': (s) => (options.flat ? '' : s) }, schematics_core_1.stringUtils), options)),
schematics_1.move(parsedPath.path),
]);
return schematics_1.chain([
schematics_1.externalSchematic('@schematics/angular', 'component', Object.assign({}, opts, { spec: false })),
schematics_1.externalSchematic('@schematics/angular', 'component', Object.assign(Object.assign({}, opts), { skipTests: true })),
addStateToComponent(options),

@@ -95,2 +95,2 @@ schematics_1.mergeWith(templateSource),

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3NjaGVtYXRpY3Mvc3JjL2NvbnRhaW5lci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztJQUFBLDJEQWVvQztJQUNwQyxpQ0FBaUM7SUFDakMsc0VBVTBDO0lBRzFDLFNBQVMsbUJBQW1CLENBQUMsT0FBeUI7UUFDcEQsT0FBTyxDQUFDLElBQVUsRUFBRSxFQUFFO1lBQ3BCLElBQUksQ0FBQyxPQUFPLENBQUMsS0FBSyxJQUFJLENBQUMsT0FBTyxDQUFDLGNBQWMsRUFBRTtnQkFDN0MsT0FBTyxJQUFJLENBQUM7YUFDYjtZQUVELE1BQU0sU0FBUyxHQUFHLElBQUksT0FBTyxDQUFDLElBQUksSUFBSSxPQUFPLENBQ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yBmaWx0ZXIocGF0aCA9PiAhcGF0aC5lbmRzV2l0aCgnLnNwZWMudHMudGVtcGxhdGUnKSlcbiAgICAgICAgICA6IG5vb3AoKSxcbiAgICAgICAgYXBwbHlUZW1wbGF0ZXMoe1xuICAgICAgICAgICdpZi1mbGF0JzogKHM6IHN0cmluZykgPT4gKG9wdGlvbnMuZmxhdCA/ICcnIDogcyksXG4gICAgICAgICAgLi4uc3RyaW5nVXRpbHMsXG4gICAgICAgICAgLi4uKG9wdGlvbnMgYXMgb2JqZWN0KSxcbiAgICAgICAgfSBhcyBhbnkpLFxuICAgICAgICBtb3ZlKHBhcnNlZFBhdGgucGF0aCksXG4gICAgICBdXG4gICAgKTtcblxuICAgIHJldHVybiBjaGFpbihbXG4gICAgICBleHRlcm5hbFNjaGVtYXRpYygnQHNjaGVtYXRpY3MvYW5ndWxhcicsICdjb21wb25lbnQnLCB7XG4gICAgICAgIC4uLm9wdHMsXG4gICAgICAgIHNraXBUZXN0czogdHJ1ZVxuICAgICAgfSksXG4gICAgICBhZGRTdGF0ZVRvQ29tcG9uZW50KG9wdGlvbnMpLFxuICAgICAgbWVyZ2VXaXRoKHRlbXBsYXRlU291cmNlKSxcbiAgICBdKShob3N0LCBjb250ZXh0KTtcbiAgfTtcbn1cbiJdfQ==

@@ -36,9 +36,9 @@ /// <amd-module name="@ngrx/schematics/src/container/schema" />

/**
* The file extension to be used for style files.
* The file extension or preprocessor to use for style files.
*/
styleext?: string;
style?: string;
/**
* Specifies if a spec file is generated.
* When true, does not create test files.
*/
spec?: boolean;
skipTest?: boolean;
/**

@@ -45,0 +45,0 @@ * Flag to indicate if a dir is created.

@@ -13,2 +13,2 @@ (function (factory) {

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9zY2hlbWF0aWNzL3Ny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ICAqIFNwZWNpZmllcyB0aGUgaW50ZXJmYWNlIGZvciB0aGUgc3RhdGVcbiAgICovXG4gIHN0YXRlSW50ZXJmYWNlPzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBTcGVjaWZpZXMgd2hldGhlciB0byBjcmVhdGUgYSB1bml0IHRlc3Qgb3IgYW4gaW50ZWdyYXRpb24gdGVzdC5cbiAgICovXG4gIHRlc3REZXB0aD86IHN0cmluZztcbn1cbiJdfQ==

@@ -58,11 +58,12 @@ {

},
"styleext": {
"description": "The file extension to be used for style files.",
"style": {
"description":
"The file extension or preprocessor to use for style files.",
"type": "string",
"default": "css"
},
"spec": {
"skipTest": {
"type": "boolean",
"description": "Specifies if a spec file is generated.",
"default": true
"description": "When true, does not create test files.",
"default": false
},

@@ -69,0 +70,0 @@ "flat": {

@@ -21,6 +21,6 @@ (function (factory) {

const templateSource = schematics_1.apply(schematics_1.url('./files'), [
options.spec
? schematics_1.noop()
: schematics_1.filter(path => !path.endsWith('.spec.ts.template')),
schematics_1.applyTemplates(Object.assign({}, schematics_core_1.stringUtils, { 'if-flat': (s) => schematics_core_1.stringUtils.group(options.flat ? '' : s, options.group ? 'data' : '') }, options)),
options.skipTest
? schematics_1.filter(path => !path.endsWith('.spec.ts.template'))
: schematics_1.noop(),
schematics_1.applyTemplates(Object.assign(Object.assign(Object.assign({}, schematics_core_1.stringUtils), { 'if-flat': (s) => schematics_core_1.stringUtils.group(options.flat ? '' : s, options.group ? 'data' : '') }), options)),
schematics_1.move(parsedPath.path),

@@ -33,2 +33,2 @@ ]);

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3NjaGVtYXRpY3Mvc3JjL2RhdGEvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7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VTb3VyY2UgPSBhcHBseSh1cmwoJy4vZmlsZXMnKSwgW1xuICAgICAgb3B0aW9ucy5za2lwVGVzdFxuICAgICAgICA/IGZpbHRlcihwYXRoID0+ICFwYXRoLmVuZHNXaXRoKCcuc3BlYy50cy50ZW1wbGF0ZScpKVxuICAgICAgICA6IG5vb3AoKSxcbiAgICAgIGFwcGx5VGVtcGxhdGVzKHtcbiAgICAgICAgLi4uc3RyaW5nVXRpbHMsXG4gICAgICAgICdpZi1mbGF0JzogKHM6IHN0cmluZykgPT5cbiAgICAgICAgICBzdHJpbmdVdGlscy5ncm91cChvcHRpb25zLmZsYXQgPyAnJyA6IHMsIG9wdGlvbnMuZ3JvdXAgPyAnZGF0YScgOiAnJyksXG4gICAgICAgIC4uLm9wdGlvbnMsXG4gICAgICB9KSxcbiAgICAgIG1vdmUocGFyc2VkUGF0aC5wYXRoKSxcbiAgICBdKTtcblxuICAgIHJldHVybiBjaGFpbihbYnJhbmNoQW5kTWVyZ2UoY2hhaW4oW21lcmdlV2l0aCh0ZW1wbGF0ZVNvdXJjZSldKSldKShcbiAgICAgIGhvc3QsXG4gICAgICBjb250ZXh0XG4gICAgKTtcbiAgfTtcbn1cbiJdfQ==

@@ -16,5 +16,5 @@ /// <amd-module name="@ngrx/schematics/src/data/schema" />

/**
* Specifies if a spec file is generated.
* When true, does not create test files.
*/
spec?: boolean;
skipTest?: boolean;
/**

@@ -21,0 +21,0 @@ * Flag to indicate if a dir is created.

@@ -13,2 +13,2 @@ (function (factory) {

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9zY2hlbWF0aWNzL3NyYy9kYXRhL3NjaGVtYS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBTY2hlbWEge1xuICAvKipcbiAgICogVGhlIG5hbWUgb2YgdGhlIGNvbXBvbmVudC5cbiAgICovXG4gIG5hbWU6IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIHBhdGggdG8gY3JlYXRlIHRoZSBjb21wb25lbnQuXG4gICAqL1xuICBwYXRoPzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBUaGUgbmFtZSBvZiB0aGUgcHJvamVjdC5cbiAgICovXG4gIHByb2plY3Q/OiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFNwZWNpZmllcyBpZiBhIHNwZWMgZmlsZSBpcyBnZW5lcmF0ZWQuXG4gICAqL1xuICBzcGVjPzogYm9vbGVhbjtcblxuICAvKipcbiAgICogRmxhZyB0byBpbmRpY2F0ZSBpZiBhIGRpciBpcyBjcmVhdGVkLlxuICAgKi9cblxuICBmbGF0PzogYm9vbGVhbjtcblxuICAvKipcbiAgICogR3JvdXAgZW50aXR5IG1ldGFkYXRhIGZpbGVzIHdpdGhpbiAnZGF0YScgZm9sZGVyXG4gICAqL1xuICBncm91cD86IGJvb2xlYW47XG59XG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9zY2hlbWF0aWNzL3NyYy9kYXRhL3NjaGVtYS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBTY2hlbWEge1xuICAvKipcbiAgICogVGhlIG5hbWUgb2YgdGhlIGNvbXBvbmVudC5cbiAgICovXG4gIG5hbWU6IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIHBhdGggdG8gY3JlYXRlIHRoZSBjb21wb25lbnQuXG4gICAqL1xuICBwYXRoPzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBUaGUgbmFtZSBvZiB0aGUgcHJvamVjdC5cbiAgICovXG4gIHByb2plY3Q/OiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFdoZW4gdHJ1ZSwgZG9lcyBub3QgY3JlYXRlIHRlc3QgZmlsZXMuXG4gICAqL1xuICBza2lwVGVzdD86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIEZsYWcgdG8gaW5kaWNhdGUgaWYgYSBkaXIgaXMgY3JlYXRlZC5cbiAgICovXG5cbiAgZmxhdD86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIEdyb3VwIGVudGl0eSBtZXRhZGF0YSBmaWxlcyB3aXRoaW4gJ2RhdGEnIGZvbGRlclxuICAgKi9cbiAgZ3JvdXA/OiBib29sZWFuO1xufVxuIl19

@@ -26,5 +26,5 @@ {

},
"spec": {
"skipTest": {
"type": "boolean",
"description": "Specifies if a spec file is generated.",
"description": "When true, does not create test files.",
"default": false

@@ -31,0 +31,0 @@ },

@@ -78,7 +78,7 @@ (function (factory) {

const templateSource = schematics_1.apply(schematics_1.url('./files'), [
options.spec
? schematics_1.noop()
: schematics_1.filter(path => !path.endsWith('.spec.ts.template')),
options.skipTest
? schematics_1.filter(path => !path.endsWith('.spec.ts.template'))
: schematics_1.noop(),
options.root && options.minimal ? schematics_1.filter(_ => false) : schematics_1.noop(),
schematics_1.applyTemplates(Object.assign({}, schematics_core_1.stringUtils, { 'if-flat': (s) => schematics_core_1.stringUtils.group(options.flat ? '' : s, options.group ? 'effects' : ''), effectMethod: getEffectMethod(options.creators), effectStart: getEffectStart(options.name, options.creators), effectEnd: getEffectEnd(options.creators) }, options)),
schematics_1.applyTemplates(Object.assign(Object.assign(Object.assign({}, schematics_core_1.stringUtils), { 'if-flat': (s) => schematics_core_1.stringUtils.group(options.flat ? '' : s, options.group ? 'effects' : ''), effectMethod: getEffectMethod(options.creators), effectStart: getEffectStart(options.name, options.creators), effectEnd: getEffectEnd(options.creators) }), options)),
schematics_1.move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3B0aW9ucy5taW5pbWFsID8gZmlsdGVyKF8gPT4gZmFsc2UpIDogbm9vcCgpLFxuICAgICAgYXBwbHlUZW1wbGF0ZXMoe1xuICAgICAgICAuLi5zdHJpbmdVdGlscyxcbiAgICAgICAgJ2lmLWZsYXQnOiAoczogc3RyaW5nKSA9PlxuICAgICAgICAgIHN0cmluZ1V0aWxzLmdyb3VwKFxuICAgICAgICAgICAgb3B0aW9ucy5mbGF0ID8gJycgOiBzLFxuICAgICAgICAgICAgb3B0aW9ucy5ncm91cCA/ICdlZmZlY3RzJyA6ICcnXG4gICAgICAgICAgKSxcbiAgICAgICAgZWZmZWN0TWV0aG9kOiBnZXRFZmZlY3RNZXRob2Qob3B0aW9ucy5jcmVhdG9ycyksXG4gICAgICAgIGVmZmVjdFN0YXJ0OiBnZXRFZmZlY3RTdGFydChvcHRpb25zLm5hbWUsIG9wdGlvbnMuY3JlYXRvcnMpLFxuICAgICAgICBlZmZlY3RFbmQ6IGdldEVmZmVjdEVuZChvcHRpb25zLmNyZWF0b3JzKSxcbiAgICAgICAgLi4uKG9wdGlvbnMgYXMgb2JqZWN0KSxcbiAgICAgIH0gYXMgYW55KSxcbiAgICAgIG1vdmUocGFyc2VkUGF0aC5wYXRoKSxcbiAgICBdKTtcblxuICAgIHJldHVybiBjaGFpbihbXG4gICAgICBicmFuY2hBbmRNZXJnZShcbiAgICAgICAgY2hhaW4oW2FkZEltcG9ydFRvTmdNb2R1bGUob3B0aW9ucyksIG1lcmdlV2l0aCh0ZW1wbGF0ZVNvdXJjZSldKVxuICAgICAgKSxcbiAgICBdKShob3N0LCBjb250ZXh0KTtcbiAgfTtcbn1cbiJdfQ==

@@ -20,5 +20,5 @@ /// <amd-module name="@ngrx/schematics/src/effect/schema" />

/**
* Specifies if a spec file is generated.
* When true, does not create test files.
*/
spec?: boolean;
skipTest?: boolean;
/**

@@ -25,0 +25,0 @@ * Allows specification of the declaring module.

@@ -13,2 +13,2 @@ (function (factory) {

});
//# sourceMappingURL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0cy5cbiAgICovXG4gIGNyZWF0b3JzPzogYm9vbGVhbjtcblxuICAvKipcbiAgICogU2V0dXAgcm9vdCBlZmZlY3RzIG1vZHVsZSB3aXRob3V0IHJlZ2lzdGVyaW5nIGluaXRpYWwgZWZmZWN0cy5cbiAgICovXG4gIG1pbmltYWw/OiBib29sZWFuO1xufVxuIl19

@@ -32,6 +32,6 @@ {

},
"spec": {
"skipTest": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
"default": false,
"description": "When true, does not create test files."
},

@@ -73,3 +73,3 @@ "module": {

"type": "boolean",
"default": false,
"default": true,
"description":

@@ -76,0 +76,0 @@ "Specifies whether to use creator functions for handling actions, reducers, and effects.",

@@ -23,7 +23,7 @@ (function (factory) {

}
const templateOptions = Object.assign({}, schematics_core_1.stringUtils, { 'if-flat': (s) => (options.flat ? '' : s), 'group-actions': (name) => schematics_core_1.stringUtils.group(name, options.group ? 'actions' : ''), 'group-models': (name) => schematics_core_1.stringUtils.group(name, options.group ? 'models' : ''), 'group-reducers': (s) => schematics_core_1.stringUtils.group(s, options.group ? 'reducers' : '') }, options);
const templateOptions = Object.assign(Object.assign(Object.assign({}, schematics_core_1.stringUtils), { 'if-flat': (s) => (options.flat ? '' : s), 'group-actions': (name) => schematics_core_1.stringUtils.group(name, options.group ? 'actions' : ''), 'group-models': (name) => schematics_core_1.stringUtils.group(name, options.group ? 'models' : ''), 'group-reducers': (s) => schematics_core_1.stringUtils.group(s, options.group ? 'reducers' : '') }), options);
const commonTemplates = schematics_1.apply(schematics_1.url('./common-files'), [
options.spec
? schematics_1.noop()
: schematics_1.filter(path => !path.endsWith('.spec.ts.template')),
options.skipTest
? schematics_1.filter(path => !path.endsWith('.spec.ts.template'))
: schematics_1.noop(),
schematics_1.applyTemplates(templateOptions),

@@ -34,4 +34,4 @@ schematics_1.move(parsedPath.path),

return schematics_1.chain([
schematics_core_1.addReducerToState(Object.assign({}, options, { plural: true })),
schematics_core_1.addReducerImportToNgModule(Object.assign({}, options, { plural: true })),
schematics_core_1.addReducerToState(Object.assign(Object.assign({}, options), { plural: true })),
schematics_core_1.addReducerImportToNgModule(Object.assign(Object.assign({}, options), { plural: true })),
schematics_1.branchAndMerge(schematics_1.chain([schematics_1.mergeWith(commonTemplates), schematics_1.mergeWith(templateSource)])),

@@ -43,2 +43,2 @@ ])(host, context);

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3NjaGVtYXRpY3Mvc3JjL2VudGl0eS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztJQUFBLDJEQWVvQztJQUNwQyxzRUFPMEM7SUFHMUMsbUJBQXdCLE9BQXNCO1FBQzVDLE9BQU8sQ0FBQyxJQUFVLEVBQUUsT0FBeUIsRUFBRSxFQUFFO1lBQy9DLE9BQU8sQ0FBQyxJQUFJLEdBQUcsZ0NBQWMsQ0FBQyxJQUFJLEVBQUUsT0FBTyxDQUFDLENBQUM7WUFFN0MsTUFBTSxVQUFVLEdBQUcsMkJBQVMsQ0FBQyxPQUFPLENBQUMsSUFBSSxFQUFFLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQztZQUN6RCxPQUFPLENBQUMsSUFBSSxHQUFHLFVBQVUsQ0FBQyxJQUFJLENBQUM7WUFDL0IsT0FBTyxDQUFDLElBQUksR0FBRyxVQUFVLENBQUMsSUFBSSxDQUFDO1lBRS9CLElBQUksT0FBTyxDQUFDLE1BQU0sRUFBRTtnQkFDbEIsT0FBTyxDQUFDLE1BQU0sR0FBRyx1Q0FBcUIsQ0FBQyxJQUFJLEVBQUUsT0FBTyxDQUFDLENBQUM7YUFDdkQ7WUFFRCxNQUFNLGVBQWUscUJBQ2hCLDZCQUFXLElBQ2QsU0FBUyxFQUFFLENBQUMsQ0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ICAgIGNoYWluKFttZXJnZVdpdGgoY29tbW9uVGVtcGxhdGVzKSwgbWVyZ2VXaXRoKHRlbXBsYXRlU291cmNlKV0pXG4gICAgICApLFxuICAgIF0pKGhvc3QsIGNvbnRleHQpO1xuICB9O1xufVxuIl19

@@ -20,5 +20,5 @@ /// <amd-module name="@ngrx/schematics/src/entity/schema" />

/**
* Specifies if a spec file is generated.
* When true, does not create test files.
*/
spec?: boolean;
skipTest?: boolean;
/**

@@ -25,0 +25,0 @@ * Allows specification of the declaring module.

@@ -13,2 +13,2 @@ (function (factory) {

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9zY2hlbWF0aWNzL3NyYy9lbnRpdHkvc2NoZW1hLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIFNjaGVtYSB7XG4gIC8qKlxuICAgKiBUaGUgbmFtZSBvZiB0aGUgY29tcG9uZW50LlxuICAgKi9cblxuICBuYW1lOiBzdHJpbmc7XG4gIC8qKlxuICAgKiBUaGUgcGF0aCB0byBjcmVhdGUgdGhlIGVmZmVjdC5cbiAgICovXG5cbiAgcGF0aD86IHN0cmluZztcbiAgLyoqXG4gICAqIFRoZSBuYW1lIG9mIHRoZSBwcm9qZWN0LlxuICAgKi9cbiAgcHJvamVjdD86IHN0cmluZztcbiAgLyoqXG4gICAqIEZsYWcgdG8gaW5kaWNhdGUgaWYgYSBkaXIgaXMgY3JlYXRlZC5cbiAgICovXG4gIGZsYXQ/OiBib29sZWFuO1xuICAvKipcbiAgICogU3BlY2lmaWVzIGlmIGEgc3BlYyBmaWxlIGlzIGdlbmVyYXRlZC5cbiAgICovXG4gIHNwZWM/OiBib29sZWFuO1xuICAvKipcbiAgIC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yoqXG4gICAqIEZsYWcgdG8gaW5kaWNhdGUgaWYgYSBkaXIgaXMgY3JlYXRlZC5cbiAgICovXG4gIGZsYXQ/OiBib29sZWFuO1xuICAvKipcbiAgICogV2hlbiB0cnVlLCBkb2VzIG5vdCBjcmVhdGUgdGVzdCBmaWxlcy5cbiAgICovXG4gIHNraXBUZXN0PzogYm9vbGVhbjtcbiAgLyoqXG4gICAqIEFsbG93cyBzcGVjaWZpY2F0aW9uIG9mIHRoZSBkZWNsYXJpbmcgbW9kdWxlLlxuICAgKi9cblxuICBtb2R1bGU/OiBzdHJpbmc7XG4gIC8qKlxuICAgKiBBbGxvd3Mgc3BlY2lmaWNhdGlvbiBvZiB0aGUgZGVjbGFyaW5nIHJlZHVjZXJzLlxuICAgKi9cblxuICByZWR1Y2Vycz86IHN0cmluZztcbiAgLyoqXG4gICAqIFNwZWNpZmllcyBpZiB0aGlzIGlzIGdyb3VwZWQgd2l0aGluIHN1YiBmb2xkZXJzXG4gICAqL1xuXG4gIGdyb3VwPzogYm9vbGVhbjtcblxuICAvKipcbiAgICogU3BlY2lmaWVzIHdoZXRoZXIgdG8gdXNlIGNyZWF0b3IgZnVuY3Rpb25zIGZvclxuICAgKiBoYW5kbGluZyBhY3Rpb25zIGFuZCByZWR1Y2Vycy5cbiAgICovXG4gIGNyZWF0b3JzPzogYm9vbGVhbjtcbn1cbiJdfQ==

@@ -27,6 +27,6 @@ {

},
"spec": {
"skipTest": {
"type": "boolean",
"description": "Specifies if a spec file is generated.",
"default": true
"description": "When true, does not create test files.",
"default": false
},

@@ -57,3 +57,3 @@ "reducers": {

"type": "boolean",
"default": false,
"default": true,
"description":

@@ -60,0 +60,0 @@ "Specifies whether to use creator functions for handling actions and reducers.",

@@ -22,3 +22,3 @@ (function (factory) {

project: options.project,
spec: false,
skipTest: true,
api: options.api,

@@ -34,3 +34,3 @@ creators: options.creators,

project: options.project,
spec: options.spec,
skipTest: options.skipTest,
reducers: options.reducers,

@@ -48,3 +48,3 @@ feature: true,

project: options.project,
spec: options.spec,
skipTest: options.skipTest,
feature: true,

@@ -60,3 +60,3 @@ api: options.api,

project: options.project,
spec: options.spec,
skipTest: options.skipTest,
feature: true,

@@ -69,2 +69,2 @@ }),

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3NjaGVtYXRpY3Mvc3JjL2ZlYXR1cmUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7SUFBQSwyREFNb0M7SUFHcEMsbUJBQXdCLE9BQXVCO1FBQzdDLE9BQU8sQ0FBQyxJQUFVLEVBQUUsT0FBeUIsRUFBRSxFQUFFO1lBQy9DLE9BQU8sa0JBQUssQ0FBQztnQkFDWCxzQkFBUyxDQUFDLFFBQVEsRUFBRTtvQkFDbEIsSUFBSSxFQUFFLE9BQU8sQ0FBQyxJQUFJO29CQUNsQixLQUFLLEVBQUUsT0FBTyxDQUFDLEtBQUs7b0JBQ3BCLElBQUksRUFBRSxPQUFPLENBQUMsSUFBSTtvQkFDbEIsSUFBSSxFQUFFLE9BQU8sQ0FBQyxJQUFJO29CQUNsQixPQUFPLEVBQUUsT0FBTyxDQUFDLE9BQU87b0JBQ3hCLElBQUksRUFBRSxLQUFLO29CQUNYLEdBQUcsRUFBRSxPQUFPLENBQUMsR0FBRztvQkFDaEIsUUFBUSxFQUFFLE9BQU8sQ0FBQyxRQUFRO2lCQUMzQixDQUFDO2dCQUNGLHNCQUFTLENBQUMsU0FBUyxFQUFFO29CQUNuQixJQUFJLEVBQUUsT0FBTyxDQUFDLElBQUk7b0JBQ2xCLEtBQUssRUFBRSxPQUFPLENBQUMsS0FBSztvQkFDcEIsTUFBTSxFQUFFLE9BQU8sQ0FBQyxNQUFNO29CQUN0QixJQUFJLEVBQUUsT0FB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Dogb3B0aW9ucy5wcm9qZWN0LFxuICAgICAgICBza2lwVGVzdDogb3B0aW9ucy5za2lwVGVzdCxcbiAgICAgICAgZmVhdHVyZTogdHJ1ZSxcbiAgICAgIH0pLFxuICAgIF0pKGhvc3QsIGNvbnRleHQpO1xuICB9O1xufVxuIl19

@@ -20,5 +20,5 @@ /// <amd-module name="@ngrx/schematics/src/feature/schema" />

/**
* Specifies if a spec file is generated.
* When true, does not create test files.
*/
spec?: boolean;
skipTest?: boolean;
/**

@@ -25,0 +25,0 @@ * Allows specification of the declaring module.

@@ -13,2 +13,2 @@ (function (factory) {

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9zY2hlbWF0aWNzL3NyYy9mZWF0dXJlL3NjaGVtYS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBTY2hlbWEge1xuICAvKipcbiAgICogVGhlIG5hbWUgb2YgdGhlIGZlYXR1cmUuXG4gICAqL1xuICBuYW1lOiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFRoZSBwYXRoIHRvIGNyZWF0ZSB0aGUgZmVhdHVyZS5cbiAgICovXG4gIHBhdGg/OiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFRoZSBuYW1lIG9mIHRoZSBwcm9qZWN0LlxuICAgKi9cbiAgcHJvamVjdD86IHN0cmluZztcblxuICAvKipcbiAgICogRmxhZyB0byBpbmRpY2F0ZSBpZiBhIGRpciBpcyBjcmVhdGVkLlxuICAgKi9cbiAgZmxhdD86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIFNwZWNpZmllcyBpZiBhIHNwZWMgZmlsZSBpcyBnZW5lcmF0ZWQuXG4gICAqL1xuICBzcGVjPzogY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0b3IgZnVuY3Rpb25zIGZvciBhY3Rpb25zLCByZWR1Y2VycywgYW5kIGVmZmVjdHMuXG4gICAqL1xuICBjcmVhdG9ycz86IGJvb2xlYW47XG59XG4iXX0=

@@ -37,6 +37,6 @@ {

},
"spec": {
"skipTest": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
"default": false,
"description": "When true, does not create test files."
},

@@ -65,3 +65,3 @@ "reducers": {

"type": "boolean",
"default": false,
"default": true,
"description":

@@ -68,0 +68,0 @@ "Specifies if the actions, reducers, and effects should be created using creator functions",

@@ -38,2 +38,2 @@ (function (factory) {

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3NjaGVtYXRpY3Mvc3JjL25nLWFkZC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztJQUFBLDJEQU1vQztJQUNwQyw0RUFJOEM7SUFHOUMsU0FBUyxlQUFlLENBQUMsSUFBVSxFQUFFLEdBQTBCLEVBQUUsS0FBVTtRQUN6RSxNQUFNLFNBQVMsR0FBRyxxQkFBWSxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQ3JDLE1BQU0sSUFBSSxHQUFHLHlCQUFnQixDQUFDLElBQUksQ0FBQyxDQUFDO1FBQ3BDLFNBQVMsQ0FBQyxHQUFHLENBQUMsR0FBRyxLQUFLLENBQUM7UUFDdkIsSUFBSSxDQUFDLFNBQVMsQ0FBQyxJQUFJLEVBQUUsSUFBSSxDQUFDLFNBQVMsQ0FBQyxTQUFTLEVBQUUsSUFBSSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFDM0QsQ0FBQztJQUVELFNBQVMsc0JBQXNCO1FBQzdCLE1BQU0sR0FBRyxHQUFHO1lBQ1YsaUJBQWlCLEVBQUU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UsIGNvbnRleHQ6IFNjaGVtYXRpY0NvbnRleHQpID0+IHtcbiAgICByZXR1cm4gY2hhaW4oW1xuICAgICAgb3B0aW9ucyAmJiBvcHRpb25zLmRlZmF1bHRDb2xsZWN0aW9uID8gc2V0QXNEZWZhdWx0U2NoZW1hdGljcygpIDogbm9vcCgpLFxuICAgIF0pKGhvc3QsIGNvbnRleHQpO1xuICB9O1xufVxuIl19

@@ -23,7 +23,7 @@ (function (factory) {

options.path = parsedPath.path;
const templateOptions = Object.assign({}, schematics_core_1.stringUtils, { 'if-flat': (s) => schematics_core_1.stringUtils.group(options.flat ? '' : s, options.group ? 'reducers' : '') }, options);
const templateOptions = Object.assign(Object.assign(Object.assign({}, schematics_core_1.stringUtils), { 'if-flat': (s) => schematics_core_1.stringUtils.group(options.flat ? '' : s, options.group ? 'reducers' : '') }), options);
const commonTemplate = schematics_1.apply(schematics_1.url('./common-files'), [
options.spec
? schematics_1.noop()
: schematics_1.filter(path => !path.endsWith('.spec.ts.template')),
options.skipTest
? schematics_1.filter(path => !path.endsWith('.spec.ts.template'))
: schematics_1.noop(),
schematics_1.applyTemplates(templateOptions),

@@ -45,2 +45,2 @@ schematics_1.move(parsedPath.path),

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3NjaGVtYXRpY3Mvc3JjL3JlZHVjZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7SUFBQSwyREFlb0M7SUFFcEMsc0VBTzBDO0lBRzFDLG1CQUF3QixPQUF1QjtRQUM3QyxPQUFPLENBQUMsSUFBVSxFQUFFLE9BQXlCLEVBQUUsRUFBRTtZQUMvQyxPQUFPLENBQUMsSUFBSSxHQUFHLGdDQUFjLENBQUMsSUFBSSxFQUFFLE9BQU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iAgICAgIGJyYW5jaEFuZE1lcmdlKGNoYWluKFthZGRSZWR1Y2VyVG9TdGF0ZShvcHRpb25zKV0pKSxcbiAgICAgIGJyYW5jaEFuZE1lcmdlKFxuICAgICAgICBjaGFpbihbXG4gICAgICAgICAgYWRkUmVkdWNlckltcG9ydFRvTmdNb2R1bGUob3B0aW9ucyksXG4gICAgICAgICAgbWVyZ2VXaXRoKGNvbW1vblRlbXBsYXRlKSxcbiAgICAgICAgICBtZXJnZVdpdGgodGVtcGxhdGVTb3VyY2UpLFxuICAgICAgICBdKVxuICAgICAgKSxcbiAgICBdKShob3N0LCBjb250ZXh0KTtcbiAgfTtcbn1cbiJdfQ==

@@ -20,5 +20,5 @@ /// <amd-module name="@ngrx/schematics/src/reducer/schema" />

/**
* Specifies if a spec file is generated.
* When true, does not create test files.
*/
spec?: boolean;
skipTest?: boolean;
/**

@@ -25,0 +25,0 @@ * Allows specification of the declaring module.

@@ -13,2 +13,2 @@ (function (factory) {

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9zY2hlbWF0aWNzL3NyYy9yZWR1Y2VyL3NjaGVtYS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBTY2hlbWEge1xuICAvKipcbiAgICogVGhlIG5hbWUgb2YgdGhlIGNvbXBvbmVudC5cbiAgICovXG4gIG5hbWU6IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIHBhdGggdG8gY3JlYXRlIHRoZSBlZmZlY3QuXG4gICAqL1xuICBwYXRoPzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBUaGUgbmFtZSBvZiB0aGUgcHJvamVjdC5cbiAgICovXG4gIHByb2plY3Q/OiBzdHJpbmc7XG5c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29sZWFuO1xuXG4gIC8qKlxuICAgKiBTcGVjaWZpZXMgaWYgdGhpcyBpcyBncm91cGVkIHdpdGhpbiBhIGZlYXR1cmVcbiAgICovXG4gIGZlYXR1cmU/OiBib29sZWFuO1xuXG4gIC8qKlxuICAgKiBTcGVjaWZpZXMgaWYgYXBpIHN1Y2Nlc3MgYW5kIGZhaWx1cmUgYWN0aW9uc1xuICAgKiBzaG91bGQgYmUgYWRkZWQgdG8gdGhlIHJlZHVjZXIuXG4gICAqL1xuICBhcGk/OiBib29sZWFuO1xuXG4gIC8qKlxuICAgKiBTcGVjaWZpZXMgd2hldGhlciB0byB1c2UgY3JlYXRvciBmdW5jdGlvbnMgZm9yXG4gICAqIGhhbmRsaW5nIGFjdGlvbnMgYW5kIHJlZHVjZXJzLlxuICAgKi9cbiAgY3JlYXRvcnM/OiBib29sZWFuO1xufVxuIl19

@@ -27,6 +27,6 @@ {

},
"spec": {
"skipTest": {
"type": "boolean",
"description": "Specifies if a spec file is generated.",
"default": true
"description": "When true, does not create test files.",
"default": false
},

@@ -69,3 +69,3 @@ "module": {

"type": "boolean",
"default": false,
"default": true,
"description":

@@ -72,0 +72,0 @@ "Specifies whether to use creator functions for handling actions and reducers.",

@@ -21,6 +21,6 @@ (function (factory) {

const templateSource = schematics_1.apply(schematics_1.url('./files'), [
options.spec
? schematics_1.noop()
: schematics_1.filter(path => !path.endsWith('.spec.ts.template')),
schematics_1.applyTemplates(Object.assign({}, schematics_core_1.stringUtils, { 'if-flat': (s) => schematics_core_1.stringUtils.group(options.flat ? '' : s, options.group ? 'selectors' : ''), reducerPath: `${relativePath(options)}${schematics_core_1.stringUtils.dasherize(options.name)}.reducer` }, options)),
options.skipTest
? schematics_1.filter(path => !path.endsWith('.spec.ts.template'))
: schematics_1.noop(),
schematics_1.applyTemplates(Object.assign(Object.assign(Object.assign({}, schematics_core_1.stringUtils), { 'if-flat': (s) => schematics_core_1.stringUtils.group(options.flat ? '' : s, options.group ? 'selectors' : ''), reducerPath: `${relativePath(options)}${schematics_core_1.stringUtils.dasherize(options.name)}.reducer` }), options)),
schematics_1.move(parsedPath.path),

@@ -39,2 +39,2 @@ ]);

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3NjaGVtYXRpY3Mvc3JjL3NlbGVjdG9yL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0lBQUEsMkRBYW9DO0lBQ3BDLHNFQUkwQztJQUcxQyxtQkFBd0IsT0FBd0I7UUFDOUMsT0FBTyxDQUFDLElBQVUsRUFBRSxPQUF5QixFQUFFLEVBQUU7WUFDL0MsT0FBTyxDQUFDLElBQUksR0FBRyxnQ0FBYyxDQUFDLElBQUksRUFBRSxPQUFPLENBQUMsQ0FBQztZQUU3QyxNQUFNLFVBQVUsR0FBRywyQkFBUyxDQUFDLE9BQU8sQ0FBQyxJQUFJLEVBQUUsT0FBTyxDQUFDLElBQUksSUFBSSxFQUFFLENBQUMsQ0FBQztZQUMvRCxPQUFPLENBQUMsSUFBSSxHQUFHLFVBQVUsQ0FBQyxJQUFJLENBQUM7WUFDL0IsT0FBTyxDQUFDLElBQUksR0FBRyxVQUFVLENBQUMsSUFBSSxDQUFDO1lBRS9CLE1BQU0sY0FBYyxHQUFHLGtCQUFLLENBQUMsZ0JBQUcsQ0FBQyxTQUFTLENBQUMsRUFBRTtnQkFDM0MsT0FBTyxDQUFDLElBQUk7b0JBQ1YsQ0FBQyxDQUFDLGlCQUFJLEVBQUU7b0JBQ1IsQ0FBQyxDQUFDLG1CQUFNLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsbUJBQW1CLENBQUMsQ0FBQztnQkFDdkQsMkJBQWMsQ0FBQyxrQ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lJykpLFxuICAgICAgYXBwbHlUZW1wbGF0ZXMoe1xuICAgICAgICAuLi5zdHJpbmdVdGlscyxcbiAgICAgICAgJ2lmLWZsYXQnOiAoczogc3RyaW5nKSA9PlxuICAgICAgICAgIHN0cmluZ1V0aWxzLmdyb3VwKFxuICAgICAgICAgICAgb3B0aW9ucy5mbGF0ID8gJycgOiBzLFxuICAgICAgICAgICAgb3B0aW9ucy5ncm91cCA/ICdzZWxlY3RvcnMnIDogJydcbiAgICAgICAgICApLFxuICAgICAgICByZWR1Y2VyUGF0aDogYCR7cmVsYXRpdmVQYXRoKG9wdGlvbnMpfSR7c3RyaW5nVXRpbHMuZGFzaGVyaXplKFxuICAgICAgICAgIG9wdGlvbnMubmFtZVxuICAgICAgICApfS5yZWR1Y2VyYCxcbiAgICAgICAgLi4uKG9wdGlvbnMgYXMgb2JqZWN0KSxcbiAgICAgIH0gYXMgYW55KSxcbiAgICAgIG1vdmUocGFyc2VkUGF0aC5wYXRoKSxcbiAgICBdKTtcblxuICAgIHJldHVybiBjaGFpbihbYnJhbmNoQW5kTWVyZ2UoY2hhaW4oW21lcmdlV2l0aCh0ZW1wbGF0ZVNvdXJjZSldKSldKShcbiAgICAgIGhvc3QsXG4gICAgICBjb250ZXh0XG4gICAgKTtcbiAgfTtcbn1cblxuZnVuY3Rpb24gcmVsYXRpdmVQYXRoKG9wdGlvbnM6IFNlbGVjdG9yT3B0aW9ucykge1xuICBpZiAob3B0aW9ucy5mZWF0dXJlKSB7XG4gICAgcmV0dXJuIHN0cmluZ1V0aWxzLmZlYXR1cmVQYXRoKFxuICAgICAgb3B0aW9ucy5ncm91cCxcbiAgICAgIG9wdGlvbnMuZmxhdCxcbiAgICAgICdyZWR1Y2VycycsXG4gICAgICBzdHJpbmdVdGlscy5kYXNoZXJpemUob3B0aW9ucy5uYW1lKVxuICAgICk7XG4gIH1cblxuICByZXR1cm4gJyc7XG59XG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIj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ICAgICBzdHJpbmdVdGlscy5ncm91cChcbiAgICAgICAgICAgIG9wdGlvbnMuZmxhdCA/ICcnIDogcyxcbiAgICAgICAgICAgIG9wdGlvbnMuZ3JvdXAgPyAnc2VsZWN0b3JzJyA6ICcnXG4gICAgICAgICAgKSxcbiAgICAgICAgcmVkdWNlclBhdGg6IGAke3JlbGF0aXZlUGF0aChvcHRpb25zKX0ke3N0cmluZ1V0aWxzLmRhc2hlcml6ZShcbiAgICAgICAgICBvcHRpb25zLm5hbWVcbiAgICAgICAgKX0ucmVkdWNlcmAsXG4gICAgICAgIC4uLihvcHRpb25zIGFzIG9iamVjdCksXG4gICAgICB9IGFzIGFueSksXG4gICAgICBtb3ZlKHBhcnNlZFBhdGgucGF0aCksXG4gICAgXSk7XG5cbiAgICByZXR1cm4gY2hhaW4oW2JyYW5jaEFuZE1lcmdlKGNoYWluKFttZXJnZVdpdGgodGVtcGxhdGVTb3VyY2UpXSkpXSkoXG4gICAgICBob3N0LFxuICAgICAgY29udGV4dFxuICAgICk7XG4gIH07XG59XG5cbmZ1bmN0aW9uIHJlbGF0aXZlUGF0aChvcHRpb25zOiBTZWxlY3Rvck9wdGlvbnMpIHtcbiAgaWYgKG9wdGlvbnMuZmVhdHVyZSkge1xuICAgIHJldHVybiBzdHJpbmdVdGlscy5mZWF0dXJlUGF0aChcbiAgICAgIG9wdGlvbnMuZ3JvdXAsXG4gICAgICBvcHRpb25zLmZsYXQsXG4gICAgICAncmVkdWNlcnMnLFxuICAgICAgc3RyaW5nVXRpbHMuZGFzaGVyaXplKG9wdGlvbnMubmFtZSlcbiAgICApO1xuICB9XG5cbiAgcmV0dXJuICcnO1xufVxuIl19

@@ -20,5 +20,5 @@ /// <amd-module name="@ngrx/schematics/src/selector/schema" />

/**
* Specifies if a spec file is generated.
* When true, does not create test files.
*/
spec?: boolean;
skipTest?: boolean;
/**

@@ -25,0 +25,0 @@ * Specifies if this is grouped within a feature

@@ -13,2 +13,2 @@ (function (factory) {

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9zY2hlbWF0aWNzL3NyYy9zZWxlY3Rvci9zY2hlbWEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgU2NoZW1hIHtcbiAgLyoqXG4gICAqIFRoZSBuYW1lIG9mIHRoZSBzZWxlY3Rvci5cbiAgICovXG4gIG5hbWU6IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIHBhdGggdG8gY3JlYXRlIHRoZSBzZWxlY3Rvci5cbiAgICovXG4gIHBhdGg/OiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFRoZSBuYW1lIG9mIHRoZSBwcm9qZWN0LlxuICAgKi9cbiAgcHJvamVjdD86IHN0cmluZztcblxuICAvKipcbiAgICogRmxhZyB0byBpbmRpY2F0ZSBpZiBhIGRpciBpcyBjcmVhdGVkLlxuICAgKi9cbiAgZmxhdD86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIFNwZWNpZmllcyBpZiBhIHNwZWMgZmlsZSBpcyBnZW5lcmF0ZWQuXG4gICAqL1xuICBzcGVjPzogYm9vbGVhbjtcblxuICAvKipcbiAgICogU3BlY2lmaWVzIGlmIHRoaXMgaXMgZ3JvdXBlZCB3aXRoaW4gYSBmZWF0dXJlXG4gICAqL1xuICBmZWF0dXJlPzogYm9vbGVhbjtcblxuICAvKipcbiAgICogU3BlY2lmaWVzIGlmIHRoaXMgaXMgZ3JvdXBlZCB3aXRoaW4gYW4gJ3NlbGVjdG9ycycgZm9sZGVyXG4gICAqL1xuICBncm91cD86IGJvb2xlYW47XG59XG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9zY2hlbWF0aWNzL3NyYy9zZWxlY3Rvci9zY2hlbWEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgU2NoZW1hIHtcbiAgLyoqXG4gICAqIFRoZSBuYW1lIG9mIHRoZSBzZWxlY3Rvci5cbiAgICovXG4gIG5hbWU6IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIHBhdGggdG8gY3JlYXRlIHRoZSBzZWxlY3Rvci5cbiAgICovXG4gIHBhdGg/OiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFRoZSBuYW1lIG9mIHRoZSBwcm9qZWN0LlxuICAgKi9cbiAgcHJvamVjdD86IHN0cmluZztcblxuICAvKipcbiAgICogRmxhZyB0byBpbmRpY2F0ZSBpZiBhIGRpciBpcyBjcmVhdGVkLlxuICAgKi9cbiAgZmxhdD86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIFdoZW4gdHJ1ZSwgZG9lcyBub3QgY3JlYXRlIHRlc3QgZmlsZXMuXG4gICAqL1xuICBza2lwVGVzdD86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIFNwZWNpZmllcyBpZiB0aGlzIGlzIGdyb3VwZWQgd2l0aGluIGEgZmVhdHVyZVxuICAgKi9cbiAgZmVhdHVyZT86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIFNwZWNpZmllcyBpZiB0aGlzIGlzIGdyb3VwZWQgd2l0aGluIGFuICdzZWxlY3RvcnMnIGZvbGRlclxuICAgKi9cbiAgZ3JvdXA/OiBib29sZWFuO1xufVxuIl19

@@ -26,5 +26,5 @@ {

},
"spec": {
"skipTest": {
"type": "boolean",
"description": "Specifies if a spec file is generated.",
"description": "When true, does not create test files.",
"default": false

@@ -31,0 +31,0 @@ },

@@ -104,3 +104,3 @@ (function (factory) {

options.root && options.minimal ? schematics_1.filter(_ => false) : schematics_1.noop(),
schematics_1.applyTemplates(Object.assign({}, schematics_core_1.stringUtils, options, { isLib: schematics_core_1.isLib(host, options), environmentsPath })),
schematics_1.applyTemplates(Object.assign(Object.assign(Object.assign({}, schematics_core_1.stringUtils), options), { isLib: schematics_core_1.isLib(host, options), environmentsPath })),
schematics_1.move(parsedPath.path),

@@ -115,2 +115,2 @@ ]);

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3NjaGVtYXRpY3Mvc3JjL3N0b3JlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0lBQUEsMkRBZW9DO0lBQ3BDLCtDQUFxRDtJQUNyRCxpQ0FBaUM7SUFDakMsc0VBVzBDO0lBRzFDLFNBQVMsbUJBQW1CLENBQUMsT0FBcUI7UUFDaEQsT0FBTyxDQUFDLElBQVUsRUFBRSxFQUFFO1lBQ3BCLE1BQU0sVUFBVSxHQUFHLE9BQU8sQ0FBQyxNQUFNLENBQUM7WUFFbEMsSUFBSSxDQUFDLFVBQVUsRUFBRTtnQkFDZixPQUFPLElBQUksQ0FBQzthQUNiO1lBRUQsSUFBSSxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsVUFBVSxDQUFDLEVBQUU7Z0JBQzVCLE1BQU0sSUFBSSxLQUFLLENBQUMseUJBQXlCLFVBQVUsaUJBQWlCLENBQUMsQ0FBQzthQUN2RTtZQUVELE1BQU0sSUFBSSxHQUFHLElBQUksQ0FBQyxJQUFJLENBQUMsVUFBVSxDQUFDLENBQUM7WUFDbkMsSUFBSSxJQUFJLEtBQUssSUFBSSxFQUFFO2dCQUNqQixNQUFNLElBQUksZ0NBQW1CLENBQUMsUUFBUSxV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ZpbHRlcihfID0+IGZhbHNlKSA6IG5vb3AoKSxcbiAgICAgIGFwcGx5VGVtcGxhdGVzKHtcbiAgICAgICAgLi4uc3RyaW5nVXRpbHMsXG4gICAgICAgIC4uLihvcHRpb25zIGFzIG9iamVjdCksXG4gICAgICAgIGlzTGliOiBpc0xpYihob3N0LCBvcHRpb25zKSxcbiAgICAgICAgZW52aXJvbm1lbnRzUGF0aCxcbiAgICAgIH0pLFxuICAgICAgbW92ZShwYXJzZWRQYXRoLnBhdGgpLFxuICAgIF0pO1xuXG4gICAgcmV0dXJuIGNoYWluKFtcbiAgICAgIGJyYW5jaEFuZE1lcmdlKFxuICAgICAgICBjaGFpbihbYWRkSW1wb3J0VG9OZ01vZHVsZShvcHRpb25zKSwgbWVyZ2VXaXRoKHRlbXBsYXRlU291cmNlKV0pXG4gICAgICApLFxuICAgIF0pKGhvc3QsIGNvbnRleHQpO1xuICB9O1xufVxuIl19

@@ -20,5 +20,5 @@ /// <amd-module name="@ngrx/schematics/src/store/schema" />

/**
* Specifies if a spec file is generated.
* When true, does not create test files.
*/
spec?: boolean;
skipTest?: boolean;
/**

@@ -25,0 +25,0 @@ * Allows specification of the declaring module.

@@ -13,2 +13,2 @@ (function (factory) {

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9zY2hlbWF0aWNzL3NyYy9zdG9yZS9zY2hlbWEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgU2NoZW1hIHtcbiAgLyoqXG4gICAqIFRoZSBuYW1lIG9mIHRoZSBjb21wb25lbnQuXG4gICAqL1xuXG4gIG5hbWU6IHN0cmluZztcbiAgLyoqXG4gICAqIFRoZSBwYXRoIHRvIGNyZWF0ZS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0ZUludGVyZmFjZT86IHN0cmluZztcbiAgLyoqXG4gICAqIFNldHVwIHN0YXRlIG1hbmFnZW1lbnQgd2l0aG91dCByZWdpc3RlcmluZyBpbml0aWFsIHJlZHVjZXJzLlxuICAgKi9cbiAgbWluaW1hbD86IGJvb2xlYW47XG59XG4iXX0=

@@ -32,6 +32,6 @@ {

},
"spec": {
"skipTest": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
"default": false,
"description": "When true, does not create test files."
},

@@ -38,0 +38,0 @@ "module": {

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc