Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,16 @@ jobs:
run: npm test -w packages/ts-support
- name: Build ts-example (custom shapes)
run: npm run build -w packages/ts-example
- name: Build ts-example (selected features)
run: npm run build -w packages/ts-example-selected-features
- name: Build ts-example (without defaults)
run: npm run build -w packages/ts-example-without-defaults
- name: Build Storybook mini-site
run: npm run build -w packages/html
- name: Build js-example
run: npm run build -w packages/js-example
- name: Build js-example (selected features)
run: npm run build -w packages/js-example-selected-features
- name: Build js-example (without defaults)
run: npm run build -w packages/js-example-without-defaults
- name: Upload all examples as artifact
Expand All @@ -71,10 +75,8 @@ jobs:
name: examples-${{runner.os}}-${{github.sha}}
path: |
packages/html/dist/
packages/js-example/dist/
packages/js-example-without-defaults/dist/
packages/ts-example/dist/
packages/ts-example-without-defaults/dist/
packages/js-example*/dist/
packages/ts-example*/dist/
- name: Ensure no circular dependencies in the @maxgraph/core produced JS files
run: npm run check:circular-dependencies -w packages/core
- name: Ensure no lint errors
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ Note that they are based on `maxGraph` features, which require the use of [CSS a
- The stories are currently written in `JavaScript` and will be progressively migrated to `TypeScript`.
- A live instance is available on the [maxGraph website](https://maxgraph.github.io/maxGraph/demo).
- the [ts-example](packages/ts-example) project/application that demonstrates how to define and use custom `Shapes` with `maxGraph`. It is a vanilla TypeScript application built by [Vite](https://vitejs.dev/).
- the [ts-example-selected-features](packages/js-example-without-defaults) project/application that demonstrates how to use select some features (use related plugins only) and how to only register specific style defaults. It is a vanilla JavaScript application built by [Webpack](https://webpack.js.org/).
- the [ts-example-without-defaults](packages/ts-example-without-defaults) project/application that demonstrates how to not use defaults plugins and style defaults (shapes, perimeters, ...). It is a vanilla TypeScript application built by [Vite](https://vitejs.dev/).
- the [js-example](packages/js-example) project/application that demonstrates how to import and export the `maxGraph` model with XML data. It is a vanilla JavaScript application built by [Webpack](https://webpack.js.org/).
- the [js-example-without-defaults](packages/js-example-without-defaults) project/application that demonstrates how to not use defaults plugins and style defaults (shapes, perimeters, ...). It is a vanilla JavaScript application built by [Webpack](https://webpack.js.org/).
Expand Down
Loading