Skip to content

Commit 5b170b1

Browse files
committed
fix(typescript): local alias import for JSR
1 parent 1ec317f commit 5b170b1

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ jobs:
6868
- name: Build
6969
run: npm run build
7070

71+
- name: Validate JSR publish (dry-run)
72+
run: npx jsr publish --dry-run
73+
7174
- name: Test
7275
run: npm run test
7376

typescript/src/ai/toolkit.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import SumUp from "@sumup/sdk";
22

33
import { type ToolSet, tool, zodSchema } from "ai";
4-
5-
import { registerTools } from "src/common";
64
import type z from "zod";
5+
import { registerTools } from "../common";
76

87
class SumUpAgentToolkit {
98
private _sumup: SumUp;

typescript/src/openai/toolkit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { tool } from "@openai/agents";
22
import SumUp from "@sumup/sdk";
3-
import { registerTools } from "src/common";
43
import type z from "zod";
4+
import { registerTools } from "../common";
55

66
type AgentFunctionTool = ReturnType<typeof tool>;
77

0 commit comments

Comments
 (0)