wexts 2.0.6 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/chunk-63MTCWU2.mjs +361 -0
  2. package/dist/chunk-63MTCWU2.mjs.map +1 -0
  3. package/dist/chunk-67IJ6H4J.mjs +44 -0
  4. package/dist/chunk-67IJ6H4J.mjs.map +1 -0
  5. package/dist/chunk-7NSRDJ5C.mjs +1 -0
  6. package/dist/chunk-7NSRDJ5C.mjs.map +1 -0
  7. package/dist/chunk-ASDXAK6G.js +44 -0
  8. package/dist/chunk-ASDXAK6G.js.map +1 -0
  9. package/dist/chunk-CKZ4VSCB.mjs +18 -0
  10. package/dist/chunk-CKZ4VSCB.mjs.map +1 -0
  11. package/dist/chunk-DW6GOKMF.js +57 -0
  12. package/dist/chunk-DW6GOKMF.js.map +1 -0
  13. package/dist/chunk-GKVPGKAH.js +66 -0
  14. package/dist/chunk-GKVPGKAH.js.map +1 -0
  15. package/dist/chunk-HSFLZUJN.mjs +57 -0
  16. package/dist/chunk-HSFLZUJN.mjs.map +1 -0
  17. package/dist/chunk-HU63F22V.js +361 -0
  18. package/dist/chunk-HU63F22V.js.map +1 -0
  19. package/dist/chunk-JMBD6DOP.js +225 -0
  20. package/dist/chunk-JMBD6DOP.js.map +1 -0
  21. package/dist/chunk-K7EIJSYQ.js +1 -0
  22. package/dist/chunk-K7EIJSYQ.js.map +1 -0
  23. package/dist/chunk-OTBYRUBE.mjs +225 -0
  24. package/dist/chunk-OTBYRUBE.mjs.map +1 -0
  25. package/dist/chunk-WMHVXEYQ.mjs +66 -0
  26. package/dist/chunk-WMHVXEYQ.mjs.map +1 -0
  27. package/dist/cli/index.js +91 -43
  28. package/dist/cli/index.js.map +1 -1
  29. package/dist/cli/index.mjs +62 -12
  30. package/dist/cli/index.mjs.map +1 -1
  31. package/dist/client/index.js +2 -2
  32. package/dist/client/index.mjs +2 -2
  33. package/dist/codegen/index.d.mts +1 -0
  34. package/dist/codegen/index.d.ts +1 -0
  35. package/dist/codegen/index.js +13 -0
  36. package/dist/codegen/index.js.map +1 -0
  37. package/dist/codegen/index.mjs +13 -0
  38. package/dist/codegen/index.mjs.map +1 -0
  39. package/dist/dev-server/index.d.mts +1 -0
  40. package/dist/dev-server/index.d.ts +1 -0
  41. package/dist/dev-server/index.js +13 -0
  42. package/dist/dev-server/index.js.map +1 -0
  43. package/dist/dev-server/index.mjs +13 -0
  44. package/dist/dev-server/index.mjs.map +1 -0
  45. package/dist/index-SjUaHgFr.d.mts +75 -0
  46. package/dist/index-SjUaHgFr.d.ts +75 -0
  47. package/dist/index-tFGPFVfQ.d.mts +67 -0
  48. package/dist/index-tFGPFVfQ.d.ts +67 -0
  49. package/dist/index.d.mts +83 -164
  50. package/dist/index.d.ts +83 -164
  51. package/dist/index.js +89 -22
  52. package/dist/index.js.map +1 -1
  53. package/dist/index.mjs +76 -9
  54. package/dist/index.mjs.map +1 -1
  55. package/dist/nest/index.js +2 -2
  56. package/dist/nest/index.mjs +2 -2
  57. package/dist/next/index.d.mts +61 -3
  58. package/dist/next/index.d.ts +61 -3
  59. package/dist/next/index.js +140 -7
  60. package/dist/next/index.js.map +1 -1
  61. package/dist/next/index.mjs +102 -7
  62. package/dist/next/index.mjs.map +1 -1
  63. package/dist/types/index.js +1 -1
  64. package/dist/types/index.mjs +2 -1
  65. package/package.json +1 -1
  66. package/templates/nestjs-api/package-lock.json +5623 -0
  67. package/templates/nestjs-api/package.json +21 -19
  68. package/templates/nestjs-api/prisma/migrations/20251123205437_init/migration.sql +24 -0
  69. package/templates/nestjs-api/prisma/migrations/migration_lock.toml +3 -0
  70. package/templates/nestjs-api/src/auth/auth.controller.ts +5 -5
  71. package/templates/nestjs-api/src/main.ts +1 -1
  72. package/templates/nestjs-api/src/todos/todos.controller.ts +7 -7
  73. package/templates/nestjs-api/src/users/users.controller.ts +3 -3
  74. package/templates/nestjs-api/tsconfig.json +20 -1
  75. package/templates/nextjs-web/app/actions/auth.ts +79 -0
  76. package/templates/nextjs-web/app/dashboard/error.tsx +39 -0
  77. package/templates/nextjs-web/app/dashboard/loading.tsx +14 -0
  78. package/templates/nextjs-web/app/dashboard/page.tsx +2 -172
  79. package/templates/nextjs-web/app/globals.css +80 -15
  80. package/templates/nextjs-web/app/layout.tsx +7 -5
  81. package/templates/nextjs-web/app/login/page.tsx +2 -104
  82. package/templates/nextjs-web/app/page.tsx +1 -1
  83. package/templates/nextjs-web/app/register/page.tsx +2 -127
  84. package/templates/nextjs-web/components/ui/button.tsx +56 -0
  85. package/templates/nextjs-web/components/ui/card.tsx +79 -0
  86. package/templates/nextjs-web/components/ui/input.tsx +25 -0
  87. package/templates/nextjs-web/components/ui/label.tsx +24 -0
  88. package/templates/nextjs-web/features/auth/LoginForm.tsx +140 -0
  89. package/templates/nextjs-web/features/auth/RegisterForm.tsx +159 -0
  90. package/templates/nextjs-web/features/auth/api.ts +35 -0
  91. package/templates/nextjs-web/features/auth/index.ts +3 -0
  92. package/templates/nextjs-web/features/dashboard/DashboardView.tsx +204 -0
  93. package/templates/nextjs-web/features/dashboard/api.ts +9 -0
  94. package/templates/nextjs-web/features/dashboard/components.tsx +74 -0
  95. package/templates/nextjs-web/features/dashboard/index.ts +3 -0
  96. package/templates/nextjs-web/hooks/index.ts +4 -0
  97. package/templates/nextjs-web/lib/api-client.ts +89 -0
  98. package/templates/nextjs-web/lib/axios-global-config.ts +17 -0
  99. package/templates/nextjs-web/lib/utils.ts +6 -0
  100. package/templates/nextjs-web/lib/wexts-client.ts +4 -0
  101. package/templates/nextjs-web/next-env.d.ts +6 -0
  102. package/templates/nextjs-web/next.config.ts +20 -0
  103. package/templates/nextjs-web/package-lock.json +3254 -0
  104. package/templates/nextjs-web/package.json +23 -14
  105. package/templates/nextjs-web/postcss.config.js +6 -0
  106. package/templates/nextjs-web/tailwind.config.ts +55 -1
  107. package/templates/nextjs-web/tsconfig.json +41 -39
  108. package/templates/nestjs-api/.env.example +0 -4
  109. package/templates/nextjs-web/next.config.mjs +0 -4
  110. /package/templates/nextjs-web/{.env.local.example → .env} +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
