refactor: update sdk publish file module type

This commit is contained in:
moonrailgun 2024-05-22 22:00:58 +08:00
parent 154b8b4b64
commit ed0c2e9d1d
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "tianji-client-sdk",
"version": "1.0.1",
"version": "1.0.3",
"description": "",
"main": "lib/index.js",
"scripts": {
@ -9,6 +9,10 @@
"generate:client": "openapi-ts -i ../../website/openapi.json -o src/open/client",
"test": "vitest"
},
"files": [
"lib",
"src"
],
"keywords": [
"tianji"
],

View File

@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"module": "ESNext",
"module": "CommonJS",
"outDir": "./lib",
"baseUrl": ".",
"declaration": true,