|
2 | 2 | > ls packages/hello/dist # should have the library |
3 | 3 | index.cjs |
4 | 4 |
|
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. |
16 | 8 |
|
17 | 9 | > vp run array-config#build # should build the library supports array config |
18 | 10 | > ls packages/array-config/dist # should have the library |
19 | 11 | index.d.mts |
20 | 12 | index.mjs |
21 | 13 |
|
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. |
34 | 17 |
|
35 | 18 | > vp run default-config#build # should build the library supports default config |
36 | 19 | > ls packages/default-config/dist # should have the library |
37 | 20 | index.mjs |
38 | 21 |
|
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. |
0 commit comments