nx
nx copied to clipboard
Allow CreateNodes to be called just one time without file pattern
- [ ] I'd be willing to implement this feature (contributing guide)
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',
() => {
....