@vitnode/core 1.2.0-canary.31 → 1.2.0-canary.32

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 (90) hide show
  1. package/dist/scripts/get-config.d.ts +6 -2
  2. package/dist/scripts/get-config.d.ts.map +1 -1
  3. package/dist/scripts/prepare-database.d.ts.map +1 -1
  4. package/dist/scripts/run-interactive-shell-command.d.ts.map +1 -1
  5. package/dist/scripts/scripts.js +4 -2
  6. package/dist/scripts/shared/file-utils.d.ts.map +1 -1
  7. package/dist/src/api/config.js +3 -3
  8. package/dist/src/api/lib/logger-middleware.d.ts +3 -3
  9. package/dist/src/api/lib/logger-middleware.d.ts.map +1 -1
  10. package/dist/src/api/lib/logger-middleware.js +6 -6
  11. package/dist/src/api/middlewares/global.middleware.d.ts +15 -5
  12. package/dist/src/api/middlewares/global.middleware.d.ts.map +1 -1
  13. package/dist/src/api/middlewares/global.middleware.js +4 -2
  14. package/dist/src/api/middlewares/rate-limiter.middleware.d.ts +1 -1
  15. package/dist/src/api/middlewares/rate-limiter.middleware.d.ts.map +1 -1
  16. package/dist/src/api/middlewares/rate-limiter.middleware.js +8 -2
  17. package/dist/src/api/models/device.js +1 -1
  18. package/dist/src/api/models/email.d.ts +10 -6
  19. package/dist/src/api/models/email.d.ts.map +1 -1
  20. package/dist/src/api/models/email.js +27 -8
  21. package/dist/src/api/models/session-admin.js +3 -3
  22. package/dist/src/api/models/session.js +1 -1
  23. package/dist/src/api/models/sso.d.ts.map +1 -1
  24. package/dist/src/api/models/sso.js +2 -2
  25. package/dist/src/api/models/user/sign-up.d.ts +1 -1
  26. package/dist/src/api/models/user/sign-up.js +1 -1
  27. package/dist/src/api/models/user.d.ts +1 -1
  28. package/dist/src/api/models/user.d.ts.map +1 -1
  29. package/dist/src/api/modules/admin/admin.module.d.ts +32 -32
  30. package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts +16 -16
  31. package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts +16 -16
  32. package/dist/src/api/modules/admin/routes/session.route.d.ts +4 -4
  33. package/dist/src/api/modules/admin/users/routes/list.route.d.ts +12 -12
  34. package/dist/src/api/modules/admin/users/routes/users.route.d.ts +12 -12
  35. package/dist/src/api/modules/admin/users/users.admin.module.d.ts +12 -12
  36. package/dist/src/api/modules/middleware/route.js +1 -1
  37. package/dist/src/api/modules/users/routes/session.route.d.ts +4 -4
  38. package/dist/src/api/modules/users/routes/sign-up.route.d.ts +8 -8
  39. package/dist/src/api/modules/users/routes/test.route.d.ts +1 -1
  40. package/dist/src/api/modules/users/routes/test.route.d.ts.map +1 -1
  41. package/dist/src/api/modules/users/routes/test.route.js +7 -8
  42. package/dist/src/api/modules/users/users.module.d.ts +11 -11
  43. package/dist/src/app_admin/core/debug/page.d.ts +2 -2
  44. package/dist/src/app_admin/core/debug/page.d.ts.map +1 -1
  45. package/dist/src/app_admin/core/debug/page.js +2 -1
  46. package/dist/src/app_admin/core/users/page.d.ts +2 -2
  47. package/dist/src/app_admin/core/users/page.d.ts.map +1 -1
  48. package/dist/src/app_admin/core/users/page.js +2 -1
  49. package/dist/src/components/confirm-action/confirm-action-alert-dialog.d.ts +2 -2
  50. package/dist/src/components/confirm-action/confirm-action-alert-dialog.d.ts.map +1 -1
  51. package/dist/src/components/confirm-action/confirm-action-alert-dialog.js +2 -1
  52. package/dist/src/components/form/fields/combobox-async.js +1 -1
  53. package/dist/src/components/form/fields/combobox.js +1 -1
  54. package/dist/src/components/table/content.d.ts.map +1 -1
  55. package/dist/src/components/table/content.js +57 -60
  56. package/dist/src/components/table/data-table.d.ts.map +1 -1
  57. package/dist/src/components/table/data-table.js +26 -29
  58. package/dist/src/components/ui/button.d.ts +1 -1
  59. package/dist/src/components/ui/menubar.js +1 -1
  60. package/dist/src/components/ui/sidebar.d.ts +1 -1
  61. package/dist/src/components/ui/sidebar.d.ts.map +1 -1
  62. package/dist/src/components/ui/sidebar.js +1 -1
  63. package/dist/src/emails/default-template.d.ts +30 -0
  64. package/dist/src/emails/default-template.d.ts.map +1 -0
  65. package/dist/src/emails/default-template.js +106 -0
  66. package/dist/src/lib/api/get-session-admin-api.d.ts +1 -1
  67. package/dist/src/lib/api/get-session-api.d.ts +1 -1
  68. package/dist/src/lib/config.d.ts +2 -2
  69. package/dist/src/lib/config.d.ts.map +1 -1
  70. package/dist/src/lib/config.js +5 -8
  71. package/dist/src/lib/fetcher/core.d.ts.map +1 -1
  72. package/dist/src/lib/fetcher/core.js +5 -1
  73. package/dist/src/views/admin/layouts/admin-layout.d.ts.map +1 -1
  74. package/dist/src/views/admin/layouts/admin-layout.js +2 -2
  75. package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.d.ts +17 -1
  76. package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.d.ts.map +1 -1
  77. package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.js +2 -1
  78. package/dist/src/views/admin/views/core/debug/system-logs/system-logs-view.d.ts +2 -2
  79. package/dist/src/views/auth/sign-up/form/mutation-api.d.ts +1 -1
  80. package/dist/src/views/auth/sign-up/form/use-form.d.ts +4 -4
  81. package/dist/src/views/layouts/theme/header/header.d.ts.map +1 -1
  82. package/dist/src/views/layouts/theme/header/header.js +3 -3
  83. package/dist/src/vitnode.config.d.ts +3 -4
  84. package/dist/src/vitnode.config.d.ts.map +1 -1
  85. package/dist/tsconfig.tsbuildinfo +1 -1
  86. package/package.json +24 -24
  87. package/src/app_admin/core/debug/page.tsx +2 -1
  88. package/src/app_admin/core/users/page.tsx +2 -1
  89. package/dist/emails/my-email.d.ts +0 -2
  90. package/dist/emails/my-email.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitnode/core",
