You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 30, 2019. It is now read-only.
When looking for Node.js packages, tsd link scans node_modules/*/packages.json(see code) but the glob should also include node_modules/@*/*/packages.json because scoped packages are installed in subfolders named after the scope (always prefixed with @).
If I change the glob pattern in the linked code to var pattern = '{*,@*/*}/' + type.infoJson; then linking works but repeated linking keeps re-discovering the same packages and appending duplicates to tsd.d.ts so other changes are still needed somewhere. Pull request #195 seems to fix the problem.
The text was updated successfully, but these errors were encountered:
Thanks for the PR. I just merged it and will do a release for you. Since I don't use this feature much yet, you'll have to let me know if you have more issues. Thanks!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When looking for Node.js packages,
tsd link
scansnode_modules/*/packages.json
(see code) but the glob should also includenode_modules/@*/*/packages.json
because scoped packages are installed in subfolders named after the scope (always prefixed with @).If I change the glob pattern in the linked code toPull request #195 seems to fix the problem.var pattern = '{*,@*/*}/' + type.infoJson;
then linking works but repeated linking keeps re-discovering the same packages and appending duplicates totsd.d.ts
so other changes are still needed somewhere.The text was updated successfully, but these errors were encountered: