Skip to content

← All changelogs

@typestyles/build-runner

packages/build-runner/CHANGELOG.md

0.4.0

Minor Changes

  • #75 8bf64b0 Thanks @dbanksdesign! - Add shared convention entry discovery: discoverDefaultExtractModules and DEFAULT_EXTRACT_MODULE_CANDIDATES (including styles/typestyles-entry.ts and styles/typestyles.ts after the src/… paths).

    @typestyles/vite re-exports these from @typestyles/build-runner and resolves optional extract.modules using the same list.

    @typestyles/next depends on @typestyles/build-runner, aligns buildTypestylesForNext with that discovery, defaults cssOutFile to app/typestyles.css and manifest output unless overridden, adds withTypestyles for production config when a convention file exists, and re-exports the discovery helpers.

    withTypestyles now passes root through to extraction internals so webpack resolution uses the same project root as convention discovery.

    Breaking (Next): BuildTypestylesForNextOptions no longer requires modules or cssOutFile; pass them explicitly when you need non-default behavior.

  • #92 d8149d6 Thanks @dbanksdesign! - Add verifyTypestylesBuild() to @typestyles/build-runner for CI checks that extracted CSS and optional manifest exist and contain expected output. Re-export from @typestyles/next/build and document on the zero-runtime page.

0.3.0

Minor Changes

  • #49: Add ESLint configuration across all packages, examples, and docs. Create shared eslint.base.js config with TypeScript rules and add lint scripts to all package.json files. Update CI workflow to run lint via turbo.

Patch Changes

  • #50: Add lint-staged for prettier formatting on pre-commit hook and format entire codebase

0.2.0

Minor Changes

  • #25: Updating bundler integrations and adding examples