nx icon indicating copy to clipboard operation
nx copied to clipboard

Allow CreateNodes to be called just one time without file pattern

Open klagrida opened this issue 1 year ago • 0 comments

Description

Allow CreateNodes to be called just one time without file pattern.

Motivation

I found better in my case for java/kotlin workspace to run a command to get project dependencies before calling CreateNodes and CreateDependencies functions. Data are shared in a json file or cache between this two functions.

As a workaround I call CreateNodes with 'nx.json' pattern. But maybe other users are in the same case as me.

export const createNodes: CreateNodes = [
  'nx.json',
  () => {
....

Suggested Implementation

Alternate Implementations

klagrida avatar Feb 01 '24 13:02 klagrida