@vitnode/core 1.2.0-canary.30 → 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.
- package/config/next.config.ts +0 -18
- package/dist/scripts/get-config.d.ts +6 -2
- package/dist/scripts/get-config.d.ts.map +1 -1
- package/dist/scripts/prepare-database.d.ts +1 -0
- package/dist/scripts/prepare-database.d.ts.map +1 -1
- package/dist/scripts/run-interactive-shell-command.d.ts.map +1 -1
- package/dist/scripts/scripts.js +4 -2
- package/dist/scripts/shared/file-utils.d.ts.map +1 -1
- package/dist/src/api/config.js +3 -3
- package/dist/src/api/lib/logger-middleware.d.ts +3 -3
- package/dist/src/api/lib/logger-middleware.d.ts.map +1 -1
- package/dist/src/api/lib/logger-middleware.js +6 -6
- package/dist/src/api/middlewares/global.middleware.d.ts +15 -5
- package/dist/src/api/middlewares/global.middleware.d.ts.map +1 -1
- package/dist/src/api/middlewares/global.middleware.js +4 -2
- package/dist/src/api/middlewares/rate-limiter.middleware.d.ts +1 -1
- package/dist/src/api/middlewares/rate-limiter.middleware.d.ts.map +1 -1
- package/dist/src/api/middlewares/rate-limiter.middleware.js +8 -2
- package/dist/src/api/models/device.js +1 -1
- package/dist/src/api/models/email.d.ts +10 -6
- package/dist/src/api/models/email.d.ts.map +1 -1
- package/dist/src/api/models/email.js +27 -8
- package/dist/src/api/models/session-admin.js +3 -3
- package/dist/src/api/models/session.js +1 -1
- package/dist/src/api/models/sso.d.ts.map +1 -1
- package/dist/src/api/models/sso.js +2 -2
- package/dist/src/api/models/user/sign-up.d.ts +1 -1
- package/dist/src/api/models/user/sign-up.js +1 -1
- package/dist/src/api/models/user.d.ts +1 -1
- package/dist/src/api/models/user.d.ts.map +1 -1
- package/dist/src/api/modules/admin/admin.module.d.ts +32 -32
- package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts +16 -16
- package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts +16 -16
- package/dist/src/api/modules/admin/debug/routes/logs.route.js +6 -2
- package/dist/src/api/modules/admin/routes/session.route.d.ts +4 -4
- package/dist/src/api/modules/admin/users/routes/list.route.d.ts +12 -12
- package/dist/src/api/modules/admin/users/routes/users.route.d.ts +12 -12
- package/dist/src/api/modules/admin/users/users.admin.module.d.ts +12 -12
- package/dist/src/api/modules/middleware/route.js +1 -1
- package/dist/src/api/modules/users/routes/session.route.d.ts +4 -4
- package/dist/src/api/modules/users/routes/sign-up.route.d.ts +8 -8
- package/dist/src/api/modules/users/routes/test.route.d.ts +1 -1
- package/dist/src/api/modules/users/routes/test.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/test.route.js +7 -8
- package/dist/src/api/modules/users/users.module.d.ts +11 -11
- package/dist/src/app_admin/core/debug/page.d.ts +2 -2
- package/dist/src/app_admin/core/debug/page.d.ts.map +1 -1
- package/dist/src/app_admin/core/debug/page.js +2 -1
- package/dist/src/app_admin/core/users/page.d.ts +2 -2
- package/dist/src/app_admin/core/users/page.d.ts.map +1 -1
- package/dist/src/app_admin/core/users/page.js +2 -1
- package/dist/src/components/confirm-action/confirm-action-alert-dialog.d.ts +2 -2
- package/dist/src/components/confirm-action/confirm-action-alert-dialog.d.ts.map +1 -1
- package/dist/src/components/confirm-action/confirm-action-alert-dialog.js +2 -1
- package/dist/src/components/form/fields/combobox-async.js +1 -1
- package/dist/src/components/form/fields/combobox.js +1 -1
- package/dist/src/components/table/content.d.ts.map +1 -1
- package/dist/src/components/table/content.js +57 -60
- package/dist/src/components/table/data-table.d.ts.map +1 -1
- package/dist/src/components/table/data-table.js +26 -29
- package/dist/src/components/ui/button.d.ts +1 -1
- package/dist/src/components/ui/menubar.js +1 -1
- package/dist/src/components/ui/sidebar.d.ts +1 -1
- package/dist/src/components/ui/sidebar.d.ts.map +1 -1
- package/dist/src/components/ui/sidebar.js +1 -1
- package/dist/src/database/logs.d.ts +21 -4
- package/dist/src/database/logs.d.ts.map +1 -1
- package/dist/src/database/logs.js +11 -8
- package/dist/src/emails/default-template.d.ts +30 -0
- package/dist/src/emails/default-template.d.ts.map +1 -0
- package/dist/src/emails/default-template.js +106 -0
- package/dist/src/lib/api/get-session-admin-api.d.ts +1 -1
- package/dist/src/lib/api/get-session-api.d.ts +1 -1
- package/dist/src/lib/config.d.ts +2 -2
- package/dist/src/lib/config.d.ts.map +1 -1
- package/dist/src/lib/config.js +5 -8
- package/dist/src/lib/fetcher/core.d.ts.map +1 -1
- package/dist/src/lib/fetcher/core.js +5 -1
- package/dist/src/views/admin/layouts/admin-layout.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/admin-layout.js +2 -2
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.d.ts +17 -1
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.js +2 -1
- package/dist/src/views/admin/views/core/debug/system-logs/system-logs-view.d.ts +2 -2
- package/dist/src/views/auth/sign-up/form/mutation-api.d.ts +1 -1
- package/dist/src/views/auth/sign-up/form/use-form.d.ts +4 -4
- package/dist/src/views/layouts/theme/header/header.d.ts.map +1 -1
- package/dist/src/views/layouts/theme/header/header.js +3 -3
- package/dist/src/vitnode.config.d.ts +3 -4
- package/dist/src/vitnode.config.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +24 -24
- package/src/app_admin/core/debug/page.tsx +2 -1
- package/src/app_admin/core/users/page.tsx +2 -1
- package/dist/emails/my-email.d.ts +0 -2
- 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.
|
|
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.
|
|
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.
|
|
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.
|
|
42
|
+
"@react-email/components": "^0.1.1",
|
|
43
43
|
"@swc/cli": "0.6.0",
|
|
44
|
-
"@swc/core": "^1.12.
|
|
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
|
-
"
|
|
55
|
+
"dotenv": "^17.1.0",
|
|
56
|
+
"drizzle-kit": "^0.31.4",
|
|
56
57
|
"drizzle-orm": "^0.44.2",
|
|
57
|
-
"eslint": "^9.
|
|
58
|
-
"hono": "^4.8.
|
|
58
|
+
"eslint": "^9.30.1",
|
|
59
|
+
"hono": "^4.8.4",
|
|
59
60
|
"jsdom": "^26.1.0",
|
|
60
|
-
"lucide-react": "^0.
|
|
61
|
-
"next": "^15.3.
|
|
62
|
-
"next-intl": "^4.3.
|
|
63
|
-
"react": "^19.1
|
|
64
|
-
"react-dom": "^19.1
|
|
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.
|
|
67
|
-
"sonner": "^2.0.
|
|
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.
|
|
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.
|
|
77
|
-
"@vitnode/eslint-config": "1.2.0-canary.
|
|
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.
|
|
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.
|
|
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
|
|
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 =
|
|
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 =
|
|
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 +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"}
|