Repository navigation
Development
github-actions[bot] edited this page Nov 13, 2026
·
2 revisions
npm install
npm test # TypeScript build + node --test (parser, linter, formatter, evaluator, settings schema, wiki)
npm run package # → atf-syntax-<version>.vsix
code --install-extension atf-syntax-<version>.vsixF5 opens an Extension Development Host on samples/.
The playground and the extension docs page live in web/ (Vue and Vite). They use the extension's own parser, linter, formatter and catalogue from src/, so they can't drift from it. web/ has its own package.json, so install it separately:
cd web && npm install && cd ..
npm run dev # at the root: forwards to web/ and opens the playground
cd web
npx vitest run # web tests
npx vue-tsc --build # type check
npx vite build # → web/dist-
CI (
ci.yml): builds, tests and packages the extension on Windows, macOS and Linux, on every push tomainand every pull request. -
Pages (
pages.yml): tests, type-checks and buildsweb/, then deploys it to GitHub Pages. It deploys on each published release, on pushes tomainthat touchweb/,src/orpackage.json, and on demand. Pull requests only build. -
Wiki (
wiki.yml): the repo'swiki/folder is the source of this wiki. When it changes onmain, the workflow copieswiki/*.mdto the GitHub wiki, so edits made in the wiki's web editor are overwritten. Edit the files in the repo instead. -
Publish (
publish.yml): av*tag builds the.vsix, creates a draft GitHub release and publishes to the Marketplace.
Don't edit these by hand; re-run the script instead.
| File | Generated from | Command |
|---|---|---|
wiki/Lint-Rules.md |
RULES in src/lint.ts
|
npm run compile && node scripts/wiki-lint-rules.js (test/wiki.test.js fails if it's out of date) |
web/public/third-party-notices.txt |
the packages in the built site |
node scripts/make-third-party-notices.mjs, from web/, after changing dependencies |
web/src/lib/sample-mediainfo.json |
mediainfo's output for the sample tracks |
python -I web/scripts/make-sample-mediainfo.py (needs the mediainfo CLI and the author's music files) |
Hovers, lint rules and the playground's evaluator were checked against the real engines with an oracle harness that runs WACUP's and Winamp 5's own title formatting code. It lives outside the repo and isn't needed to build.