0.0.9 • Published 6 years ago

cliberry-schematics v0.0.9

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

cliberry-schematics

Version npm MIT license Github Downloads NPM Downloads NPM Gziped size Dependency Status Build Status Coverage percentage

Schematics collection for generation angular project with support and configuration for useful framework and tools

This repository is a basic Schematic/Cliberry implementation that serves as a starting point to create and publish Schematics to NPM.

Table of Contents

Installation

For using the cli you need to install the npm package first:

npm install g cliberry

or

yarn g cliberry

and then using cli like an @angular/cli.

The default schematics will be set to local templates if needed. They can be override by adding additional --collection parameter.

There is no need to install @angular/cli it is included inside cliberry tool.

Have fun with using cliberry ;).

API

cliberry new

Create new cliberry/schematics collection with:

  • schematics
  • debug framework
  • yarn
  • yarn lock file
  • tests (jasmine, protractor - defaults)
  • lint
  • IDEA config
  • editorconfig
  • gitignore
  • README

Testing

To test locally, install @angular-devkit/schematics-cli globally and use the schematics command line tool. That tool acts the same as the generate command of the Angular CLI, but also has a debug mode.

Check the documentation with

schematics --help

Unit Testing

yarn test or npm run test will run the unit tests, using Jasmine as a runner and test framework.

Publishing

To publish, simply do:

yarn build
yarn publish
npm run build
npm publish

That's it!

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago