diff --git a/design/favicon.ico b/design/favicon.ico deleted file mode 100644 index f053857..0000000 Binary files a/design/favicon.ico and /dev/null differ diff --git a/design/favicon.png b/design/favicon.png deleted file mode 100644 index f053857..0000000 Binary files a/design/favicon.png and /dev/null differ diff --git a/design/global.css b/design/global.css deleted file mode 100644 index ebf0617..0000000 --- a/design/global.css +++ /dev/null @@ -1,9 +0,0 @@ -@import 'tailwindcss/base'; -@import 'tailwindcss/components'; -@import 'tailwindcss/utilities'; - -@layer components { - .sikessem { - content: url('./sikessem.svg'); - } -} diff --git a/design/index.html b/design/index.html deleted file mode 100644 index 9dcf277..0000000 --- a/design/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - Sikessem UI - - -
-

- Sikessem -

-

Reusable and customizable TailwindCSS components.

-
- - - \ No newline at end of file diff --git a/design/index.ts b/design/index.ts deleted file mode 100644 index 799fd93..0000000 --- a/design/index.ts +++ /dev/null @@ -1 +0,0 @@ -import "./global.css"; diff --git a/design/sikessem.svg b/design/sikessem.svg deleted file mode 100644 index df43ccc..0000000 --- a/design/sikessem.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/package.json b/package.json index 5adacb5..17fdc74 100644 --- a/package.json +++ b/package.json @@ -52,16 +52,13 @@ "check.format": "biome format .", "check.lint": "biome check .", "debug": "pnpm check && pnpm test", - "dev": "concurrently \"vite --host\" \"vitest\"", "fix": "pnpm lint && pnpm format", "format": "biome format --write .", "inspect": "node --inspect-brk ./node_modules/vite/bin/vite.js --force", "lint": "biome check --write .", - "preview": "vite preview", "test": "vitest run", "test.ui": "vitest --ui", "test.cov": "vitest run --coverage", - "start": "vite --open", "watch": "tsm scripts/build.ts --watch" }, "devDependencies": { @@ -82,8 +79,6 @@ "tslib": "^2.6.3", "tsm": "^2.3.0", "typescript": "^5.5.4", - "vite": "^5.4.0", - "vite-tsconfig-paths": "^5.0.1", "vitest": "^2.0.5" }, "dependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8be2fdc..a20c898 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -63,12 +63,6 @@ importers: typescript: specifier: ^5.5.4 version: 5.5.4 - vite: - specifier: ^5.4.0 - version: 5.4.0(@types/node@22.2.0) - vite-tsconfig-paths: - specifier: ^5.0.1 - version: 5.0.1(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)) vitest: specifier: ^2.0.5 version: 2.0.5(@types/node@22.2.0) @@ -1077,9 +1071,6 @@ packages: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} - globrex@0.1.2: - resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} - has-flag@3.0.0: resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} engines: {node: '>=4'} @@ -1561,16 +1552,6 @@ packages: '@swc/wasm': optional: true - tsconfck@3.1.1: - resolution: {integrity: sha512-00eoI6WY57SvZEVjm13stEVE90VkEdJAFGgpFLTsZbJyW/LwFQ7uQxJHWpZ2hzSWgCPKc9AnBnNP+0X7o3hAmQ==} - engines: {node: ^18 || >=20} - hasBin: true - peerDependencies: - typescript: ^5.0.0 - peerDependenciesMeta: - typescript: - optional: true - tslib@2.6.3: resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} @@ -1604,14 +1585,6 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true - vite-tsconfig-paths@5.0.1: - resolution: {integrity: sha512-yqwv+LstU7NwPeNqajZzLEBVpUFU6Dugtb2P84FXuvaoYA+/70l9MHE+GYfYAycVyPSDYZ7mjOFuYBRqlEpTig==} - peerDependencies: - vite: '*' - peerDependenciesMeta: - vite: - optional: true - vite@5.4.0: resolution: {integrity: sha512-5xokfMX0PIiwCMCMb9ZJcMyh5wbBun0zUzKib+L65vAZ8GY9ePZMXxFrHbr/Kyll2+LSCY7xtERPpxkBDKngwg==} engines: {node: ^18.0.0 || >=20.0.0} @@ -2573,8 +2546,6 @@ snapshots: globals@11.12.0: {} - globrex@0.1.2: {} - has-flag@3.0.0: {} has-flag@4.0.0: {} @@ -3019,10 +2990,6 @@ snapshots: v8-compile-cache-lib: 3.0.1 yn: 3.1.1 - tsconfck@3.1.1(typescript@5.5.4): - optionalDependencies: - typescript: 5.5.4 - tslib@2.6.3: {} tsm@2.3.0: @@ -3061,17 +3028,6 @@ snapshots: - supports-color - terser - vite-tsconfig-paths@5.0.1(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)): - dependencies: - debug: 4.3.6 - globrex: 0.1.2 - tsconfck: 3.1.1(typescript@5.5.4) - optionalDependencies: - vite: 5.4.0(@types/node@22.2.0) - transitivePeerDependencies: - - supports-color - - typescript - vite@5.4.0(@types/node@22.2.0): dependencies: esbuild: 0.21.5 diff --git a/tailwind.config.ts b/tailwind.config.ts index fff151f..23d36d9 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -7,7 +7,6 @@ export const UIConfig: Config = { "./config/ui.php", "./src/Components/**/*.php", "./resources/views/**/*.blade.php", - "./design/**/*.{html,css,ts}", ], theme: { diff --git a/vite.config.ts b/vite.config.ts deleted file mode 100644 index e72f9fc..0000000 --- a/vite.config.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { resolve } from "node:path"; -import { defineConfig, loadEnv } from "vite"; -import tsconfigPaths from "vite-tsconfig-paths"; - -export default defineConfig(({ mode }) => { - const env = loadEnv(mode, process.cwd(), ""); - const host = env.VITE_SERVER_HOST ?? "localhost"; - const port = Number(env.VITE_SERVER_PORT ?? "3000"); - - return { - root: resolve(__dirname, "design"), - server: { host, port }, - plugins: [tsconfigPaths()], - preview: { - headers: { - "Cache-Control": "public, max-age=600", - }, - }, - resolve: {}, - }; -});