File History Navigation Development

Testing

Install Bun and run the test suite from the project root:

./test

The script runs bun test. Pass test-runner arguments to run a subset of the tests:

./test src/history.test.js

Deployment

Run ./deploy from the project root to create a VSIX package using the version in package.json:

./deploy

The command clears .deploy, runs npx @vscode/vsce package, and writes the package to .deploy/CodingMarkus.file-history-navigation-<version>.vsix.

Pass a version number to update package.json before the package is created:

./deploy 1.2.3

The version must contain exactly three numeric components, such as 1.2.3. The change to package.json is kept after deployment, so review and test it before publishing the package to Codeberg, Open VSX, or the Visual Studio Marketplace.