Skip to content

Commit a24eede

Browse files
feat(deps): upgrade upstream dependencies (#2233)
## Summary - Automated upgrade of upstream dependencies. - Bumps `tsdown` (and `@tsdown/css` / `@tsdown/exe`) from `0.22.13` to `0.22.14` and `@vitejs/devtools` from `0.4.2` to `0.4.5`. - Syncs the new tsdown CLI surface by adding a `--concurrency <count>` option to `vp pack`, with updated help snapshots and a new PTY fixture. - `rolldown` (`v1.2.0`) and `vite` (`v8.1.5`) are unchanged this run. ## Dependency updates | Package | From | To | | --- | --- | --- | | `tsdown` | `0.22.13` | `0.22.14` | | `@tsdown/css` | `0.22.13` | `0.22.14` | | `@tsdown/exe` | `0.22.13` | `0.22.14` | | `@vitejs/devtools` | `0.4.2` | `0.4.5` | ## Code changes - Added `--concurrency <count>` ("Maximum number of Rolldown builds to run in parallel") to `vp pack` (`packages/cli/src/pack-bin.ts`). - Updated pack help snapshots to include the new option (`crates/vite_cli_snapshots/tests/cli_snapshots/fixtures/command_pack/snapshots/command_pack.md`, `crates/vite_cli_snapshots/tests/cli_snapshots/fixtures/command_helper/snapshots/command_helper.md`). - Added a PTY snapshot fixture exercising `vp pack --concurrency` (`crates/vite_cli_snapshots/tests/cli_snapshots/fixtures/command_pack_concurrency/`). - Bumped bundled `tsdown` version to `0.22.14` and `@vitejs/devtools` to `^0.4.5` (`packages/core/package.json`). - Added `@devframes/*` and `verkit` to `minimumReleaseAgeExclude` (`pnpm-workspace.yaml`). - Lockfile updated (`pnpm-lock.yaml`). ## Build status - `sync-remote-and-build`: failure - `build-upstream`: success Co-authored-by: voidzero-guard[bot] <278573678+voidzero-guard[bot]@users.noreply.github.com> Co-authored-by: Charles Wang <3612422+wan9chi@users.noreply.github.com>
1 parent ac67e16 commit a24eede

10 files changed

Lines changed: 160 additions & 99 deletions

File tree

‎crates/vite_cli_snapshots/tests/cli_snapshots/fixtures/command_helper/snapshots/command_helper.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Options:
8686
--root <dir> Root directory of input files
8787
--exe Bundle as executable
8888
-W, --workspace [dir] Enable workspace mode
89+
--concurrency <count> Maximum number of Rolldown builds to run in parallel
8990
-F, --filter <pattern> Filter configs (cwd or name), e.g. /pkg-name$/ or pkg-name
9091
--exports Generate export-related metadata for package.json (experimental)
9192
-h, --help Display this message

‎crates/vite_cli_snapshots/tests/cli_snapshots/fixtures/command_pack/snapshots/command_pack.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Options:
5353
--root <dir> Root directory of input files
5454
--exe Bundle as executable
5555
-W, --workspace [dir] Enable workspace mode
56+
--concurrency <count> Maximum number of Rolldown builds to run in parallel
5657
-F, --filter <pattern> Filter configs (cwd or name), e.g. /pkg-name$/ or pkg-name
5758
--exports Generate export-related metadata for package.json (experimental)
5859
-h, --help Display this message
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "command-pack-concurrency",
3+
"version": "1.0.0",
4+
"type": "module"
5+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[[case]]
2+
name = "command_pack_concurrency"
3+
vp = "local"
4+
skip-platforms = ["windows"]
5+
steps = [
6+
{ argv = ["vp", "pack", "--concurrency", "1", "src/index.ts"], comment = "should bundle with tsdown --concurrency flag forwarded", continue-on-failure = true },
7+
]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# command_pack_concurrency
2+
3+
## `vp pack --concurrency 1 src/index.ts`
4+
5+
should bundle with tsdown --concurrency flag forwarded
6+
7+
```
8+
ℹ entry: src/index.ts
9+
ℹ Build start
10+
ℹ dist/index.mjs <size> kB │ gzip: <size> kB
11+
ℹ 1 files, total: <size> kB
12+
✔ Build complete in <duration>
13+
```
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import path from 'node:path';
2+
3+
console.log(path.join('a', 'b'));

‎packages/cli/src/pack-bin.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ cli
134134
.option('--root <dir>', 'Root directory of input files')
135135
.option('--exe', 'Bundle as executable')
136136
.option('-W, --workspace [dir]', 'Enable workspace mode')
137+
.option('--concurrency <count>', 'Maximum number of Rolldown builds to run in parallel')
137138
.option('-F, --filter <pattern>', 'Filter configs (cwd or name), e.g. /pkg-name$/ or pkg-name')
138139
.option('--exports', 'Generate export-related metadata for package.json (experimental)')
139140
.action(async (input: string[], flags: InlineConfig) => {

‎packages/core/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"@oxc-node/core": "catalog:",
117117
"@tsdown/css": "catalog:",
118118
"@tsdown/exe": "catalog:",
119-
"@vitejs/devtools": "^0.4.2",
119+
"@vitejs/devtools": "^0.4.5",
120120
"es-module-lexer": "^1.7.0",
121121
"hookable": "^6.0.1",
122122
"magic-string": "^0.30.21",
@@ -216,6 +216,6 @@
216216
"bundledVersions": {
217217
"vite": "8.1.5",
218218
"rolldown": "1.2.0",
219-
"tsdown": "0.22.13"
219+
"tsdown": "0.22.14"
220220
}
221221
}

‎pnpm-lock.yaml‎

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

‎pnpm-workspace.yaml‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ catalog:
2424
'@rollup/plugin-commonjs': ^29.0.0
2525
'@rollup/plugin-json': ^6.1.0
2626
'@rollup/plugin-node-resolve': ^16.0.0
27-
'@tsdown/css': ^0.22.13
28-
'@tsdown/exe': ^0.22.13
27+
'@tsdown/css': ^0.22.14
28+
'@tsdown/exe': ^0.22.14
2929
'@types/babel__core': 7.20.5
3030
'@types/connect': ^3.4.38
3131
'@types/cross-spawn': ^6.0.6
@@ -118,7 +118,7 @@ catalog:
118118
terser: ^5.44.1
119119
tinybench: ^6.0.0
120120
tinyexec: ^1.0.1
121-
tsdown: ^0.22.13
121+
tsdown: ^0.22.14
122122
tsx: ^4.22.0
123123
typescript: ^6.0.0
124124
unified: ^11.0.5
@@ -143,6 +143,7 @@ ignoreScripts: true
143143
minimumReleaseAge: 1440
144144
minimumReleaseAgeExclude:
145145
- '@babel/*'
146+
- '@devframes/*'
146147
- '@napi-rs/*'
147148
- '@nkzw/*'
148149
- '@oxc-node/*'
@@ -182,6 +183,7 @@ minimumReleaseAgeExclude:
182183
- tsdown
183184
- tsx
184185
- unrun
186+
- verkit
185187
- vite
186188
- vitepress
187189
- vitest

0 commit comments

Comments
 (0)