- "name": "fusion-web",
3
- "version": "0.0.1",
2
+ "name": "wexts-web",
3
+ "version": "1.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "next dev",
@@ -9,20 +9,29 @@
9
9
  "lint": "next lint"
10
10
  },
11
11
  "dependencies": {
12
- "react": "^19.2.0",
13
- "react-dom": "^19.2.0",
12
+ "@radix-ui/react-label": "^2.1.8",
13
+ "@radix-ui/react-slot": "^1.2.4",
14
+ "axios": "^1.13.2",
15
+ "class-variance-authority": "^0.7.1",
16
+ "clsx": "^2.1.1",
17
+ "cookies-next": "^6.1.1",
18
+ "framer-motion": "^12.23.24",
19
+ "lucide-react": "^0.554.0",
14
20
  "next": "^16.0.0",
15
- "wexts": "^1.0.0",
16
- "clsx": "^2.1.0",
17
- "tailwind-merge": "^2.2.0"
21
+ "react": "^19.0.0",
22
+ "react-dom": "^19.0.0",
23
+ "react-hot-toast": "^2.6.0",
24
+ "tailwind-merge": "^2.6.0",
25
+ "wexts": "^2.0.8",
26
+ "zod": "^4.1.12"
18
27
  },
19
28
  "devDependencies": {
20
- "@types/node": "^20.11.0",
21
- "@types/react": "^18.2.0",
22
- "@types/react-dom": "^18.2.0",
23
- "typescript": "^5.3.3",
24
- "tailwindcss": "^4.1.0",
29
+ "@types/node": "^22.0.0",
30
+ "@types/react": "^19.0.0",
31
+ "@types/react-dom": "^19.0.0",
32
+ "autoprefixer": "^10.4.0",
25
33
  "postcss": "^8.4.0",
26
- "autoprefixer": "^10.4.0"
34
+ "tailwindcss": "^3.4.0",
35
+ "typescript": "^5.9.3"
27
36
  }
28
- }
37
+ }
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ plugins: {
3
+ tailwindcss: {},
4
+ autoprefixer: {},
5
+ },
6
+ };
@@ -1,13 +1,67 @@
1
1
  import type { Config } from 'tailwindcss';
2
2
 
3
3
  const config: Config = {
4
+ darkMode: 'class',
4
5
  content: [
5
6
  './pages/**/*.{js,ts,jsx,tsx,mdx}',
6
7
  './components/**/*.{js,ts,jsx,tsx,mdx}',
7
8
  './app/**/*.{js,ts,jsx,tsx,mdx}',
9
+ './features/**/*.{js,ts,jsx,tsx,mdx}',
10
+ './hooks/**/*.{js,ts,jsx,tsx,mdx}',
8
11
  ],
9
12
  theme: {
10
- extend: {},
13
+ extend: {
14
+ colors: {
15
+ border: "hsl(var(--border))",
16
+ input: "hsl(var(--input))",
17
+ ring: "hsl(var(--ring))",
18
+ background: "hsl(var(--background))",
19
+ foreground: "hsl(var(--foreground))",
20
+ primary: {
21
+ DEFAULT: "hsl(var(--primary))",
22
+ foreground: "hsl(var(--primary-foreground))",
23
+ },
24
+ secondary: {
25
+ DEFAULT: "hsl(var(--secondary))",
26
+ foreground: "hsl(var(--secondary-foreground))",
27
+ },
28
+ destructive: {
29
+ DEFAULT: "hsl(var(--destructive))",
30
+ foreground: "hsl(var(--destructive-foreground))",
31
+ },
32
+ muted: {
33
+ DEFAULT: "hsl(var(--muted))",
34
+ foreground: "hsl(var(--muted-foreground))",
35
+ },
36
+ accent: {
37
+ DEFAULT: "hsl(var(--accent))",
38
+ foreground: "hsl(var(--accent-foreground))",
39
+ },
40
+ popover: {
41
+ DEFAULT: "hsl(var(--background))",
42
+ foreground: "hsl(var(--foreground))",
43
+ },
44
+ card: {
45
+ DEFAULT: "hsl(var(--background))",
46
+ foreground: "hsl(var(--foreground))",
47
+ },
48
+ },
49
+ borderRadius: {
50
+ lg: "var(--radius)",
51
+ md: "calc(var(--radius) - 2px)",
52
+ sm: "calc(var(--radius) - 4px)",
53
+ },
54
+ animation: {
55
+ "float": "float 6s ease-in-out infinite",
56
+ "pulse-slow": "pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite",
57
+ },
58
+ keyframes: {
59
+ float: {
60
+ "0%, 100%": { transform: "translateY(0)" },
61
+ "50%": { transform: "translateY(-20px)" },
62
+ },
63
+ },
64
+ },
11
65
  },
12
66
  plugins: [],
13
67
  };
@@ -1,39 +1,41 @@
1
- {
2
- "compilerOptions": {
3
- "lib": [
4
- "dom",
5
- "dom.iterable",
6
- "esnext"
7
- ],
8
- "allowJs": true,
9
- "skipLibCheck": true,
10
- "strict": true,
11
- "noEmit": true,
12
- "esModuleInterop": true,
13
- "module": "esnext",
14
- "moduleResolution": "bundler",
15
- "resolveJsonModule": true,
16
- "isolatedModules": true,
17
- "jsx": "preserve",
18
- "incremental": true,
19
- "plugins": [
20
- {
21
- "name": "next"
22
- }
23
- ],
24
- "paths": {
25
- "@/*": [
26
- "./*"
27
- ]
28
- }
29
- },
30
- "include": [
31
- "next-env.d.ts",
32
- "**/*.ts",
33
- "**/*.tsx",
34
- ".next/types/**/*.ts"
35
- ],
36
- "exclude": [
37
- "node_modules"
38
- ]
39
- }
1
+ {
2
+ "compilerOptions": {
3
+ "lib": [
4
+ "dom",
5
+ "dom.iterable",
6
+ "esnext"
7
+ ],
8
+ "allowJs": true,
9
+ "skipLibCheck": true,
10
+ "strict": true,
11
+ "noEmit": true,
12
+ "esModuleInterop": true,
13
+ "module": "esnext",
14
+ "moduleResolution": "bundler",
15
+ "resolveJsonModule": true,
16
+ "isolatedModules": true,
17
+ "jsx": "react-jsx",
18
+ "incremental": true,
19
+ "plugins": [
20
+ {
21
+ "name": "next"
22
+ }
23
+ ],
24
+ "paths": {
25
+ "@/*": [
26
+ "./*"
27
+ ]
28
+ },
29
+ "target": "ES2017"
30
+ },
31
+ "include": [
32
+ "next-env.d.ts",
33
+ "**/*.ts",
34
+ "**/*.tsx",
35
+ ".next/types/**/*.ts",
36
+ ".next/dev/types/**/*.ts"
37
+ ],
38
+ "exclude": [
39
+ "node_modules"
40
+ ]
41
+ }
@@ -1,4 +0,0 @@
1
- DATABASE_URL="file:./dev.db"
2
- JWT_SECRET="your-secret-key-change-in-production"
3
- JWT_EXPIRES_IN="7d"
4
- PORT=5050
@@ -1,4 +0,0 @@
1
- /** @type {import('next').NextConfig} */
2
- const nextConfig = {};
3
-
4
- export default nextConfig;