Skip to content

Commit

Permalink
fixing build
Browse files Browse the repository at this point in the history
  • Loading branch information
buk0vec committed Jan 3, 2024
1 parent 1894354 commit 95f0092
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"name": "instructor-js",
"version": "0.0.1",
"description": "structured outputs for llms",
"main": "./dist/instructor.js",
"module": "./dist/instructor.mjs",
"types": "./dist/instructor.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/instructor.mjs",
"require": "./dist/instructor.js"
}
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"publishConfig": {
"access": "public"
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * as Instructor from "./instructor"
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"resolveJsonModule": true,
"isolatedModules": true,
"incremental": true,
"tsBuildInfoFile": "tsconfig.tsbuildinfo",
"paths": {
"@/*": ["./src/*"]
}
Expand Down

0 comments on commit 95f0092

Please sign in to comment.