Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/f22hd/netlify-plugin-nx-skip-build
A netlify plugin that skipping not affected apps in your nx workspace.
https://github.com/f22hd/netlify-plugin-nx-skip-build
Last synced: 10 days ago
JSON representation
A netlify plugin that skipping not affected apps in your nx workspace.
- Host: GitHub
- URL: https://github.com/f22hd/netlify-plugin-nx-skip-build
- Owner: f22hd
- License: mit
- Created: 2021-10-22T21:59:52.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-25T17:50:58.000Z (over 2 years ago)
- Last Synced: 2024-02-03T10:03:35.833Z (10 months ago)
- Language: JavaScript
- Size: 1.97 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
A Netlify Build plugin that skips not affected apps in your nx monorepo.
### Install
Install the module
```shell
npm i -D netlify-plugin-nx-skip-build
```Add the plugin to `netlify.toml`
```toml
[[plugins]]
package = "netlify-plugin-nx-skip-build"
```### deploy forcement
`v0.0.7` allows force deployment when you need to redeploy your site and skip any plugin logic by adding `NX_FORCE_DEPLOYMENT` as environment variable with value `true`.### How to use?
Add a new environment variable called `PROJECT_NAME` that is supposed application name by netlify UI (recommended) or your .env file, so the plugin can work as expected.### Resources
- [netlify-blog](https://www.netlify.com/blog/2020/04/21/deploying-nx-monorepos-to-netlify/)
### Contribution
Your suggestions and contribution are very welcome to make this plugin helpful.