4.5.3 • Published 7 years ago

generator-bunny v4.5.3

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

Why?

This generator includes built-in modern tools which have been widely used by the community:

npm.io

Getting started

1. Installation

npm install -g yo generator-bunny

2. Create new project

Make a new directory:

mkdir my-bunny
cd my-bunny

Generate files:

yo bunny

Validate project:

npm start validate

Usage

1. First-timer

Install and setup semantic-release:

npm install -g semantic-release-cli

Note: Make sure you‘ve set your repository up on GitHub before proceeding otherwise semantic-release installation will throw errors!

Then run:

semantic-release-cli setup

Select Travis CI, answer no to overwrite

There‘s already a general purpose Travis CI configuration stored in .travis.yml. You can just leave it like that because it‘s already more than enough in most common situation.

2. Recommended workflow

Make some changes. If you want to commit, run (instead of git commit):

npm start commit

Select the type of commit

This project follows the AngularJS Commit Message Conventions. Following a standardized commit message format is important if you want to start a maintainable and scalable project. Also it is required to generate changelog and make automated releasing works.

Push those changes to GitHub

git push origin master

Note: Don‘t add tag, publish, or bump your project version manually. Let semantic-release do those tasks for you. Your release version number is auto-formatted based on SemVer specifications.

3. Your own workflow

You don‘t have to follow those recommended steps. Define your own workflow if you will but one of the consequence is you don‘t get the ability to publish/release your package to npm automatically.

For example, you still can do it like this:

git add .
git commit -m "I want to do it my way cause this is my project and I‘m working for myself"

Tips

Some useful scripts are provided by nps to help you maintain your project.

To see the list, run:

npm start

FAQ

1. Why does generator-bunny use npm to install dependencies?

We did support auto-detect & auto-install dependencies using yarn before but then decided to drop that feature in v4 because yarn is buggy and npm has a lot more users than yarn.

2. Why does generator-bunny remove lockfiles in pre-commit?

Lockfiles are for apps, not for packages/libraries. Read more on What do you think of lockfiles?

Inspiration

Contributors

Thanks goes to these people (emoji key):

Lufty Wiranda💻 📖 🚇

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © Lufty Wiranda

4.5.3

7 years ago

4.5.2

7 years ago

4.5.1

7 years ago

4.5.0

7 years ago

4.4.2

7 years ago

4.4.1

7 years ago

4.4.0

7 years ago

4.3.0

7 years ago

4.2.6

7 years ago

4.2.5

7 years ago

4.2.4

7 years ago

4.2.3

7 years ago

4.2.2

7 years ago

4.2.1

7 years ago

4.2.0

7 years ago

4.1.0

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.6.2

7 years ago

3.6.1

7 years ago

3.6.0

7 years ago

3.5.0

7 years ago

3.4.0

7 years ago

3.3.6

7 years ago

3.3.5

7 years ago

3.3.4

7 years ago

3.3.3

7 years ago

3.3.2

7 years ago

3.3.1

7 years ago

3.3.0

7 years ago

3.2.1

7 years ago

3.2.0

7 years ago

3.1.0

7 years ago

3.0.0

7 years ago

2.14.2

7 years ago

2.14.1

7 years ago

2.14.0

7 years ago

2.13.0

7 years ago

2.12.3

7 years ago

2.12.2

7 years ago

2.12.1

7 years ago

2.12.0

7 years ago

2.11.0

7 years ago

2.10.6

7 years ago

2.10.5

7 years ago

2.10.4

7 years ago

2.10.3

7 years ago

2.10.2

7 years ago

2.10.1

7 years ago

2.10.0

7 years ago

2.9.0

7 years ago

2.8.3

7 years ago

2.8.2

7 years ago

2.8.1

7 years ago

2.8.0

7 years ago

2.7.4

7 years ago

2.7.3

7 years ago

2.7.2

7 years ago

2.7.1

7 years ago

2.7.0

7 years ago

2.5.2

7 years ago

2.6.0

7 years ago

2.5.1

7 years ago

2.5.0

7 years ago

2.4.11

7 years ago

2.4.10

7 years ago

2.4.9

7 years ago

2.4.8

7 years ago

2.4.7

7 years ago

2.4.6

7 years ago

2.4.5

7 years ago

2.4.4

7 years ago

2.4.3

7 years ago

2.4.2

7 years ago

2.4.1

7 years ago

2.4.0

7 years ago

2.3.1

7 years ago

2.3.0

7 years ago

2.2.3

7 years ago

2.2.2

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.0

7 years ago