Skip to content
On this page

fresh-vite-app-lit-element

Fresh Lit Element, automatically generated everyday with yarn create vite fresh-app --template=lit

Result

Time spent0m 16s
Disk usage22 MB
pwuser@factory:/workspace$ bash -exc 'yarn create vite fresh-app --template=lit && cd fresh-app && yarn && yarn build' < /dev/null; echo 'Finished running generator.'
+ yarn create vite fresh-app --template=lit
cd /workspace/fresh-app
yarn create v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

success Installed "create-vite@3.2.1" with binaries:
      - create-vite
      - cva
[##] 2/2
Scaffolding project in /workspace/fresh-app...

Done. Now run:

  cd fresh-app
  yarn
  yarn dev

Done in 0.56s.
+ cd fresh-app
+ yarn
yarn install v1.22.19
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 4.50s.
+ yarn build
yarn run v1.22.19
$ vite build
/opt/factory/bin/screenshot 'yarn dev --clearScreen=false' 5173 || true; echo 'Finished taking screenshot.'
exit
vite v3.2.5 building for production...
✓ 2 modules transformed.
dist/fresh-app.js   3.16 KiB / gzip: 1.50 KiB
Done in 0.46s.
Finished running generator.
pwuser@factory:/workspace$ cd /workspace/fresh-app
pwuser@factory:/workspace/fresh-app$ /opt/factory/bin/screenshot 'yarn dev --clearScreen=false' 5173 || true; echo 'Finished taking screenshot.'
+ start-test 'yarn dev --clearScreen=false' :5173 'cd /workspace && (playwright screenshot --viewport-size=1280,720 http://localhost:5173 /workspace/screenshot.png; playwright screenshot --viewport-size=1280,720 --wait-for-timeout=4096 http://localhost:5173 /workspace/screenshot.png)'
1: starting server using command "yarn dev --clearScreen=false"
and when url "[ 'http://localhost:5173' ]" is responding with HTTP status code 200
running tests using command "cd /workspace && (playwright screenshot --viewport-size=1280,720 http://localhost:5173 /workspace/screenshot.png; playwright screenshot --viewport-size=1280,720 --wait-for-timeout=4096 http://localhost:5173 /workspace/screenshot.png)"

yarn run v1.22.19
$ vite --clearScreen=false

  VITE v3.2.5  ready in 266 ms

    Local:   http://localhost:5173/
    Network: use --host to expose
Navigating to http://localhost:5173
Capturing screenshot into /workspace/screenshot.png
Navigating to http://localhost:5173
Waiting for timeout 4096...
Capturing screenshot into /workspace/screenshot.png
Finished taking screenshot.
pwuser@factory:/workspace/fresh-app$ exit
exitBD

Screenshot

Screenshot