@ng-zen/cli 20.1.0 → 20.2.0
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 +12 -0
- package/README.md +11 -1
- package/package.json +1 -1
- package/schematics/components/index.js +8 -3
- package/schematics/components/index.js.map +1 -1
- package/schematics/components/index.ts +10 -4
- package/schematics/{ng-add/ng-zen-generator.js → components/schema.js} +1 -1
- package/schematics/components/schema.js.map +1 -0
- package/schematics/components/schema.json +23 -9
- package/schematics/components/{components-generator.ts → schema.ts} +1 -1
- package/schematics/components/templates/README.md.template +1 -1
- package/schematics/dependency-manager/utils/get-dependencies.js.map +1 -1
- package/schematics/dependency-manager/utils/get-dependencies.ts +1 -1
- package/schematics/ng-add/index.js +4 -6
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-add/index.ts +5 -8
- package/schematics/ng-add/schema.json +1 -9
- package/services/selected-elements.js.map +1 -1
- package/services/selected-elements.ts +1 -1
- package/types/files-config.js.map +1 -1
- package/types/files-config.ts +1 -1
- package/types/generator-schema-base.js.map +1 -1
- package/types/generator-schema-base.ts +4 -1
- package/types/schematics-folder.js.map +1 -1
- package/types/schematics-folder.ts +1 -1
- package/schematics/components/components-generator.js +0 -3
- package/schematics/components/components-generator.js.map +0 -1
- package/schematics/ng-add/ng-zen-generator.js.map +0 -1
- package/schematics/ng-add/ng-zen-generator.ts +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [20.2.0](https://github.com/kstepien3/ng-zen/compare/v20.1.0...v20.2.0) (2025-08-18)
|
|
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.2.0-next.1](https://github.com/kstepien3/ng-zen/compare/v20.1.0...v20.2.0-next.1) (2025-08-13)
|
|
8
|
+
|
|
9
|
+
### 🚀 New Features
|
|
10
|
+
|
|
11
|
+
* **components:** generate code in workingDirectory ([#270](https://github.com/kstepien3/ng-zen/issues/270)) ([2f2060f](https://github.com/kstepien3/ng-zen/commit/2f2060fd26b5cd45ce004daf5a651aa3030556f0))
|
|
12
|
+
|
|
1
13
|
## [20.1.0](https://github.com/kstepien3/ng-zen/compare/v20.0.0...v20.1.0) (2025-08-04)
|
|
2
14
|
|
|
3
15
|
### 🚀 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
|
-
|
|
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,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, ...
|
|
7
|
-
return () => {
|
|
8
|
-
|
|
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":";;
|
|
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 {
|
|
5
|
+
import { Schema as ComponentOptions } from './schema';
|
|
5
6
|
|
|
6
|
-
export function componentGenerator({ components, ...
|
|
7
|
-
return () => {
|
|
8
|
-
|
|
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
|
}
|
|
@@ -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
|
|
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
|
-
"
|
|
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
|
}
|
|
@@ -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
|
|
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/
|
|
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/
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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":";;
|
|
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 {
|
|
1
|
+
import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
export function ngAdd(): Rule {
|
|
4
|
+
return async (tree: Tree, context: SchematicContext) => {
|
|
5
|
+
context.logger.info('🔧 Setting up ng-zen...');
|
|
4
6
|
|
|
5
|
-
|
|
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/
|
|
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/
|
|
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/
|
|
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"]}
|
package/types/files-config.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NodeDependencyType } from '@schematics/angular/utility/dependencies';
|
|
2
2
|
|
|
3
|
-
import { ComponentType } from '../schematics/components/
|
|
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":["
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schematics-folder.js","sourceRoot":"","sources":["../../../../src/types/schematics-folder.ts"],"names":[],"mappings":"","sourcesContent":["import { ComponentType } from '../schematics/components/
|
|
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 +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"]}
|