Create a project structure for an Angular project
🏠 Homepage
npm cinpm run build:watchschematics .:anxelin-project-structurenpm run testng g anxelin-project-structure:<SCHEMATIC_OPTION>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
┃ ┃ ┗ 📜.gitkeep
ng g anxelin-project-structure:cpgCreates a prettierrc file configuration
{
"semi": true,
"singleQuote": true,
"proseWrap": "always"
}ng g anxelin-project-structure:chacCreate files to autogeneration CHANGELOG and validate commits with
Conventional Commits.
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"
}
}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.
👤 mikeg96 (https://github.com/MikeG96)
- Website: https://anxelin.dev
- Github: @mikeg96
- LinkedIn: @malgarcia
Contributions, issues and feature requests are welcome!
Feel free to check
issues page.
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator
