plop-utils configuration
If you're using yarn
yarn add --dev @hadenlabs/plop-utils
If you're using npm
npm i --save-dev @hadenlabs/plop-utils
- Install the @hadenlabs/plop-utils package as a dev dependency.
yarn add --dev @hadenlabs/plop-utils
- Create a
plopfile.ts
in the root of your project and setup initial generators.
import { setupPlop } from '@hadenlabs/plop-utils'
import { NodePlopAPI } from 'plop'
export default function plopGenerator(plop: NodePlopAPI): void {
setupPlop(plop)
}
- Run the generator and follow the instructions that appear in the terminal.
yarn plop
import { setupPlop } from '@hadenlabs/plop-utils
import { NodePlopAPI } from 'plop'
export default function plopGenerator(plop: NodePlopAPI): void {
setupPlop(plop)
}
Got a question?
File a GitHub issue.
Please use the issue tracker to report any bugs or file feature requests.
In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull Request so that we can review your changes
NOTE: Be sure to rebase the latest changes from "upstream" before making a pull request!
This Module follows the principles of Semantic Versioning (SemVer).
Using the given version number of MAJOR.MINOR.PATCH
, we apply the following constructs:
- Use the
MAJOR
version for incompatible changes. - Use the
MINOR
version when adding functionality in a backwards compatible manner. - Use the
PATCH
version when introducing backwards compatible bug fixes.
- In the context of initial development, backwards compatibility in versions
0.0.z
is not guaranteed whenz
is increased. (Initial development) - In the context of pre-release, backwards compatibility in versions
0.y.z
is not guaranteed wheny
is increased. (Pre-release)
Copyright Β© 2018-2021 Hadenlabs
All other trademarks referenced herein are the property of their respective owners.
The code and styles are licensed under the LGPL-3.0 license See project license..