Skip to content

Commit 1fe5450

Browse files
committed
added shadcn & superforms as default
1 parent de506c3 commit 1fe5450

File tree

275 files changed

+8648
-711
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

275 files changed

+8648
-711
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 31 deletions
This file was deleted.

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"singleQuote": true,
44
"trailingComma": "none",
55
"printWidth": 100,
6-
"plugins": ["prettier-plugin-svelte"],
6+
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
77
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
88
}

components.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "https://shadcn-svelte.com/schema.json",
3+
"style": "default",
4+
"tailwind": {
5+
"config": "tailwind.config.ts",
6+
"css": "src/app.css",
7+
"baseColor": "slate"
8+
},
9+
"aliases": {
10+
"components": "$lib/components",
11+
"utils": "$lib/utils/ui"
12+
},
13+
"typescript": true
14+
}

docker-compose.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,25 @@ services:
1818
volumes:
1919
- redis_data:/data
2020

21+
minio:
22+
image: docker.io/bitnami/minio
23+
ports:
24+
- '9000:9000'
25+
- '9001:9001'
26+
networks:
27+
- minionetwork
28+
volumes:
29+
- 'minio_data:/data'
30+
environment:
31+
- MINIO_ROOT_USER=user
32+
- MINIO_ROOT_PASSWORD=password
33+
- MINIO_DEFAULT_BUCKETS=dev
2134
volumes:
2235
postgres_data:
2336
redis_data:
37+
minio_data:
38+
driver: local
39+
40+
networks:
41+
minionetwork:
42+
driver: bridge

eslint.config.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import js from '@eslint/js';
2+
import ts from 'typescript-eslint';
3+
import svelte from 'eslint-plugin-svelte';
4+
import prettier from 'eslint-config-prettier';
5+
import globals from 'globals';
6+
7+
/** @type {import('eslint').Linter.FlatConfig[]} */
8+
export default [
9+
js.configs.recommended,
10+
...ts.configs.recommended,
11+
...svelte.configs['flat/recommended'],
12+
prettier,
13+
...svelte.configs['flat/prettier'],
14+
{
15+
languageOptions: {
16+
globals: {
17+
...globals.browser,
18+
...globals.node
19+
}
20+
}
21+
},
22+
{
23+
files: ['**/*.svelte'],
24+
languageOptions: {
25+
parserOptions: {
26+
parser: ts.parser
27+
}
28+
}
29+
},
30+
{
31+
ignores: ['build/', '.svelte-kit/', 'dist/']
32+
}
33+
];

package.json

