@invisible/process-map
v3.0.0
Published
npm lib for ai powered chat SOP map tool
Downloads
59
Maintainers
Keywords
Readme
My Library
To develop locally
install dependencies:
yarn
update the generated codegen if necessary:
yarn codegen
compile the bundle code:
yarn rollup
go to demo folder:
cd demo
install dependencies:
npm install
run demo (note, this uses the same port as portal to avoid cors issues):
npm run dev
Note: don't forget to use node 18 locally otherwise reactflow fails with some obscure error.
Publish the package
Semantic release should publish the package automatically to npm via a github action running on main see: https://semantic-release.gitbook.io/semantic-release/usage/installation allowing semantic release to create a commit on main branch without a PR also requires some extra setup, see: https://github.com/semantic-release/github/issues/175 CI_GITHUB_TOKEN worked in this case (update: using DOT_TOKEN_ACTIONS organization secret)
Import the package
import { ProcessMap } from '@invisible/process-map'