Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ngx-builders/netlify-builder
Deploy your Angular app to netlify from CLI
https://github.com/ngx-builders/netlify-builder
angular angular-builders angular8 builder builders cli deploy netlify netlify-deployment ng ngdeploy ngx-builder typescript
Last synced: about 2 months ago
JSON representation
Deploy your Angular app to netlify from CLI
- Host: GitHub
- URL: https://github.com/ngx-builders/netlify-builder
- Owner: ngx-builders
- License: mit
- Created: 2019-06-02T18:05:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-28T14:23:26.000Z (about 2 months ago)
- Last Synced: 2024-07-28T15:43:36.600Z (about 2 months ago)
- Topics: angular, angular-builders, angular8, builder, builders, cli, deploy, netlify, netlify-deployment, ng, ngdeploy, ngx-builder, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@netlify-builder/deploy
- Size: 5.68 MB
- Stars: 71
- Watchers: 4
- Forks: 23
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![npm downloads](https://img.shields.io/npm/dt/@netlify-builder/deploy?label=npm%20downloads)](https://www.npmjs.com/package/@netlify-builder/deploy)
[![npm (scoped)](https://img.shields.io/npm/v/@netlify-builder/deploy)](https://www.npmjs.com/package/@netlify-builder/deploy)
![Build Status](https://github.com/ngx-builders/netlify-builder/workflows/Node.js%20CI/badge.svg)
[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors)## **Deploy your Angular app to Netlify directly from the Angular CLI! 🚀**
### Pre-requisites
- Angular project created via [Angular CLI](https://github.com/angular/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](screenshots/step-1.png)
2. run ```ng deploy``` assuming that you have [Angular CLI](https://github.com/angular/angular-cli) installed globallyOR
add below script to ```package.json```
```
"deploy":"ng deploy"
```![Screenshot](screenshots/step-2.png)
# 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
```sh
npm i
```2. Run the below command to build the package
```sh
npm run build
```3. run the below command to link the package
```
npm link
```## Link to [Step by Step Guide](https://www.netlify.com/blog/2019/09/17/using-the-angular-builder-for-netlify/)
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/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](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!