AbstractJS
Currently named: mee-experimental
In order to run the repository:
bun i
bun test
Tests
Currently the only tests which this project has interact with testnets, due to several limitations:
- AbrstactJS depends on triggering bridges and intent solvers, all of which can't be properly
simulated in a local environment.
- AbstractJS depends on the MEE Node, which hasn't
yet been set-up in a local environment.
- For tests to work, an
.env
file needs to contain the TEST_PRIVATE_KEY
variable!
Run tests with bun test
Building
To build the project do bun run build
Publishing
Production Release
To publish a new production version:
- Create a new changeset (documents your changes):
bun run changeset
- Version the package (updates package.json and changelog):
bun run changeset:version
- Publish to npm:
bun run changeset:release
Canary Release
To publish a canary (preview) version:
bun run changeset:release:canary
This will publish a canary version to npm with a temporary version number. The original package.json will be restored automatically after publishing.
Note: You need to have appropriate npm permissions to publish the package.