- Deleted copy-object.ts and type.ts files as part of the refactor. - Updated index.ts to export from new S3 core and type files. - Refactored OssBase class in core.ts to handle file uploads and object management. - Enhanced error handling for object retrieval and metadata management. - Introduced new methods for handling object streams and metadata filtering. - Updated download utility functions to align with new structure.
40 lines
854 B
JSON
40 lines
854 B
JSON
{
|
|
"name": "@kevisual/oss",
|
|
"version": "0.0.18",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "bun run bun.config.ts"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"keywords": [],
|
|
"author": "abearxiong <xiongxiao@xiongxiao.me>",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"devDependencies": {
|
|
"@aws-sdk/client-s3": "^3.978.0",
|
|
"@kevisual/use-config": "^1.0.28",
|
|
"@types/bun": "^1.3.8",
|
|
"@types/node": "^25.1.0",
|
|
"bun-plugin-dts": "^0.3.0",
|
|
"dotenv": "^17.2.3",
|
|
"es-toolkit": "^1.44.0",
|
|
"fast-glob": "^3.3.3"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./services": {
|
|
"import": "./dist/services.js",
|
|
"types": "./dist/services.d.ts"
|
|
},
|
|
"./s3.ts": "./src/s3/core.ts"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
} |