Packages
@strict-ts/playground
strict-ts in the browser: eleven scenarios to edit (the four examples of the repo, classic and conforming), with their diagnostics as you type. Not published.
It is a page of the website, and of nothing else: @strict-ts/site puts what this package hands over
under its own bar, at playground.html. There is no page built alone, and no artifact.
pnpm build && pnpm site # at the root
pnpm site:serve # http://127.0.0.1:4173/playground.html
src/engine.tsbuilds a TypeScript 6 program from the files held in the page and hands it to@strict-ts/core. It holds no rule. The front page of the site judges its samples with it too.src/app.tsis the interface.src/unsafe/page.tsis where the page receives what the build hands it.src/page.htmlis the style and the markup. They go in a shadow tree of the site's page, so that this sheet and the site's do not meet; the theme the site was given is told to the host of the tree.scripts/page.mjsgives the site the parts: that fragment, the data, the script, and where the compiler is.scripts/data.mjsreads the scenarios from the repo:examples/, core's fixtures, the sources ofpackages/std.