You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then, from the packages/core folder, run: npm pack
the packages/core folder or the generated packages/core/maxgraph-core-***.tgz file are now ready for use in an external project
In this folder where you clone the maxgraph-integration-examples project, go to the folder of the example you want to use. Then you can use one of the following solution
with npm link: npm link <path_to_locally_installed_maxgraph>/packages/core: create a soft link to the maxgraph local folder.
Repack of maxgraph is automatically available in the examples
alternative: npm install <path_to_locally_installed_maxgraph>/packages/core/maxgraph-core-0.1.0.tgz. This changes
the package.json file. You must run this command again each time you rebuild the maxgraph npm package.
Release
The versioning in this repository follow the versioning of maxGraph. For example, version 0.5.0 uses maxGraph0.5.0.
So, prior releasing a new version of this version, the maxGraph version must have been updated:
Dependencies in this repository are automatically updated by Dependabot, so you can trigger a new Dependabot run or wait for the next scheduled Dependabot run for this update to take place.
Validate that the examples work: use the artifact built by GitHub Actions to test the various applications locally.
Once maxGraph has been updated, the release can be done by running the release workflow which: