Skip to content
On this page

fresh-vite-app-lit-element-ts

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

Result

Time spent0m 20s
Disk usage86 MB
pwuser@factory:/workspace$ bash -exc 'yarn create vite fresh-app --template=lit-ts && cd fresh-app && yarn && yarn build' < /dev/null; echo 'Finished running generator.'
+ yarn create vite fresh-app --template=lit-ts
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.68s.
+ 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 6.92s.
+ yarn build
yarn run v1.22.19
$ tsc && 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.33 KiB / gzip: 1.67 KiB
Done in 1.49s.
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 245 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