@vitnode/blog 1.2.0-canary.53 → 1.2.0-canary.55

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 (33) hide show
  1. package/dist/src/api/modules/admin/admin.module.js +1 -1
  2. package/dist/src/api/modules/admin/categories/categories.admin.module.js +1 -1
  3. package/dist/src/api/modules/admin/categories/routes/create.route.js +1 -1
  4. package/dist/src/api/modules/admin/categories/routes/delete.route.js +1 -1
  5. package/dist/src/api/modules/admin/categories/routes/edit.route.js +1 -1
  6. package/dist/src/api/modules/admin/posts/posts.admin.module.js +1 -1
  7. package/dist/src/api/modules/admin/posts/routes/create.route.js +1 -1
  8. package/dist/src/api/modules/admin/posts/routes/delete.route.js +1 -1
  9. package/dist/src/api/modules/admin/posts/routes/edit.route.js +1 -1
  10. package/dist/src/api/modules/categories/categories.module.js +1 -1
  11. package/dist/src/api/modules/categories/routes/get.route.js +1 -1
  12. package/dist/src/api/modules/categories/test.route.js +1 -1
  13. package/dist/src/api/modules/posts/posts.module.js +1 -1
  14. package/dist/src/api/modules/posts/routes/get.route.js +1 -1
  15. package/dist/src/app_admin/blog/categories/page.d.ts.map +1 -1
  16. package/dist/src/app_admin/blog/categories/page.js +1 -1
  17. package/dist/src/app_admin/blog/posts/page.d.ts.map +1 -1
  18. package/dist/src/app_admin/blog/posts/page.js +1 -1
  19. package/dist/src/config.api.js +1 -1
  20. package/dist/src/config.js +1 -1
  21. package/dist/src/views/admin/categories/actions/actions.js +1 -1
  22. package/dist/src/views/admin/categories/actions/create-edit/mutation-api.d.ts.map +1 -1
  23. package/dist/src/views/admin/categories/table/actions/edit-action.js +1 -1
  24. package/dist/src/views/admin/posts/actions/actions.js +1 -1
  25. package/dist/src/views/admin/posts/actions/create-edit/create-edit.d.ts.map +1 -1
  26. package/dist/src/views/admin/posts/actions/create-edit/mutation-api.d.ts.map +1 -1
  27. package/dist/src/views/admin/posts/table/actions/edit-action.d.ts.map +1 -1
  28. package/dist/src/views/admin/posts/table/actions/edit-action.js +1 -1
  29. package/dist/tsconfig.tsbuildinfo +1 -1
  30. package/eslint.config.mjs +17 -0
  31. package/package.json +19 -16
  32. package/src/app_admin/blog/categories/page.tsx +3 -2
  33. package/src/app_admin/blog/posts/page.tsx +3 -2
@@ -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/blog",
3
- "version": "1.2.0-canary.53",
3
+ "version": "1.2.0-canary.55",
4
4
  "description": "Blog plugin for VitNode, providing a blogging platform with Next.js and Hono.js.",
5
5
  "author": "VitNode Team",
6
6
  "license": "MIT",
@@ -29,34 +29,37 @@
29
29
  "dependencies": {
30
30
  "@hono/zod-openapi": "^1.1.0",
31
31
  "drizzle-kit": "^0.31.4",
32
- "drizzle-orm": "^0.44.4",
33
- "hono": "^4.9.2",
34
- "lucide-react": "^0.540.0",
35
- "next": "^15.4.7",
36
- "next-intl": "^4.3.4",
32
+ "drizzle-orm": "^0.44.5",
33
+ "hono": "^4.9.6",
34
+ "lucide-react": "^0.542.0",
35
+ "next": "^15.5.2",
36
+ "next-intl": "^4.3.6",
37
37
  "react": "^19.1.1",
38
38
  "react-dom": "^19.1.1",
39
39
  "react-email": "^4.2.8",
40
40
  "react-hook-form": "^7.62.0",
41
41
  "sonner": "^2.0.7",
42
- "use-intl": "^4.3.4",
43
- "zod": "^4.0.17",
44
- "@vitnode/core": "1.2.0-canary.53"
42
+ "use-intl": "^4.3.6",
43
+ "zod": "^4.1.5",
44
+ "@vitnode/core": "1.2.0-canary.55"
45
45
  },
46
46
  "devDependencies": {
47
- "@react-email/components": "^0.5.0",
47
+ "@react-email/components": "^0.5.2",
48
48
  "@swc/cli": "0.6.0",
49
- "@swc/core": "^1.13.3",
50
- "@types/react": "^19.1.10",
51
- "@types/react-dom": "^19.1.7",
52
- "concurrently": "^9.2.0",
49
+ "@swc/core": "^1.13.5",
50
+ "@types/react": "^19.1.12",
51
+ "@types/react-dom": "^19.1.9",
52
+ "concurrently": "^9.2.1",
53
+ "eslint": "^9.36.0",
53
54
  "tsc-alias": "^1.8.16",
54
55
  "typescript": "^5.9.2",
55
- "@vitnode/config": "1.2.0-canary.53"
56
+ "@vitnode/config": "1.2.0-canary.55"
56
57
  },
57
58
  "scripts": {
58
59
  "build:plugins": "tsc && swc src -d dist --config-file .swcrc && tsc-alias -p tsconfig.json",
59
60
  "dev": "concurrently \"tsc -w --preserveWatchOutput\" \"swc src -d dist --config-file .swcrc -w\" \"tsc-alias -w\" \"vitnode plugin --w\"",
60
- "dev:email": "email dev --dir src/emails"
61
+ "dev:email": "email dev --dir src/emails",
62
+ "lint": "eslint .",
63
+ "lint:fix": "eslint . --fix"
61
64
  }
62
65
  }
@@ -1,9 +1,10 @@
1
+ import type { Metadata } from "next";
2
+
1
3
  import { I18nProvider } from "@vitnode/core/components/i18n-provider";
2
4
  import { DataTableSkeleton } from "@vitnode/core/components/table/data-table";
3
5
  import { HeaderContent } from "@vitnode/core/components/ui/header-content";
4
- import type { Metadata } from "next";
5
- import dynamic from "next/dynamic";
6
6
  import { getTranslations } from "next-intl/server";
7
+ import dynamic from "next/dynamic";
7
8
  import React from "react";
8
9
 
9
10
  import { ActionsCategoriesAdmin } from "@/views/admin/categories/actions/actions";
@@ -1,9 +1,10 @@
1
+ import type { Metadata } from "next";
2
+
1
3
  import { I18nProvider } from "@vitnode/core/components/i18n-provider";
2
4
  import { DataTableSkeleton } from "@vitnode/core/components/table/data-table";
3
5
  import { HeaderContent } from "@vitnode/core/components/ui/header-content";
4
- import type { Metadata } from "next";
5
- import dynamic from "next/dynamic";
6
6
  import { getTranslations } from "next-intl/server";
7
+ import dynamic from "next/dynamic";
7
8
  import React from "react";
8
9
 
9
10
  import { ActionsPostsAdmin } from "@/views/admin/posts/actions/actions";