IBM / plex

The package of IBM’s typeface, IBM Plex.
SIL Open Font License 1.1
9.6k stars 567 forks source link

Assets are too large to publish to npm #561

Open tay1orjones opened 8 months ago

tay1orjones commented 8 months ago

Plex TC is ready to be released. We attempted to release it, but found that running the npm ClI's npm-publish fails. Apparently after packing, the CLI base64 encodes the pack into a string for sending over the wire. Node has a 512mb string buffer and when you get to a large enough package size, it fails to serialize the pack into the string.

TL;DR - With the addition of Plex TC the release assets are too large to publish to npm inside a single package.

The solution here is to publish per-family packages, https://github.com/IBM/plex/discussions/452

Doing this will also solve https://github.com/IBM/plex/issues/453