Skip to content

fix: improve replacement to work with extending from node_modules#189

Merged
dominikg merged 1 commit intomainfrom
fix/configDir-in-npm-packages
Aug 31, 2024
Merged

fix: improve replacement to work with extending from node_modules#189
dominikg merged 1 commit intomainfrom
fix/configDir-in-npm-packages

Conversation

@dominikg
Copy link
Copy Markdown
Owner

fixes #188

The issue was rebaseRelative prepending segments in front of ${configDir} and the replacer at the end did not work with that.

Fixed by skipping rebaseRelative if value starts with ${configDir}

@dominikg dominikg merged commit 60b362d into main Aug 31, 2024
@dominikg dominikg deleted the fix/configDir-in-npm-packages branch August 31, 2024 20:15
@Zamiell
Copy link
Copy Markdown
Contributor

Zamiell commented Aug 31, 2024

i would recommend depending on complete-tsconfig instead of isaacscript-tsconfig, since I intend to change isaacscript-tsconfig in the future, and then dependobot would cause your test to fail i think.

@github-actions github-actions Bot mentioned this pull request Aug 31, 2024
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

Successfully merging this pull request may close these issues.

parse does not work with ${configDir} variable of tsconfig.json in node_modules

2 participants