Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 18 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
{
"editor.formatOnSave": true,
"editor.tabSize": 2,

"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.fixAll.eslint": "explicit"
},
"[svelte]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"eslint.validate": ["javascript", "javascriptreact", "svelte"],

"editor.defaultFormatter": "esbenp.prettier-vscode",

"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"svelte",
"json",
"jsonc",
"css",
"scss",
"markdown"
],

"scss.lint.unknownAtRules": "ignore"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions apps/core/eslint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from "@cugetreg/configs/linter";
File renamed without changes.
7 changes: 5 additions & 2 deletions backend/package.json → apps/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"node": ">=24.11.1"
},
"scripts": {
"lint": "tsc --noEmit",
"lint": "eslint .",
"dev": "tsx watch src/index.ts",
"build": "tsc",
"start": "node dist/index.js"
Expand Down Expand Up @@ -38,7 +38,10 @@
"ramda": "^0.32.0",
"redis": "^5.10.0",
"remeda": "^2.33.1",
"zod": "^4.2.1"
"zod": "^4.2.1",
"@eslint/js": "^9.39.2",
"eslint": "^9.39.2",
"typescript-eslint": "^8.52.0"
},
"devDependencies": {
"@types/node": "^20.11.17",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
27 changes: 27 additions & 0 deletions apps/cugetreg/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import type { StorybookConfig } from '@storybook/sveltekit'
import type { UserConfig } from 'vite'
import { searchForWorkspaceRoot } from 'vite'

const config: StorybookConfig = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|ts|svelte)'],
addons: [
'@storybook/addon-svelte-csf',
'@chromatic-com/storybook',
'@storybook/addon-vitest',
'@storybook/addon-a11y',
'@storybook/addon-docs',
],
framework: {
name: '@storybook/sveltekit',
options: {},
},
staticDirs: ['../static'],
viteFinal: async (config: UserConfig) => {
if (config.server?.fs) {
config.server.fs.allow = [searchForWorkspaceRoot(process.cwd())]
}
return config
},
}

export default config
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions apps/cugetreg/eslint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from "@cugetreg/configs/linter";
15 changes: 8 additions & 7 deletions frontend/package.json → apps/cugetreg/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "frontend",
"name": "cugetreg",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"lint": "tsc --noEmit",
"dev": "vite",
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json",
"check": "svelte-kit sync && svelte-check",
"lint": "eslint .",
"storybook": "storybook dev -p 6006 --ci",
"build-storybook": "storybook build"
},
Expand All @@ -21,7 +21,6 @@
"@storybook/addon-svelte-csf": "^5.0.10",
"@storybook/addon-vitest": "^10.1.7",
"@storybook/svelte-vite": "^10.1.7",
"@sveltejs/vite-plugin-svelte": "^6.2.1",
"@tsconfig/svelte": "^5.0.6",
"@types/node": "^24.10.1",
"@typescript-eslint/eslint-plugin": "^8.49.0",
Expand All @@ -41,7 +40,6 @@
"svelte-check": "^4.3.4",
"tailwindcss": "^4.1.18",
"typescript": "~5.9.3",
"vite": "^7.2.4",
"vitest": "^4.0.15"
},
"eslintConfig": {
Expand All @@ -52,13 +50,16 @@
"dependencies": {
"@lucide/svelte": "^0.562.0",
"@rodrigodagostino/svelte-sortable-list": "^2.1.9",
"@sveltejs/adapter-auto": "^7.0.0",
"@sveltejs/kit": "^2.49.4",
"@tailwindcss/vite": "^4.1.18",
"bits-ui": "^2.14.4",
"clsx": "^2.1.1",
"html2canvas": "^1.4.1",
"html2canvas-pro": "^1.6.4",
"lucide-svelte": "^0.560.0",
"tailwind-merge": "^3.4.0",
"tailwind-variants": "^3.2.2"
"tailwind-variants": "^3.2.2",
"vite": "^7.3.0"
}
}
File renamed without changes.
13 changes: 13 additions & 0 deletions apps/cugetreg/src/app.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<html lang="en">

<head>
%sveltekit.head%
</head>

<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>

</html>
47 changes: 47 additions & 0 deletions apps/cugetreg/src/lib/styles/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

@import 'tailwindcss';

@import "@cugetreg/ui/css";

@font-face {
font-family: 'FC Orbit';
src: url('fonts/FCOrbit-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
}

@font-face {
font-family: 'FC Orbit';
src: url('fonts/FCOrbit-BoldItalic.woff2') format('woff2');
font-weight: 700;
font-style: italic;
}

@font-face {
font-family: 'FC Orbit';
src: url('fonts/FCOrbit-Medium.woff2') format('woff2');
font-weight: 500;
font-style: normal;
}

@font-face {
font-family: 'FC Orbit';
src: url('fonts/FCOrbit-MediumItalic.woff2') format('woff2');
font-weight: 500;
font-style: italic;
}

@font-face {
font-family: 'FC Orbit';
src: url('fonts/FCOrbit-Regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'FC Orbit';
src: url('fonts/FCOrbit-Italic.woff2') format('woff2');
font-weight: 400;
font-style: italic;
}
File renamed without changes.
Loading
Loading