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

[feature request] extract-tests: update references within a monorepo? #67

Open
nicolechung opened this issue Jun 6, 2023 · 1 comment

Comments

@nicolechung
Copy link
Contributor

nicolechung commented Jun 6, 2023

Say I update package foo inside of a monorepo.
If package bar consumes foo then the reference inside of the tsconfig in bar needs updating, something like

# bar/tsconfig.json
references: [
   {
-    "path": "foo"
+    "path": "foo/package"
    },
]

It's also possible that there might be some funky relative links like

# bar/tsconfig.json
references: [
   {
-    "path": "package/foo"
+    "path": "package/foo/package"
    },
]

Is this something that can be automated, or should it be included in the instructions?

@NullVoxPopuli
Copy link
Owner

I think ya'll should have access to a script that does this, but it is possible to automate

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

2 participants