@vitnode/core 1.2.0-canary.54 → 1.2.0-canary.56
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/dist/scripts/get-config.d.ts.map +1 -1
- package/dist/scripts/plugin.d.ts.map +1 -1
- package/dist/scripts/prepare-database.d.ts.map +1 -1
- package/dist/scripts/prepare-plugins-files.d.ts.map +1 -1
- package/dist/scripts/scripts.js +3 -3
- package/dist/scripts/shared/file-utils.d.ts.map +1 -1
- package/dist/src/api/adapters/cron/node-cron.adapter.d.ts.map +1 -1
- package/dist/src/api/adapters/sso/discord.d.ts.map +1 -1
- package/dist/src/api/adapters/sso/facebook.d.ts.map +1 -1
- package/dist/src/api/adapters/sso/google.d.ts.map +1 -1
- package/dist/src/api/config.d.ts.map +1 -1
- package/dist/src/api/config.js +2 -1
- package/dist/src/api/lib/cron.d.ts +4 -4
- package/dist/src/api/lib/cron.d.ts.map +1 -1
- package/dist/src/api/lib/logger-middleware.js +1 -1
- package/dist/src/api/lib/module.d.ts +2 -2
- package/dist/src/api/lib/module.d.ts.map +1 -1
- package/dist/src/api/lib/plugin.d.ts +1 -1
- package/dist/src/api/lib/plugin.d.ts.map +1 -1
- package/dist/src/api/lib/route.d.ts +9 -16
- package/dist/src/api/lib/route.d.ts.map +1 -1
- package/dist/src/api/lib/route.js +1 -1
- package/dist/src/api/lib/with-pagination.d.ts +1 -1
- package/dist/src/api/lib/with-pagination.d.ts.map +1 -1
- package/dist/src/api/middlewares/cron-auth.middleware.d.ts.map +1 -1
- package/dist/src/api/middlewares/global.middleware.d.ts +6 -6
- package/dist/src/api/middlewares/global.middleware.d.ts.map +1 -1
- package/dist/src/api/middlewares/global.middleware.js +0 -1
- package/dist/src/api/models/device.d.ts.map +1 -1
- package/dist/src/api/models/device.js +1 -1
- package/dist/src/api/models/email.d.ts.map +1 -1
- package/dist/src/api/models/email.js +1 -2
- package/dist/src/api/models/session-admin.d.ts.map +1 -1
- package/dist/src/api/models/session.d.ts.map +1 -1
- package/dist/src/api/models/sso.d.ts.map +1 -1
- package/dist/src/api/models/sso.js +1 -1
- package/dist/src/api/models/user/get-user-by-id.d.ts.map +1 -1
- package/dist/src/api/models/user/sign-in-with-passwords.d.ts.map +1 -1
- package/dist/src/api/models/user/sign-up.d.ts.map +1 -1
- package/dist/src/api/models/user/sign-up.js +1 -0
- package/dist/src/api/models/user.d.ts.map +1 -1
- package/dist/src/api/modules/admin/admin.module.d.ts +217 -393
- package/dist/src/api/modules/admin/admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/advanced/advanced.admin.module.d.ts +86 -150
- package/dist/src/api/modules/admin/advanced/advanced.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/advanced/cron/cron.admin.module.d.ts +86 -150
- package/dist/src/api/modules/admin/advanced/cron/cron.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/advanced/cron/routes/get.route.d.ts +48 -91
- package/dist/src/api/modules/admin/advanced/cron/routes/get.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/advanced/cron/routes/run.route.d.ts +39 -60
- package/dist/src/api/modules/admin/advanced/cron/routes/run.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts +56 -105
- package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts +56 -105
- package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/routes/session.route.d.ts +29 -47
- package/dist/src/api/modules/admin/routes/session.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/routes/list.route.d.ts +49 -94
- package/dist/src/api/modules/admin/users/routes/list.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/routes/users.route.d.ts +54 -99
- package/dist/src/api/modules/admin/users/routes/users.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/users.admin.module.d.ts +49 -94
- package/dist/src/api/modules/admin/users/users.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/cron/cron/clean.cron.d.ts.map +1 -1
- package/dist/src/api/modules/cron/cron.module.d.ts +17 -21
- package/dist/src/api/modules/cron/cron.module.d.ts.map +1 -1
- package/dist/src/api/modules/cron/helpers/process-cron-jobs.d.ts +10 -10
- package/dist/src/api/modules/cron/helpers/process-cron-jobs.d.ts.map +1 -1
- package/dist/src/api/modules/cron/helpers/process-cron-jobs.js +3 -3
- package/dist/src/api/modules/cron/routes/cron.route.d.ts +17 -21
- package/dist/src/api/modules/cron/routes/cron.route.d.ts.map +1 -1
- package/dist/src/api/modules/cron/routes/cron.route.js +1 -1
- package/dist/src/api/modules/middleware/middleware.module.d.ts +26 -40
- package/dist/src/api/modules/middleware/middleware.module.d.ts.map +1 -1
- package/dist/src/api/modules/middleware/route.d.ts +26 -40
- package/dist/src/api/modules/middleware/route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/change-password.route.d.ts +21 -40
- package/dist/src/api/modules/users/routes/change-password.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/reset-passowrd.route.d.ts +20 -35
- package/dist/src/api/modules/users/routes/reset-passowrd.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/session.route.d.ts +27 -45
- package/dist/src/api/modules/users/routes/session.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/sign-in.route.d.ts +30 -52
- package/dist/src/api/modules/users/routes/sign-in.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/sign-out.route.d.ts +21 -36
- package/dist/src/api/modules/users/routes/sign-out.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/sign-up.route.d.ts +36 -61
- package/dist/src/api/modules/users/routes/sign-up.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/test.route.d.ts +19 -23
- package/dist/src/api/modules/users/routes/test.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/sso/routes/callback.route.d.ts +28 -59
- package/dist/src/api/modules/users/sso/routes/callback.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/sso/routes/create-url.route.d.ts +20 -37
- package/dist/src/api/modules/users/sso/routes/create-url.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/sso/sso.module.d.ts +47 -95
- package/dist/src/api/modules/users/sso/sso.module.d.ts.map +1 -1
- package/dist/src/api/modules/users/users.module.d.ts +212 -378
- package/dist/src/api/modules/users/users.module.d.ts.map +1 -1
- package/dist/src/app_admin/core/advanced/cron/page.d.ts.map +1 -1
- package/dist/src/app_admin/core/advanced/cron/page.js +3 -3
- package/dist/src/app_admin/core/debug/page.js +1 -1
- package/dist/src/app_admin/core/users/page.d.ts.map +1 -1
- package/dist/src/app_admin/core/users/page.js +1 -1
- package/dist/src/components/confirm-action/confirm-action-alert-dialog.js +1 -1
- package/dist/src/components/confirm-action/content.d.ts.map +1 -1
- package/dist/src/components/confirm-action/content.js +1 -0
- package/dist/src/components/form/auto-form.d.ts.map +1 -1
- package/dist/src/components/form/auto-form.js +0 -1
- package/dist/src/components/form/fields/checkbox.d.ts +1 -1
- package/dist/src/components/form/fields/checkbox.d.ts.map +1 -1
- package/dist/src/components/form/fields/combobox-async.d.ts.map +1 -1
- package/dist/src/components/form/fields/combobox.d.ts.map +1 -1
- package/dist/src/components/form/fields/input.d.ts +1 -1
- package/dist/src/components/form/fields/input.d.ts.map +1 -1
- package/dist/src/components/form/fields/select.d.ts.map +1 -1
- package/dist/src/components/form/fields/switch.js +1 -1
- package/dist/src/components/switchers/langs/language-switcher.d.ts.map +1 -1
- package/dist/src/components/table/content.d.ts.map +1 -1
- package/dist/src/components/table/data-table.d.ts +1 -1
- package/dist/src/components/table/data-table.d.ts.map +1 -1
- package/dist/src/components/table/order-table-head.d.ts.map +1 -1
- package/dist/src/components/table/pagination.js +1 -1
- package/dist/src/components/tiptap/extension.d.ts.map +1 -1
- package/dist/src/components/tiptap/extension.js +7 -0
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.d.ts +2 -0
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.d.ts.map +1 -0
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.js +91 -0
- package/dist/src/components/tiptap/toolbar/actions/bold-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/headings-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/headings-action.js +45 -46
- package/dist/src/components/tiptap/toolbar/actions/italic-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/list-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/list-action.js +14 -13
- package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.js +5 -5
- package/dist/src/components/tiptap/toolbar/actions/underline-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.js +6 -6
- package/dist/src/components/tiptap/toolbar/tiptap-toolbar.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/tiptap-toolbar.js +38 -18
- package/dist/src/components/tiptap/toolbar/use-toolbar-editor.d.ts.map +1 -1
- package/dist/src/components/ui/accordion.d.ts +1 -1
- package/dist/src/components/ui/accordion.d.ts.map +1 -1
- package/dist/src/components/ui/alert.d.ts +1 -1
- package/dist/src/components/ui/alert.d.ts.map +1 -1
- package/dist/src/components/ui/badge.d.ts +1 -1
- package/dist/src/components/ui/badge.d.ts.map +1 -1
- package/dist/src/components/ui/button.d.ts +2 -2
- package/dist/src/components/ui/button.d.ts.map +1 -1
- package/dist/src/components/ui/checkbox.d.ts +1 -1
- package/dist/src/components/ui/checkbox.d.ts.map +1 -1
- package/dist/src/components/ui/command.d.ts +1 -1
- package/dist/src/components/ui/command.d.ts.map +1 -1
- package/dist/src/components/ui/context-menu.d.ts +1 -1
- package/dist/src/components/ui/context-menu.d.ts.map +1 -1
- package/dist/src/components/ui/drawer.d.ts.map +1 -1
- package/dist/src/components/ui/dropdown-menu.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/src/components/ui/editor-content.js +1 -1
- package/dist/src/components/ui/editor.d.ts.map +1 -1
- package/dist/src/components/ui/editor.js +1 -1
- package/dist/src/components/ui/form.d.ts.map +1 -1
- package/dist/src/components/ui/hover-card.d.ts +1 -1
- package/dist/src/components/ui/hover-card.d.ts.map +1 -1
- package/dist/src/components/ui/label.d.ts +1 -1
- package/dist/src/components/ui/label.d.ts.map +1 -1
- package/dist/src/components/ui/menubar.d.ts +1 -1
- package/dist/src/components/ui/menubar.d.ts.map +1 -1
- package/dist/src/components/ui/navigation-menu.d.ts +1 -1
- package/dist/src/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/src/components/ui/popover.d.ts +1 -1
- package/dist/src/components/ui/popover.d.ts.map +1 -1
- package/dist/src/components/ui/progress.d.ts +1 -1
- package/dist/src/components/ui/progress.d.ts.map +1 -1
- package/dist/src/components/ui/radio-group.d.ts +1 -1
- package/dist/src/components/ui/radio-group.d.ts.map +1 -1
- package/dist/src/components/ui/scroll-area.d.ts +6 -0
- package/dist/src/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/src/components/ui/scroll-area.js +33 -0
- package/dist/src/components/ui/select.d.ts +1 -1
- package/dist/src/components/ui/select.d.ts.map +1 -1
- package/dist/src/components/ui/separator.d.ts +1 -1
- package/dist/src/components/ui/separator.d.ts.map +1 -1
- package/dist/src/components/ui/sheet.d.ts +1 -1
- package/dist/src/components/ui/sheet.d.ts.map +1 -1
- package/dist/src/components/ui/sidebar.js +1 -1
- package/dist/src/components/ui/sonner.d.ts.map +1 -1
- package/dist/src/components/ui/switch.d.ts +1 -1
- package/dist/src/components/ui/switch.d.ts.map +1 -1
- package/dist/src/components/ui/tabs.d.ts +1 -1
- package/dist/src/components/ui/tabs.d.ts.map +1 -1
- package/dist/src/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/src/components/ui/toggle.d.ts +1 -1
- package/dist/src/components/ui/toggle.d.ts.map +1 -1
- package/dist/src/components/ui/toggle.js +1 -1
- package/dist/src/components/ui/tooltip.d.ts +1 -1
- package/dist/src/components/ui/tooltip.d.ts.map +1 -1
- package/dist/src/drizzle.config.d.ts.map +1 -1
- package/dist/src/drizzle.config.js +1 -1
- package/dist/src/emails/default-template.d.ts.map +1 -1
- package/dist/src/emails/default-template.js +20 -21
- package/dist/src/hooks/use-captcha.d.ts +20 -0
- package/dist/src/hooks/use-captcha.d.ts.map +1 -1
- package/dist/src/hooks/use-captcha.js +22 -18
- package/dist/src/hooks/use-mobile.d.ts.map +1 -1
- package/dist/src/hooks/use-mobile.js +1 -0
- package/dist/src/lib/api/get-next-cron-run-date.d.ts.map +1 -1
- package/dist/src/lib/api/get-next-cron-run-date.js +2 -2
- package/dist/src/lib/api/should-cron-job-run.d.ts.map +1 -1
- package/dist/src/lib/api/should-cron-job-run.js +2 -2
- package/dist/src/lib/config.js +1 -1
- package/dist/src/lib/ctrl-or-command-character.d.ts +1 -1
- package/dist/src/lib/ctrl-or-command-character.d.ts.map +1 -1
- package/dist/src/lib/ctrl-or-command-character.js +2 -6
- package/dist/src/lib/fetcher/cookie-from-string-to-object.d.ts.map +1 -1
- package/dist/src/lib/fetcher/core.d.ts.map +1 -1
- package/dist/src/lib/fetcher/core.js +1 -2
- package/dist/src/lib/fetcher-client.d.ts.map +1 -1
- package/dist/src/lib/fetcher.d.ts.map +1 -1
- package/dist/src/lib/helpers/auto-form.d.ts.map +1 -1
- package/dist/src/lib/helpers/auto-form.js +0 -1
- package/dist/src/lib/navigation.d.ts +1 -1
- package/dist/src/lib/navigation.d.ts.map +1 -1
- package/dist/src/lib/tiptap/toolbar/actions/bold-action.d.ts +1 -0
- package/dist/src/lib/tiptap/toolbar/actions/bold-action.d.ts.map +1 -0
- package/dist/src/lib/tiptap/toolbar/actions/bold-action.js +0 -0
- package/dist/src/views/admin/layouts/admin-layout.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/admin-layout.js +4 -1
- package/dist/src/views/admin/layouts/user-bar/user-bar.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.js +4 -4
- package/dist/src/views/admin/views/core/advanced/cron/run-action/mutation-api.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/run-action/run-action.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/run-action/run-action.js +4 -3
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/content.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.js +1 -1
- package/dist/src/views/admin/views/core/test.js +1 -1
- package/dist/src/views/auth/password-reset/change-password-form/use-form.d.ts.map +1 -1
- package/dist/src/views/auth/password-reset/form/form.d.ts.map +1 -1
- package/dist/src/views/auth/sign-in/form/mutation-api.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/components/password-input.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/components/password-input.js +2 -1
- package/dist/src/views/auth/sign-up/form/form.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/form/mutation-api.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/form/use-form.js +2 -2
- package/dist/src/views/auth/sign-up/wrapper.d.ts +1 -1
- package/dist/src/views/auth/sign-up/wrapper.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/wrapper.js +8 -5
- package/dist/src/views/auth/sso/callback/client/client.d.ts.map +1 -1
- package/dist/src/views/error/global-error-view.d.ts.map +1 -1
- package/dist/src/views/error/global-error-view.js +2 -1
- package/dist/src/views/layouts/provider.d.ts.map +1 -1
- package/dist/src/views/layouts/provider.js +1 -0
- package/dist/src/views/layouts/root-layout.d.ts.map +1 -1
- package/dist/src/views/layouts/theme/header/header.d.ts.map +1 -1
- package/dist/src/views/layouts/theme/header/user/auth/client.d.ts.map +1 -1
- package/dist/src/vitnode.config.d.ts +1 -1
- package/dist/src/vitnode.config.d.ts.map +1 -1
- package/dist/src/vitnode.config.js +0 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/eslint.config.mjs +17 -0
- package/package.json +42 -38
- package/src/app_admin/core/advanced/cron/page.tsx +3 -2
- package/src/app_admin/core/debug/page.tsx +1 -1
- package/src/app_admin/core/users/page.tsx +2 -1
- package/src/locales/en.json +8 -0
- package/src/tiptap.css +9 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import eslintVitNode from "@vitnode/config/eslint";
|
|
2
|
+
import { fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname } from "node:path";
|
|
4
|
+
|
|
5
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
6
|
+
|
|
7
|
+
export default [
|
|
8
|
+
...eslintVitNode,
|
|
9
|
+
{
|
|
10
|
+
languageOptions: {
|
|
11
|
+
parserOptions: {
|
|
12
|
+
project: "./tsconfig.json",
|
|
13
|
+
tsconfigRootDir: __dirname,
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
];
|
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.56",
|
|
4
4
|
"description": "Core package for VitNode, providing essential functionalities and configurations.",
|
|
5
5
|
"author": "VitNode Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,46 +37,47 @@
|
|
|
37
37
|
"zod": "^4.x.x"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@hono/zod-openapi": "^1.1.
|
|
41
|
-
"@hono/zod-validator": "^0.7.
|
|
42
|
-
"@hookform/resolvers": "^5.2.
|
|
43
|
-
"@react-email/components": "^0.5.
|
|
40
|
+
"@hono/zod-openapi": "^1.1.3",
|
|
41
|
+
"@hono/zod-validator": "^0.7.3",
|
|
42
|
+
"@hookform/resolvers": "^5.2.2",
|
|
43
|
+
"@react-email/components": "^0.5.5",
|
|
44
44
|
"@swc/cli": "0.6.0",
|
|
45
45
|
"@swc/core": "^1.13.5",
|
|
46
46
|
"@testing-library/dom": "^10.4.1",
|
|
47
47
|
"@testing-library/react": "^16.3.0",
|
|
48
|
-
"@types/node": "^24.
|
|
49
|
-
"@types/nodemailer": "^7.0.
|
|
50
|
-
"@types/react": "^19.
|
|
51
|
-
"@types/react-dom": "^19.
|
|
52
|
-
"@vitejs/plugin-react": "^5.0.
|
|
48
|
+
"@types/node": "^24.6.2",
|
|
49
|
+
"@types/nodemailer": "^7.0.2",
|
|
50
|
+
"@types/react": "^19.2.0",
|
|
51
|
+
"@types/react-dom": "^19.2.0",
|
|
52
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
53
53
|
"@vitest/coverage-v8": "^3.2.4",
|
|
54
54
|
"chokidar": "^4.0.3",
|
|
55
55
|
"concurrently": "^9.2.1",
|
|
56
|
-
"dotenv": "^17.2.
|
|
57
|
-
"drizzle-kit": "^0.31.
|
|
58
|
-
"drizzle-orm": "^0.44.
|
|
59
|
-
"
|
|
56
|
+
"dotenv": "^17.2.3",
|
|
57
|
+
"drizzle-kit": "^0.31.5",
|
|
58
|
+
"drizzle-orm": "^0.44.6",
|
|
59
|
+
"eslint": "^9.36.0",
|
|
60
|
+
"hono": "^4.9.9",
|
|
60
61
|
"jsdom": "^26.1.0",
|
|
61
|
-
"lucide-react": "^0.
|
|
62
|
-
"next": "
|
|
63
|
-
"next-intl": "^4.3.
|
|
62
|
+
"lucide-react": "^0.544.0",
|
|
63
|
+
"next": "15.6.0-canary.41",
|
|
64
|
+
"next-intl": "^4.3.9",
|
|
64
65
|
"node-cron": "^4.2.1",
|
|
65
|
-
"react": "^19.
|
|
66
|
-
"react-dom": "^19.
|
|
67
|
-
"react-email": "^4.2.
|
|
68
|
-
"react-hook-form": "^7.
|
|
66
|
+
"react": "^19.2.0",
|
|
67
|
+
"react-dom": "^19.2.0",
|
|
68
|
+
"react-email": "^4.2.12",
|
|
69
|
+
"react-hook-form": "^7.63.0",
|
|
69
70
|
"sonner": "^2.0.7",
|
|
70
|
-
"tailwindcss": "^4.1.
|
|
71
|
+
"tailwindcss": "^4.1.14",
|
|
71
72
|
"tsc-alias": "^1.8.16",
|
|
72
73
|
"tsup": "^8.5.0",
|
|
73
|
-
"tsx": "^4.20.
|
|
74
|
-
"tw-animate-css": "^1.
|
|
75
|
-
"typescript": "^5.9.
|
|
74
|
+
"tsx": "^4.20.6",
|
|
75
|
+
"tw-animate-css": "^1.4.0",
|
|
76
|
+
"typescript": "^5.9.3",
|
|
76
77
|
"vite-tsconfig-paths": "^5.1.4",
|
|
77
78
|
"vitest": "^3.2.4",
|
|
78
|
-
"zod": "^4.1.
|
|
79
|
-
"@vitnode/config": "1.2.0-canary.
|
|
79
|
+
"zod": "^4.1.11",
|
|
80
|
+
"@vitnode/config": "1.2.0-canary.56"
|
|
80
81
|
},
|
|
81
82
|
"bin": {
|
|
82
83
|
"vitnode": "./dist/scripts/scripts.js"
|
|
@@ -100,27 +101,28 @@
|
|
|
100
101
|
"dependencies": {
|
|
101
102
|
"@dnd-kit/core": "^6.3.1",
|
|
102
103
|
"@hono/swagger-ui": "^0.5.2",
|
|
103
|
-
"@react-email/preview-server": "^4.2.
|
|
104
|
-
"@tanstack/react-query": "^5.
|
|
105
|
-
"@tiptap/
|
|
106
|
-
"@tiptap/
|
|
107
|
-
"@tiptap/
|
|
104
|
+
"@react-email/preview-server": "^4.2.12",
|
|
105
|
+
"@tanstack/react-query": "^5.90.2",
|
|
106
|
+
"@tiptap/extension-text-align": "^3.6.5",
|
|
107
|
+
"@tiptap/pm": "^3.6.5",
|
|
108
|
+
"@tiptap/react": "^3.6.5",
|
|
109
|
+
"@tiptap/starter-kit": "^3.6.5",
|
|
108
110
|
"class-variance-authority": "^0.7.1",
|
|
109
111
|
"clsx": "^2.1.1",
|
|
110
112
|
"cmdk": "^1.1.1",
|
|
111
|
-
"cron-parser": "^5.
|
|
113
|
+
"cron-parser": "^5.4.0",
|
|
112
114
|
"input-otp": "^1.4.2",
|
|
113
|
-
"motion": "^12.23.
|
|
115
|
+
"motion": "^12.23.22",
|
|
114
116
|
"next-themes": "^0.4.6",
|
|
115
117
|
"nodemailer": "^7.0.6",
|
|
116
118
|
"postgres": "^3.4.7",
|
|
117
119
|
"radix-ui": "^1.4.3",
|
|
118
|
-
"rate-limiter-flexible": "^
|
|
120
|
+
"rate-limiter-flexible": "^8.0.1",
|
|
119
121
|
"react-scan": "^0.4.3",
|
|
120
|
-
"resend": "^6.
|
|
122
|
+
"resend": "^6.1.2",
|
|
121
123
|
"tailwind-merge": "^3.3.1",
|
|
122
124
|
"use-debounce": "^10.0.6",
|
|
123
|
-
"use-intl": "^4.3.
|
|
125
|
+
"use-intl": "^4.3.9",
|
|
124
126
|
"vaul": "^1.1.2"
|
|
125
127
|
},
|
|
126
128
|
"scripts": {
|
|
@@ -131,6 +133,8 @@
|
|
|
131
133
|
"dev:email": "email dev --dir src/emails",
|
|
132
134
|
"test": "vitest run",
|
|
133
135
|
"test:watch": "vitest",
|
|
134
|
-
"test:coverage": "vitest run --coverage"
|
|
136
|
+
"test:coverage": "vitest run --coverage",
|
|
137
|
+
"lint": "eslint .",
|
|
138
|
+
"lint:fix": "eslint . --fix"
|
|
135
139
|
}
|
|
136
140
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import dynamic from "next/dynamic";
|
|
2
1
|
import { getTranslations } from "next-intl/server";
|
|
2
|
+
import dynamic from "next/dynamic";
|
|
3
3
|
import React from "react";
|
|
4
|
+
|
|
4
5
|
import { I18nProvider } from "@/components/i18n-provider";
|
|
5
6
|
import { DataTableSkeleton } from "@/components/table/data-table";
|
|
6
7
|
import { HeaderContent } from "@/components/ui/header-content";
|
|
@@ -30,7 +31,7 @@ export default async function Page(
|
|
|
30
31
|
return (
|
|
31
32
|
<I18nProvider namespaces={["admin.advanced.cron"]}>
|
|
32
33
|
<div className="p-4">
|
|
33
|
-
<HeaderContent
|
|
34
|
+
<HeaderContent desc={t("desc")} h1={t("title")} />
|
|
34
35
|
|
|
35
36
|
<React.Suspense fallback={<DataTableSkeleton columns={6} />}>
|
|
36
37
|
<CronTableView {...props} />
|
|
@@ -1,6 +1,7 @@
|
|
|
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";
|
package/src/locales/en.json
CHANGED
|
@@ -9,9 +9,17 @@
|
|
|
9
9
|
"bold": "Bold",
|
|
10
10
|
"italic": "Italic",
|
|
11
11
|
"underline": "Underline",
|
|
12
|
+
"ordered_list": "Ordered List",
|
|
13
|
+
"bullet_list": "Bullet List",
|
|
12
14
|
"text_format_more": {
|
|
13
15
|
"label": "More text formats",
|
|
14
16
|
"strike": "Strike"
|
|
17
|
+
},
|
|
18
|
+
"alignments": {
|
|
19
|
+
"left": "Left align",
|
|
20
|
+
"center": "Center align",
|
|
21
|
+
"right": "Right align",
|
|
22
|
+
"justify": "Justify align"
|
|
15
23
|
}
|
|
16
24
|
},
|
|
17
25
|
"theme_switcher": "Toggle Theme",
|
package/src/tiptap.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** biome-ignore-all lint/suspicious/noUnknownAtRules: tailwindcss */
|
|
2
1
|
@import "tailwindcss";
|
|
3
2
|
|
|
4
3
|
.tiptap {
|
|
@@ -17,4 +16,13 @@
|
|
|
17
16
|
h4 {
|
|
18
17
|
@apply text-xl font-semibold tracking-tight;
|
|
19
18
|
}
|
|
19
|
+
|
|
20
|
+
ul,
|
|
21
|
+
ol {
|
|
22
|
+
@apply my-4 ml-6 space-y-2;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
p {
|
|
26
|
+
@apply [&:not(:first-child)]:mt-2;
|
|
27
|
+
}
|
|
20
28
|
}
|