add each referenced tsconfig to the project field either separately, or via a glob.
However, ts-standard, in its validator isValidPath, assumes that an array of projects specifies concrete filepaths, not glob patterns (because it calls fs.statSync on each of the given array entries).
What did you expect to happen?
Support for glob patterns, so we don't have to hard-code all of our sub-projects in our package.json
Are you willing to submit a pull request to fix this bug?
I guess so. It seems like a straightforward fix. To be honest, I don't know why ts-standard is going through the trouble of validating these filepaths, since the underlying logic probably will, on its own?
What version of this package are you using? 11.0.0
What operating system, Node.js, and npm version?
What happened?
The docs state:
The referenced underlying specification for this field states that one may
However, ts-standard, in its validator
isValidPath
, assumes that an array of projects specifies concrete filepaths, not glob patterns (because it callsfs.statSync
on each of the given array entries).What did you expect to happen?
Support for glob patterns, so we don't have to hard-code all of our sub-projects in our package.json
Are you willing to submit a pull request to fix this bug?
I guess so. It seems like a straightforward fix. To be honest, I don't know why ts-standard is going through the trouble of validating these filepaths, since the underlying logic probably will, on its own?