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: 3 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T17:39:37.000Z (8 months ago)
- Last Synced: 2024-10-24T01:40:18.187Z (8 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: 73
- Watchers: 4
- Forks: 23
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/@netlify-builder/deploy)
[](https://www.npmjs.com/package/@netlify-builder/deploy)

[](#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

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"
```
# 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!