Lines changed: 52 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -19,52 +19,78 @@
1919
"test:unit": "vitest"
2020
},
2121
"devDependencies": {
22-
"@hono/zod-validator": "^0.2.1",
22+
"@dicebear/collection": "^9.0.1",
23+
"@dicebear/core": "^9.0.1",
24+
"@hono/zod-validator": "^0.2.2",
2325
"@lucia-auth/adapter-drizzle": "^1.0.7",
2426
"@paralleldrive/cuid2": "^2.2.2",
25-
"@playwright/test": "^1.28.1",
26-
"@sveltejs/adapter-auto": "^3.0.0",
27-
"@sveltejs/adapter-node": "^5.0.1",
28-
"@sveltejs/kit": "^2.5.7",
29-
"@sveltejs/vite-plugin-svelte": "^3.0.0",
27+
"@playwright/test": "^1.44.1",
28+
"@sveltejs/adapter-auto": "^3.2.2",
29+
"@sveltejs/adapter-node": "^5.2.0",
30+
"@sveltejs/kit": "^2.5.17",
31+
"@sveltejs/vite-plugin-svelte": "^3.1.1",
32+
"@tailwindcss/typography": "^0.5.13",
3033
"@types/eslint": "^8.56.0",
31-
"@types/node": "^20.12.7",
34+
"@types/node": "^20.14.8",
3235
"@types/nodemailer": "^6.4.15",
33-
"@typescript-eslint/eslint-plugin": "^7.0.0",
34-
"@typescript-eslint/parser": "^7.0.0",
35-
"arctic": "^1.9.0",
36+
"@typescript-eslint/eslint-plugin": "^7.13.1",
37+
"@typescript-eslint/parser": "^7.13.1",
38+
"arctic": "^1.9.1",
39+
"autoprefixer": "^10.4.19",
3640
"dayjs": "^1.11.11",
37-
"dotenv-cli": "^7.4.1",
41+
"dotenv-cli": "^7.4.2",
3842
"drizzle-kit": "^0.21.4",
3943
"drizzle-orm": "^0.30.10",
4044
"eslint": "^8.56.0",
4145
"eslint-config-prettier": "^9.1.0",
42-
"eslint-plugin-svelte": "^2.36.0-next.4",
46+
"eslint-plugin-svelte": "^2.40.0",
4347
"handlebars": "^4.7.8",
44-
"hono": "^4.2.8",
48+
"hono": "^4.4.7",
49+
"ioredis": "^5.4.1",
4550
"lucia": "^3.2.0",
51+
"lucide-svelte": "^0.396.0",
4652
"nanoid": "^5.0.7",
47-
"nodemailer": "^6.9.13",
48-
"pg": "^8.11.5",
53+
"nodemailer": "^6.9.14",
54+
"oslo": "^1.2.0",
55+
"pg": "^8.12.0",
56+
"postcss": "^8.4.38",
4957
"postgres": "^3.4.4",
50-
"prettier": "^3.1.1",
51-
"prettier-plugin-svelte": "^3.1.2",
58+
"prettier": "^3.3.2",
59+
"prettier-plugin-svelte": "^3.2.5",
60+
"prettier-plugin-tailwindcss": "^0.6.4",
5261
"reflect-metadata": "^0.2.2",
53-
"svelte": "^5.0.0-next.1",
54-
"svelte-check": "^3.6.0",
62+
"svelte": "5.0.0-next.164",
63+
"svelte-check": "^3.8.1",
5564
"svelte-eslint-parser": "^0.36.0",
56-
"tslib": "^2.4.1",
57-
"tsx": "^4.7.3",
65+
"sveltekit-superforms": "^2.15.1",
66+
"tailwindcss": "^3.4.4",
67+
"tslib": "^2.6.3",
68+
"tsx": "^4.15.7",
5869
"tsyringe": "^4.8.0",
59-
"typescript": "^5.0.0",
60-
"vite": "^5.2.11",
70+
"typescript": "^5.5.2",
71+
"vite": "^5.3.1",
6172
"vite-plugin-full-reload": "^1.1.0",
6273
"vite-plugin-restart": "^0.4.0",
63-
"vitest": "^1.2.0",
64-
"zod": "^3.23.4"
74+
"vitest": "^1.6.0",
75+
"zod": "^3.23.8"
6576
},
6677
"type": "module",
6778
"dependencies": {
68-
"resend": "^3.2.0"
79+
"@acpr/rate-limit-postgresql": "^1.4.1",
80+
"@internationalized/date": "^3.5.4",
81+
"bits-ui": "^0.21.10",
82+
"clsx": "^2.1.1",
83+
"cmdk-sv": "^0.0.17",
84+
"embla-carousel-svelte": "^8.1.5",
85+
"formsnap": "^1.0.1",
86+
"hono-rate-limiter": "^0.3.0",
87+
"mode-watcher": "^0.3.1",
88+
"paneforge": "^0.0.5",
89+
"rate-limit-redis": "^4.2.0",
90+
"resend": "^3.3.0",
91+
"svelte-sonner": "^0.3.24",
92+
"tailwind-merge": "^2.3.0",
93+
"tailwind-variants": "^0.2.1",
94+
"vaul-svelte": "^0.3.1"
6995
}
7096
}

0 commit comments

Comments
 (0)