Skip to content

Comments

fix(npm): change glob preventing GunDataNode.d.ts#1241

Merged
amark merged 1 commit intoamark:masterfrom
ShaunSHamilton:fix/npm
May 25, 2022
Merged

fix(npm): change glob preventing GunDataNode.d.ts#1241
amark merged 1 commit intoamark:masterfrom
ShaunSHamilton:fix/npm

Conversation

@ShaunSHamilton
Copy link
Contributor

Changes from cd45008433759cb65476e42eabc8b076d53a9f6d caused the GunDataNode.d.ts file from being included in the NPM package.

Can be confirmed by using:

npx npm-packlist

This fix assumes the only file unwanted is stats.radata. However, this also causes the following files to be included:

test/panic/axe/data_balance_webrtc.js
test/panic/axe/data_balance.js

I left them as included, because other test files are included in the package. However, in my opinion, the npm package should not include test files 🤷‍♂️

@amark
Copy link
Owner

amark commented May 25, 2022

@ShaunSHamilton good catch! Thank you 👏 ⚡ ⭐ . I think long long time ago there were some data.json files but this is much safer overall. Thanks for the improvement!

@amark amark merged commit 3933733 into amark:master May 25, 2022
@ShaunSHamilton ShaunSHamilton deleted the fix/npm branch May 25, 2022 20:22
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.

2 participants