chore: update all package.json main, types, exports, publishConfig
This commit is contained in:
@@ -41,10 +41,23 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"payload": "workspace:*"
|
"payload": "workspace:*"
|
||||||
},
|
},
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./src/index.ts",
|
||||||
|
"require": "./src/index.ts",
|
||||||
|
"types": "./src/index.ts"
|
||||||
|
}
|
||||||
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"registry": "https://registry.npmjs.org/",
|
"types": "./dist/index.d.ts",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.ts",
|
||||||
|
"require": "./dist/index.ts",
|
||||||
"types": "./dist/index.d.ts"
|
"types": "./dist/index.d.ts"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
@@ -39,11 +39,34 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"payload": "workspace:*"
|
"payload": "workspace:*"
|
||||||
},
|
},
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./src/index.ts",
|
||||||
|
"require": "./src/index.ts",
|
||||||
|
"types": "./src/index.ts"
|
||||||
|
},
|
||||||
|
"./types": {
|
||||||
|
"import": "./src/types.ts",
|
||||||
|
"require": "./src/types.ts",
|
||||||
|
"types": "./src/types.ts"
|
||||||
|
}
|
||||||
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"registry": "https://registry.npmjs.org/",
|
"types": "./dist/index.d.ts",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.js",
|
||||||
|
"require": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts"
|
"types": "./dist/index.d.ts"
|
||||||
},
|
},
|
||||||
|
"./types": {
|
||||||
|
"import": "./dist/types.js",
|
||||||
|
"require": "./dist/types.js",
|
||||||
|
"types": "./dist/types.d.ts"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
"mock.js"
|
"mock.js"
|
||||||
|
|||||||
@@ -45,8 +45,7 @@
|
|||||||
"require": "./dist/index.js",
|
"require": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts"
|
"types": "./dist/index.d.ts"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"registry": "https://registry.npmjs.org/"
|
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"default": "./src/index.ts",
|
"types": "./src/index.ts",
|
||||||
"types": "./src/index.ts"
|
"default": "./src/index.ts"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
|||||||
@@ -23,8 +23,8 @@
|
|||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"default": "./src/index.ts",
|
"types": "./src/index.ts",
|
||||||
"types": "./src/index.ts"
|
"default": "./src/index.ts"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
"name": "@payloadcms/plugin-cloud-storage",
|
"name": "@payloadcms/plugin-cloud-storage",
|
||||||
"description": "The official cloud storage plugin for Payload CMS",
|
"description": "The official cloud storage plugin for Payload CMS",
|
||||||
"version": "3.0.0-alpha.48",
|
"version": "3.0.0-alpha.48",
|
||||||
"main": "dist/index.js",
|
"main": "./src/index.ts",
|
||||||
"types": "dist/index.d.ts",
|
"types": "./src/index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -62,15 +62,15 @@
|
|||||||
"require": "./src/index.ts",
|
"require": "./src/index.ts",
|
||||||
"types": "./src/index.ts"
|
"types": "./src/index.ts"
|
||||||
},
|
},
|
||||||
|
"./types": {
|
||||||
|
"import": "./src/types.ts",
|
||||||
|
"require": "./src/types.ts",
|
||||||
|
"types": "./src/types.ts"
|
||||||
|
},
|
||||||
"./*": {
|
"./*": {
|
||||||
"import": "./src/exports/*.ts",
|
"import": "./src/exports/*.ts",
|
||||||
"require": "./src/exports/*.ts",
|
"require": "./src/exports/*.ts",
|
||||||
"types": "./src/exports/*.ts"
|
"types": "./src/exports/*.ts"
|
||||||
},
|
|
||||||
"./dist/*": {
|
|
||||||
"import": "./src/*.ts",
|
|
||||||
"require": "./src/*.ts",
|
|
||||||
"types": "./src/*.ts"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
@@ -80,15 +80,15 @@
|
|||||||
"require": "./dist/index.js",
|
"require": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts"
|
"types": "./dist/index.d.ts"
|
||||||
},
|
},
|
||||||
|
"./types": {
|
||||||
|
"import": "./dist/types.js",
|
||||||
|
"require": "./dist/types.js",
|
||||||
|
"types": "./dist/types.d.ts"
|
||||||
|
},
|
||||||
"./*": {
|
"./*": {
|
||||||
"import": "./dist/exports/*.js",
|
"import": "./dist/exports/*.js",
|
||||||
"require": "./dist/exports/*.js",
|
"require": "./dist/exports/*.js",
|
||||||
"types": "./dist/exports/*.d.ts"
|
"types": "./dist/exports/*.d.ts"
|
||||||
},
|
|
||||||
"./dist/*": {
|
|
||||||
"import": "./dist/*.js",
|
|
||||||
"require": "./dist/*.js",
|
|
||||||
"types": "./dist/*.d.ts"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
"name": "@payloadcms/plugin-cloud",
|
"name": "@payloadcms/plugin-cloud",
|
||||||
"description": "The official Payload Cloud plugin",
|
"description": "The official Payload Cloud plugin",
|
||||||
"version": "3.0.0-alpha.48",
|
"version": "3.0.0-alpha.48",
|
||||||
"main": "dist/index.js",
|
"main": "./src/index.ts",
|
||||||
"types": "dist/index.d.ts",
|
"types": "./src/index.ts",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -32,6 +32,24 @@
|
|||||||
"payload": "workspace:*",
|
"payload": "workspace:*",
|
||||||
"ts-jest": "^29.1.0"
|
"ts-jest": "^29.1.0"
|
||||||
},
|
},
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./src/index.ts",
|
||||||
|
"require": "./src/index.ts",
|
||||||
|
"types": "./src/index.ts"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"main": "./dist/index.js",
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.js",
|
||||||
|
"require": "./dist/index.js",
|
||||||
|
"types": "./dist/index.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
"version": "1.2.1",
|
"version": "1.2.1",
|
||||||
"homepage:": "https://payloadcms.com",
|
"homepage:": "https://payloadcms.com",
|
||||||
"repository": "git@github.com:payloadcms/plugin-form-builder.git",
|
"repository": "git@github.com:payloadcms/plugin-form-builder.git",
|
||||||
"main": "dist/index.js",
|
"main": "./src/index.ts",
|
||||||
"types": "dist/index.d.ts",
|
"types": "./src/index.ts",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "dev@payloadcms.com",
|
"author": "dev@payloadcms.com",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
@@ -38,6 +38,24 @@
|
|||||||
"react": "^18.0.0",
|
"react": "^18.0.0",
|
||||||
"ts-node": "10.9.1"
|
"ts-node": "10.9.1"
|
||||||
},
|
},
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./src/index.ts",
|
||||||
|
"require": "./src/index.ts",
|
||||||
|
"types": "./src/index.ts"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"main": "./dist/index.js",
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.js",
|
||||||
|
"require": "./dist/index.js",
|
||||||
|
"types": "./dist/index.d.ts"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
"types.js",
|
"types.js",
|
||||||
|
|||||||
@@ -26,15 +26,21 @@
|
|||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"default": "./src/index.ts",
|
"import": "./src/index.ts",
|
||||||
|
"require": "./src/index.ts",
|
||||||
"types": "./src/index.ts"
|
"types": "./src/index.ts"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"exports": null,
|
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"registry": "https://registry.npmjs.org/",
|
"types": "./dist/index.d.ts",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.js",
|
||||||
|
"require": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts"
|
"types": "./dist/index.d.ts"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
"homepage:": "https://payloadcms.com",
|
"homepage:": "https://payloadcms.com",
|
||||||
"repository": "git@github.com:payloadcms/plugin-redirects.git",
|
"repository": "git@github.com:payloadcms/plugin-redirects.git",
|
||||||
"description": "Redirects plugin for Payload",
|
"description": "Redirects plugin for Payload",
|
||||||
"main": "dist/index.js",
|
"main": "./src/index.ts",
|
||||||
"types": "dist/index.d.ts",
|
"types": "./src/index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pnpm copyfiles && pnpm build:swc && pnpm build:types",
|
"build": "pnpm copyfiles && pnpm build:swc && pnpm build:types",
|
||||||
@@ -38,15 +38,21 @@
|
|||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"default": "./src/index.ts",
|
"import": "./src/index.ts",
|
||||||
|
"require": "./src/index.ts",
|
||||||
"types": "./src/index.ts"
|
"types": "./src/index.ts"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"exports": null,
|
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"registry": "https://registry.npmjs.org/",
|
"types": "./dist/index.d.ts",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.js",
|
||||||
|
"require": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts"
|
"types": "./dist/index.d.ts"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
@@ -79,4 +79,4 @@ const redirects =
|
|||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
export default redirects
|
export { redirects }
|
||||||
|
|||||||
@@ -43,8 +43,8 @@
|
|||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"default": "./src/index.ts",
|
"types": "./src/index.ts",
|
||||||
"types": "./src/index.ts"
|
"default": "./src/index.ts"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
"homepage:": "https://payloadcms.com",
|
"homepage:": "https://payloadcms.com",
|
||||||
"repository": "git@github.com:payloadcms/plugin-sentry.git",
|
"repository": "git@github.com:payloadcms/plugin-sentry.git",
|
||||||
"description": "Sentry plugin for Payload",
|
"description": "Sentry plugin for Payload",
|
||||||
"main": "dist/index.js",
|
"main": "./src/index.ts",
|
||||||
"types": "dist/index.d.ts",
|
"types": "./src/index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "echo \"Build temporarily disabled.\" && exit 0",
|
"build": "echo \"Build temporarily disabled.\" && exit 0",
|
||||||
@@ -50,5 +50,23 @@
|
|||||||
"payload": "workspace:*",
|
"payload": "workspace:*",
|
||||||
"ts-jest": "^29.1.0",
|
"ts-jest": "^29.1.0",
|
||||||
"webpack": "^5.78.0"
|
"webpack": "^5.78.0"
|
||||||
|
},
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./src/index.ts",
|
||||||
|
"require": "./src/index.ts",
|
||||||
|
"types": "./src/index.ts"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"main": "./dist/index.js",
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.js",
|
||||||
|
"require": "./dist/index.js",
|
||||||
|
"types": "./dist/index.d.ts"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
"homepage:": "https://payloadcms.com",
|
"homepage:": "https://payloadcms.com",
|
||||||
"repository": "git@github.com:payloadcms/plugin-seo.git",
|
"repository": "git@github.com:payloadcms/plugin-seo.git",
|
||||||
"description": "SEO plugin for Payload",
|
"description": "SEO plugin for Payload",
|
||||||
"main": "./dist/index.js",
|
"main": "./src/index.tsx",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./src/index.tsx",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pnpm copyfiles && pnpm build:swc && pnpm build:types",
|
"build": "pnpm copyfiles && pnpm build:swc && pnpm build:types",
|
||||||
@@ -44,8 +44,9 @@
|
|||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"default": "./src/index.ts",
|
"import": "./src/index.tsx",
|
||||||
"types": "./src/index.ts"
|
"types": "./src/index.tsx",
|
||||||
|
"default": "./src/index.tsx"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
"homepage:": "https://payloadcms.com",
|
"homepage:": "https://payloadcms.com",
|
||||||
"repository": "git@github.com:payloadcms/plugin-stripe.git",
|
"repository": "git@github.com:payloadcms/plugin-stripe.git",
|
||||||
"description": "Stripe plugin for Payload",
|
"description": "Stripe plugin for Payload",
|
||||||
"main": "dist/index.js",
|
"main": "./src/index.ts",
|
||||||
"types": "dist/index.d.ts",
|
"types": "./src/index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "echo \"Build temporarily disabled.\" && exit 0",
|
"build": "echo \"Build temporarily disabled.\" && exit 0",
|
||||||
@@ -48,6 +48,24 @@
|
|||||||
"react": "^18.0.0",
|
"react": "^18.0.0",
|
||||||
"webpack": "^5.78.0"
|
"webpack": "^5.78.0"
|
||||||
},
|
},
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./src/index.ts",
|
||||||
|
"require": "./src/index.ts",
|
||||||
|
"types": "./src/index.ts"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"main": "./dist/index.js",
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.js",
|
||||||
|
"require": "./dist/index.js",
|
||||||
|
"types": "./dist/index.d.ts"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
"types.js",
|
"types.js",
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://payloadcms.com",
|
"homepage": "https://payloadcms.com",
|
||||||
"author": "Payload CMS, Inc.",
|
"author": "Payload CMS, Inc.",
|
||||||
"main": "./src/index.ts",
|
"main": "./src/index.tsx",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./src/index.tsx",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pnpm copyfiles && pnpm build:swc && pnpm build:types",
|
"build": "pnpm copyfiles && pnpm build:swc && pnpm build:types",
|
||||||
@@ -40,18 +40,13 @@
|
|||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"default": "./src/index.ts",
|
"import": "./src/index.tsx",
|
||||||
"types": "./src/index.ts"
|
"require": "./src/index.tsx",
|
||||||
|
"types": "./src/index.tsx"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"exports": {
|
"exports": null,
|
||||||
".": {
|
|
||||||
"import": "./dist/index.js",
|
|
||||||
"require": "./dist/index.js",
|
|
||||||
"types": "./dist/index.d.ts"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"registry": "https://registry.npmjs.org/",
|
"registry": "https://registry.npmjs.org/",
|
||||||
"types": "./dist/index.d.ts"
|
"types": "./dist/index.d.ts"
|
||||||
|
|||||||
Reference in New Issue
Block a user