vibingbase 0.12.33 → 0.12.35

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 (75) hide show
  1. package/assets/default/.gitattributes.template +1 -0
  2. package/assets/default/.gitignore.template +24 -0
  3. package/assets/default/app/entry.client.tsx.template +12 -0
  4. package/assets/default/app/entry.server.tsx.template +35 -0
  5. package/assets/default/app/global.d.ts.template +1 -0
  6. package/assets/default/app/root.tsx.template +49 -0
  7. package/assets/default/app/routes/index.tsx.template +8 -0
  8. package/assets/default/app/routes.ts.template +5 -0
  9. package/assets/default/package.json.template +30 -0
  10. package/assets/default/react-router.config.js.template +7 -0
  11. package/assets/default/src-tauri/Cargo.lock.template +5714 -0
  12. package/assets/default/src-tauri/Cargo.toml.template +22 -0
  13. package/assets/default/src-tauri/build.rs.template +3 -0
  14. package/assets/default/src-tauri/capabilities/default.json.template +17 -0
  15. package/assets/default/src-tauri/icons/128x128.png +0 -0
  16. package/assets/default/src-tauri/icons/128x128@2x.png +0 -0
  17. package/assets/default/src-tauri/icons/32x32.png +0 -0
  18. package/assets/default/src-tauri/icons/64x64.png +0 -0
  19. package/assets/default/src-tauri/icons/Square107x107Logo.png +0 -0
  20. package/assets/default/src-tauri/icons/Square142x142Logo.png +0 -0
  21. package/assets/default/src-tauri/icons/Square150x150Logo.png +0 -0
  22. package/assets/default/src-tauri/icons/Square284x284Logo.png +0 -0
  23. package/assets/default/src-tauri/icons/Square30x30Logo.png +0 -0
  24. package/assets/default/src-tauri/icons/Square310x310Logo.png +0 -0
  25. package/assets/default/src-tauri/icons/Square44x44Logo.png +0 -0
  26. package/assets/default/src-tauri/icons/Square71x71Logo.png +0 -0
  27. package/assets/default/src-tauri/icons/Square89x89Logo.png +0 -0
  28. package/assets/default/src-tauri/icons/StoreLogo.png +0 -0
  29. package/assets/default/src-tauri/icons/icon.icns +0 -0
  30. package/assets/default/src-tauri/icons/icon.ico +0 -0
  31. package/assets/default/src-tauri/icons/icon.png +0 -0
  32. package/assets/default/src-tauri/src/lib.rs.template +15 -0
  33. package/assets/default/src-tauri/src/main.rs.template +6 -0
  34. package/assets/default/src-tauri/tauri.conf.json.template +62 -0
  35. package/assets/default/tsconfig.json.template +47 -0
  36. package/assets/default/vite.config.js.template +13 -0
  37. package/assets/tailwind/.gitattributes.template +1 -0
  38. package/assets/tailwind/.gitignore.template +24 -0
  39. package/assets/tailwind/app/entry.client.css.template +1 -0
  40. package/assets/tailwind/app/entry.client.tsx.template +14 -0
  41. package/assets/tailwind/app/entry.server.tsx.template +35 -0
  42. package/assets/tailwind/app/global.d.ts.template +1 -0
  43. package/assets/tailwind/app/root.tsx.template +49 -0
  44. package/assets/tailwind/app/routes/index.tsx.template +10 -0
  45. package/assets/tailwind/app/routes.ts.template +5 -0
  46. package/assets/tailwind/package.json.template +32 -0
  47. package/assets/tailwind/react-router.config.js.template +7 -0
  48. package/assets/tailwind/src-tauri/Cargo.lock.template +5714 -0
  49. package/assets/tailwind/src-tauri/Cargo.toml.template +22 -0
  50. package/assets/tailwind/src-tauri/build.rs.template +3 -0
  51. package/assets/tailwind/src-tauri/capabilities/default.json.template +17 -0
  52. package/assets/tailwind/src-tauri/icons/128x128.png +0 -0
  53. package/assets/tailwind/src-tauri/icons/128x128@2x.png +0 -0
  54. package/assets/tailwind/src-tauri/icons/32x32.png +0 -0
  55. package/assets/tailwind/src-tauri/icons/64x64.png +0 -0
  56. package/assets/tailwind/src-tauri/icons/Square107x107Logo.png +0 -0
  57. package/assets/tailwind/src-tauri/icons/Square142x142Logo.png +0 -0
  58. package/assets/tailwind/src-tauri/icons/Square150x150Logo.png +0 -0
  59. package/assets/tailwind/src-tauri/icons/Square284x284Logo.png +0 -0
  60. package/assets/tailwind/src-tauri/icons/Square30x30Logo.png +0 -0
  61. package/assets/tailwind/src-tauri/icons/Square310x310Logo.png +0 -0
  62. package/assets/tailwind/src-tauri/icons/Square44x44Logo.png +0 -0
  63. package/assets/tailwind/src-tauri/icons/Square71x71Logo.png +0 -0
  64. package/assets/tailwind/src-tauri/icons/Square89x89Logo.png +0 -0
  65. package/assets/tailwind/src-tauri/icons/StoreLogo.png +0 -0
  66. package/assets/tailwind/src-tauri/icons/icon.icns +0 -0
  67. package/assets/tailwind/src-tauri/icons/icon.ico +0 -0
  68. package/assets/tailwind/src-tauri/icons/icon.png +0 -0
  69. package/assets/tailwind/src-tauri/src/lib.rs.template +15 -0
  70. package/assets/tailwind/src-tauri/src/main.rs.template +6 -0
  71. package/assets/tailwind/src-tauri/tauri.conf.json.template +62 -0
  72. package/assets/tailwind/tsconfig.json.template +47 -0
  73. package/assets/tailwind/vite.config.js.template +19 -0
  74. package/dist/index.js +2 -1
  75. package/package.json +11 -1
