Skip to content

Commit

Permalink
more build fixes 0.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
scottwey committed Jul 30, 2023
1 parent d384600 commit bc1ca0a
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 13 deletions.
22 changes: 15 additions & 7 deletions typescript-openai/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{
"compilerOptions": {
"target": "ES5",
"lib": ["ES2015"],
"types": ["node"],
"esModuleInterop": true,
}
}
"compilerOptions": {
"moduleResolution": "node",
"target": "es5",
"module": "es2015",
"lib": ["es2015", "es2016", "es2017", "dom"],
"strict": true,
"sourceMap": false,
"declaration": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"typeRoots": ["node_modules/@types"]
},
"include": ["src"]
}
2 changes: 1 addition & 1 deletion typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "starpoint",
"author": "pointable <package-maintainers@pointable.ai>",
"version": "0.3.6",
"version": "0.3.7",
"description": "TypeScript API for starpoint.ai",
"source": "src/index.ts",
"types": "dist/index.d.ts",
Expand Down
16 changes: 12 additions & 4 deletions typescript/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{
"compilerOptions": {
"target": "ES5",
"lib": ["ES2015"],
"esModuleInterop": true,
"moduleResolution": "node",
"target": "es5",
"module": "es2015",
"lib": ["es2015", "es2016", "es2017", "dom"],
"strict": true,
"sourceMap": false,
"declaration": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"typeRoots": ["node_modules/@types"]
},
"include": ["src", "writer/types"]
"include": ["src"]
}
2 changes: 1 addition & 1 deletion typescript/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export default defineConfig({
fileName: "index",
},
},
plugins: [dts()],
plugins: [dts({ staticImport: true, rollupTypes: true })],
});

0 comments on commit bc1ca0a

Please sign in to comment.