diff --git a/packages/client-sdk/package.json b/packages/client-sdk/package.json index e8be518..e6a2cd6 100644 --- a/packages/client-sdk/package.json +++ b/packages/client-sdk/package.json @@ -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" ], diff --git a/packages/client-sdk/tsconfig.json b/packages/client-sdk/tsconfig.json index 0f7e22e..f27d29a 100644 --- a/packages/client-sdk/tsconfig.json +++ b/packages/client-sdk/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "module": "ESNext", + "module": "CommonJS", "outDir": "./lib", "baseUrl": ".", "declaration": true,