create-vitnode-app 1.2.0-canary.29 → 1.2.0-canary.30

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.
@@ -0,0 +1,10 @@
1
+ import {
2
+ AdminLayout,
3
+ type AdminLayoutProps,
4
+ } from '@vitnode/core/views/admin/layouts/admin-layout';
5
+
6
+ import { vitNodeConfig } from '@/vitnode.config';
7
+
8
+ export default function Layout(props: AdminLayoutProps) {
9
+ return <AdminLayout vitNodeConfig={vitNodeConfig} {...props} />;
10
+ }
@@ -0,0 +1,5 @@
1
+ import { SignInAdminView } from '@vitnode/core/views/admin/sign-in/sign-in-admin-view';
2
+
3
+ export default function Page() {
4
+ return <SignInAdminView />;
5
+ }
@@ -1,10 +1,7 @@
1
1
  @import 'tailwindcss';
2
- @import 'fumadocs-ui/css/shadcn.css';
3
- @import 'fumadocs-ui/css/preset.css';
4
2
 
5
3
  @import 'tw-animate-css';
6
4
 
7
- @source '../../node_modules/fumadocs-ui/dist/**/*.js';
8
5
  @source "../../node_modules/@vitnode/core/dist/src/components";
9
6
  @source "../../node_modules/@vitnode/core/dist/src/views";
10
7
 
@@ -41,10 +38,6 @@
41
38
  --sidebar-accent-foreground: oklch(0.205 0 0);
42
39
  --sidebar-border: oklch(0.902 0 0);
43
40
  --sidebar-ring: oklch(0.708 0 0);
44
-
45
- --dev-color: oklch(0.6 0.18 50);
46
- --ui-color: oklch(0.65 0.18 170);
47
- --guides-color: oklch(0.45 0.16 262.61);
48
41
  }
49
42
 
50
43
  .dark {
@@ -79,10 +72,6 @@
79
72
  --sidebar-accent-foreground: oklch(0.98 0 0);
80
73
  --sidebar-border: oklch(0.269 0 0);
81
74
  --sidebar-ring: oklch(0.51 0.16 262.61);
82
-
83
- --dev-color: oklch(0.75 0.18 50);
84
- --ui-color: oklch(0.7 0.18 170);
85
- --guides-color: oklch(0.65 0.16 262.61);
86
75
  }
87
76
 
88
77
  :root {
@@ -136,19 +125,3 @@
136
125
  @apply bg-background text-foreground;
137
126
  }
138
127
  }
139
-
140
- .dev {
141
- --color-fd-primary: var(--dev-color);
142
- }
143
-
144
- .guides {
145
- --color-fd-primary: var(--guides-color);
146
- }
147
-
148
- .plugins {
149
- --color-fd-primary: var(--plugins-color);
150
- }
151
-
152
- .ui {
153
- --color-fd-primary: var(--ui-color);
154
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vitnode-app",
3
- "version": "1.2.0-canary.29",
3
+ "version": "1.2.0-canary.30",
4
4
  "description": "Create a new VitNode app in seconds.",
5
5
  "author": "VitNode Team",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  "@types/validate-npm-package-name": "^4.0.2",
35
35
  "eslint": "^9.29.0",
36
36
  "typescript": "^5.8.3",
37
- "@vitnode/eslint-config": "1.2.0-canary.29"
37
+ "@vitnode/eslint-config": "1.2.0-canary.30"
38
38
  },
39
39
  "scripts": {
40
40
  "build:scripts": "tsc && node dist/src/prepare/prepare.js",