Open
Conversation
BREAKING CHANGE: Package structure changed to monorepo with separate packages. New packages: - @gravity-ui/graph-canvas-core@1.0.0 - Core Canvas rendering primitives - @gravity-ui/graph@1.8.3 - Main graph library - @gravity-ui/graph-react@1.8.3 - React integration - @gravity-ui/graph-storybook (private) - Development documentation Changes: - Migrate to pnpm workspaces - Split code into 4 packages with workspace dependencies - Configure Rollup for ESM + CJS + d.ts builds for all packages - Set up release-please for monorepo releases - Update GitHub workflows for pnpm - Add .npmignore to exclude tests and source files from npm - Update all imports to use workspace packages - Preserve full git history with git mv (248 files renamed) Migration preserves: - Full commit history (git log --follow) - Author information (git blame) - File rename tracking (R89-R100 similarity) All packages publish only build artifacts: - ESM (index.js) - CommonJS (index.cjs) - TypeScript declarations (index.d.ts) - CSS bundles (where applicable)
- Replace all ../../src imports with @gravity-ui/graph - Replace all react-components imports with @gravity-ui/graph-react - Fix deep imports to use root package exports - Update 57 files with 199 import statements
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.
BREAKING CHANGE: Package structure changed to monorepo with separate packages.
New packages:
Changes:
Migration preserves:
All packages publish only build artifacts: