Files
Armin Ronacher ca7460d16b feat: build with TypeScript 7 and run sources with plain node
Replace the tsgo native preview with typescript@7.0.2 and port the check scripts to the TS 7 API. Target ES2024, drop useDefineForClassFields: false and unused decorator options, and enable verbatimModuleSyntax. Replace tsx with node plus the source resolver hook, passed to --import as a file URL.

closes #9965
2026-09-25 13:14:33 +02:00

95 lines
2.4 KiB
JSON

{
"name": "@earendil-works/pi-durable",
"version": "0.87.1",
"description": "Durable conversation, task, and document runtime for Pi",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./env": {
"source": "./src/env/index.ts",
"types": "./dist/env/index.d.ts",
"import": "./dist/env/index.js"
},
"./env/node": {
"source": "./src/env/node.ts",
"types": "./dist/env/node.d.ts",
"import": "./dist/env/node.js"
},
"./storage/memory": {
"source": "./src/storage/memory.ts",
"types": "./dist/storage/memory.d.ts",
"import": "./dist/storage/memory.js"
},
"./storage/jsonl": {
"source": "./src/storage/jsonl/index.ts",
"types": "./dist/storage/jsonl/index.d.ts",
"import": "./dist/storage/jsonl/index.js"
},
"./storage/jsonl/node": {
"source": "./src/storage/jsonl/node.ts",
"types": "./dist/storage/jsonl/node.d.ts",
"import": "./dist/storage/jsonl/node.js"
},
"./storage/sqlite": {
"source": "./src/storage/sqlite/index.ts",
"types": "./dist/storage/sqlite/index.d.ts",
"import": "./dist/storage/sqlite/index.js"
},
"./storage/sqlite/node": {
"source": "./src/storage/sqlite/node.ts",
"types": "./dist/storage/sqlite/node.d.ts",
"import": "./dist/storage/sqlite/node.js"
},
"./testing": {
"source": "./src/testing/index.ts",
"types": "./dist/testing/index.d.ts",
"import": "./dist/testing/index.js"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"files": [
"dist",
"docs",
"README.md"
],
"scripts": {
"clean": "shx rm -rf dist",
"build": "tsc -p tsconfig.build.json",
"test": "vitest --run",
"bench:storage": "vitest bench --config vitest.benchmark.config.ts",
"bench:storage:memory": "node --conditions=source --experimental-strip-types test/storage-memory.ts",
"prepublishOnly": "npm run clean && npm run build"
},
"keywords": [
"durable-execution",
"agents",
"conversations",
"tasks"
],
"author": "Earendil Works",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/earendil-works/pi.git",
"directory": "packages/durable"
},
"engines": {
"node": ">=22.19.0"
},
"dependencies": {
"@earendil-works/chord": "^0.87.1",
"@earendil-works/pi-ai": "^0.87.1"
},
"devDependencies": {
"shx": "0.4.0",
"vitest": "4.1.9"
}
}