3
- "version": "1.2.0-canary.31",
3
+ "version": "1.2.0-canary.32",
4
4
  "description": "Core package for VitNode, providing essential functionalities and configurations.",
5
5
  "author": "VitNode Team",
6
6
  "license": "MIT",
@@ -31,20 +31,20 @@
31
31
  "next-intl": "4.x.x",
32
32
  "react": "19.1.x",
33
33
  "react-dom": "19.1.x",
34
- "react-hook-form": "^7.0.0",
34
+ "react-hook-form": "^7.x.x",
35
35
  "typescript": "^5.8.x",
36
36
  "zod": "3.x.x"
37
37
  },
38
38
  "devDependencies": {
39
- "@hono/zod-openapi": "^0.19.8",
39
+ "@hono/zod-openapi": "^0.19.9",
40
40
  "@hono/zod-validator": "^0.7.0",
41
41
  "@hookform/resolvers": "^5.1.1",
42
- "@react-email/components": "^0.1.0",
42
+ "@react-email/components": "^0.1.1",
43
43
  "@swc/cli": "0.6.0",
44
- "@swc/core": "^1.12.7",
44
+ "@swc/core": "^1.12.9",
45
45
  "@testing-library/dom": "^10.4.0",
46
46
  "@testing-library/react": "^16.3.0",
47
- "@types/node": "^24",
47
+ "@types/node": "^24.0.10",
48
48
  "@types/nodemailer": "^6.4.17",
49
49
  "@types/react": "^19.1",
50
50
  "@types/react-dom": "^19.1",
@@ -52,29 +52,30 @@
52
52
  "@vitest/coverage-v8": "^3.2.4",
53
53
  "chokidar": "^4.0.3",
54
54
  "concurrently": "^9.2.0",
55
- "drizzle-kit": "^0.31.3",
55
+ "dotenv": "^17.1.0",
56
+ "drizzle-kit": "^0.31.4",
56
57
  "drizzle-orm": "^0.44.2",
57
- "eslint": "^9.29.0",
58
- "hono": "^4.8.3",
58
+ "eslint": "^9.30.1",
59
+ "hono": "^4.8.4",
59
60
  "jsdom": "^26.1.0",
60
- "lucide-react": "^0.523.0",
61
- "next": "^15.3.4",
62
- "next-intl": "^4.3.1",
63
- "react": "^19.1.0",
64
- "react-dom": "^19.1.0",
61
+ "lucide-react": "^0.525.0",
62
+ "next": "^15.3.5",
63
+ "next-intl": "^4.3.4",
64
+ "react": "^19.1",
65
+ "react-dom": "^19.1",
65
66
  "react-email": "^4.0.17",
66
- "react-hook-form": "^7.58.1",
67
- "sonner": "^2.0.5",
67
+ "react-hook-form": "^7.60.0",
68
+ "sonner": "^2.0.6",
68
69
  "tailwindcss": "^4.1.11",
69
70
  "tsc-alias": "^1.8.16",
70
71
  "tsup": "^8.5.0",
71
72
  "tsx": "^4.20.3",
72
- "tw-animate-css": "^1.3.4",
73
+ "tw-animate-css": "^1.3.5",
73
74
  "typescript": "^5.8.3",
74
75
  "vite-tsconfig-paths": "^5.1.4",
75
76
  "vitest": "^3.2.4",
76
- "zod": "^3.25.67",
77
- "@vitnode/eslint-config": "1.2.0-canary.31"
77
+ "zod": "^3.25.74",
78
+ "@vitnode/eslint-config": "1.2.0-canary.32"
78
79
  },
79
80
  "bin": {
80
81
  "vitnode": "./dist/scripts/scripts.js"
@@ -97,18 +98,17 @@
97
98
  "dependencies": {
98
99
  "@dnd-kit/core": "^6.3.1",
99
100
  "@hono/swagger-ui": "^0.5.2",
100
- "@tanstack/react-query": "^5.81.2",
101
+ "@tanstack/react-query": "^5.81.5",
101
102
  "class-variance-authority": "^0.7.1",
102
103
  "clsx": "^2.1.1",
103
104
  "cmdk": "^1.1.1",
104
- "dotenv": "^16.6.0",
105
105
  "input-otp": "^1.4.2",
106
106
  "next-themes": "^0.4.6",
107
- "nodemailer": "^7.0.3",
107
+ "nodemailer": "^7.0.4",
108
108
  "postgres": "^3.4.7",
109
109
  "radix-ui": "^1.4.2",
110
110
  "rate-limiter-flexible": "^7.1.1",
111
- "react-scan": "^0.3.4",
111
+ "react-scan": "^0.4.3",
112
112
  "resend": "^4.6.0",
113
113
  "tailwind-merge": "^3.3.1",
114
114
  "use-debounce": "^10.0.5",
@@ -119,7 +119,7 @@
119
119
  "start:scripts": "node dist/scripts/scripts.js plugin --w",
120
120
  "build:plugins": "tsc && swc src -d dist --config-file .swcrc && tsc-alias -p tsconfig.json",
121
121
  "dev": "concurrently \"tsc -w --preserveWatchOutput\" \"swc src -d dist --config-file .swcrc -w\" \"tsc-alias -w\" \"node dist/scripts/scripts.js plugin --w\"",
122
- "dev:email": "email dev",
122
+ "dev:email": "email dev --dir src/emails",
123
123
  "lint": "eslint .",
124
124
  "lint:fix": "eslint . --fix",
125
125
  "test": "vitest run",
@@ -1,4 +1,5 @@
1
1
  import { getTranslations } from 'next-intl/server';
2
+ import dynamic from 'next/dynamic';
2
3
  import React from 'react';
3
4
 
4
5
  import { I18nProvider } from '@/components/i18n-provider';
@@ -6,7 +7,7 @@ import { DataTableSkeleton } from '@/components/table/data-table';
6
7
  import { HeaderContent } from '@/components/ui/header-content';
7
8
  import { ClearCacheAction } from '@/views/admin/views/core/debug/actions/clear-cache/clear-cache';
8
9
 
9
- const SystemLogsView = React.lazy(async () =>
10
+ const SystemLogsView = dynamic(async () =>
10
11
  import('@/views/admin/views/core/debug/system-logs/system-logs-view').then(
11
12
  module => ({
12
13
  default: module.SystemLogsView,
@@ -1,12 +1,13 @@
1
1
  import type { Metadata } from 'next/dist/types';
2
2
 
3
3
  import { getTranslations } from 'next-intl/server';
4
+ import dynamic from 'next/dynamic';
4
5
  import React from 'react';
5
6
 
6
7
  import { DataTableSkeleton } from '@/components/table/data-table';
7
8
  import { HeaderContent } from '@/components/ui/header-content';
8
9
 
9
- const UsersAdminView = React.lazy(async () =>
10
+ const UsersAdminView = dynamic(async () =>
10
11
  import('@/views/admin/views/core/users/users-admin-view').then(module => ({
11
12
  default: module.UsersAdminView,
12
13
  })),
@@ -1,2 +0,0 @@
1
- export default function Email(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=my-email.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"my-email.d.ts","sourceRoot":"","sources":["../../emails/my-email.tsx"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,KAAK,4CAW5B"}