From 6714d131983f05a0e67f55ac836e3e8d57045425 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Sat, 15 Aug 2026 15:08:48 +0200 Subject: [PATCH] =?UTF-8?q?web=5Fui:=20v0.3.1=20=E2=80=94=20scope=20check-?= =?UTF-8?q?json=20past=20JSONC=20tsconfigs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tsconfigs carry comments (TypeScript allows them); check-json does not. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01U4Rj3s7K2qzrLNgJqqPhno --- web_ui/.pre-commit-config.yaml | 4 ++++ web_ui/README.md | 2 +- web_ui/package.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/web_ui/.pre-commit-config.yaml b/web_ui/.pre-commit-config.yaml index 4197518..30facf6 100644 --- a/web_ui/.pre-commit-config.yaml +++ b/web_ui/.pre-commit-config.yaml @@ -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] diff --git a/web_ui/README.md b/web_ui/README.md index 798a482..57ac917 100644 --- a/web_ui/README.md +++ b/web_ui/README.md @@ -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" } ``` diff --git a/web_ui/package.json b/web_ui/package.json index fb5d060..1e8d6c3 100644 --- a/web_ui/package.json +++ b/web_ui/package.json @@ -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.",