diff --git a/README.md b/README.md index 1ec2aef..ed28398 100644 --- a/README.md +++ b/README.md @@ -38,3 +38,18 @@ fastify not found handler|Add the default 404 not found handler|ffnotfound, ff40 ## Contribute Feel free to open an issue if you have suggestion o new ideas to improve this snippet! + + +## How to test + +From VSCODE you can run the `Extension` launcher to test your snippet inside an headless VSCODE instance. + +## How to release + +First, you must be added into the [Fastify publisher](https://marketplace.visualstudio.com/manage/publishers/fastify) to complete succesfully these steps. + +- Generate a [personal access token](https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token) +- Run `npm run vscode:login` +- Manually bump the version in the `package.json` +- Run `npm run vscode:pack` +- Run `npm run vscode:publish`