Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix npm install error because of node-gyp #1107

Merged
merged 3 commits into from
Jul 15, 2024
Merged

Conversation

silesky
Copy link
Contributor

@silesky silesky commented Jul 11, 2024

Removes dependency on node-gyp by vendoring the tsub library. The tsub library has an 'unclear' ownership and changes infrequently, so this is a safe way to address this issues.

No dependency on stdlib means that this dramatically reduces the size of the analytics.js dependency tree.

addresses:
#1087
#1082

Copy link

changeset-bot bot commented Jul 11, 2024

🦋 Changeset detected

Latest commit: 3786f9e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@segment/analytics-next Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@silesky silesky marked this pull request as ready for review July 12, 2024 20:28
@silesky silesky force-pushed the fix-npm-install-tsub-issue branch from 1ff6e3f to 2b0e1b5 Compare July 12, 2024 20:28
@silesky silesky changed the title Fix npm install tsub issue Fix npm install error because of node-gyp Jul 12, 2024
bsneed
bsneed previously approved these changes Jul 12, 2024
@silesky silesky force-pushed the fix-npm-install-tsub-issue branch from df08d92 to 3786f9e Compare July 12, 2024 21:43
@silesky silesky requested a review from bsneed July 15, 2024 16:32
@silesky silesky merged commit 91e72ba into master Jul 15, 2024
5 checks passed
@silesky silesky deleted the fix-npm-install-tsub-issue branch July 15, 2024 20:06
@github-actions github-actions bot mentioned this pull request Jul 15, 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.

3 participants