Skip to content

Commit

Permalink
chore(internal): fix tsc usage
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored and RobertCraigie committed Jul 7, 2023
1 parent 4df2713 commit 2b4bce4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ set -exuo pipefail

node scripts/check-version.cjs

yarn tsc

# Build into dist and will publish the package from there,
# so that src/resources/foo.ts becomes <package root>/resources/foo.js
# This way importing from `"@anthropic-ai/sdk/resources/foo"` works
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
"rootDir": "./src",
"rootDir": "./",
"baseUrl": "./",
"paths": {
"@anthropic-ai/sdk/_shims/*": ["src/_shims/*.node"],
Expand Down

0 comments on commit 2b4bce4

Please sign in to comment.