Skip to content

chore: update package.json of new examples and packages - #3095

Merged
zbynekstara merged 1 commit into
clientIO:masterfrom
zbynekstara:package-json-fixes
Oct 31, 2025
Merged

zbynekstara merged 1 commit into
clientIO:masterfrom
zbynekstara:package-json-fixes

Conversation

@zbynekstara

Copy link
Copy Markdown
Contributor

Description

Fixes the package.json of examples/layout-elk-ts, examples/layout-msagl and packages/joint-layout-msagl to be in line with the rest of the repo.

Also fixes wrong directory reference in repository field of packages/joint-layout-directed-graph.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread examples/layout-msagl/package.json
@zbynekstara
zbynekstara merged commit 89ddc8c into clientIO:master Oct 31, 2025
2 checks passed
@zbynekstara
zbynekstara deleted the package-json-fixes branch October 31, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants