Skip to content

yeoman-projects/generator-generator

This branch is 25 commits behind yeoman/generator-generator:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7694c33 · Jan 10, 2020
Feb 27, 2018
Feb 27, 2018
Feb 27, 2018
Feb 24, 2015
Jun 25, 2017
Mar 2, 2013
Nov 18, 2015
May 29, 2018
Apr 14, 2017
Jan 10, 2020
Jan 10, 2020

Repository files navigation

generator-generator Build Status Coverage Status

Yeoman generator generating a Yeoman generator

Yo dawg, I heard you like generators?

Getting started

  • Install: npm install -g generator-generator
  • Run: yo generator

Commands

  • yo generator shows a wizard for generating a new generator
  • yo generator:subgenerator <name> generates a subgenerator with the name <name>

What do you get?

Scaffolds out a complete generator directory structure for you:

.
├── generators/
│   └── app/
│       ├── index.js
│       └── templates/
│           └── dummyfile.txt
├── .editorconfig
├── .eslintignore
├── .gitattributes
├── .gitignore
├── .travis.yml
├── .yo-rc.json
├── LICENSE
├── README.md
├── package.json
└── __tests__/
    └── app.js

Refer to our documentation to learn more about creating a Yeoman generator.

Running tests

Run npm test to run your test suite.

These tests will be run automatically in your git repository if you connect Travis CI. You can also track test coverage using Coveralls.

Contributing

See the contribution docs.

When submitting an issue, please follow the guidelines. It is especially important to make sure Yeoman is up-to-date, and providing the command or commands that cause the issue.

License

MIT © Pascal Hartig [email protected] and other contributors

About

Generate a Yeoman generator

Resources

Stars

Watchers

Forks

Languages

  • JavaScript 100.0%