Skip to content

Commit cb1359d

Browse files
committed
chore: bump vite-task to ffd0eed3
Closes #1095
1 parent 2ce7af3 commit cb1359d

5 files changed

Lines changed: 38 additions & 66 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ dunce = "1.0.5"
8585
fast-glob = "1.0.0"
8686
flate2 = { version = "=1.1.9", features = ["zlib-rs"] }
8787
form_urlencoded = "1.2.1"
88-
fspy = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "69cc6eba95a3b7f25f7d4d32c3f29b1386995907" }
88+
fspy = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "ffd0eed36cf20d3fbefc1e451b5a7c2b3ca44cd6" }
8989
futures = "0.3.31"
9090
futures-util = "0.3.31"
9191
glob = "0.3.2"
@@ -185,15 +185,15 @@ vfs = "0.13.0"
185185
vite_command = { path = "crates/vite_command" }
186186
vite_error = { path = "crates/vite_error" }
187187
vite_js_runtime = { path = "crates/vite_js_runtime" }
188-
vite_glob = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "69cc6eba95a3b7f25f7d4d32c3f29b1386995907" }
188+
vite_glob = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "ffd0eed36cf20d3fbefc1e451b5a7c2b3ca44cd6" }
189189
vite_install = { path = "crates/vite_install" }
190190
vite_migration = { path = "crates/vite_migration" }
191191
vite_shared = { path = "crates/vite_shared" }
192192
vite_static_config = { path = "crates/vite_static_config" }
193-
vite_path = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "69cc6eba95a3b7f25f7d4d32c3f29b1386995907" }
194-
vite_str = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "69cc6eba95a3b7f25f7d4d32c3f29b1386995907" }
195-
vite_task = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "69cc6eba95a3b7f25f7d4d32c3f29b1386995907" }
196-
vite_workspace = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "69cc6eba95a3b7f25f7d4d32c3f29b1386995907" }
193+
vite_path = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "ffd0eed36cf20d3fbefc1e451b5a7c2b3ca44cd6" }
194+
vite_str = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "ffd0eed36cf20d3fbefc1e451b5a7c2b3ca44cd6" }
195+
vite_task = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "ffd0eed36cf20d3fbefc1e451b5a7c2b3ca44cd6" }
196+
vite_workspace = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "ffd0eed36cf20d3fbefc1e451b5a7c2b3ca44cd6" }
197197
walkdir = "2.5.0"
198198
wax = "0.6.0"
199199
which = "8.0.0"

packages/cli/snap-tests/command-pack-monorepo/snap.txt

Lines changed: 9 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,23 @@
22
> ls packages/hello/dist # should have the library
33
index.cjs
44

5-
> vp run hello#build 2>&1 # should hit cache but not working for now
6-
~/packages/hello$ vp pack
7-
ℹ entry: src/index.ts
8-
ℹ Build start
9-
ℹ Cleaning 1 files
10-
ℹ dist/index.cjs <variable> kB │ gzip: <variable> kB
11-
ℹ 1 files, total: <variable> kB
12-
✔ Build complete in <variable>ms
13-
14-
---
15-
vp run: hello#build not cached because it modified its input. (Run `vp run --last-details` for full details)
5+
> vp run hello#build 2>&1 | grep 'cache hit' # should hit cache
6+
~/packages/hello$ vp pack ◉ cache hit, replaying
7+
vp run: cache hit, <variable>ms saved.
168

179
> vp run array-config#build # should build the library supports array config
1810
> ls packages/array-config/dist # should have the library
1911
index.d.mts
2012
index.mjs
2113

22-
> vp run array-config#build 2>&1 # should hit cache but not working
23-
~/packages/array-config$ vp pack
24-
ℹ entry: src/sub/index.ts
25-
ℹ Build start
26-
ℹ Cleaning 2 files
27-
ℹ dist/index.mjs <variable> kB │ gzip: <variable> kB
28-
ℹ dist/index.d.mts <variable> kB │ gzip: <variable> kB
29-
ℹ 2 files, total: <variable> kB
30-
✔ Build complete in <variable>ms
31-
32-
---
33-
vp run: array-config#build not cached because it modified its input. (Run `vp run --last-details` for full details)
14+
> vp run array-config#build 2>&1 | grep 'cache hit' # should hit cache
15+
~/packages/array-config$ vp pack ◉ cache hit, replaying
16+
vp run: cache hit, <variable>ms saved.
3417

3518
> vp run default-config#build # should build the library supports default config
3619
> ls packages/default-config/dist # should have the library
3720
index.mjs
3821

39-
> vp run default-config#build 2>&1 # should hit cache but not working
40-
~/packages/default-config$ vp pack
41-
ℹ entry: src/index.ts
42-
ℹ Build start
43-
ℹ Cleaning 1 files
44-
ℹ dist/index.mjs <variable> kB │ gzip: <variable> kB
45-
ℹ 1 files, total: <variable> kB
46-
✔ Build complete in <variable>ms
47-
48-
---
49-
vp run: default-config#build not cached because it modified its input. (Run `vp run --last-details` for full details)
22+
> vp run default-config#build 2>&1 | grep 'cache hit' # should hit cache
23+
~/packages/default-config$ vp pack ◉ cache hit, replaying
24+
vp run: cache hit, <variable>ms saved.

packages/cli/snap-tests/command-pack-monorepo/steps.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
"ignoreOutput": true
77
},
88
"ls packages/hello/dist # should have the library",
9-
"vp run hello#build 2>&1 # should hit cache but not working for now",
9+
"vp run hello#build 2>&1 | grep 'cache hit' # should hit cache",
1010
{
1111
"command": "vp run array-config#build # should build the library supports array config",
1212
"ignoreOutput": true
1313
},
1414
"ls packages/array-config/dist # should have the library",
15-
"vp run array-config#build 2>&1 # should hit cache but not working",
15+
"vp run array-config#build 2>&1 | grep 'cache hit' # should hit cache",
1616
{
1717
"command": "vp run default-config#build # should build the library supports default config",
1818
"ignoreOutput": true
1919
},
2020
"ls packages/default-config/dist # should have the library",
21-
"vp run default-config#build 2>&1 # should hit cache but not working"
21+
"vp run default-config#build 2>&1 | grep 'cache hit' # should hit cache"
2222
]
2323
}

packages/cli/snap-tests/command-pack/snap.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,17 @@ $ vp pack src/index.ts
5959
ℹ 1 files, total: <variable> kB
6060
✔ Build complete in <variable>ms
6161

62-
---
63-
vp run: command-pack#pack not cached because it modified its input. (Run `vp run --last-details` for full details)
6462

6563
> ls dist # should have the library
6664
index.mjs
6765

6866
> vp run pack # should hit cache
69-
$ vp pack src/index.ts
67+
$ vp pack src/index.ts ◉ cache hit, replaying
7068
ℹ entry: src/index.ts
7169
ℹ Build start
72-
ℹ Cleaning 1 files
7370
ℹ dist/index.mjs <variable> kB │ gzip: <variable> kB
7471
ℹ 1 files, total: <variable> kB
7572
✔ Build complete in <variable>ms
7673

7774
---
78-
vp run: command-pack#pack not cached because it modified its input. (Run `vp run --last-details` for full details)
75+
vp run: cache hit, <variable>ms saved.

0 commit comments

Comments
 (0)