Skip to content
On this page

fresh-sveltekit-app-typescript

Fresh SvelteKit app, with TypeScript, automatically generated everyday with yarn create svelte

Result

Time spent0m 33s
Disk usage145 MB
pwuser@factory:/workspace$ yarn create svelte 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-svelte@2.0.0-next.192" with binaries:
      - create-svelte
[######] 6/6
create-svelte version 2.0.0-next.192

Welcome to SvelteKit!

This is release candidate software; expect bugs and missing features.

Problems? Open an issue on https://github.com/sveltejs/kit/issues if none exists already.

 Which Svelte app template?  SvelteKit demo app
 Add type checking with TypeScript?  Yes, using TypeScript syntax
 Add ESLint for code linting?  No / Yes
 Add Prettier for code formatting?  No / Yes
 Add Playwright for browser testing?  No / Yes

Your project is ready!
✔ Typescript
  Inside Svelte components, use <script lang="ts">
✔ ESLint
  https://github.com/sveltejs/eslint-plugin-svelte3
✔ Prettier
  https://prettier.io/docs/en/options.html
  https://github.com/sveltejs/prettier-plugin-svelte#options
✔ Playwright
  https://playwright.dev

Install community-maintained integrations:
  https://github.com/svelte-add/svelte-adders

Next steps:
  1: cd fresh-app
  2: npm install (or pnpm install, etc)
  3: git init && git add -A && git commit -m "Initial commit" (optional)
  4: npm run dev -- --open

To close the dev server, hit Ctrl-C

Stuck? Visit us at https://svelte.dev/chat

Done in 1.48s.
pwuser@factory:/workspace$ cd fresh-app
pwuser@factory:/workspace/fresh-app$ yarn
yarn install v1.22.19
warning package.json: No license field
info No lockfile found.
warning fresh-app@0.0.1: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 13.78s.
pwuser@factory:/workspace/fresh-app$ yarn build
yarn run v1.22.19
warning package.json: No license field
$ vite build

vite v3.2.4 building for production...
✓ 62 modules transformed.
12:29:40 AM [vite-plugin-svelte] dom compile done.
package  CfilesC timeC   avg
fresh-appC    9C0.56sC62.0ms

vite v3.2.4 building SSR bundle for production...
transforming (68) src/routes/styles.css"confetti" is imported from external module "@neoconfetti/svelte" but never used in "src/routes/sverdle/+page.svelte".
 68 modules transformed.
12:29:41 AM [vite-plugin-svelte] ssr compile done.
package  CfilesC  timeC  avg
fresh-appC    9C81.4msC9.0ms
Generated an empty chunk: "hooks"
.svelte-kit/output/server/vite-manifest.json                                  4.10 KiB
.svelte-kit/output/server/index.js                                            75.79 KiB
.svelte-kit/output/server/entries/pages/_layout.svelte.js                     4.51 KiB
.svelte-kit/output/server/entries/fallbacks/error.svelte.js                   0.60 KiB
.svelte-kit/output/server/entries/pages/_page.svelte.js                       7.28 KiB
.svelte-kit/output/server/entries/pages/_page.ts.js                           0.05 KiB
.svelte-kit/output/server/entries/pages/about/_page.svelte.js                 1.06 KiB
.svelte-kit/output/server/entries/pages/about/_page.ts.js                     0.13 KiB
.svelte-kit/output/server/entries/pages/sverdle/_page.svelte.js               7.64 KiB
.svelte-kit/output/server/entries/pages/sverdle/_page.server.ts.js            141.76 KiB
.svelte-kit/output/server/entries/pages/sverdle/how-to-play/_page.svelte.js   2.85 KiB
.svelte-kit/output/server/entries/pages/sverdle/how-to-play/_page.ts.js       0.13 KiB
.svelte-kit/output/server/chunks/index.js                                     4.29 KiB
.svelte-kit/output/server/chunks/index2.js                                    1.22 KiB
.svelte-kit/output/server/chunks/index3.js                                    1.29 KiB
.svelte-kit/output/server/chunks/stores.js                                    1.00 KiB
.svelte-kit/output/server/chunks/environment.js                               0.04 KiB
.svelte-kit/output/server/chunks/hooks.js                                     0.00 KiB

Run npm run preview to preview your production build locally.
.svelte-kit/output/client/_app/immutable/assets/svelte-welcome-c18bcf5a.webp                             112.76 KiB
.svelte-kit/output/client/_app/immutable/assets/svelte-welcome-6c300099.png                              352.35 KiB
.svelte-kit/output/client/_app/immutable/assets/svelte-logo-87df40b8.svg                                 1.85 KiB
.svelte-kit/output/client/_app/immutable/assets/github-1ea8d62e.svg                                      1.71 KiB
.svelte-kit/output/client/_app/immutable/assets/fira-mono-cyrillic-ext-400-normal-3df7909e.woff2         15.40 KiB
.svelte-kit/output/client/_app/immutable/assets/fira-mono-cyrillic-400-normal-c7d433fd.woff2             8.89 KiB
.svelte-kit/output/client/_app/immutable/assets/fira-mono-greek-ext-400-normal-9e2fe623.woff2            7.33 KiB
.svelte-kit/output/client/_app/immutable/assets/fira-mono-greek-400-normal-a8be01ce.woff2                10.27 KiB
.svelte-kit/output/client/_app/immutable/assets/fira-mono-latin-ext-400-normal-6bfabd30.woff2            11.10 KiB
.svelte-kit/output/client/_app/immutable/assets/fira-mono-latin-400-normal-e43b3538.woff2                15.90 KiB
.svelte-kit/output/client/_app/immutable/assets/fira-mono-all-400-normal-1e3b098c.woff                   75.55 KiB
.svelte-kit/output/client/vite-manifest.json                                                             9.40 KiB
.svelte-kit/output/client/_app/immutable/components/pages/_layout.svelte-786dc9ae.js                     5.03 KiB / gzip: 1.91 KiB
.svelte-kit/output/client/_app/immutable/components/error.svelte-a219a036.js                             1.54 KiB / gzip: 0.71 KiB
.svelte-kit/output/client/_app/immutable/components/pages/_page.svelte-7f588a96.js                       5.55 KiB / gzip: 2.46 KiB
.svelte-kit/output/client/_app/immutable/start-5a3b3a9d.js                                               26.68 KiB / gzip: 10.17 KiB
.svelte-kit/output/client/_app/immutable/components/pages/about/_page.svelte-baa94e54.js                 2.43 KiB / gzip: 1.09 KiB
.svelte-kit/output/client/_app/immutable/components/pages/sverdle/_page.svelte-bf2c7d47.js               14.14 KiB / gzip: 5.76 KiB
.svelte-kit/output/client/_app/immutable/components/pages/sverdle/how-to-play/_page.svelte-b00a98bc.js   5.14 KiB / gzip: 1.92 KiB
.svelte-kit/output/client/_app/immutable/modules/pages/_page.ts-e9fa0128.js                              0.07 KiB / gzip: 0.08 KiB
.svelte-kit/output/client/_app/immutable/modules/pages/about/_page.ts-dd7f9414.js                        0.14 KiB / gzip: 0.12 KiB
.svelte-kit/output/client/_app/immutable/modules/pages/sverdle/how-to-play/_page.ts-9ea359b6.js          0.14 KiB / gzip: 0.12 KiB
.svelte-kit/output/client/_app/immutable/chunks/singletons-764b4606.js                                   1.65 KiB / gzip: 0.89 KiB
.svelte-kit/output/client/_app/immutable/chunks/parse-c28c2630.js                                        1.24 KiB / gzip: 0.58 KiB
.svelte-kit/output/client/_app/immutable/chunks/index-a0c21c80.js                                        7.97 KiB / gzip: 3.26 KiB
.svelte-kit/output/client/_app/immutable/chunks/index-5caf810e.js                                        0.43 KiB / gzip: 0.30 KiB
.svelte-kit/output/client/_app/immutable/chunks/stores-19459dce.js                                       0.61 KiB / gzip: 0.36 KiB
.svelte-kit/output/client/_app/immutable/chunks/_page-802cc2a3.js                                        0.14 KiB / gzip: 0.14 KiB
.svelte-kit/output/client/_app/immutable/chunks/_page-cdc946a0.js                                        0.20 KiB / gzip: 0.18 KiB
.svelte-kit/output/client/_app/immutable/chunks/environment-b04a8a58.js                                  0.03 KiB / gzip: 0.05 KiB
.svelte-kit/output/client/_app/immutable/chunks/_page-0d81434c.js                                        0.20 KiB / gzip: 0.18 KiB
.svelte-kit/output/client/_app/immutable/chunks/0-11be61a0.js                                            0.09 KiB / gzip: 0.10 KiB
.svelte-kit/output/client/_app/immutable/chunks/1-a4312be3.js                                            0.09 KiB / gzip: 0.09 KiB
.svelte-kit/output/client/_app/immutable/chunks/2-49c8cc22.js                                            0.14 KiB / gzip: 0.13 KiB
.svelte-kit/output/client/_app/immutable/chunks/3-41eaf73b.js                                            0.15 KiB / gzip: 0.13 KiB
.svelte-kit/output/client/_app/immutable/chunks/4-b54d9984.js                                            0.12 KiB / gzip: 0.12 KiB
.svelte-kit/output/client/_app/immutable/chunks/5-3556ab74.js                                            0.16 KiB / gzip: 0.14 KiB
.svelte-kit/output/client/_app/immutable/assets/_page-265a38f0.css                                       1.41 KiB / gzip: 0.51 KiB
.svelte-kit/output/client/_app/immutable/assets/_page-2c27b08c.css                                       3.79 KiB / gzip: 1.06 KiB
.svelte-kit/output/client/_app/immutable/assets/_page-89a9e780.css                                       0.79 KiB / gzip: 0.34 KiB
.svelte-kit/output/client/_app/immutable/assets/_layout-c5c520a0.css                                     4.92 KiB / gzip: 1.56 KiB

> Using @sveltejs/adapter-auto
  Could not detect a supported production environment. See https://kit.svelte.dev/docs/adapters to learn how to configure your app to run on the platform of your choosing
  ✔ done
Done in 3.93s.
pwuser@factory:/workspace/fresh-app$ cd /workspace/fresh-app
pwuser@factory:/workspace/fresh-app$ /opt/factory/bin/screenshot 'yarn preview' 4173 || true; echo 'Finished taking screenshot.'
+ start-test 'yarn preview' :4173 'cd /workspace && (playwright screenshot --viewport-size=1280,720 http://localhost:4173 /workspace/screenshot.png; playwright screenshot --viewport-size=1280,720 --wait-for-timeout=4096 http://localhost:4173 /workspace/screenshot.png)'
1: starting server using command "yarn preview"
and when url "[ 'http://localhost:4173' ]" is responding with HTTP status code 200
running tests using command "cd /workspace && (playwright screenshot --viewport-size=1280,720 http://localhost:4173 /workspace/screenshot.png; playwright screenshot --viewport-size=1280,720 --wait-for-timeout=4096 http://localhost:4173 /workspace/screenshot.png)"

yarn run v1.22.19
warning package.json: No license field
$ vite preview

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

Screenshot

Screenshot