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.
212 lines
7.1 KiB
JSON
212 lines
7.1 KiB
JSON
{
|
|
"name": "@hanzo/cms-next",
|
|
"version": "3.85.2",
|
|
"homepage": "https://payloadcms.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/payloadcms/payload.git",
|
|
"directory": "packages/next"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Payload <[email protected]> (https://payloadcms.com)",
|
|
"maintainers": [
|
|
{
|
|
"name": "Payload",
|
|
"email": "[email protected]",
|
|
"url": "https://payloadcms.com"
|
|
}
|
|
],
|
|
"sideEffects": [
|
|
"*.scss",
|
|
"*.css"
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
"./css": {
|
|
"types": "./src/exports/css.ts",
|
|
"import": "./src/dummy.css",
|
|
"default": "./src/dummy.css"
|
|
},
|
|
".": {
|
|
"import": "./src/index.js",
|
|
"types": "./src/index.js",
|
|
"default": "./src/index.js"
|
|
},
|
|
"./withPayload": {
|
|
"import": "./src/withPayload/withPayload.js",
|
|
"default": "./src/withPayload/withPayload.js"
|
|
},
|
|
"./layouts": {
|
|
"import": "./src/exports/layouts.ts",
|
|
"types": "./src/exports/layouts.ts",
|
|
"default": "./src/exports/layouts.ts"
|
|
},
|
|
"./routes": {
|
|
"import": "./src/exports/routes.ts",
|
|
"types": "./src/exports/routes.ts",
|
|
"default": "./src/exports/routes.ts"
|
|
},
|
|
"./auth": {
|
|
"import": "./src/exports/auth.ts",
|
|
"types": "./src/exports/auth.ts",
|
|
"default": "./src/exports/auth.ts"
|
|
},
|
|
"./templates": {
|
|
"import": "./src/exports/templates.ts",
|
|
"types": "./src/exports/templates.ts",
|
|
"default": "./src/exports/templates.ts"
|
|
},
|
|
"./utilities": {
|
|
"import": "./src/exports/utilities.ts",
|
|
"types": "./src/exports/utilities.ts",
|
|
"default": "./src/exports/utilities.ts"
|
|
},
|
|
"./views": {
|
|
"import": "./src/exports/views.ts",
|
|
"types": "./src/exports/views.ts",
|
|
"default": "./src/exports/views.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.js",
|
|
"types": "./src/index.js",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "pnpm build:reactcompiler",
|
|
"build:babel": "rm -rf dist_optimized && babel dist --out-dir dist_optimized --source-maps --extensions .ts,.js,.tsx,.jsx,.cjs,.mjs && rm -rf dist && mv dist_optimized dist",
|
|
"build:bundle-for-analysis": "rm -rf dist && rm -rf tsconfig.tsbuildinfo && pnpm build:swc && pnpm build:babel && pnpm copyfiles && node ./bundle.js esbuild",
|
|
"build:cjs": "node ./bundleWithPayload.js",
|
|
"build:debug": "rm -rf dist && rm -rf tsconfig.tsbuildinfo && pnpm build:swc:debug && pnpm copyfiles:debug && pnpm build:types && pnpm build:cjs && node createStubScss.js",
|
|
"build:esbuild": "node bundleScss.js",
|
|
"build:reactcompiler": "rm -rf dist && rm -rf tsconfig.tsbuildinfo && pnpm build:swc && pnpm build:babel && pnpm copyfiles && pnpm build:types && pnpm build:esbuild && pnpm build:cjs",
|
|
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths",
|
|
"build:swc:debug": "swc ./src -d ./dist --config-file .swcrc-debug --strip-leading-paths",
|
|
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
"build:without_reactcompiler": "rm -rf dist && rm -rf tsconfig.tsbuildinfo && pnpm copyfiles && pnpm build:types && pnpm build:swc && pnpm build:cjs && pnpm build:esbuild",
|
|
"clean": "rimraf -g {dist,*.tsbuildinfo,esbuild}",
|
|
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
|
|
"copyfiles:debug": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix"
|
|
},
|
|
"lint-staged": {
|
|
"**/package.json": "sort-package-json",
|
|
"*.{md,mdx,yml,json}": "prettier --write",
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"eslint --flag v10_config_lookup_from_file --cache --fix",
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "catalog:",
|
|
"@dnd-kit/modifiers": "catalog:",
|
|
"@dnd-kit/sortable": "catalog:",
|
|
"@hanzo/cms-graphql": "workspace:*",
|
|
"@hanzo/cms-translations": "workspace:*",
|
|
"@hanzo/cms-ui": "workspace:*",
|
|
"busboy": "catalog:",
|
|
"dequal": "catalog:",
|
|
"file-type": "catalog:",
|
|
"graphql-http": "catalog:",
|
|
"graphql-playground-html": "catalog:",
|
|
"http-status": "catalog:",
|
|
"path-to-regexp": "catalog:",
|
|
"qs-esm": "catalog:",
|
|
"sass": "catalog:",
|
|
"uuid": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "catalog:",
|
|
"@babel/core": "catalog:",
|
|
"@babel/preset-env": "catalog:",
|
|
"@babel/preset-react": "catalog:",
|
|
"@babel/preset-typescript": "catalog:",
|
|
"@next/eslint-plugin-next": "catalog:",
|
|
"@hanzo/cms-eslint-config": "workspace:*",
|
|
"@types/busboy": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:",
|
|
"babel-plugin-react-compiler": "catalog:",
|
|
"esbuild": "catalog:",
|
|
"esbuild-sass-plugin": "catalog:",
|
|
"@hanzo/cms": "workspace:*",
|
|
"swc-plugin-transform-remove-imports": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"graphql": ">=17",
|
|
"next": ">=16.3.3",
|
|
"@hanzo/cms": "workspace:*"
|
|
},
|
|
"engines": {
|
|
"node": "^18.20.2 || >=20.9.0"
|
|
},
|
|
"publishConfig": {
|
|
"exports": {
|
|
"./css": {
|
|
"types": "./dist/exports/css.d.ts",
|
|
"import": "./dist/prod/styles.css",
|
|
"default": "./dist/prod/styles.css"
|
|
},
|
|
"./withPayload": {
|
|
"import": "./dist/withPayload/withPayload.js",
|
|
"require": "./dist/cjs/withPayload.cjs",
|
|
"default": "./dist/withPayload/withPayload.js"
|
|
},
|
|
"./layouts": {
|
|
"import": "./dist/exports/layouts.js",
|
|
"types": "./dist/exports/layouts.d.ts",
|
|
"default": "./dist/exports/layouts.js"
|
|
},
|
|
"./routes": {
|
|
"import": "./dist/exports/routes.js",
|
|
"types": "./dist/exports/routes.d.ts",
|
|
"default": "./dist/exports/routes.js"
|
|
},
|
|
"./templates": {
|
|
"import": "./dist/exports/templates.js",
|
|
"types": "./dist/exports/templates.d.ts",
|
|
"default": "./dist/exports/templates.js"
|
|
},
|
|
"./auth": {
|
|
"import": "./dist/exports/auth.js",
|
|
"types": "./dist/exports/auth.d.ts",
|
|
"default": "./dist/exports/auth.js"
|
|
},
|
|
"./utilities": {
|
|
"import": "./dist/exports/utilities.js",
|
|
"types": "./dist/exports/utilities.d.ts",
|
|
"default": "./dist/exports/utilities.js"
|
|
},
|
|
"./views": {
|
|
"import": "./dist/exports/views.js",
|
|
"types": "./dist/exports/views.d.ts",
|
|
"default": "./dist/exports/views.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",
|
|
"registry": "https://registry.npmjs.org/",
|
|
"types": "./dist/index.js"
|
|
}
|
|
}
|