@anvia/anthropic 0.3.2 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -65,3 +65,5 @@ pnpm --filter @anvia/anthropic typecheck
65
65
  pnpm --filter @anvia/anthropic test
66
66
  pnpm --filter @anvia/anthropic build
67
67
  ```
68
+
69
+ Package-local `typecheck` and `build` scripts build `@anvia/core` first so core subpath types are available in a fresh worktree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvia/anthropic",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "Anthropic provider adapter for Anvia.",
5
5
  "author": "anvia",
6
6
  "maintainer": "Indra Zulfi",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@anthropic-ai/sdk": "^0.104.1",
30
- "@anvia/core": "^0.4.0"
30
+ "@anvia/core": "^0.5.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "^24.9.1",
@@ -36,8 +36,10 @@
36
36
  "vitest": "^4.0.8"
37
37
  },
38
38
  "scripts": {
39
+ "prebuild": "pnpm --filter @anvia/core build",
39
40
  "build": "tsup src/index.ts --format esm --dts --sourcemap --clean",
40
41
  "test": "vitest run",
42
+ "pretypecheck": "pnpm --filter @anvia/core build",
41
43
  "typecheck": "tsc --noEmit"
42
44
  }
43
45
  }