netlify-plugin-nx-skip-build

Netlify Build plugin - A netlify plugin that skipping not affected apps in your nx workspace.

Usage no npm install needed!

<script type="module">
  import netlifyPluginNxSkipBuild from 'https://cdn.skypack.dev/netlify-plugin-nx-skip-build';
</script>

README

A Netlify Build plugin that skips not affected apps in your nx monorepo.

Install

Install the module

npm i -D netlify-plugin-nx-skip-build

Add the plugin to netlify.toml

 [[plugins]]
 package = "netlify-plugin-nx-skip-build"

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

Contribution

Your suggestions and contribution are very welcome to make this plugin helpful.