oxc/MAINTENANCE.md
2024-04-20 16:59:47 +08:00

916 B

Release Linter

  • Test in large codebases
mkdir test-oxc && cd test-oxc
git clone --depth=1 git@github.com:microsoft/vscode.git
git clone --depth=1 git@github.com:getsentry/sentry.git
git clone --depth=1 git@github.com:elastic/kibana.git
git clone --depth=1 git@github.com:toeverything/AFFiNE.git
git clone --depth=1 git@github.com:DefinitelyTyped/DefinitelyTyped.git
# cd to oxc
just oxlint

# cd to test-oxc and run oxlint on all cloned repos
~/path/to/oxc/target/target/release/oxlint
  • push the version commit, e.g. 31600ac8de
  • clean up the GitHub changelog

Release crates

Releasing crates is managed by cargo-release-oxc.

cargo binstall cargo-release-oxc
cargo release-oxc update --patch
just ready
cargo release-oxc publish