PrismarineJS / PrismarineJS/node-minecraft-data

Reduce unnecessary package size

Open
#291 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
127
Forks
76
Avg merge
7m
Merged PRs (30d)
3

Description

Currently, consuming the library pollutes node_modules with over 100MB of data that most of the time is never actually used.
A simple way to largely reduce this would be splitting the platforms like so:

minecraft-data@pc (Independent)
minecraft-data@bedrock (Independent)
minecraft-data (Depends on both)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the current published package and its node_modules footprint, then compare the proposed independent pc and bedrock packages with the combined package that depends on both. Done means the platform-specific packages can be consumed independently while the default package retains access to both platforms without unnecessarily installing over 100MB of unused data.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.