Fix pnpm build: add node-linker=hoisted and tslib deps

- Set node-linker=hoisted in .npmrc for npm-compatible flat node_modules
  (avoids TS2742 errors from .pnpm store paths in declarations)
- Add tslib as devDependency to data-provider, data-schemas, client
  (required by rollup-plugin-typescript2 for importHelpers)
This commit is contained in:
Zach Kelling
2026-02-19 20:51:14 -08:00
parent ada8b9318d
commit 5837f9c609
5 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
node-linker=hoisted
+1
View File
@@ -110,6 +110,7 @@
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-typescript2": "^0.35.0",
"tailwindcss-radix": "^2.8.0",
"tslib": "^2.8.1",
"typescript": "^5.0.0"
}
}
+1
View File
@@ -66,6 +66,7 @@
"rollup": "^4.22.4",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.35.0",
"tslib": "^2.8.1",
"typescript": "^5.0.4"
},
"peerDependencies": {
+1
View File
@@ -55,6 +55,7 @@
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.35.0",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.0.4"
},
"dependencies": {
+9
View File
@@ -1135,6 +1135,9 @@ importers:
tailwindcss-radix:
specifier: ^2.8.0
version: 2.9.0
tslib:
specifier: ^2.8.1
version: 2.8.1
typescript:
specifier: ^5.0.0
version: 5.9.3
@@ -1220,6 +1223,9 @@ importers:
rollup-plugin-typescript2:
specifier: ^0.35.0
version: 0.35.0(rollup@4.57.1)(typescript@5.9.3)
tslib:
specifier: ^2.8.1
version: 2.8.1
typescript:
specifier: ^5.0.4
version: 5.9.3
@@ -1308,6 +1314,9 @@ importers:
ts-node:
specifier: ^10.9.2
version: 10.9.2(@types/node@20.19.33)(typescript@5.9.3)
tslib:
specifier: ^2.8.1
version: 2.8.1
typescript:
specifier: ^5.0.4
version: 5.9.3