green-tea is new, so coding agents have no training data on it and write Express: app.use, next(), res.status().json(). llms.txt states what differs: the mental model, a complete app, the decorators and built-in tokens, how to return responses, the options agents usually need, common mistakes with the correct form, testing, and how to inspect an app first. Every code block was typechecked against src/, and each behavioural claim was checked with a small probe app. The file ships inside the package, so it always matches the installed version. matcha's scaffolded AGENTS.md points at it. Only a packaged file is added; the API is unchanged. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
32 lines
980 B
JSON
32 lines
980 B
JSON
{
|
|
"name": "@green-tea/core",
|
|
"version": "26.9.0-beta.2",
|
|
"license": "MIT",
|
|
// JSR serves TypeScript source, not the tsup build, so these point at `src/` where npm's
|
|
// `exports` point at `dist/`. Same four entry points on purpose: a docs example that imports
|
|
// `@green-tea/core/bun` has to work whichever registry the reader installed from.
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./deno": "./src/deno.ts",
|
|
"./bun": "./src/bun.ts",
|
|
"./edge": "./src/edge.ts"
|
|
},
|
|
"publish": {
|
|
"include": ["src", "llms.txt", "README.md", "CHANGELOG.md", "LICENSE", "deno.json"]
|
|
},
|
|
"compilerOptions": {
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"lib": ["deno.window", "deno.ns"]
|
|
},
|
|
"unstable": ["sloppy-imports"],
|
|
"imports": {
|
|
"http": "node:http",
|
|
"https": "node:https",
|
|
"crypto": "node:crypto",
|
|
"events": "node:events",
|
|
"stream": "node:stream"
|
|
},
|
|
"lint": { "exclude": ["dist", "node_modules"] }
|
|
}
|