Skip to content

Commit 2b5d725

Browse files
os-zhuangclaude
andcommitted
chore(create-objectstack): drop deprecated @types/tar devDependency
tar v7 ships its own TypeScript declarations, so the standalone @types/tar stub is deprecated and redundant — it only emitted a `WARN deprecated @types/tar@7.0.87` line on every `pnpm install`. `import * as tar from 'tar'` now resolves against tar's bundled types; the package still builds and type-checks clean, and dist/ is byte-identical. devDependency-only, ships nothing (empty changeset — create-objectstack is in the lockstep fixed group and must not drag the stack up a patch for a no-op). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent d8b8354 commit 2b5d725

3 files changed

Lines changed: 16 additions & 12 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
---
3+
4+
chore(create-objectstack): drop the deprecated `@types/tar` devDependency
5+
6+
`tar` v7 ships its own TypeScript declarations (its `types` field points at
7+
`dist/commonjs/index.d.ts`), so the standalone `@types/tar` package is
8+
deprecated and redundant — it only emitted a `WARN deprecated @types/tar` line
9+
on every `pnpm install`. `import * as tar from 'tar'` in `src/index.ts` now
10+
resolves against tar's bundled types, and the package still builds and
11+
type-checks clean.
12+
13+
devDependency-only change: it is not shipped to consumers and `dist/` is
14+
byte-identical, so this releases nothing (empty changeset, no version bump —
15+
`create-objectstack` is in the lockstep `fixed` group and must not drag the
16+
whole stack up a patch for a no-op).

packages/create-objectstack/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
},
2727
"devDependencies": {
2828
"@types/node": "^26.1.1",
29-
"@types/tar": "^7.0.87",
3029
"tsup": "^8.5.1",
3130
"typescript": "^6.0.3",
3231
"vitest": "^4.1.10"

pnpm-lock.yaml

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)