@@ -0,0 +1,22 @@
1
+ [package]
2
+ name = "app_<%= id %>_package"
3
+ version = "<%= version %>"
4
+ edition = "2021"
5
+
6
+ [lib]
7
+ name = "app_<%= id %>_lib"
8
+ crate-type = ["staticlib", "cdylib", "rlib"]
9
+
10
+ [build-dependencies]
11
+ tauri-build = { version = "2", features = [] }
12
+
13
+ [dependencies]
14
+ tauri = { version = "2", features = [] }
15
+ tauri-plugin-single-instance = { version = "2", features = ["deep-link"] }
16
+ tauri-plugin-deep-link = "2"
17
+ tauri-plugin-updater = "2"
18
+ tauri-plugin-opener = "2"
19
+ tauri-plugin-process = "2"
20
+ serde = { version = "1", features = ["derive"] }
21
+ serde_json = "1"
22
+ fix-path-env = { git = "https://github.com/tauri-apps/fix-path-env-rs" }
@@ -0,0 +1,3 @@
1
+ fn main() {
2
+ tauri_build::build()
3
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "../gen/schemas/desktop-schema.json",
3
+ "identifier": "default",
4
+ "description": "Default capabilities for all windows",
5
+ "windows": ["*"],
6
+ "permissions": [
7
+ "core:default",
8
+ "core:app:allow-set-app-theme",
9
+ "core:window:default",
10
+ "core:window:allow-set-theme",
11
+ "core:window:allow-set-focus",
12
+ "deep-link:default",
13
+ "updater:default",
14
+ "opener:default",
15
+ "process:default"
16
+ ]
17
+ }
@@ -0,0 +1,15 @@
1
+ use tauri::Manager;
2
+
3
+ #[cfg_attr(mobile, tauri::mobile_entry_point)]
4
+ pub fn run() {
5
+ tauri::Builder::default()
6
+ .plugin(tauri_plugin_single_instance::init(|app, _argv, _cwd| {
7
+ app.get_webview_window("main").unwrap().set_focus().unwrap();
8
+ }))
9
+ .plugin(tauri_plugin_deep_link::init())
10
+ .plugin(tauri_plugin_updater::Builder::new().build())
11
+ .plugin(tauri_plugin_opener::init())
12
+ .plugin(tauri_plugin_process::init())
13
+ .run(tauri::generate_context!())
14
+ .unwrap();
15
+ }
@@ -0,0 +1,6 @@
1
+ #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
2
+
3
+ fn main() {
4
+ fix_path_env::fix().unwrap();
5
+ app_<%= id %>_lib::run()
6
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "$schema": "https://schema.tauri.app/config/2",
3
+ "identifier": "com.vibingbase.app-<%= id %>",
4
+ "productName": "<%= name %>",
5
+ "version": "<%= version %>",
6
+ "build": {
7
+ "beforeDevCommand": "pnpm dev",
8
+ "devUrl": "http://localhost:1420",
9
+ "beforeBuildCommand": "pnpm build",
10
+ "frontendDist": "../build/client"
11
+ },
12
+ "bundle": {
13
+ "active": true,
14
+ "createUpdaterArtifacts": true,
15
+ "icon": [
16
+ "icons/32x32.png",
17
+ "icons/64x64.png",
18
+ "icons/128x128.png",
19
+ "icons/128x128@2x.png",
20
+ "icons/icon.png",
21
+ "icons/icon.ico",
22
+ "icons/icon.icns"
23
+ ],
24
+ "targets": [
25
+ "app",
26
+ "dmg",
27
+ "nsis"
28
+ ],
29
+ "windows": {
30
+ "signCommand": "trusted-signing-cli -e https://eus.codesigning.azure.net -a phuctm97 -c phuctm97 %1"
31
+ }
32
+ },
33
+ "app": {
34
+ "windows": [
35
+ {
36
+ "title": "<%= name %>",
37
+ "titleBarStyle": "Transparent",
38
+ "width": 1080,
39
+ "height": 720,
40
+ "minWidth": 900,
41
+ "minHeight": 600,
42
+ "center": true,
43
+ "dragDropEnabled": false
44
+ }
45
+ ]
46
+ },
47
+ "plugins": {
48
+ "deep-link": {
49
+ "desktop": {
50
+ "schemes": [
51
+ "app-<%= id %>"
52
+ ]
53
+ }
54
+ },
55
+ "updater": {
56
+ "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDkzMEJBRTRGMkZBREIxMTIKUldRU3NhMHZUNjRMazdXcFd4RUxUNXFDK1NBUEJSYjFhZlVXaHI4YVZBOW1QYXRobEt4eTI5QXkK",
57
+ "endpoints": [
58
+ "<%= websiteURL %>/v1/updater/app-<%= id %>"
59
+ ]
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "include": [
3
+ "**/*",
4
+ "**/*.json",
5
+ "**/.client/**/*",
6
+ "**/.client/**/*.json",
7
+ "**/.server/**/*",
8
+ "**/.server/**/*.json",
9
+ ".react-router/types/**/*",
10
+ ".react-router/types/**/*.json"
11
+ ],
12
+ "exclude": [
13
+ "node_modules",
14
+ "build",
15
+ "public"
16
+ ],
17
+ "references": [],
18
+ "compilerOptions": {
19
+ "moduleResolution": "bundler",
20
+ "module": "esnext",
21
+ "target": "es2024",
22
+ "jsx": "react-jsx",
23
+ "lib": [
24
+ "dom",
25
+ "dom.iterable",
26
+ "esnext"
27
+ ],
28
+ "strict": true,
29
+ "incremental": true,
30
+ "verbatimModuleSyntax": true,
31
+ "esModuleInterop": true,
32
+ "resolveJsonModule": true,
33
+ "importHelpers": true,
34
+ "allowImportingTsExtensions": true,
35
+ "skipLibCheck": true,
36
+ "noEmit": true,
37
+ "rootDirs": [
38
+ ".",
39
+ "./.react-router/types"
40
+ ],
41
+ "paths": {
42
+ "~/*": [
43
+ "./*"
44
+ ]
45
+ }
46
+ }
47
+ }
@@ -0,0 +1,13 @@
1
+ import { reactRouter } from "@react-router/dev/vite";
2
+ import tsconfigPaths from "vite-tsconfig-paths";
3
+ import preserveDirectives from "rollup-preserve-directives";
4
+
5
+ const target = "es2024";
6
+
7
+ export default {
8
+ clearScreen: false,
9
+ esbuild: { target },
10
+ build: { target, chunkSizeWarningLimit: 2048 },
11
+ server: { strictPort: true, port: 1420 },
12
+ plugins: [reactRouter(), tsconfigPaths(), preserveDirectives()],
13
+ };
@@ -0,0 +1 @@
1
+ * text=auto eol=lf
@@ -0,0 +1,24 @@
1
+ /.nx/cache
2
+ /.nx/workspace-data
3
+ /.playwright-mcp
4
+ __MACOSX
5
+ .DS_Store
6
+ *.tsbuildinfo
7
+ *.db
8
+ .vars
9
+ .secrets
10
+ .env
11
+ .env.*
12
+ node_modules
13
+ dist
14
+ .react-router
15
+ build
16
+ next-env.d.ts
17
+ .next
18
+ out
19
+ .source
20
+ .vercel
21
+ target
22
+ gen
23
+ tsconfig.api-extractor.json
24
+ .api-extractor
@@ -0,0 +1 @@
1
+ @import "tailwindcss";
@@ -0,0 +1,14 @@
1
+ import "./entry.client.css";
2
+
3
+ import { startTransition, StrictMode } from "react";
4
+ import { hydrateRoot } from "react-dom/client";
5
+ import { HydratedRouter } from "react-router/dom";
6
+
7
+ startTransition(() => {
8
+ hydrateRoot(
9
+ document,
10
+ <StrictMode>
11
+ <HydratedRouter />
12
+ </StrictMode>,
13
+ );
14
+ });
@@ -0,0 +1,35 @@
1
+ import type {
2
+ HandleDocumentRequestFunction,
3
+ HandleErrorFunction,
4
+ } from "react-router";
5
+
6
+ import { handleRequest } from "@vercel/react-router/entry.server";
7
+ import { isRouteErrorResponse } from "react-router";
8
+
9
+ export const streamTimeout = 5000;
10
+
11
+ export const handleError: HandleErrorFunction = (error, { request }) => {
12
+ if (
13
+ request.signal.aborted ||
14
+ (isRouteErrorResponse(error) && error.status < 500)
15
+ )
16
+ return;
17
+ console.error(error);
18
+ };
19
+
20
+ const handleDocumentRequest: HandleDocumentRequestFunction = async (
21
+ request,
22
+ responseStatusCode,
23
+ responseHeaders,
24
+ routerContext,
25
+ ) => {
26
+ const response = await handleRequest(
27
+ request,
28
+ responseStatusCode,
29
+ responseHeaders,
30
+ routerContext,
31
+ );
32
+ return response;
33
+ };
34
+
35
+ export default handleDocumentRequest;
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />
@@ -0,0 +1,49 @@
1
+ import type { PropsWithChildren } from "react";
2
+
3
+ import type { Route } from "./+types/root";
4
+
5
+ import { useEffect } from "react";
6
+ import {
7
+ isRouteErrorResponse,
8
+ Links,
9
+ Meta,
10
+ Outlet,
11
+ Scripts,
12
+ ScrollRestoration,
13
+ } from "react-router";
14
+
15
+ export const meta: Route.MetaFunction = () => [{ title: "Vibingbase" }];
16
+
17
+ export function Layout({ children }: PropsWithChildren) {
18
+ return (
19
+ <html lang="en">
20
+ <head>
21
+ <meta charSet="utf-8" />
22
+ <meta content="width=device-width, initial-scale=1" name="viewport" />
23
+ <Meta />
24
+ <Links />
25
+ </head>
26
+ <body>
27
+ {children}
28
+ <ScrollRestoration />
29
+ <Scripts />
30
+ </body>
31
+ </html>
32
+ );
33
+ }
34
+
35
+ export function ErrorBoundary({ error }: Route.ErrorBoundaryProps) {
36
+ useEffect(() => {
37
+ if (isRouteErrorResponse(error) && error.status < 500) return;
38
+ console.error(error);
39
+ }, [error]);
40
+ return <p>{String(error)}</p>;
41
+ }
42
+
43
+ export function HydrateFallback() {
44
+ return <p>Loading…</p>;
45
+ }
46
+
47
+ export default function Component() {
48
+ return <Outlet />;
49
+ }
@@ -0,0 +1,10 @@
1
+ export default function Component() {
2
+ return (
3
+ <main className="p-4">
4
+ <h1 className="text-2xl">Welcome to Vibingbase</h1>
5
+ <p className="text-sm">
6
+ Your app will appear here once the assistant completes its work.
7
+ </p>
8
+ </main>
9
+ );
10
+ }
@@ -0,0 +1,5 @@
1
+ import type { RouteConfig } from "@react-router/dev/routes";
2
+
3
+ import { index } from "@react-router/dev/routes";
4
+
5
+ export default [index("routes/index.tsx")] satisfies RouteConfig;
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "project",
3
+ "version": "<%= version %>",
4
+ "private": true,
5
+ "type": "module",
6
+ "dependencies": {
7
+ "@vercel/react-router": "^1.2.4",
8
+ "react": "^19.2.3",
9
+ "react-dom": "^19.2.3",
10
+ "react-router": "^7.11.0",
11
+ "tslib": "^2.8.1"
12
+ },
13
+ "devDependencies": {
14
+ "@react-router/dev": "^7.11.0",
15
+ "@react-router/node": "^7.11.0",
16
+ "@tailwindcss/vite": "^4.1.18",
17
+ "@types/node": "^24.10.2",
18
+ "@types/react": "^19.2.7",
19
+ "@types/react-dom": "^19.2.3",
20
+ "rollup-preserve-directives": "^1.1.3",
21
+ "tailwindcss": "^4.1.18",
22
+ "typescript": "^5.8.2",
23
+ "vite": "^7.3.0",
24
+ "vite-tsconfig-paths": "^6.0.3"
25
+ },
26
+ "scripts": {
27
+ "prepare": "react-router typegen",
28
+ "dev": "react-router dev",
29
+ "build": "react-router build"
30
+ },
31
+ "packageManager": "pnpm@10.26.1"
32
+ }
@@ -0,0 +1,7 @@
1
+ import { vercelPreset } from "@vercel/react-router/vite";
2
+
3
+ export default {
4
+ presets: [vercelPreset()],
5
+ future: { v8_middleware: true },
6
+ ssr: false,
7
+ };