Skip to content

@toolpath/tool-drawing@1.0.4

Choose a tag to compare

@github-actions github-actions released this 09 Nov 10:32
· 15 commits to main since this release

Patch Changes

  • 2b77996: Build with tsdown instead of tsup, which is no longer maintained. Entry points, exports and types are unchanged. Published JavaScript now keeps source comments, and internal chunk file names differ.

  • 8f310b0: Replace createEslintConfig and createCommentAuditConfig with createOxlintConfig from @toolpath/dev-config/oxlint, which runs the strict rules on oxlint with a smaller set of JS plugin rules. Some rules are looser: string truthiness and ! on an index access are allowed, and the immutability and no-useless-path-segments rules are gone. This removes the ./eslint export, UNSUPPRESSIBLE, the comment audit and the bulk suppression workflow. createPackageEslintConfig is unchanged. createOxlintConfig takes the same forbidStyling option.

    Add a shared React Compiler transform for Vitest that handles internal source imports and hooks using the same compiler invocation as esbuild builds. Document running tests with the compiler enabled, locally and in CI, with an uncompiled source run kept for debugging.

    Tighten the tsconfig bases with noUnusedLocals and noUnusedParameters. Document TypeScript 7 beside the TypeScript 6 API.

    Compile tool-drawing's published React components with React Compiler and fail its build on compiler skips or missing compiler output. Run the existing suite with the compiler enabled, locally and in CI. Lint tool-drawing with oxlint and type-check it with the strict shared configuration.