Skip to content

Commit

Permalink
export code-runner separately
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Oct 9, 2024
1 parent b5aa2f0 commit d026229
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions lib/code-runner/safe-resolve-imports-and-evaluate-code.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const resolveImportsAndEvaluateCode = (code: string) => {}
3 changes: 0 additions & 3 deletions lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
export { createCircuitBoard1Template } from "prompt-templates/create-circuit-board1"

// TODO eventually this will be it's own export
export * from "./code-runner"
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@
"license": "MIT",
"author": "Severin Ibarluzea",
"scripts": {
"build": "tsup lib/index.ts --format esm --dts",
"build": "tsup lib/index.ts lib/code-runner/index.ts --format esm --dts",
"test": "bun test --timeout 60000"
},
"exports": {
"./code-runner": "./dist/code-runner/index.js",
".": "./dist/index.js"
},
"type": "module",
"devDependencies": {
"@anthropic-ai/sdk": "^0.27.3",
Expand Down

0 comments on commit d026229

Please sign in to comment.