maxGraph/packages/ts-support
Thomas Bouffard d9b85945f8
chore: use npm workspaces (#273)
`maxGraph` was using `lerna` v4 to build and only used its "build
workspaces" support, not the "publishing" support as we only published a
single package and it is done manually, without using `lerna`.
The support for packages in `lerna` was removed in version 7. See
https://github.com/lerna/lerna/releases/tag/7.0.0 and
https://lerna.js.org/docs/legacy-package-management.
So, start using npm workspaces as we don't need to manage the publishing
of several packages for now.

This will allow to do more reproducible builds by locking dependencies
with a `package-lock.json` file. This didn't work well with `lerna` v4
and had been disabled.
2023-12-04 03:25:41 +01:00
..
src docs: set the minimum TypeScript requirement to 3.8 (#128) 2022-11-07 18:31:40 +01:00
.npmrc docs: set the minimum TypeScript requirement to 3.8 (#128) 2022-11-07 18:31:40 +01:00
README.md docs: set the minimum TypeScript requirement to 3.8 (#128) 2022-11-07 18:31:40 +01:00
package.json chore: use npm workspaces (#273) 2023-12-04 03:25:41 +01:00
tsconfig.json test(ts-support): only check maxGraph types (#193) 2023-05-22 13:51:42 +02:00

README.md

ts-support

Check the minimum TypeScript version required to use maxGraph.

Setup

Initialize all packages

From the repository root, run npm install.

Build maxgraph@core

From the packages/core directory, run npm run generate-types.

Run the test

Run npm test