Skip to content

feat: add JSON Schema for Arashi config#39

Merged
corwinm merged 5 commits intomainfrom
json-schema
Feb 22, 2026
Merged

feat: add JSON Schema for Arashi config#39
corwinm merged 5 commits intomainfrom
json-schema

Conversation

@corwinm
Copy link
Owner

@corwinm corwinm commented Feb 22, 2026

Summary

  • Generate and publish schema/config.schema.json from the TypeScript Config type and mirror it at config.json for distribution.
  • Migrate workspace config handling to canonical keys, remove stale config fields, and add strict version enforcement with migration alias support.
  • Add schema drift checks in CI and update docs/tests for schema usage and config compatibility behavior.

Related

Generate and ship a JSON Schema for .arashi/config.json while migrating persisted config to canonical camelCase keys with strict validation and legacy key normalization.

Refs: corwinm/arashi-arashi#97
corwinm and others added 3 commits February 21, 2026 23:45
Run oxfmt on generated schema artifacts during schema publish so schema drift checks are stable even when formatter rewrites JSON.

Refs: corwinm/arashi-arashi#97
Point default and documented stable schema references to unpkg so published configuration schema links resolve without separate docs hosting.

Refs: corwinm/arashi-arashi#97
Drop unused auto-setup and repo hook config fields, tighten the schema contract, and make config versioning meaningful with supported-version enforcement and migration alias handling.

Refs: corwinm/arashi-arashi#97
Keep schema generation and drift checks focused on schema/config.schema.json so publishing and CI align with the unpkg schema path.

Refs: corwinm/arashi-arashi#97
@corwinm corwinm merged commit ca4dbae into main Feb 22, 2026
8 checks passed
@corwinm corwinm deleted the json-schema branch February 22, 2026 20:04
github-actions bot pushed a commit that referenced this pull request Feb 23, 2026
## [1.8.0](v1.7.0...v1.8.0) (2026-02-23)

### Features

* add configurable create and switch defaults ([#41](#41)) ([d65dfa4](d65dfa4))
* add configurable worktree base location support ([#40](#40)) ([a491d31](a491d31))
* add JSON Schema for Arashi config ([#39](#39)) ([ca4dbae](ca4dbae))
* **hooks:** expand remove hook scope and ordering ([#42](#42)) ([74c710c](74c710c))
@github-actions
Copy link

🎉 This PR is included in version 1.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant