File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11> vp run hello#build # should build the library
2- > ls packages/hello/dist # should have the library
3- index.cjs
4-
52> vp run hello#build 2>&1 | grep 'cache hit' # should hit cache
63~/packages/hello$ vp pack ◉ cache hit, replaying
74vp run: cache hit, <variable>ms saved.
@@ -11,18 +8,11 @@ vp run: cache hit, <variable>ms saved.
118~/packages/hello$ vp pack ○ cache miss: 'packages/hello/src/hello.ts' modified, executing
129
1310> vp run array-config#build # should build the library supports array config
14- > ls packages/array-config/dist # should have the library
15- index.d.mts
16- index.mjs
17-
1811> vp run array-config#build 2>&1 | grep 'cache hit' # should hit cache
1912~/packages/array-config$ vp pack ◉ cache hit, replaying
2013vp run: cache hit, <variable>ms saved.
2114
2215> vp run default-config#build # should build the library supports default config
23- > ls packages/default-config/dist # should have the library
24- index.mjs
25-
2616> vp run default-config#build 2>&1 | grep 'cache hit' # should hit cache
2717~/packages/default-config$ vp pack ◉ cache hit, replaying
2818vp run: cache hit, <variable>ms saved.
Original file line number Diff line number Diff line change 11{
2- "ignoredPlatforms" : [" win32" ],
32 "commands" : [
43 {
54 "command" : " vp run hello#build # should build the library" ,
65 "ignoreOutput" : true
76 },
8- " ls packages/hello/dist # should have the library" ,
97 " vp run hello#build 2>&1 | grep 'cache hit' # should hit cache" ,
108 " echo 'export function hello() { console.log(\" changed\" ); }' > packages/hello/src/hello.ts" ,
119 " vp run hello#build 2>&1 | grep 'cache miss' # should miss cache after source change" ,
1210 {
1311 "command" : " vp run array-config#build # should build the library supports array config" ,
1412 "ignoreOutput" : true
1513 },
16- " ls packages/array-config/dist # should have the library" ,
1714 " vp run array-config#build 2>&1 | grep 'cache hit' # should hit cache" ,
1815 {
1916 "command" : " vp run default-config#build # should build the library supports default config" ,
2017 "ignoreOutput" : true
2118 },
22- " ls packages/default-config/dist # should have the library" ,
2319 " vp run default-config#build 2>&1 | grep 'cache hit' # should hit cache"
2420 ]
2521}
Original file line number Diff line number Diff line change 11> vp run app#build # should build the app
2- > ls packages/app/dist # should have the build output
3- assets
4- index.html
5-
62> vp run app#build 2>&1 | grep 'cache hit' # should hit cache
73~/packages/app$ vp build ◉ cache hit, replaying
84vp run: cache hit, <variable>ms saved.
@@ -12,10 +8,6 @@ vp run: cache hit, <variable>ms saved.
128~/packages/app$ vp build ○ cache miss: 'packages/app/index.html' modified, executing
139
1410> vp run web#build # should build the web
15- > ls packages/web/dist # should have the build output
16- assets
17- index.html
18-
1911> vp run web#build 2>&1 | grep 'cache hit' # should hit cache
2012~/packages/web$ vp build ◉ cache hit, replaying
2113vp run: cache hit, <variable>ms saved.
Original file line number Diff line number Diff line change 11{
2- "ignoredPlatforms" : [" win32" ],
32 "commands" : [
43 {
54 "command" : " vp run app#build # should build the app" ,
65 "ignoreOutput" : true
76 },
8- " ls packages/app/dist # should have the build output" ,
97 " vp run app#build 2>&1 | grep 'cache hit' # should hit cache" ,
108 " echo '<html><body><script type=\" module\" >console.log(\" changed\" );</script></body></html>' > packages/app/index.html" ,
119 " vp run app#build 2>&1 | grep 'cache miss' # should miss cache after source change" ,
1210 {
1311 "command" : " vp run web#build # should build the web" ,
1412 "ignoreOutput" : true
1513 },
16- " ls packages/web/dist # should have the build output" ,
1714 " vp run web#build 2>&1 | grep 'cache hit' # should hit cache"
1815 ]
1916}
Original file line number Diff line number Diff line change 11{
2- "ignoredPlatforms" : [" win32" ],
32 "commands" : [
43 {
54 "command" : " vp run build # first build" ,
You can’t perform that action at this time.
0 commit comments