web_ui: v0.3.1 — scope check-json past JSONC tsconfigs

The tsconfigs carry comments (TypeScript allows them); check-json does not.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U4Rj3s7K2qzrLNgJqqPhno
This commit is contained in:
Krzysztof Rudnicki 2026-08-15 15:08:48 +02:00
parent eaa5683ff1
commit 6714d13198
3 changed files with 6 additions and 2 deletions

View File

@ -25,6 +25,10 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
# tsconfig*.json are JSONC -- TypeScript allows comments, and this file
# uses them to explain why the lint config exists. package.json and the
# lockfile are the real JSON worth validating.
exclude: ^web_ui/tsconfig.*\.json$
- id: check-merge-conflict
- id: mixed-line-ending
args: [--fix=lf]

View File

@ -13,7 +13,7 @@ this package is its executable form for the web.
```jsonc
// package.json — pnpm only, see "Why the &path: suffix" below.
"dependencies": {
"@kuhyx/web-ui": "github:kuhyx/utils#web_ui-v0.3.0&path:/web_ui"
"@kuhyx/web-ui": "github:kuhyx/utils#web_ui-v0.3.1&path:/web_ui"
}
```

View File

@ -1,6 +1,6 @@
{
"name": "@kuhyx/web-ui",
"version": "0.3.0",
"version": "0.3.1",
"private": false,
"type": "module",
"description": "The shared token + component layer for kuhy's web apps: the frozen palette, spacing/radius/type scales as CSS custom properties, and the components that were each reimplemented in two or more repos.",