1.7.0 • Published 3 years ago
@pubcore/generator-create v1.7.0
create a minimal yeoman generator scaffolding
It will setup jslint and mocha for testing of the generator.
Prerequisites
- npm ^5.2.0
Example
- Change into the directory of your "scope" or (for unscoped packages) where your global packages are.
- Create a directory with name of your new generator. Convention is lower case and dash-separated, and must start with "generator-", here we assume we want to generate "some-stuff":
mkdir generator-some-stuff
- Change into this directory
cd generator-some-stuff
- Create scaffolding of a generator. You will be asked for some global settings, which will be saved in package.json:
npx -p @pubcore/generator-create -p yo yo @pubcore/create
Test creation by execute prepared test:
npm run test
Start build you generator in app/index.js, levearge yeoman's docs: https://yeoman.io/authoring/running-context.html
1.7.0
3 years ago
1.6.3
4 years ago
1.6.2
4 years ago
1.2.0
4 years ago
1.6.1
4 years ago
1.6.0
4 years ago
1.5.0
4 years ago
1.3.2
4 years ago
1.4.0
4 years ago
1.3.1
4 years ago
1.3.0
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago