Repository navigation
chore: update package.json of new examples and packages - #3095
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR standardizes package.json configurations across JointJS packages and examples by reorganizing field order, correcting metadata, and adding missing descriptions.
- Reorganized package.json fields to follow a consistent ordering convention
- Fixed incorrect repository directory path in joint-layout-directed-graph
- Added missing description fields to example packages
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/joint-layout-msagl/package.json | Reordered fields (moved version, description, sideEffects to top; moved exports and files to bottom; added publishConfig) |
| packages/joint-layout-directed-graph/package.json | Corrected repository directory path from "packages/joint-layout-directed" to "packages/joint-layout-directed-graph" |
| examples/layout-msagl/package.json | Reformatted and standardized structure; added description field; changed main from "src/index.ts" to "dist/bundle.js"; removed contributors and licenses fields |
| examples/layout-elk-ts/package.json | Added description field "JointJS - ELK Layout Demo" |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Geliogabalus
approved these changes
Oct 31, 2025
zbynekstara
force-pushed
the
package-json-fixes
branch
from
October 31, 2025 13:06
58159df to
21cf961
Compare
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.
Description
Fixes the
package.jsonofexamples/layout-elk-ts,examples/layout-msaglandpackages/joint-layout-msaglto be in line with the rest of the repo.Also fixes wrong directory reference in
repositoryfield ofpackages/joint-layout-directed-graph.