pnpm i # installs all dependencies
pnpm build # builds all packagesThese Packages are published to NPM
evm-module: EVM moduleavalanche-module: Avalanche modulebitcoin-module: Bitcoin modulehvm-module: Hyper VM Modulesvm-module: Solana Virtual Machine moduletypes: shared types for modules
These packages are only used internally within this repo
tsconfig: tsconfig for moduleseslint-config-custom: eslint config for modulesgithub-actions: custom github actionsutils: utils for all vm-module packages
Each package and app is 100% TypeScript.
pnpm build- Build all packagespnpm dev- Develop all packagespnpm lint- Lint all packagespnpm changeset- Generate a changeset. See Versioning and Publishing packages
Run pnpm changeset on your branch and follow the CLI prompts to put in the summary and it will create the xxx.md file under .changeset directory. Push the change and create the PR.
Once the PR is merged, a new PR will be auto generated to bump the version to packages listed in the xxx.md file, and the summary in CHANGELOG.md
Package publishing has been configured using Changesets. Please review their documentation to familiarize yourself with the workflow.
This repo has an automated npm releases setup in a GitHub Action using the Changesets bot.