This is a sample project that helps you to implement your own deployment builder (ng deploy
) for the Angular CLI.
The groundwork of this starter was provided by Minko Gechev's ngx-gh project.
This project has the following purposes:
Goal 1: To promote the adoption of ng deploy
by providing a blueprint for new builders.
Goal 2: To clarify various questions and to standardise the experience of the existing builders.
We hope for an inspiring discussion, pull requests and questions.
If you don't know ng deploy
yet, learn more about this command here:
๐ Blogpost: All you need to know about ng deploy
- angular-cli-ghpages โ Deploy your Angular app to GitHub pages directly from the Angular CLI! ๐
- ngx-deploy-docker โ Deploy your Angular Application to a Docker registry directly from the Angular CLI! ๐
- ngx-deploy-npm โ Deploy your Angular Package to NPM directly from the Angular CLI! ๐
- ngx-deploy-ftp โ Deploy Angular apps to an FTP remote using the Angular CLI! ๐
We are there to assist you in creating a builder.
- fork this repository
- adjust the
package.json
- search and replace for the string
@angular-schule/ngx-deploy-starter
andngx-deploy-starter
and choose your own name. - search and replace for the string
to the file system
and name your deploy target. - add your deployment code to
src/engine/engine.ts
, take care of the tests - follow the instructions from the contributors README for build, test and publishing.
You are free to customise this project according to your needs. Please keep the spirit of Open Source alive and use the MIT or a compatible license.
This project also aims to be a reference for the existing builders. Recommendations are made through RFCs (Request for Comments), and we are very pleased about their adoption. Here is a list of all existing RFCs.
Code released under the MIT license.