[Task] Remove dependencies that we don't need in the package.json of the sdk
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 49.3k
- Forks
- 6.8k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 653
Description
**Context**
https://metaboat.slack.com/archives/C063Q3F1HPF/p1730969278072639?thread_ts=1730968803.487599&cid=C063Q3F1HPF
At the moment we bundle all of the dependencies in the bundle, but we also list them as dependencies in the sdk package.json.
Unless we dynamically `require` the packages, we should be able to remove them from the package.json with the added benefits that:
- the install time/size of sdk users should go down as they don't install extra deps not used
- we should remove a lot of warnings about deps from the output of customers trying out the sdk
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the SDK's package.json and the configuration that creates its bundle. Check each listed dependency for dynamic require usage, then identify which dependencies are already included in the bundle and can be removed from the package manifest. Confirm that the SDK still bundles correctly and that its install output no longer includes unnecessary dependencies.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100