refactor: update sdk publish file module type
This commit is contained in:
parent
154b8b4b64
commit
ed0c2e9d1d
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tianji-client-sdk",
|
"name": "tianji-client-sdk",
|
||||||
"version": "1.0.1",
|
"version": "1.0.3",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -9,6 +9,10 @@
|
|||||||
"generate:client": "openapi-ts -i ../../website/openapi.json -o src/open/client",
|
"generate:client": "openapi-ts -i ../../website/openapi.json -o src/open/client",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
|
"files": [
|
||||||
|
"lib",
|
||||||
|
"src"
|
||||||
|
],
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tianji"
|
"tianji"
|
||||||
],
|
],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "ESNext",
|
"module": "CommonJS",
|
||||||
"outDir": "./lib",
|
"outDir": "./lib",
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user