1.0.3 β’ Published 5 years ago
anxelin-project-structure v1.0.3
Create a project structure for an Angular project
π Homepage
Install
npm ciCurrent test
npm run build:watchschematics .:anxelin-project-structureRun tests
npm run testDocumentation
How to use in your Angular project?
ng g anxelin-project-structure:<SCHEMATIC_OPTION>Schematic Options
aps
ng g anxelin-project-structure:apsCreates a folder structure for an Angular project.
π¦src
β£ πapp
β β£ πconfig
β β β π.gitkeep
β β£ πpages
β β β π.gitkeep
β β πshared
β β β£ πguards
β β β β π.gitkeep
β β β£ πinterceptors
β β β β π.gitkeep
β β β£ πmodels
β β β β π.gitkeep
β β β£ πmodules
β β β β π.gitkeep
β β β£ πservices
β β β β π.gitkeep
β β β πutilities
β β β β π.gitkeep
β£ πassets
β β πstyles
β β β π.gitkeepcpg
ng g anxelin-project-structure:cpgCreates a prettierrc file configuration
{
"semi": true,
"singleQuote": true,
"proseWrap": "always"
}chac
ng g anxelin-project-structure:chacCreate files to autogeneration CHANGELOG and validate commits with
Conventional Commits.
Steps to configure
You need to install the following dependencies.
Run in a terminal
npm install husky && npm install @commitlint/config-conventional && npm i --save-dev standard-versionWe need install globally @commitlint/config-conventional and commitlint/cli.
npm install @commitlint/config-conventional @commitlint/cli -gAdd the following scripts in your package.json
{
"scripts": {
// ...
"release": "standard-version",
"release:minor": "standard-version --release-as minor",
"release:patch": "standard-version --release-as patch",
"release:major": "standard-version --release-as major"
}
}First release
Run in a terminal
npm run release -- --first-release
# Output
> standard-version "--first-release"
β skip version bump on first release
β created CHANGELOG.md
β outputting changes to CHANGELOG.md
β committing CHANGELOG.md
β tagging release v0.0.0
βΉ Run `git push --follow-tags origin master` to publishFinally you can check your autogenerate CHANGELOG.
Author
π€ mikeg96 (https://github.com/MikeG96)
- Website: https://anxelin.dev
- Github: @mikeg96
- LinkedIn: @malgarcia
π€ Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Donate
Show your support
Give a βοΈ if this project helped you!
This README was generated with β€οΈ by readme-md-generator
