Files
agentic-dev-template/package.json
Danijel Martinek f8908e5e4b feat(scripts): add library-decisions trace schema + template
Creates the shared schema module for library evaluation traces
(ADR-022 §4): Zod-validated frontmatter with all 8 filter fields and
enum constraints, plus parseTrace/validateTrace exports and a custom
YAML frontmatter parser for the nested trace format.

Also adds docs/library-decisions/_template.md with all 11 required
headings (8 Filter + 3 Prompt) in machine-checkable ADR-022 order.

Adds zod as a root devDependency so the script is runnable directly
from the workspace root without a package context.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 05:10:06 +00:00

53 lines
1.8 KiB
JSON

{
"name": "template-vertical",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@9.15.4",
"engines": {
"node": ">=20"
},
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev",
"lint": "turbo run lint",
"test": "turbo run test",
"test:e2e": "turbo run test:e2e",
"test:stories": "turbo run test:stories",
"test:visual": "pnpm --filter @repo/storybook exec concurrently -k -s first -n 'SB,VRT' -c 'magenta,blue' 'pnpm --filter @repo/storybook exec http-server storybook-static --port 6006 --silent' 'pnpm --filter @repo/storybook exec wait-on tcp:6006 && pnpm exec playwright test'",
"typecheck": "turbo run typecheck",
"conformance": "node scripts/conformance.mjs",
"coverage:diff": "node scripts/coverage/diff.mjs",
"coverage:aggregate": "node scripts/coverage/aggregate.mjs",
"mutate": "node scripts/coverage/mutate.mjs",
"fallow": "fallow",
"fallow:audit": "fallow audit --base main",
"work": "node scripts/work/cli.mjs",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"",
"prepare": "husky"
},
"devDependencies": {
"@ai-hero/sandcastle": "*",
"zod": "^3.25.0",
"@playwright/test": "^1.49.0",
"@stryker-mutator/core": "^8.7.0",
"@stryker-mutator/vitest-runner": "^8.7.0",
"@turbo/gen": "^2.4.0",
"@types/node": "^22.0.0",
"fallow": "^2.73.0",
"husky": "^9.0.0",
"lint-staged": "^16.0.0",
"prettier": "^3.5.0",
"turbo": "^2.4.0",
"typescript": "^5.8.0"
},
"lint-staged": {
"*.{ts,tsx,js,mjs,jsx}": [
"eslint --fix --max-warnings=0 --no-warn-ignored"
],
"*.{ts,tsx,js,mjs,jsx,json,md,yml,yaml}": [
"prettier --write"
]
}
}