Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nx-ignore and CMS content #314

Open
fcisio opened this issue Jul 7, 2023 · 1 comment
Open

nx-ignore and CMS content #314

fcisio opened this issue Jul 7, 2023 · 1 comment

Comments

@fcisio
Copy link

fcisio commented Jul 7, 2023

Hi, this is more of a question than an issue.

I have multiple apps in my repo and use npx nx-ignore <app_name> in Vercel.
This works perfectly for code changes, but I want to allow exceptions for content changes coming from a CMS.

I already handle this at the app level via inputs.runtime script.

"build": {
  "executor": "@nx/next:build",
  "inputs": [
    "production",
    {
      "runtime": "node ../cms-change-hash-script"
    }
  ]
}

How should I go about combining the two so that nx-ignore runs the build following the same rules as the input runtime ?

I'm thinking creating my own nx-ignore by extending it would be the best solution.

@fcisio
Copy link
Author

fcisio commented Jul 27, 2023

Hi, has anyone had time to look at this? I'm still working on a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant