Appearance
fresh-astro-project
Fresh Astro project, with TypeScript, automatically generated everyday with yarn create astro --template basics
Result
Time spent | 0m 44s |
---|---|
Disk usage | 159 MB |
pwuser@factory:/workspace$ yarn create astro fresh-app --template basics --install --git=false --typescript=strict
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-astro@1.2.3" with binaries:
- create-astro
╭─────╮ Houston:
│ ◠ ◡ ◠ Let's build something awesome!
╰─────╯
astro v1.6.14 Launch sequence initiated.
✔ Using fresh-app as project directory.
✔ Template copied!
✔ Packages installed!
✔ Git repository created!
✔ TypeScript settings applied!
next Liftoff confirmed. Explore your project!
Enter your project directory using cd ./fresh-app
Run yarn dev to start the dev server. CTRL+C to stop.
Add frameworks like react or tailwind using astro add.
Stuck? Join us at https://astro.build/chat
╭─────╮ Houston:
│ ◠ ◡ ◠ Good luck out there, astronaut!
╰─────╯
Done in 27.55s.
pwuser@factory:/workspace$ cd fresh-app
pwuser@factory:/workspace/fresh-app$ yarn build
yarn run v1.22.19
$ astro build
12:30:43 AM [build] output target: static
12:30:43 AM [build] Collecting build info...
12:30:43 AM [build] Completed in 7ms.
12:30:43 AM [build] Building static entrypoints...
12:30:45 AM [build] Completed in 1.20s.
generating static routes
▶ src/pages/index.astro
└─ /index.html (+36ms)
Completed in 45ms.
12:30:45 AM [build] 1 page(s) built in 1.28s
12:30:45 AM [build] Complete!
Done in 4.16s.
cd /workspace/fresh-app/dist
pwuser@factory:/workspace/fresh-app$ cd /workspace/fresh-app/dist
pwuser@factory:/workspace/fresh-app/dist$ /opt/factory/bin/screenshot 'http-server' 8080 || true; echo 'Finished taking screenshot.'
+ start-test http-server :8080 'cd /workspace && (playwright screenshot --viewport-size=1280,720 http://localhost:8080 /workspace/screenshot.png; playwright screenshot --viewport-size=1280,720 --wait-for-timeout=4096 http://localhost:8080 /workspace/screenshot.png)'
1: starting server using command "http-server"
and when url "[ 'http://localhost:8080' ]" is responding with HTTP status code 200
running tests using command "cd /workspace && (playwright screenshot --viewport-size=1280,720 http://localhost:8080 /workspace/screenshot.png; playwright screenshot --viewport-size=1280,720 --wait-for-timeout=4096 http://localhost:8080 /workspace/screenshot.png)"
Starting up http-server, serving ./
http-server version: 14.1.1
http-server settings:
CORS: disabled
Cache: 3600 seconds
Connection Timeout: 120 seconds
Directory Listings: visible
AutoIndex: visible
Serve GZIP Files: false
Serve Brotli Files: false
Default File Extension: none
Available on:
http://127.0.0.1:8080
http://172.17.0.3:8080
Hit CTRL-C to stop the server
[2022-12-09T00:30:49.194Z] "HEAD /" "axios/0.21.4"
(node:106) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
Navigating to http://localhost:8080
[2022-12-09T00:30:49.684Z] "GET /" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/106.0.5249.30 Safari/537.36"
[2022-12-09T00:30:49.699Z] "GET /assets/index.d1cfef92.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/106.0.5249.30 Safari/537.36"
Capturing screenshot into /workspace/screenshot.png
Navigating to http://localhost:8080
[2022-12-09T00:30:50.299Z] "GET /" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/106.0.5249.30 Safari/537.36"
[2022-12-09T00:30:50.309Z] "GET /assets/index.d1cfef92.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/106.0.5249.30 Safari/537.36"
Waiting for timeout 4096...
Capturing screenshot into /workspace/screenshot.png
http-server stopped.
Finished taking screenshot.
pwuser@factory:/workspace/fresh-app/dist$ exit
exitBD