0.0.17 • Published 6 years ago

generator-cl v0.0.17

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

generator-cl npm version

To install:

yarn add generator-cl --dev

Contributing a new generator

To add a new generator (like cl:controller), just add a folder with the same name to the src directory (so, src/controller), and have an index.ts file export a generator class. See src/comp/index.ts for an example.

Generators

The following can be used via...

yo cl:<component> <...params>

comp (angularjs component)

Lets say we want to make a component called task-list, and attach it to the clPlatform.app module. After changing to your desired directory, run the following...

yo cl:comp task-list app

This will generate the following folder:

task-list
├── task-list.component.ts
├── task-list.styles.scss
└── task-list.view.html

Now, just add an import ./task-list/task-list.component.ts'; to clPlatform.app.

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.1.1

10 years ago

0.1.0

10 years ago