Files
vercel__workflow/packages/world-postgres/package.json
Peter Wielander 9dcba490b4 Merge remote-tracking branch 'origin/main' into codex/stream-tail-worlds
Conflicts were all in files main also touched:

- packages/world-local/src/streamer.ts: kept main's `globalSingleton` ULID
  factory alongside this branch's `StreamCursorPositionSchema` value import,
  and kept the direct-index page loop (main's side was the `dataIndex` skip
  loop this branch replaced).
- packages/world-vercel/src/streamer.ts: comment only; kept this branch's
  text, which records that chunk snapshots now read v3.
- docs/content/worlds/v{4,5}/building-a-world.mdx: kept main's rewording and
  re-applied this branch's cursor contract sentences.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-24 12:05:18 -07:00

80 lines
2.0 KiB
JSON

{
"name": "@workflow/world-postgres",
"version": "5.0.0-beta.36",
"description": "A reference World implementation based on PostgreSQL",
"type": "module",
"main": "dist/index.js",
"bin": {
"bootstrap": "./bin/setup.js",
"workflow-postgres-setup": "./bin/setup-deprecated.js"
},
"files": [
"dist",
"bin",
"src/drizzle/migrations"
],
"publishConfig": {
"access": "public"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/vercel/workflow.git",
"directory": "packages/world-postgres"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./schema": {
"types": "./dist/drizzle/schema.d.ts",
"default": "./dist/drizzle/schema.js"
},
"./cli": {
"types": "./dist/cli.d.ts",
"default": "./dist/cli.js"
},
"./migrations/*.sql": "./src/drizzle/migrations/*.sql"
},
"scripts": {
"build": "tsc && chmod +x bin/setup.js bin/setup-deprecated.js",
"dev": "tsc --watch",
"clean": "tsc --build --clean && rm -rf dist",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"db:push": "node dist/cli.js"
},
"dependencies": {
"@vercel/queue": "catalog:",
"@workflow/errors": "workspace:*",
"@workflow/utils": "workspace:*",
"@workflow/world": "workspace:*",
"@workflow/world-local": "workspace:*",
"cbor-x": "1.6.0",
"dotenv": "17.3.1",
"drizzle-orm": "0.45.2",
"graphile-worker": "0.16.6",
"pg": "8.20.0",
"ulid": "catalog:",
"zod": "catalog:"
},
"devDependencies": {
"@testcontainers/postgresql": "11.12.0",
"@types/node": "catalog:",
"@types/pg": "8.20.0",
"@workflow/errors": "workspace:*",
"@workflow/tsconfig": "workspace:*",
"@workflow/world-testing": "workspace:*",
"drizzle-kit": "0.31.9",
"typescript": "catalog:",
"vitest": "catalog:"
},
"peerDependencies": {
"workflow": "workspace:^"
},
"keywords": [],
"author": "",
"packageManager": "pnpm@10.15.1"
}