Skip to content

v0.30.0

Choose a tag to compare

@github-actions github-actions released this 09 Mar 03:44
· 49 commits to main since this release
0266458

Minor Changes

  • a0234da: Upgrade bundled oxlint to 1.50.0 and oxfmt to 0.35.0, including updated internal package pins used during Adamantite setup and updates.

    Update formatting presets to canonical oxfmt option names (sortImports, sortTailwindcss, and sortPackageJson) and enable new unicorn checks in the core lint preset (unicorn/prefer-module and single-line unicorn/prefer-ternary).

  • 506516c: Migrate lint presets from JSON to TypeScript config modules using oxlint's defineConfig().

    All lint presets (core, react, nextjs, vue, node, jest, vitest) are now .ts files exported via adamantite/lint and adamantite/lint/*. adamantite init generates oxlint.config.ts instead of .oxlintrc.json, and adamantite update automatically migrates legacy .oxlintrc.json files—preserving custom rules, existing preset references (both node_modules paths and package exports), and non-Adamantite extends entries—then removes the old JSON config.

    When both oxlint.config.ts and .oxlintrc.json exist, Adamantite prefers the TypeScript config and warns about the duplicate.

Patch Changes

  • 2b1f4e1: Allow trailing commas in JSON/JSONC config parsing.

  • 506516c: Improve CLI error reporting when config parsing fails during commands like adamantite init.

    When Adamantite fails to parse JSON/JSONC files, it now reports the affected file path and parser details instead of only surfacing a generic tagged error. Invalid config shape errors are also reported with a clearer message explaining that a JSON object is required.

  • 6a1d09d: Improve CLI error handling with clearer, user-facing messages across command failures.

    Adds more actionable JSON/JSONC parse diagnostics and centralizes prompt cancellation handling in the prompter service so cancellation behavior is consistent across commands.