chore(fire-tools): upgrade stamp to v1.13.2

- pnpm catalog: centralize version governance for biome, ts, vitest,
  zod, semantic-release, react, vite, and testing deps
- biome 1.9.4 → 2.4.13: migrate config (organizeImports → assist,
  files.ignore → files.includes, enable tailwindDirectives for @theme)
- zod 3.24.3 → 4.3.6: update error message API to { message: "..." }
  and .errors → .issues in all 4 Zod-using files
- vitest 3.2.3 → 4.1.5
- semantic-release 24.x → 25.0.3
- typescript 6.0.3 (ahead of 5.9.x standard; intentional)
- add commitlint 20.x with conventional config
- add husky 9.x with commit-msg and pre-commit hooks
- add .github/actions/setup composite action; update all 3 workflows
- fix: remove pnpm version: 9 from all workflows (reads packageManager)
- fix: node-version 20 → 24 in all 3 workflows
- add Makefile with dev/build/test/lint/typecheck/install targets
This commit is contained in:
Offending Commit
2026-04-27 11:20:47 -05:00
parent 8052a7d27a
commit 988ab36c32
61 changed files with 1056 additions and 822 deletions

View File

@@ -1,3 +1,8 @@
import { Link, useParams } from "@tanstack/react-router";
import { AnimatePresence, motion } from "framer-motion";
import { ArrowLeft, Eye, Lightbulb, Plus, Search, Trash2, X } from "lucide-react";
import { useMemo, useState } from "react";
import { z } from "zod";
import {
useConclusions,
useCreateConclusion,
@@ -18,18 +23,13 @@ import { Input, Textarea } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { Body, Caption, MonoCaption, Muted, PageTitle } from "@/components/ui/typography";
import { COLOR } from "@/lib/constants";
import { Link, useParams } from "@tanstack/react-router";
import { AnimatePresence, motion } from "framer-motion";
import { ArrowLeft, Eye, Lightbulb, Plus, Search, Trash2, X } from "lucide-react";
import { useMemo, useState } from "react";
import { z } from "zod";
type Conclusion = components["schemas"]["Conclusion"];
const createSchema = z.object({
observer_id: z.string().min(1, "Observer peer ID is required"),
observed_id: z.string().min(1, "Observed peer ID is required"),
content: z.string().min(1, "Content is required"),
observer_id: z.string().min(1, { message: "Observer peer ID is required" }),
observed_id: z.string().min(1, { message: "Observed peer ID is required" }),
content: z.string().min(1, { message: "Content is required" }),
session_id: z.string().optional(),
});
@@ -348,7 +348,7 @@ function CreateConclusionModal({
const result = createSchema.safeParse(fields);
if (!result.success) {
const errs: Record<string, string> = {};
for (const issue of result.error.errors) errs[issue.path[0] as string] = issue.message;
for (const issue of result.error.issues) errs[issue.path[0] as string] = issue.message;
setValidationErrors(errs);
return;
}