Repository navigation
Update jointjs w/ npm auto-update - #2230
Merged
Merged
Conversation
Since 4.0 the clientIO/joint git tags hold only sources, so every 4.x version on cdnjs has no files. The built dist/ ships in @joint/core on npm, from the same repository. Map its browser bundles, joint.d.ts and the self-contained version.mjs.
MattIPv4
approved these changes
Nov 23, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
📎 clopy sim-ai
Change
Switch
jointjsfrom git to npm auto-update, targeting@joint/core, and narrow the file map to the files the package ships indist/.Since 4.0, JointJS moved to a monorepo and the
clientIO/jointgit tags hold only sources. All 11 4.x versions on cdnjs (4.0.0-alpha.1 to 4.1.3) list no files, while 3.7.7 and earlier have 33 each. The built files ship in@joint/coreon npm, which points at the sameclientIO/jointrepository and MPL-2.0 license.The new map replaces the
**/!(*.mjs)globstar with*.js,joint.d.tsandversion.mjs.version.mjsis a self-contained one-line module.filenamestaysjoint.min.js, which every 4.x release ships.Verification
geometry,joint,joint.nowrapandvectorizer(each with.min.js),joint.d.tsandversion.mjs.Versions newer than 4.1.3 (4.1.4 through 4.3.4) will import normally. The empty 4.0.0 to 4.1.3 entries count as published, so they need a bot-side removal before they import again.
Refs #1753.