@linebundle-sdk/ts 1.0.0-rc.5 → 1.0.0-rc.6
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.
- package/package.json +2 -2
- package/tsup.config.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linebundle-sdk/ts",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.6",
|
|
4
4
|
"author": "LineBundle",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./esm/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typescript": "~5.8.3",
|
|
27
27
|
"typescript-eslint": "^8.26.0"
|
|
28
28
|
},
|
|
29
|
-
"
|
|
29
|
+
"peerDependencies": {
|
|
30
30
|
"@hey-api/client-fetch": "^0.13.1",
|
|
31
31
|
"zod": "^3.25.65 || ^4.0.0"
|
|
32
32
|
},
|
package/tsup.config.ts
CHANGED
|
@@ -3,6 +3,10 @@ import { defineConfig } from 'tsup';
|
|
|
3
3
|
export default defineConfig({
|
|
4
4
|
entry: { index: 'src/index.ts' },
|
|
5
5
|
format: ['esm'],
|
|
6
|
+
// Keep peer deps external so their types stay as named references in
|
|
7
|
+
// the generated .d.ts — prevents duplicate-type conflicts when the
|
|
8
|
+
// consuming project also imports from @hey-api/client-fetch directly.
|
|
9
|
+
external: ['@hey-api/client-fetch', 'zod'],
|
|
6
10
|
dts: true,
|
|
7
11
|
outDir: 'esm',
|
|
8
12
|
clean: true,
|