The scripts in packagage.json are used to manage this project.
- running
yarn installruns thepostinstallscript, which sets uppre-commitscripts that runlints (see below) before eachgit commit. watchandcompilecan be used to compile the TypeScript sources, but “Run Extension” in.vscode/launch.jsonalso runswatchfor you.lintruns the following:lint:checkruns the Biome linter and formatter.lint:depsrunsdepcheckto see if we have superfluous dependencies.
vsce-packagebuilds the VS Code extension.
- edit
assets/hatch-logo.figwith Figma - export to SVG
- convert to font using https://icomoon.io/
- replace
assets/hatch-logo.woff2
(The logo.png is a copy of the regular Hatch logo, resized to 128px.)
To update the MARKETPLACE_TOKEN secret,
we can follow the “publishing extensions” tutorial.
Azure is weird, so in order to create an organization-independent PAT to publish extensions to the marketplace, one still needs access to an organization.
I personally have access to the scverse org so I’ll use that:
token settings (Select “Access scope: All accessible organizations” in the filter list)