Note: Draft document
Install docker
for running e2e tests.
Install dependences
pnpm i
# Create a production build of pmm once
pnpm build
# Create a development build in watch mode
pnpm build:watch
# Build and release to local registry in watch mode. (start a local registry with docker compose up -d registry)
pnpm build:watch:release
# Run unit tests
pnpm test
# Run unit tests in watch mode
pnpm test:watch
# Run e2e tests
pnpm test:e2e
# Run e2e tests in watch move (run second command in another terminal)
pnpm test:e2e:watch
pnpm build:watch:release
# Build pmm
pnpm build
# Run the locally built executables
./bin/pmm
./bin/pnpm
./bin/yarn
./bin/npm
Versioning is managed via changesets.
To create a release
- Create a feature branch
- Create a changeset describing the change with
pnpm add-change
Note: you can edit the changeset file in.changeset/*
- Commit the changeset file to your feature branch
- Raise a pull request
- Once merged, the changeset action will create a new version