Skip to content

Commit

Permalink
chore: simplify API build
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Feb 1, 2024
1 parent 606147b commit bb07577
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 25 deletions.
10 changes: 5 additions & 5 deletions open-api/typescript-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"version": "1.92.1",
"description": "",
"type": "module",
"main": "./build/esm/index.js",
"types": "./build/types/index.d.ts",
"main": "./build/index.js",
"types": "./build/index.d.ts",
"exports": {
".": {
"types": "./build/types/index.d.ts",
"default": "./build/esm/index.js"
"types": "./build/index.d.ts",
"default": "./build/index.js"
}
},
"scripts": {
"build": "tsc -b ./tsconfig.esm.json ./tsconfig.types.json"
"build": "tsc -b ./tsconfig.json"
},
"license": "MIT",
"devDependencies": {
Expand Down
9 changes: 0 additions & 9 deletions open-api/typescript-sdk/tsconfig.esm.json

This file was deleted.

8 changes: 6 additions & 2 deletions open-api/typescript-sdk/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"esModuleInterop": true,
"strict": true,
"skipLibCheck": true
"skipLibCheck": true,
"declaration": true,
"outDir": "build",
"module": "esnext",
"moduleResolution": "Bundler",
"lib": ["esnext", "dom"]
}
}
9 changes: 0 additions & 9 deletions open-api/typescript-sdk/tsconfig.types.json

This file was deleted.

0 comments on commit bb07577

Please sign in to comment.