Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/muonw/muonw-sveltekit-template

A project template based on SvelteKit. If you are looking for SvelteKit, please visit https://github.com/sveltejs/kit or https://kit.svelte.dev
https://github.com/muonw/muonw-sveltekit-template

Last synced: 5 days ago
JSON representation

A project template based on SvelteKit. If you are looking for SvelteKit, please visit https://github.com/sveltejs/kit or https://kit.svelte.dev

Awesome Lists containing this project

README

        

A project template based on SvelteKit. If you are looking for SvelteKit, please visit [github.com/sveltejs/kit](https://github.com/sveltejs/kit) or [kit.svelte.dev](https://kit.svelte.dev/)

```sh
PROJECT_NAME=myproject_$(date +%s)

if [ -d "$PROJECT_NAME" ]; then
echo "$PROJECT_NAME already exists!"; exit
fi

wget -O "${PROJECT_NAME}.zip" https://github.com/muonw/muonw-sveltekit-template/archive/refs/heads/main.zip
unzip "${PROJECT_NAME}.zip" -d "${PROJECT_NAME}"
rm "${PROJECT_NAME}.zip"
cd "${PROJECT_NAME}"
default_dir=$(echo */)

if [ ! -z "${default_dir}" ]; then
shopt -s dotglob
mv "${default_dir}"* ./ && rm -r ./"${default_dir}"
fi
```

Base: Skeleton project + Typescript + ESLint + Prettier

### Summary of the modifications:

- src/lib/index.ts added

- src/lib/styles/global.scss added

- src/routes/+layout.ts
- prerender: true
- ssr: false

- static
- @muonw/mascara static files added
- .nojekyll added
- favicon.webp and favicon-dark.webp added

- .gitignore
- /package-lock.json added

- .npmrc
- @muonw registry added

- package.json
- skeleton & library combined
- license updated
- dependencies
- @sveltejs/adapter-auto --> @sveltejs/adapter-static
- @sveltejs/package added
- @muonw/mascara added
- sass added
- versions updated

- svelte.config.js
- adapter: auto --> static
- adapter pages & assets: docs

- tsconfig.json
- sourceMap --> false