mirror of
https://github.com/hanzo-apps/cms.git
synced 2026-10-30 14:47:33 +00:00
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.
119 lines
3.5 KiB
JSON
119 lines
3.5 KiB
JSON
{
|
|
"name": "plugin",
|
|
"version": "1.0.0",
|
|
"description": "A blank template to get started with Payload 3.0",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./client": {
|
|
"import": "./src/exports/client.ts",
|
|
"types": "./src/exports/client.ts",
|
|
"default": "./src/exports/client.ts"
|
|
},
|
|
"./rsc": {
|
|
"import": "./src/exports/rsc.ts",
|
|
"types": "./src/exports/rsc.ts",
|
|
"default": "./src/exports/rsc.ts"
|
|
}
|
|
},
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "pnpm copyfiles && pnpm build:types && pnpm build:swc",
|
|
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths",
|
|
"build:types": "tsc --outDir dist --rootDir ./src",
|
|
"clean": "rimraf {dist,*.tsbuildinfo}",
|
|
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
|
|
"dev": "next dev dev --turbo",
|
|
"dev:generate-importmap": "pnpm dev:payload generate:importmap",
|
|
"dev:generate-types": "pnpm dev:payload generate:types",
|
|
"dev:payload": "cross-env PAYLOAD_CONFIG_PATH=./dev/payload.config.ts payload",
|
|
"generate:importmap": "pnpm dev:generate-importmap",
|
|
"generate:types": "pnpm dev:generate-types",
|
|
"lint": "eslint",
|
|
"lint:fix": "eslint ./src --fix",
|
|
"test": "pnpm test:int && pnpm test:e2e",
|
|
"test:e2e": "playwright test",
|
|
"test:int": "vitest"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "catalog:",
|
|
"@hanzo/cms-db-mongodb": "catalog:",
|
|
"@hanzo/cms-db-postgres": "catalog:",
|
|
"@hanzo/cms-db-sqlite": "catalog:",
|
|
"@hanzo/cms-eslint-config": "catalog:",
|
|
"@hanzo/cms-next": "catalog:",
|
|
"@hanzo/cms-richtext-lexical": "catalog:",
|
|
"@hanzo/cms-ui": "catalog:",
|
|
"@playwright/test": "catalog:",
|
|
"@swc-node/register": "catalog:",
|
|
"@swc/cli": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:",
|
|
"copyfiles": "catalog:",
|
|
"cross-env": "catalog:",
|
|
"eslint": "catalog:",
|
|
"eslint-config-next": "catalog:",
|
|
"graphql": "catalog:",
|
|
"mongodb-memory-server": "catalog:",
|
|
"next": "catalog:",
|
|
"open": "catalog:",
|
|
"@hanzo/cms": "catalog:",
|
|
"prettier": "catalog:",
|
|
"qs-esm": "catalog:",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"rimraf": "catalog:",
|
|
"sharp": "catalog:",
|
|
"sort-package-json": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vite-tsconfig-paths": "catalog:",
|
|
"vitest": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"@hanzo/cms": ">=3.85.2"
|
|
},
|
|
"engines": {
|
|
"node": "^18.20.2 || >=20.9.0",
|
|
"pnpm": "^9 || ^10"
|
|
},
|
|
"publishConfig": {
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./client": {
|
|
"import": "./dist/exports/client.js",
|
|
"types": "./dist/exports/client.d.ts",
|
|
"default": "./dist/exports/client.js"
|
|
},
|
|
"./rsc": {
|
|
"import": "./dist/exports/rsc.js",
|
|
"types": "./dist/exports/rsc.d.ts",
|
|
"default": "./dist/exports/rsc.js"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"sharp",
|
|
"esbuild",
|
|
"unrs-resolver"
|
|
]
|
|
},
|
|
"registry": "https://registry.npmjs.org/"
|
|
}
|