maxGraph/packages/ts-support
Thomas Bouffard 27f75a59f3
docs: set the minimum TypeScript requirement to 3.8 (#128)
We use a recent TypeScript version to build maxGraph but applications
that integrates it may be forced to use old TypeScript versions.
We never explain what is the minimum TypeScript version requires to use
`maxGraph`. The changes proposed here are a first step to make this
information available.
It is only informative for now (mentioned in the README) and the minimum
TypeScript version is tested in the `ts-support` package (part of the
'build' GitHub workflow).
2022-11-07 18:31:40 +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 docs: set the minimum TypeScript requirement to 3.8 (#128) 2022-11-07 18:31:40 +01:00
tsconfig.json docs: set the minimum TypeScript requirement to 3.8 (#128) 2022-11-07 18:31:40 +01: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