feat!: rename @payloadcms/ui/client to @payloadcms/ui, and other auto-suggestion & exports improvements (#6848)

**BREAKING:** All `@payloadcms/ui/client` exports have been renamed to
`@payloadcms/ui`. A simple find & replace across your entire project
will be enough to migrate. This change greatly improves import
auto-completions in IDEs which lack proper support for package.json
exports, like Webstorm.
This commit is contained in:
Alessio Gravili
2024-06-19 12:36:00 -04:00
committed by GitHub
parent 317bc070e4
commit bc98567f41
131 changed files with 520 additions and 483 deletions

View File

@@ -14,8 +14,8 @@
"exports": {
".": {
"import": "./src/index.ts",
"require": "./src/index.ts",
"types": "./src/index.ts"
"types": "./src/index.ts",
"default": "./src/index.ts"
}
},
"main": "./src/index.ts",
@@ -48,8 +48,8 @@
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"main": "./dist/index.js",