No description
- Svelte 45.7%
- JavaScript 34.3%
- HTML 14.1%
- CSS 3.6%
- TypeScript 1.9%
- Other 0.3%
Major changes: - Excluded fortday game files and meta/scripts from ESLint (legacy global scripts) - Removed unused imports and variables across game components - Converted catch blocks to modern parameterless syntax - Replaced Set/Map with SvelteSet/SvelteMap for reactivity - Converted any types to unknown for API response handling - Added keys to each blocks for proper reconciliation - Removed unnecessary snippet declarations in Field components - Added comments to intentional empty catch blocks - Fixed import sorting Remaining 15 errors are mostly unnecessary conditionals that require understanding game logic to determine if they are truly redundant or serve a purpose. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .forgejo/workflows | ||
| .husky | ||
| .vscode | ||
| charts/davidnet-home-frontend | ||
| community_games | ||
| meta/scripts | ||
| project.inlang | ||
| src | ||
| static | ||
| translations | ||
| .env.example | ||
| .gitignore | ||
| .npmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| bun.lock | ||
| Dockerfile | ||
| eslint.config.js | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| renovate.json | ||
| svelte.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||
sv
Everything you need to build a Svelte project, powered by sv.
Creating a project
If you're seeing this, you've probably already done this step. Congrats!
# create a new project
npx sv create my-app
To recreate this project with the same configuration:
# recreate this project
bun x sv@0.14.0 create --template minimal --types ts --add prettier eslint sveltekit-adapter="adapter:node" --install bun ./account
Developing
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building
To create a production version of your app:
npm run build
You can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.