-
Notifications
You must be signed in to change notification settings - Fork 503
Scan upwards for tsdx.config.js #201
Copy link
Copy link
Closed as not planned
Labels
kind: featureNew feature or requestNew feature or request
Description
Current Behavior
If used in a mono-repo, and you have a top-level tsdx.config.js file, you have to create another tsdx.config.js per package, which basically just re-exports the top-level tsdx.config.js file.
Desired Behavior
It would be great to scan for a tsdx.config.js all the way up to the call-site, and using the first one found.
Suggested Solution
The find-up package seems pretty popular for this kind of work. We would have to change this file:
https://github.com/palmerhq/tsdx/blob/master/src/constants.ts#L11
to use the find-up package.
Who does this impact? Who is this for?
This is for mono-repo users.
Describe alternatives you've considered
Right now I have just created a new tsdx.config.js file per package. It's a pain and just pure dead boilerplate code. I'd love to skip it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind: featureNew feature or requestNew feature or request