/netlify-builder

Deploy your Angular app to netlify from CLI

Primary LanguageTypeScriptMIT LicenseMIT

npm downloads npm (scoped) Build Status All Contributors

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

Pre-requisites

  • Angular project created via Angular CLI v8.3.0 or greater.

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

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!