[FEATURE] Workspace Symbols #19544
moatorres
started this conversation in
Feature Requests
Replies: 1 comment
-
I think that if we manage to identify full matches of a path, maybe we can update paths everywhere? As in grep "apps/someproject/src" or "{workspaceRoot}/myapp/src" 🤔 |
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
-
Hello NX Community,
I've been wondering if anyone ever considered implementing some sort of
nx
"Workspace Symbols". I don't understand 100% how@nx/workspace:move
identifies which files need to be updated, but I got myself thinking about strategies to extend the generator's behavior so it can detect and rename paths outsideproject.json
and.ts
files.As an example, some projects have
sh
scripts andDockerfile
files that use paths and/or projects' names, and those are ignored when we move things around. My first thought was that that would entail some level of templating, but I've been thinking if I'd be able to implement either:RegEx
patterns based on workspace naming conventionsgrep
-like step that could traverseTree
object and extend the generatorHas anyone ever tried to implement something similar?
Beta Was this translation helpful? Give feedback.
All reactions