ngx-builders / netlify-builder

Deploy your Angular app to netlify from CLI
https://www.npmjs.com/package/@netlify-builder/deploy
MIT License
73 stars 23 forks source link
angular angular-builders angular8 builder builders cli deploy netlify netlify-deployment ng ngdeploy ngx-builder typescript

npm downloads npm (scoped) Build Status All Contributors

Deploy your Angular app to Netlify directly from the Angular CLI! 🚀

Pre-requisites

Steps:

  1. run ng add @netlify-builder/deploy OR ng add @netlify-builder/deploy --project={projectName} to add necessary dependencies. Once, it get installed,you will be prompted to enter (a) Site Id and (b) Netlify Token Screenshot
  2. run ng deploy assuming that you have Angular CLI installed globally

    OR

    add below script to package.json

    "deploy":"ng deploy"

    Screenshot

Netlify Builder demo

This repository contains an example of the Angular CLI Architect API.

Builder

You can find the Architect builder in the src directory.

Sample application

The sample application which uses the Architect builder is available under the builder-test directory.

License

MIT

Setup

  1. Move to src and run the below command
npm i
  1. Run the below command to build the package
npm run build
  1. run the below command to link the package
npm link

Link to Step by Step Guide

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Nitish Kumar Singh

💻

Shaikh-Ubaid

📖

Suraj Chandgude

💻

Santosh Yadav

💻

Alan Agius

💻

Imran Momin

💻

Michael Hladky

💻

Nilesh Patel

📖

Josh Morony

💻

This project follows the all-contributors specification. Contributions of any kind welcome!