diff --git a/bun.lock b/bun.lock index aa7e63a..5e0240d 100644 --- a/bun.lock +++ b/bun.lock @@ -5,6 +5,7 @@ "": { "devDependencies": { "@biomejs/biome": "catalog:build", + "@types/node": "catalog:", "tsc-alias": "^1.8.16", "typescript": "5.9.3", }, @@ -191,6 +192,7 @@ }, "catalog": { "@types/bun": "^1.3.3", + "@types/node": "^25.5.0", }, "catalogs": { "build": { diff --git a/package.json b/package.json index 390ab2d..2db9a9c 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ }, "devDependencies": { "@biomejs/biome": "catalog:build", + "@types/node": "catalog:", "tsc-alias": "^1.8.16", "typescript": "5.9.3" }, @@ -20,7 +21,8 @@ "packages/*" ], "catalog": { - "@types/bun": "^1.3.3" + "@types/bun": "^1.3.3", + "@types/node": "^25.5.0" }, "catalogs": { "build": { diff --git a/scripts/npm-publish/pack-and-validate.mjs b/scripts/npm-publish/pack-and-validate.mjs index afc3a5b..6266b4c 100644 --- a/scripts/npm-publish/pack-and-validate.mjs +++ b/scripts/npm-publish/pack-and-validate.mjs @@ -83,6 +83,8 @@ for (const entry of packed) { devDependencies: { typescript: rootPackage.devDependencies.typescript, '@types/bun': rootPackage.workspaces.catalog['@types/bun'], + // bun-types asks for @types/node '*'; npm reads that as the stale latest tag, bun as the newest. + '@types/node': rootPackage.workspaces.catalog['@types/node'], '@types/react': clientReact?.devDependencies?.['@types/react'], '@types/react-dom': clientReact?.devDependencies?.['@types/react-dom'], },