@vitnode/blog 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.
Files changed (45) hide show
  1. package/dist/src/api/modules/admin/admin.module.d.ts +161 -309
  2. package/dist/src/api/modules/admin/admin.module.d.ts.map +1 -1
  3. package/dist/src/api/modules/admin/categories/categories.admin.module.d.ts +75 -143
  4. package/dist/src/api/modules/admin/categories/categories.admin.module.d.ts.map +1 -1
  5. package/dist/src/api/modules/admin/categories/routes/create.route.d.ts +28 -49
  6. package/dist/src/api/modules/admin/categories/routes/create.route.d.ts.map +1 -1
  7. package/dist/src/api/modules/admin/categories/routes/delete.route.d.ts +16 -31
  8. package/dist/src/api/modules/admin/categories/routes/delete.route.d.ts.map +1 -1
  9. package/dist/src/api/modules/admin/categories/routes/edit.route.d.ts +34 -66
  10. package/dist/src/api/modules/admin/categories/routes/edit.route.d.ts.map +1 -1
  11. package/dist/src/api/modules/admin/posts/posts.admin.module.d.ts +87 -167
  12. package/dist/src/api/modules/admin/posts/posts.admin.module.d.ts.map +1 -1
  13. package/dist/src/api/modules/admin/posts/routes/create.route.d.ts +36 -63
  14. package/dist/src/api/modules/admin/posts/routes/create.route.d.ts.map +1 -1
  15. package/dist/src/api/modules/admin/posts/routes/delete.route.d.ts +16 -31
  16. package/dist/src/api/modules/admin/posts/routes/delete.route.d.ts.map +1 -1
  17. package/dist/src/api/modules/admin/posts/routes/edit.route.d.ts +39 -77
  18. package/dist/src/api/modules/admin/posts/routes/edit.route.d.ts.map +1 -1
  19. package/dist/src/api/modules/categories/categories.module.d.ts +59 -104
  20. package/dist/src/api/modules/categories/categories.module.d.ts.map +1 -1
  21. package/dist/src/api/modules/categories/routes/get.route.d.ts +41 -82
  22. package/dist/src/api/modules/categories/routes/get.route.d.ts.map +1 -1
  23. package/dist/src/api/modules/categories/test.route.d.ts +19 -23
  24. package/dist/src/api/modules/categories/test.route.d.ts.map +1 -1
  25. package/dist/src/api/modules/posts/posts.module.d.ts +46 -94
  26. package/dist/src/api/modules/posts/posts.module.d.ts.map +1 -1
  27. package/dist/src/api/modules/posts/routes/get.route.d.ts +46 -94
  28. package/dist/src/api/modules/posts/routes/get.route.d.ts.map +1 -1
  29. package/dist/src/app_admin/blog/categories/page.d.ts.map +1 -1
  30. package/dist/src/app_admin/blog/categories/page.js +1 -1
  31. package/dist/src/app_admin/blog/posts/page.d.ts.map +1 -1
  32. package/dist/src/app_admin/blog/posts/page.js +1 -1
  33. package/dist/src/views/admin/categories/actions/actions.js +1 -1
  34. package/dist/src/views/admin/categories/actions/create-edit/mutation-api.d.ts.map +1 -1
  35. package/dist/src/views/admin/categories/table/actions/edit-action.js +1 -1
  36. package/dist/src/views/admin/posts/actions/actions.js +1 -1
  37. package/dist/src/views/admin/posts/actions/create-edit/create-edit.d.ts.map +1 -1
  38. package/dist/src/views/admin/posts/actions/create-edit/mutation-api.d.ts.map +1 -1
  39. package/dist/src/views/admin/posts/table/actions/edit-action.d.ts.map +1 -1
  40. package/dist/src/views/admin/posts/table/actions/edit-action.js +1 -1
  41. package/dist/tsconfig.tsbuildinfo +1 -1
  42. package/eslint.config.mjs +17 -0
  43. package/package.json +24 -21
  44. package/src/app_admin/blog/categories/page.tsx +3 -2
  45. 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.54",
3
+ "version": "1.2.0-canary.56",
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",
@@ -27,36 +27,39 @@
27
27
  }
28
28
  },
29
29
  "dependencies": {
30
- "@hono/zod-openapi": "^1.1.0",
31
- "drizzle-kit": "^0.31.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
- "react": "^19.1.1",
38
- "react-dom": "^19.1.1",
39
- "react-email": "^4.2.8",
40
- "react-hook-form": "^7.62.0",
30
+ "@hono/zod-openapi": "^1.1.3",
31
+ "drizzle-kit": "^0.31.5",
32
+ "drizzle-orm": "^0.44.6",
33
+ "hono": "^4.9.9",
34
+ "lucide-react": "^0.544.0",
35
+ "next": "15.6.0-canary.41",
36
+ "next-intl": "^4.3.9",
37
+ "react": "^19.2.0",
38
+ "react-dom": "^19.2.0",
39
+ "react-email": "^4.2.12",
40
+ "react-hook-form": "^7.63.0",
41
41
  "sonner": "^2.0.7",
42
- "use-intl": "^4.3.6",
43
- "zod": "^4.1.5",
44
- "@vitnode/core": "1.2.0-canary.54"
42
+ "use-intl": "^4.3.9",
43
+ "zod": "^4.1.11",
44
+ "@vitnode/core": "1.2.0-canary.56"
45
45
  },
46
46
  "devDependencies": {
47
- "@react-email/components": "^0.5.2",
47
+ "@react-email/components": "^0.5.5",
48
48
  "@swc/cli": "0.6.0",
49
49
  "@swc/core": "^1.13.5",
50
- "@types/react": "^19.1.12",
51
- "@types/react-dom": "^19.1.9",
50
+ "@types/react": "^19.2.0",
51
+ "@types/react-dom": "^19.2.0",
52
52
  "concurrently": "^9.2.1",
53
+ "eslint": "^9.36.0",
53
54
  "tsc-alias": "^1.8.16",
54
- "typescript": "^5.9.2",
55
- "@vitnode/config": "1.2.0-canary.54"
55
+ "typescript": "^5.9.3",
56
+ "@vitnode/config": "1.2.0-canary.56"
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";