chore: update TypeScript configuration and package exports
- Reformatted tsconfig.json for better readability. - Removed unused exports files from internal components. - Updated package.json files to reflect changes in exports structure and added new paths for schemas and services in the database package. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
export * from "./src/ui/markdown/html"
|
||||
@@ -17,7 +17,6 @@
|
||||
"./ui/*": "./src/ui/*",
|
||||
"./utils/*": "./src/utils/*"
|
||||
},
|
||||
"main": "./exports.ts",
|
||||
"scripts": {
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
|
||||
@@ -15,6 +15,16 @@
|
||||
"types": "./src/*.ts",
|
||||
"require": "./src/*.ts",
|
||||
"import": "./src/*.ts"
|
||||
},
|
||||
"./schemas/*": {
|
||||
"types": "./src/schemas/*.ts",
|
||||
"require": "./src/schemas/*.ts",
|
||||
"import": "./src/schemas/*.ts"
|
||||
},
|
||||
"./services/*": {
|
||||
"types": "./src/services/*.ts",
|
||||
"require": "./src/services/*.ts",
|
||||
"import": "./src/services/*.ts"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
export { useRefValue } from "./src/useRefValue"
|
||||
export { useTypeScriptHappyCallback } from "./src/useTypescriptHappyCallback"
|
||||
@@ -8,7 +8,6 @@
|
||||
"require": "./src/index.js"
|
||||
}
|
||||
},
|
||||
"main": "./exports.ts",
|
||||
"scripts": {
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
export * from "./src/bridge"
|
||||
export { type AppType } from "./src/hono"
|
||||
export * from "./src/hono"
|
||||
export * from "./src/language"
|
||||
@@ -27,7 +27,6 @@
|
||||
"import": "./src/interface/*.ts"
|
||||
}
|
||||
},
|
||||
"main": "./exports.ts",
|
||||
"scripts": {
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
|
||||
@@ -16,10 +16,70 @@
|
||||
"require": "./src/index.ts",
|
||||
"import": "./src/index.ts"
|
||||
},
|
||||
"./*": {
|
||||
"types": "./src/*.ts",
|
||||
"require": "./src/*.ts",
|
||||
"import": "./src/*.ts"
|
||||
"./action/*": {
|
||||
"types": "./src/action/*.ts",
|
||||
"require": "./src/action/*.ts",
|
||||
"import": "./src/action/*.ts"
|
||||
},
|
||||
"./collection/*": {
|
||||
"types": "./src/collection/*.ts",
|
||||
"require": "./src/collection/*.ts",
|
||||
"import": "./src/collection/*.ts"
|
||||
},
|
||||
"./entry/*": {
|
||||
"types": "./src/entry/*.ts",
|
||||
"require": "./src/entry/*.ts",
|
||||
"import": "./src/entry/*.ts"
|
||||
},
|
||||
"./feed/*": {
|
||||
"types": "./src/feed/*.ts",
|
||||
"require": "./src/feed/*.ts",
|
||||
"import": "./src/feed/*.ts"
|
||||
},
|
||||
"./image/*": {
|
||||
"types": "./src/image/*.ts",
|
||||
"require": "./src/image/*.ts",
|
||||
"import": "./src/image/*.ts"
|
||||
},
|
||||
"./inbox/*": {
|
||||
"types": "./src/inbox/*.ts",
|
||||
"require": "./src/inbox/*.ts",
|
||||
"import": "./src/inbox/*.ts"
|
||||
},
|
||||
"./list/*": {
|
||||
"types": "./src/list/*.ts",
|
||||
"require": "./src/list/*.ts",
|
||||
"import": "./src/list/*.ts"
|
||||
},
|
||||
"./morph": {
|
||||
"types": "./src/morph/*.ts",
|
||||
"require": "./src/morph/*.ts",
|
||||
"import": "./src/morph/*.ts"
|
||||
},
|
||||
"./subscription/*": {
|
||||
"types": "./src/subscription/*.ts",
|
||||
"require": "./src/subscription/*.ts",
|
||||
"import": "./src/subscription/*.ts"
|
||||
},
|
||||
"./summary/*": {
|
||||
"types": "./src/summary/*.ts",
|
||||
"require": "./src/summary/*.ts",
|
||||
"import": "./src/summary/*.ts"
|
||||
},
|
||||
"./translation/*": {
|
||||
"types": "./src/translation/*.ts",
|
||||
"require": "./src/translation/*.ts",
|
||||
"import": "./src/translation/*.ts"
|
||||
},
|
||||
"./unread/*": {
|
||||
"types": "./src/unread/*.ts",
|
||||
"require": "./src/unread/*.ts",
|
||||
"import": "./src/unread/*.ts"
|
||||
},
|
||||
"./user/*": {
|
||||
"types": "./src/user/*.ts",
|
||||
"require": "./src/user/*.ts",
|
||||
"import": "./src/user/*.ts"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user