Files
zeekay 0e6dc33027 State a version once
A version written into a manifest is written into every manifest that wants it,
which is how eslint came to exist in a hundred and four forms across this estate
and how a package came to resolve twice at run time. The catalog moves the number
out of the manifest: a manifest names the package, the workspace names the
version.

Four are held below their latest because the newer release cannot be used, and
the reason is recorded rather than the version alone: @noble/hashes 2 renamed
every subpath the web3 stack imports, @splinetool/runtime 2 depends on a package
that was never published, @dynamic-labs 5.4.1 the same, and react-resizable-panels
3 points its types condition at the bundle.
2026-08-29 13:46:57 -07:00

79 lines
3.1 KiB
JSON

{
"name": "with-cloudflare-d1",
"version": "1.0.0",
"description": "A blank template to get started with Payload 3.0",
"license": "MIT",
"type": "module",
"scripts": {
"build": "cross-env NODE_OPTIONS=\"--no-deprecation --max-old-space-size=8000\" next build",
"deploy": "pnpm run deploy:database && pnpm run deploy:app",
"deploy:app": "opennextjs-cloudflare build --env=$CLOUDFLARE_ENV && opennextjs-cloudflare deploy --env=$CLOUDFLARE_ENV",
"deploy:database": "cross-env NODE_ENV=production PAYLOAD_SECRET=ignore payload migrate && wrangler d1 execute D1 --command 'PRAGMA optimize' --env=$CLOUDFLARE_ENV --remote",
"dev": "cross-env NODE_OPTIONS=--no-deprecation next dev",
"devsafe": "rm -rf .next && rm -rf .open-next && cross-env NODE_OPTIONS=--no-deprecation next dev",
"generate:importmap": "cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap",
"generate:types": "pnpm run generate:types:cloudflare && pnpm run generate:types:payload",
"generate:types:cloudflare": "wrangler types --env-interface CloudflareEnv cloudflare-env.d.ts",
"generate:types:payload": "cross-env NODE_OPTIONS=--no-deprecation payload generate:types",
"ii": "pnpm install --ignore-workspace",
"lint": "cross-env NODE_OPTIONS=--no-deprecation next lint",
"payload": "cross-env NODE_OPTIONS=--no-deprecation payload",
"preview": "opennextjs-cloudflare build && opennextjs-cloudflare preview --env=$CLOUDFLARE_ENV",
"start": "cross-env NODE_OPTIONS=--no-deprecation next start",
"test": "pnpm run test:int && pnpm run test:e2e",
"test:e2e": "cross-env NODE_OPTIONS=\"--no-deprecation --import=tsx/esm\" playwright test --config=playwright.config.ts",
"test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts"
},
"dependencies": {
"@opennextjs/cloudflare": "catalog:",
"@hanzo/cms-db-d1-sqlite": "catalog:",
"@hanzo/cms-next": "catalog:",
"@hanzo/cms-richtext-lexical": "catalog:",
"@hanzo/cms-storage-r2": "catalog:",
"@hanzo/cms-ui": "catalog:",
"cross-env": "catalog:",
"dotenv": "catalog:",
"graphql": "catalog:",
"next": "catalog:",
"@hanzo/cms": "catalog:",
"react": "catalog:",
"react-dom": "catalog:"
},
"devDependencies": {
"@eslint/eslintrc": "catalog:",
"@playwright/test": "catalog:",
"@testing-library/react": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@vitejs/plugin-react": "catalog:",
"eslint": "catalog:",
"eslint-config-next": "catalog:",
"jsdom": "catalog:",
"prettier": "catalog:",
"tsx": "catalog:",
"typescript": "catalog:",
"vite-tsconfig-paths": "catalog:",
"vitest": "catalog:",
"wrangler": "catalog:"
},
"engines": {
"node": "^18.20.2 || >=20.9.0",
"pnpm": "^9 || ^10"
},
"pnpm": {
"onlyBuiltDependencies": [
"sharp",
"esbuild",
"unrs-resolver"
]
},
"cloudflare": {
"bindings": {
"PAYLOAD_SECRET": {
"description": "Generate a random string using `openssl rand -hex 32`"
}
}
}
}