v0.30.0
Minor Changes
-
a0234da: Upgrade bundled
oxlintto1.50.0andoxfmtto0.35.0, including updated internal package pins used during Adamantite setup and updates.Update formatting presets to canonical oxfmt option names (
sortImports,sortTailwindcss, andsortPackageJson) and enable new unicorn checks in the core lint preset (unicorn/prefer-moduleand single-lineunicorn/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.tsfiles exported viaadamantite/lintandadamantite/lint/*.adamantite initgeneratesoxlint.config.tsinstead of.oxlintrc.json, andadamantite updateautomatically migrates legacy.oxlintrc.jsonfiles—preserving custom rules, existing preset references (bothnode_modulespaths and package exports), and non-Adamantite extends entries—then removes the old JSON config.When both
oxlint.config.tsand.oxlintrc.jsonexist, 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.