Skip to content

Guides

Guides and API reference for the @wtf/project packages: the shared configs and tools a pnpm workspace of TypeScript packages compiles, lints, formats, tests and documents with.

  • Getting started: set up a new workspace, with its tooling, scripts and configs, and lay out a package the presets fit.
  • The presets: extend the shared TypeScript, oxlint, oxfmt and TypeDoc configs, and see what each one sets.
  • The tests: run the tests from source or from the build, with coverage, in a browser, as Storybook stories, and against the Web Platform Tests.
  • Testing: run every suite from the source on your machine and from the build in CI, with the pair of scripts each suite needs and coverage through the source maps.
  • Vite, and sites: start every Vite config from one base, ship compressed copies of a site, and know which Vite and Vitest a repo names.