Skip to content
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ dist-ssr
*.sw?

db/db.json
web
1 change: 0 additions & 1 deletion .node-version

This file was deleted.

12 changes: 0 additions & 12 deletions .prettierrc

This file was deleted.

14 changes: 0 additions & 14 deletions src/api/api-client.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/api/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/api/users/index.ts

This file was deleted.

22 changes: 0 additions & 22 deletions src/api/users/use-paginated-users.ts

This file was deleted.

18 changes: 0 additions & 18 deletions src/api/users/use-user.ts

This file was deleted.

14 changes: 0 additions & 14 deletions src/api/users/use-users.ts

This file was deleted.

11 changes: 0 additions & 11 deletions src/app.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions src/components/hello-world.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions src/components/index.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/ui/index.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions src/icons/index.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions src/index.css

This file was deleted.

10 changes: 0 additions & 10 deletions src/main.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions src/providers/app-provider.tsx

This file was deleted.

7 changes: 0 additions & 7 deletions src/utils/cn.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/utils/index.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/views/index.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions src/views/users.tsx

This file was deleted.

8 changes: 0 additions & 8 deletions tailwind.config.js

This file was deleted.

File renamed without changes.
File renamed without changes.
24 changes: 24 additions & 0 deletions web-legacy/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

db/db.json
1 change: 1 addition & 0 deletions web-legacy/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
File renamed without changes.
13 changes: 13 additions & 0 deletions web-legacy/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"semi": true,
"singleQuote": false,
"arrowParens": "always",
"bracketSpacing": true,
"trailingComma": "es5",
"jsxSingleQuote": false,
"bracketSameLine": false,
"tabWidth": 2,
"printWidth": 90,
"organizeImportsSkipDestructiveCodeActions": true,
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-tailwindcss"]
}
4 changes: 3 additions & 1 deletion .vscode/cspell.json → web-legacy/.vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"tanstack",
"clsx",
"tfjs",
"lucide"
"lucide",
"cmdk",
"sonner"
],
// flagWords - list of words to be always considered incorrect
// This is useful for offensive words and common spelling errors.
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json → web-legacy/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
// Default
"class",
"className",
"classNames",
"toastOptions",

// Additional Tailwind CSS Intellisense for Transition API from Headless UI
// https://headlessui.com/react/transition#component-api
"enter",
"enterFrom",
Expand Down
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions web-legacy/components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/globals.css",
"baseColor": "slate",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
}
}
File renamed without changes.
File renamed without changes.
32 changes: 24 additions & 8 deletions package.json → web-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,38 @@
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"json-server": "json-server --watch db/db.json --port 3004"
"json-server": "json-server --watch db/db.json --port 3004",
"format:write": "prettier --write \"src/**/*.{ts,tsx}\" --cache --config-precedence file-override",
"format:check": "prettier --check \"src/**/*.{ts,tsx}\" --cache --config-precedence file-override"
},
"dependencies": {
"@headlessui/react": "^1.7.17",
"@radix-ui/react-toast": "^1.1.4",
"@tanstack/react-query": "^4.35.0",
"@tanstack/react-query-devtools": "^4.35.0",
"@hookform/resolvers": "^3.3.4",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.5",
"@tanstack/react-query": "^5.36.1",
"@tanstack/react-query-devtools": "^5.36.1",
"@tanstack/react-table": "^8.12.0",
"axios": "^1.5.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"lucide-react": "^0.274.0",
"clsx": "^2.1.0",
"cmdk": "^0.2.1",
"lucide-react": "^0.330.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.46.1",
"react-hook-form": "^7.50.1",
"react-router-dom": "^6.15.0",
"tailwind-merge": "^1.14.0"
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/node": "^18.17.0",
Expand Down
Loading