Files
ai-forms/package.json
T
db04f557e8 chore: pnpm — the fleet has one package manager (#33)
Convert from npm to pnpm (fleet standard, STACK.md):
- packageManager pin pnpm@11.25.0 (corepack SSOT)
- pnpm-lock.yaml via `pnpm import` (root and examples/next), then both
  package-lock.json files deleted
- CI + publish workflows: pnpm/action-setup@v6, cache: pnpm,
  `pnpm install --frozen-lockfile`, `pnpm run verify`
- examples/next: pnpm-workspace.yaml with `allowBuilds: sharp` — pnpm 11
  blocks dependency build scripts by default and sharp must build
- package.json scripts and contributor docs use pnpm; consumer install
  lines stay npm — consumers choose their own package manager
- `npm view` / `npm publish` registry calls in publish.yml unchanged
  (OIDC trusted publishing works from a pnpm-managed tree)

Clean-room proven: rm -rf node_modules && pnpm install --frozen-lockfile
&& tests green; example app installs and typechecks under pnpm.


Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-03 14:52:28 +00:00

82 lines
1.9 KiB
JSON

{
"name": "ai-forms",
"version": "0.1.2",
"description": "Headless AI form filling and conversational refinement. Provider-agnostic core, React hook, and a server route factory.",
"license": "MIT",
"author": "Mao Nakamoto",
"homepage": "https://github.com/bitbaum/ai-forms#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/bitbaum/ai-forms.git"
},
"bugs": {
"url": "https://github.com/bitbaum/ai-forms/issues"
},
"keywords": [
"ai",
"forms",
"form-fill",
"autofill",
"llm",
"react",
"headless",
"natural-language"
],
"type": "module",
"sideEffects": false,
"packageManager": "pnpm@11.25.0",
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./react": {
"types": "./dist/react.d.ts",
"default": "./dist/react.js"
},
"./server": {
"types": "./dist/server.d.ts",
"default": "./dist/server.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "node --test test/*.test.js",
"verify": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run build && pnpm test",
"prepare": "pnpm run build",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"peerDependencies": {
"react": ">=18"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^26.4.0",
"@types/react": "^19.0.2",
"eslint": "^10.9.1",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.11.0",
"prettier": "3.9.6",
"typescript": "^6.0.3",
"typescript-eslint": "^8.68.0"
}
}