@ng-zen/cli 20.1.0-next.1 → 20.2.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## [20.2.0-next.1](https://github.com/kstepien3/ng-zen/compare/v20.1.0...v20.2.0-next.1) (2025-08-13)
2
+
3
+ ### 🚀 New Features
4
+
5
+ * **components:** generate code in workingDirectory ([#270](https://github.com/kstepien3/ng-zen/issues/270)) ([2f2060f](https://github.com/kstepien3/ng-zen/commit/2f2060fd26b5cd45ce004daf5a651aa3030556f0))
6
+
7
+ ## [20.1.0](https://github.com/kstepien3/ng-zen/compare/v20.0.0...v20.1.0) (2025-08-04)
8
+
9
+ ### 🚀 New Features
10
+
11
+ * **checkbox:** add indeterminate state if value is null ([#260](https://github.com/kstepien3/ng-zen/issues/260)) ([d13c241](https://github.com/kstepien3/ng-zen/commit/d13c2416984df1de188082760aadfe280c7ed315))
12
+ * **form-control:** add abstract logic for form control components ([#252](https://github.com/kstepien3/ng-zen/issues/252)) ([10e66b4](https://github.com/kstepien3/ng-zen/commit/10e66b4b0606a05d02ba527de42407129e085cbe))
13
+
1
14
  ## [20.1.0-next.1](https://github.com/kstepien3/ng-zen/compare/v20.0.0...v20.1.0-next.1) (2025-07-30)
2
15
 
3
16
  ### 🚀 New Features
package/README.md CHANGED
@@ -70,12 +70,22 @@ pnpm add -D @ng-zen/cli@next
70
70
 
71
71
  ### Generating Components
72
72
 
73
- Use the Angular CLI schematic:
73
+ You can create a new component in your Angular project using the `@ng-zen/cli` schematic.
74
74
 
75
75
  ```bash
76
76
  ng generate @ng-zen/cli:component
77
77
  ```
78
78
 
79
+ > 💡 Run the command inside a subfolder of your project, the schematic will place the new components in that directory.
80
+
81
+ ### Examples
82
+
83
+ ```bash
84
+ ng generate @ng-zen/cli:component ./src/app/ui #insert an optional path
85
+ ng generate @ng-zen/cli:component --components avatar button # declare components without interactive prompt
86
+ ng generate @ng-zen/cli:component ./src/app/ui --components avatar button --stories # generate stories files
87
+ ```
88
+
79
89
  This interactive prompt guides you through selecting and configuring the desired component(s) 📊.
80
90
 
81
91
  To see available options without running interactively:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-zen/cli",
3
- "version": "20.1.0-next.1",
3
+ "version": "20.2.0-next.1",
4
4
  "description": "A CLI tool for generating customizable, modern Angular UI components using schematics.",
5
5
  "license": "BSD-2-Clause",
6
6
  "private": false,
@@ -1,11 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.componentGenerator = componentGenerator;
4
+ const core_1 = require("@angular-devkit/core");
4
5
  const schematics_1 = require("@angular-devkit/schematics");
5
6
  const utils_1 = require("../../utils");
6
- function componentGenerator({ components, ...config }) {
7
- return () => {
8
- return (0, schematics_1.chain)([...(0, utils_1.applyFileTemplateUtil)(components, config), (0, schematics_1.schematic)('dependency-manager', {})]);
7
+ function componentGenerator({ components, ...options }) {
8
+ return async () => {
9
+ const workingDirectory = (0, core_1.normalize)((0, core_1.join)(options.currentDirectory, options.path ?? './'));
10
+ return (0, schematics_1.chain)([
11
+ ...(0, utils_1.applyFileTemplateUtil)(components, { ...options, path: workingDirectory }),
12
+ (0, schematics_1.schematic)('dependency-manager', {}),
13
+ ]);
9
14
  };
10
15
  }
11
16
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schematics/components/index.ts"],"names":[],"mappings":";;AAKA,gDAIC;AATD,2DAAoE;AAEpE,uCAAoD;AAGpD,SAAgB,kBAAkB,CAAC,EAAE,UAAU,EAAE,GAAG,MAAM,EAA4B;IACpF,OAAO,GAAG,EAAE;QACV,OAAO,IAAA,kBAAK,EAAC,CAAC,GAAG,IAAA,6BAAqB,EAAC,UAAU,EAAE,MAAM,CAAC,EAAE,IAAA,sBAAS,EAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;IACpG,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { chain, Rule, schematic } from '@angular-devkit/schematics';\n\nimport { applyFileTemplateUtil } from '../../utils';\nimport { ComponentGeneratorSchema } from './components-generator';\n\nexport function componentGenerator({ components, ...config }: ComponentGeneratorSchema): Rule {\n return () => {\n return chain([...applyFileTemplateUtil(components, config), schematic('dependency-manager', {})]);\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schematics/components/index.ts"],"names":[],"mappings":";;AAMA,gDASC;AAfD,+CAAuD;AACvD,2DAAoE;AAEpE,uCAAoD;AAGpD,SAAgB,kBAAkB,CAAC,EAAE,UAAU,EAAE,GAAG,OAAO,EAAoB;IAC7E,OAAO,KAAK,IAAI,EAAE;QAChB,MAAM,gBAAgB,GAAG,IAAA,gBAAS,EAAC,IAAA,WAAI,EAAC,OAAO,CAAC,gBAAgB,EAAE,OAAO,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC;QAEzF,OAAO,IAAA,kBAAK,EAAC;YACX,GAAG,IAAA,6BAAqB,EAAC,UAAU,EAAE,EAAE,GAAG,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;YAC5E,IAAA,sBAAS,EAAC,oBAAoB,EAAE,EAAE,CAAC;SACpC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { join, normalize } from '@angular-devkit/core';\nimport { chain, Rule, schematic } from '@angular-devkit/schematics';\n\nimport { applyFileTemplateUtil } from '../../utils';\nimport { Schema as ComponentOptions } from './schema';\n\nexport function componentGenerator({ components, ...options }: ComponentOptions): Rule {\n return async () => {\n const workingDirectory = normalize(join(options.currentDirectory, options.path ?? './'));\n\n return chain([\n ...applyFileTemplateUtil(components, { ...options, path: workingDirectory }),\n schematic('dependency-manager', {}),\n ]);\n };\n}\n"]}
@@ -1,10 +1,16 @@
1
+ import { join, normalize } from '@angular-devkit/core';
1
2
  import { chain, Rule, schematic } from '@angular-devkit/schematics';
2
3
 
3
4
  import { applyFileTemplateUtil } from '../../utils';
4
- import { ComponentGeneratorSchema } from './components-generator';
5
+ import { Schema as ComponentOptions } from './schema';
5
6
 
6
- export function componentGenerator({ components, ...config }: ComponentGeneratorSchema): Rule {
7
- return () => {
8
- return chain([...applyFileTemplateUtil(components, config), schematic('dependency-manager', {})]);
7
+ export function componentGenerator({ components, ...options }: ComponentOptions): Rule {
8
+ return async () => {
9
+ const workingDirectory = normalize(join(options.currentDirectory, options.path ?? './'));
10
+
11
+ return chain([
12
+ ...applyFileTemplateUtil(components, { ...options, path: workingDirectory }),
13
+ schematic('dependency-manager', {}),
14
+ ]);
9
15
  };
10
16
  }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ng-zen-generator.js.map
3
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../src/schematics/components/schema.ts"],"names":[],"mappings":"","sourcesContent":["import { GeneratorSchemaBase } from '../../types';\n\nexport type ComponentType =\n | 'avatar'\n | 'button'\n | 'checkbox'\n | 'divider'\n | 'form-control'\n | 'icon'\n | 'input'\n | 'skeleton'\n | 'switch'\n | 'textarea';\n\nexport interface Schema extends GeneratorSchemaBase {\n components: ComponentType[];\n}\n"]}
@@ -5,8 +5,26 @@
5
5
  "type": "object",
6
6
  "description": "Adds Zen UI component 📦",
7
7
  "properties": {
8
+ "currentDirectory": {
9
+ "description": "Base path from working directory",
10
+ "type": "string",
11
+ "format": "path",
12
+ "hidden": true,
13
+ "$default": {
14
+ "$source": "workingDirectory"
15
+ },
16
+ "readOnly": true
17
+ },
18
+ "path": {
19
+ "description": "Relative subpath to append to rootPath",
20
+ "type": "string",
21
+ "$default": {
22
+ "$source": "argv",
23
+ "index": 0
24
+ }
25
+ },
8
26
  "components": {
9
- "description": "Select component to generate (e.g: --components=avatar pin)",
27
+ "description": "Select components to generate",
10
28
  "type": "array",
11
29
  "items": {
12
30
  "type": "string",
@@ -24,18 +42,14 @@
24
42
  ]
25
43
  },
26
44
  "multiselect": true,
27
- "x-prompt": "Which component should be generated?"
28
- },
29
- "path": {
30
- "description": "Where should be created the components",
31
- "type": "string",
32
- "format": "path",
33
- "default": "/projects/ng-zen/components"
45
+ "minItems": 1,
46
+ "x-prompt": "Which component(s) should be generated?"
34
47
  },
35
48
  "stories": {
36
49
  "description": "Include component's stories for better documentation and testing",
37
50
  "type": "boolean",
38
51
  "default": false
39
52
  }
40
- }
53
+ },
54
+ "required": ["components"]
41
55
  }
@@ -12,6 +12,6 @@ export type ComponentType =
12
12
  | 'switch'
13
13
  | 'textarea';
14
14
 
15
- export interface ComponentGeneratorSchema extends GeneratorSchemaBase {
15
+ export interface Schema extends GeneratorSchemaBase {
16
16
  components: ComponentType[];
17
17
  }
@@ -8,7 +8,7 @@ Generated by `@ng-zen/cli` on <%= localeDate %>
8
8
 
9
9
  <%= classify(name) %> component was generated by
10
10
  ```bash
11
- ng generate @ng-zen/cli:component --components=<%= name %>
11
+ ng generate @ng-zen/cli:component --components <%= name %>
12
12
  ```
13
13
 
14
14
  This component is part of a larger set of UI components aimed at enhancing and streamlining the development process in Angular applications.
@@ -1 +1 @@
1
- {"version":3,"file":"get-dependencies.js","sourceRoot":"","sources":["../../../../../../src/schematics/dependency-manager/utils/get-dependencies.ts"],"names":[],"mappings":";;AAKA,0CAyBC;AA9BD,2EAA8F;AAK9F,SAAgB,eAAe,CAC7B,gBAAiC,EACjC,kBAAwC;IAExC,MAAM,YAAY,GAAqB,EAAE,CAAC;IAE1C,KAAK,MAAM,SAAS,IAAI,gBAAgB,EAAE,CAAC;QACzC,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAAC;YAAE,SAAS;QAE7C,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,iCAAkB,CAAC,EAAE,CAAC;YACrD,MAAM,QAAQ,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;YACrD,IAAI,CAAC,QAAQ;gBAAE,SAAS;YAExB,KAAK,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACvD,YAAY,CAAC,IAAI,CAAC;oBAChB,IAAI;oBACJ,IAAI;oBACJ,OAAO;oBACP,SAAS,EAAE,KAAK;iBACjB,CAAC,CAAC;YACL,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC","sourcesContent":["import { NodeDependency, NodeDependencyType } from '@schematics/angular/utility/dependencies';\n\nimport { FilesConfig } from '../../../types';\nimport { ComponentType } from '../../components/components-generator';\n\nexport function getDependencies(\n selectedElements: ComponentType[],\n dependenciesConfig: Partial<FilesConfig>\n): NodeDependency[] {\n const dependencies: NodeDependency[] = [];\n\n for (const component of selectedElements) {\n if (!dependenciesConfig[component]) continue;\n\n for (const type of Object.values(NodeDependencyType)) {\n const typeDeps = dependenciesConfig[component][type];\n if (!typeDeps) continue;\n\n for (const [name, version] of Object.entries(typeDeps)) {\n dependencies.push({\n type,\n name,\n version,\n overwrite: false,\n });\n }\n }\n }\n\n return dependencies;\n}\n"]}
1
+ {"version":3,"file":"get-dependencies.js","sourceRoot":"","sources":["../../../../../../src/schematics/dependency-manager/utils/get-dependencies.ts"],"names":[],"mappings":";;AAKA,0CAyBC;AA9BD,2EAA8F;AAK9F,SAAgB,eAAe,CAC7B,gBAAiC,EACjC,kBAAwC;IAExC,MAAM,YAAY,GAAqB,EAAE,CAAC;IAE1C,KAAK,MAAM,SAAS,IAAI,gBAAgB,EAAE,CAAC;QACzC,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAAC;YAAE,SAAS;QAE7C,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,iCAAkB,CAAC,EAAE,CAAC;YACrD,MAAM,QAAQ,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;YACrD,IAAI,CAAC,QAAQ;gBAAE,SAAS;YAExB,KAAK,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACvD,YAAY,CAAC,IAAI,CAAC;oBAChB,IAAI;oBACJ,IAAI;oBACJ,OAAO;oBACP,SAAS,EAAE,KAAK;iBACjB,CAAC,CAAC;YACL,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC","sourcesContent":["import { NodeDependency, NodeDependencyType } from '@schematics/angular/utility/dependencies';\n\nimport { FilesConfig } from '../../../types';\nimport { ComponentType } from '../../components/schema';\n\nexport function getDependencies(\n selectedElements: ComponentType[],\n dependenciesConfig: Partial<FilesConfig>\n): NodeDependency[] {\n const dependencies: NodeDependency[] = [];\n\n for (const component of selectedElements) {\n if (!dependenciesConfig[component]) continue;\n\n for (const type of Object.values(NodeDependencyType)) {\n const typeDeps = dependenciesConfig[component][type];\n if (!typeDeps) continue;\n\n for (const [name, version] of Object.entries(typeDeps)) {\n dependencies.push({\n type,\n name,\n version,\n overwrite: false,\n });\n }\n }\n }\n\n return dependencies;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import { NodeDependency, NodeDependencyType } from '@schematics/angular/utility/dependencies';
2
2
 
3
3
  import { FilesConfig } from '../../../types';
4
- import { ComponentType } from '../../components/components-generator';
4
+ import { ComponentType } from '../../components/schema';
5
5
 
6
6
  export function getDependencies(
7
7
  selectedElements: ComponentType[],
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ngAdd = ngAdd;
4
- const schematics_1 = require("@angular-devkit/schematics");
5
- function ngAdd(options) {
6
- return (_tree, _context) => {
7
- _context.logger.info('Adding library to the project');
8
- // Run other schematics from ng-add
9
- return (0, schematics_1.chain)([(0, schematics_1.schematic)('component', options)]);
4
+ function ngAdd() {
5
+ return async (tree, context) => {
6
+ context.logger.info('🔧 Setting up ng-zen...');
7
+ return tree;
10
8
  };
11
9
  }
12
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schematics/ng-add/index.ts"],"names":[],"mappings":";;AAIA,sBAOC;AAXD,2DAA4F;AAI5F,SAAgB,KAAK,CAAC,OAA6B;IACjD,OAAO,CAAC,KAAW,EAAE,QAA0B,EAAE,EAAE;QACjD,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;QAEtD,mCAAmC;QACnC,OAAO,IAAA,kBAAK,EAAC,CAAC,IAAA,sBAAS,EAAC,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAClD,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { chain, Rule, schematic, SchematicContext, Tree } from '@angular-devkit/schematics';\n\nimport { NgZenGeneratorSchema } from './ng-zen-generator';\n\nexport function ngAdd(options: NgZenGeneratorSchema): Rule {\n return (_tree: Tree, _context: SchematicContext) => {\n _context.logger.info('Adding library to the project');\n\n // Run other schematics from ng-add\n return chain([schematic('component', options)]);\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schematics/ng-add/index.ts"],"names":[],"mappings":";;AAEA,sBAMC;AAND,SAAgB,KAAK;IACnB,OAAO,KAAK,EAAE,IAAU,EAAE,OAAyB,EAAE,EAAE;QACrD,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;QAE/C,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics';\n\nexport function ngAdd(): Rule {\n return async (tree: Tree, context: SchematicContext) => {\n context.logger.info('🔧 Setting up ng-zen...');\n\n return tree;\n };\n}\n"]}
@@ -1,12 +1,9 @@
1
- import { chain, Rule, schematic, SchematicContext, Tree } from '@angular-devkit/schematics';
1
+ import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics';
2
2
 
3
- import { NgZenGeneratorSchema } from './ng-zen-generator';
3
+ export function ngAdd(): Rule {
4
+ return async (tree: Tree, context: SchematicContext) => {
5
+ context.logger.info('🔧 Setting up ng-zen...');
4
6
 
5
- export function ngAdd(options: NgZenGeneratorSchema): Rule {
6
- return (_tree: Tree, _context: SchematicContext) => {
7
- _context.logger.info('Adding library to the project');
8
-
9
- // Run other schematics from ng-add
10
- return chain([schematic('component', options)]);
7
+ return tree;
11
8
  };
12
9
  }
@@ -3,13 +3,5 @@
3
3
  "$id": "NgZenCliComponents",
4
4
  "title": "Schema to create Zen UI library",
5
5
  "type": "object",
6
- "description": "Adds Zen CLI library and configure project 📦",
7
- "properties": {
8
- "path": {
9
- "description": "Where should be created the library",
10
- "type": "string",
11
- "format": "path",
12
- "default": "projects/ng-zen"
13
- }
14
- }
6
+ "description": "Adds Zen CLI library and configure project 📦"
15
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"selected-elements.js","sourceRoot":"","sources":["../../../../src/services/selected-elements.ts"],"names":[],"mappings":";;;AAEA,qFAAqF;AACxE,QAAA,gBAAgB,GAAoB,EAAE,CAAC","sourcesContent":["import { ComponentType } from '../schematics/components/components-generator';\n\n// add selected elements to this array, then values are available in other schematics\nexport const selectedElements: ComponentType[] = [];\n"]}
1
+ {"version":3,"file":"selected-elements.js","sourceRoot":"","sources":["../../../../src/services/selected-elements.ts"],"names":[],"mappings":";;;AAEA,qFAAqF;AACxE,QAAA,gBAAgB,GAAoB,EAAE,CAAC","sourcesContent":["import { ComponentType } from '../schematics/components/schema';\n\n// add selected elements to this array, then values are available in other schematics\nexport const selectedElements: ComponentType[] = [];\n"]}
@@ -1,4 +1,4 @@
1
- import { ComponentType } from '../schematics/components/components-generator';
1
+ import { ComponentType } from '../schematics/components/schema';
2
2
 
3
3
  // add selected elements to this array, then values are available in other schematics
4
4
  export const selectedElements: ComponentType[] = [];
@@ -1 +1 @@
1
- {"version":3,"file":"files-config.js","sourceRoot":"","sources":["../../../../src/types/files-config.ts"],"names":[],"mappings":"","sourcesContent":["import { NodeDependencyType } from '@schematics/angular/utility/dependencies';\n\nimport { ComponentType } from '../schematics/components/components-generator';\n\ntype Kind = Record<NodeDependencyType, Record<string, string>>;\n\nexport type FilesConfig = Record<ComponentType, Partial<Kind>>;\n"]}
1
+ {"version":3,"file":"files-config.js","sourceRoot":"","sources":["../../../../src/types/files-config.ts"],"names":[],"mappings":"","sourcesContent":["import { NodeDependencyType } from '@schematics/angular/utility/dependencies';\n\nimport { ComponentType } from '../schematics/components/schema';\n\ntype Kind = Record<NodeDependencyType, Record<string, string>>;\n\nexport type FilesConfig = Record<ComponentType, Partial<Kind>>;\n"]}
@@ -1,6 +1,6 @@
1
1
  import { NodeDependencyType } from '@schematics/angular/utility/dependencies';
2
2
 
3
- import { ComponentType } from '../schematics/components/components-generator';
3
+ import { ComponentType } from '../schematics/components/schema';
4
4
 
5
5
  type Kind = Record<NodeDependencyType, Record<string, string>>;
6
6
 
@@ -1 +1 @@
1
- {"version":3,"file":"generator-schema-base.js","sourceRoot":"","sources":["../../../../src/types/generator-schema-base.ts"],"names":[],"mappings":"","sourcesContent":["export interface GeneratorSchemaBase {\n path: string;\n stories: boolean;\n}\n"]}
1
+ {"version":3,"file":"generator-schema-base.js","sourceRoot":"","sources":["../../../../src/types/generator-schema-base.ts"],"names":[],"mappings":"","sourcesContent":["import { Path } from '@angular-devkit/core';\n\nexport interface GeneratorSchemaBase {\n currentDirectory: Path;\n path: Path;\n stories: boolean;\n}\n"]}
@@ -1,4 +1,7 @@
1
+ import { Path } from '@angular-devkit/core';
2
+
1
3
  export interface GeneratorSchemaBase {
2
- path: string;
4
+ currentDirectory: Path;
5
+ path: Path;
3
6
  stories: boolean;
4
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"schematics-folder.js","sourceRoot":"","sources":["../../../../src/types/schematics-folder.ts"],"names":[],"mappings":"","sourcesContent":["import { ComponentType } from '../schematics/components/components-generator';\n\nexport type SchematicsFolder = ComponentType;\n"]}
1
+ {"version":3,"file":"schematics-folder.js","sourceRoot":"","sources":["../../../../src/types/schematics-folder.ts"],"names":[],"mappings":"","sourcesContent":["import { ComponentType } from '../schematics/components/schema';\n\nexport type SchematicsFolder = ComponentType;\n"]}
@@ -1,3 +1,3 @@
1
- import { ComponentType } from '../schematics/components/components-generator';
1
+ import { ComponentType } from '../schematics/components/schema';
2
2
 
3
3
  export type SchematicsFolder = ComponentType;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=components-generator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"components-generator.js","sourceRoot":"","sources":["../../../../../src/schematics/components/components-generator.ts"],"names":[],"mappings":"","sourcesContent":["import { GeneratorSchemaBase } from '../../types';\n\nexport type ComponentType =\n | 'avatar'\n | 'button'\n | 'checkbox'\n | 'divider'\n | 'form-control'\n | 'icon'\n | 'input'\n | 'skeleton'\n | 'switch'\n | 'textarea';\n\nexport interface ComponentGeneratorSchema extends GeneratorSchemaBase {\n components: ComponentType[];\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ng-zen-generator.js","sourceRoot":"","sources":["../../../../../src/schematics/ng-add/ng-zen-generator.ts"],"names":[],"mappings":"","sourcesContent":["import { GeneratorSchemaBase } from '../../types';\n\nexport type NgZenGeneratorSchema = GeneratorSchemaBase;\n"]}
@@ -1,3 +0,0 @@
1
- import { GeneratorSchemaBase } from '../../types';
2
-
3
- export type NgZenGeneratorSchema = GeneratorSchemaBase;