projecte_ionic/node_modules/@ionic/angular-toolkit/CONTRIBUTING.md
2022-02-09 18:30:03 +01:00

1.2 KiB
Executable file

Contributing

📣 Support/Questions?: Please see our Support Page for general support questions. The issues on GitHub should be reserved for bug reports and feature requests.

Local Setup

  1. Fork the repo & clone it locally.
  2. npm install
  3. npm run build to build source files

Using symlinks for Angular tooling may lead to issues. To test changes in a real project, copy the library to node_modules/@ionic/angular-toolkit. For example, using rsync:

rsync -avuP --exclude .git --exclude node_modules /path/to/git/angular-toolkit node_modules/@ionic

Publishing

CI automatically publishes the next version semantically from analyzing commits in stable. To maintain a shared history between master and stable, the branches must be rebased with each other locally.

  • When it's time to cut a release from master:

    git checkout stable
    git rebase master
    git push origin stable
    
  • Await successful publish in CI. Ionitron will push the updated versions and tags to stable.

  • Sync master with stable.

    git pull origin stable
    git checkout master
    git rebase stable
    git push origin master