-
Notifications
You must be signed in to change notification settings - Fork 1k
investigate deps #1348
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
Merged
tambien
merged 20 commits into
Tonejs:dev
from
error-four-o-four:chore/investigate-deps
Aug 13, 2025
Merged
investigate deps #1348
Changes from 3 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
100d82c
Remove fs-extra dependency and update file operations to use fs/promises
error-four-o-four 957082c
Remove rimraf dependency and update build script to use fs.rmSync for…
error-four-o-four e262a38
Replace glob with tinyglobby for improved performance and update test…
error-four-o-four 9c95585
Refactor imports to use node: prefix and update ESLint configuration …
error-four-o-four 3b094ee
fix: test_html.cjs
error-four-o-four e9042ce
Revert "Replace glob with tinyglobby for improved performance and upd…
error-four-o-four e66fe62
Refactor test scripts as ES Modules
error-four-o-four be6c86a
fix: update docs script to use typedoc directly
error-four-o-four b83de3e
Replace glob with tinyglobby
error-four-o-four 4ae5264
Replace tmp-promise with fs-fixture
error-four-o-four 0d789a3
Replace showdown with marked
error-four-o-four 446f6e9
Bump jsdom from 16.7.0 to 26.1.0
error-four-o-four ce653e2
Bump @rollup/plugin-commonjs from 25.0.7 to 28.0.3
error-four-o-four 5089f42
fix: use correct script in 'Check typedocs'
error-four-o-four c2468fa
Revert "Bump @rollup/plugin-commonjs from 25.0.7 to 28.0.3"
error-four-o-four 84b2e2d
Bump @rollup/plugin-commonjs from 25.0.7 to 26.0.3
error-four-o-four 5c9f2c5
Adding loop functionality to Sampler (#1310) (#1350)
Caden-Hornyak 1091071
revert: rename npm script `docs:json`
error-four-o-four 4b4c93c
fix: update log messages to indicate successful testing
error-four-o-four b73774f
Revert "fix: use correct script in 'Check typedocs'"
error-four-o-four File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also out of curiosity, why remove
rimraf
? seems like the code was more succinct beforeThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rimraf
pulls in many transitive dependencies. The builtin node module provides the same functionality. The Disadvantage is that it depends on the Nodejs runtime which excludes older Nodejs versions, Bun and Deno users. If it's desired to support them I'd recommend to use premove which has zero dependencies.I'm uncertain if 'remove' is the best name for this script. One could also name it 'clean' or use it as the npm lifecycle script 'prebuild'.
Less dependencies means a smaller footprint and less maintenance cost