Ability to select a name for project.json files #27299
khludenevav
started this conversation in
Feature Requests
Replies: 1 comment
-
@FrozenPandaz (mentioned as last editor for project-json plugin #26952) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm inside a big monorepo. And currently my nx.json is placed in
<repoRoot>/client
.I'm want to move nx.json to repo root and nx stop working because there are about 50 files in monorepo which have name
project.json
. Nx can't parse them and fails.The idea is to somehow restrict glob how Nx searches project.json files, or add ability to change these file names for example to
nx_project.json
.I believe it also speedup project parse, because now
nx graph
afternx reset
executes about 20 seconds.I can't use .nxignore because some of these files are inputs for targets.
Probably we can start to add options to change glob in
getDefaultPlugins
(packages/nx/src/project-graph/plugins/internal-api.ts)plugin
../../plugins/project-json/build-nodes/project-json
.Beta Was this translation helpful? Give feedback.
All reactions