@squadbase/vantage-template 0.1.1-dev1.2be5c44 → 0.1.1-dev2.224e848

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.
@@ -11,6 +11,13 @@
11
11
  `src/monthly-report.slide.tsx` → `/monthly-report`。中身は `<SlideDeck>` を返す普通の React
12
12
  コンポーネントで、`definePage` もナビも通常のページと同じように効きます。
13
13
 
14
+ **ファイル名の決め方:**
15
+
16
+ - **ルート `/` がすでに他のページ(`index.tsx`など)で使われている場合は、スライドのタイトルから slug を作ってファイル名にする。** `index.slide.tsx` は `index.tsx` と同じ `/` に解決するので `ROUTE_CONFLICT` になる。
17
+ - 例: "Label check" というスライド → `src/label-check.slide.tsx` → `/label-check`
18
+ - 例: "Monthly Report" というスライド → `src/monthly-report.slide.tsx` → `/monthly-report`
19
+ - 新規プロジェクトでまだ `/` が空いている場合のみ、`index.slide.tsx` を使ってよい。
20
+
14
21
  ```tsx
15
22
  import { Slide, SlideDeck } from "@squadbase/vantage/slide"
16
23
 
@@ -6,8 +6,8 @@
6
6
  "name": "vibe-app",
7
7
  "dependencies": {
8
8
  "@squadbase/react": "^0.1.0",
9
- "@squadbase/vantage": "0.6.2-dev1.3e69e88",
10
- "@squadbase/vantage-sdk": "0.1.1-dev1.25f1dd3",
9
+ "@squadbase/vantage": "0.6.2-dev2.5e7a250",
10
+ "@squadbase/vantage-sdk": "0.1.1-dev2.78bd380",
11
11
  "date-fns": "^4.1.0",
12
12
  "lucide-react": "^0.468.0",
13
13
  "react": "^19.2.7",
@@ -204,9 +204,9 @@
204
204
 
205
205
  "@squadbase/react": ["@squadbase/react@0.1.0", "", { "dependencies": { "zod": "^4.3.6" }, "peerDependencies": { "@types/react": "17.x || 18.x || 19.x", "react": "17.x || 18.x || 19.x" }, "optionalPeers": ["@types/react"] }, "sha512-k+Dpyj7eH+Yjydw54iEluCjYDae086d12hWgBjNMpw4wLbQGz3CrJ6Yipodg8n1cKUt7zvwddlcTHd79bgKsXg=="],
206
206
 
207
- "@squadbase/vantage": ["@squadbase/vantage@0.6.2-dev1.3e69e88", "", { "dependencies": { "@base-ui/react": "^1.6.0", "@hono/node-server": "^2.0.8", "@streamdown/code": "^1.1.1", "@tailwindcss/vite": "^4.3.2", "@tanstack/react-query": "^5.101.2", "@tanstack/react-router": "^1.170.17", "@tanstack/react-table": "^8.21.3", "@vitejs/plugin-react": "^6.0.3", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cmdk": "^1.1.1", "date-fns": "^4.1.0", "echarts": "^6.0.0", "esbuild": "^0.28.1", "fflate": "^0.8.3", "hono": "^4.13.5", "html-to-image": "^1.11.13", "lucide-react": "^0.468.0", "papaparse": "^5.7.0", "picocolors": "^1.1.1", "react-day-picker": "^10.0.1", "read-excel-file": "^9.3.10", "streamdown": "^2.5.0", "tailwind-merge": "^3.0.0", "tailwindcss": "^4.3.2", "tw-animate-css": "^1.0.0", "vite": "^8.1.4" }, "peerDependencies": { "react": ">=18.2.0", "react-dom": ">=18.2.0" }, "bin": { "vantage": "dist/cli.js" } }, "sha512-3bcyZD247noScN0OncBaFbpA0zhAFfKVwHjnRjffrJhyx9IxHfUg59+D1FjoJRMLaehE3J0YbXcisPL7RzlWrQ=="],
207
+ "@squadbase/vantage": ["@squadbase/vantage@0.6.2-dev2.5e7a250", "", { "dependencies": { "@base-ui/react": "^1.6.0", "@hono/node-server": "^2.0.8", "@streamdown/code": "^1.1.1", "@tailwindcss/vite": "^4.3.2", "@tanstack/react-query": "^5.101.2", "@tanstack/react-router": "^1.170.17", "@tanstack/react-table": "^8.21.3", "@vitejs/plugin-react": "^6.0.3", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cmdk": "^1.1.1", "date-fns": "^4.1.0", "echarts": "^6.0.0", "esbuild": "^0.28.1", "fflate": "^0.8.3", "hono": "^4.13.5", "html-to-image": "^1.11.13", "lucide-react": "^0.468.0", "papaparse": "^5.7.0", "picocolors": "^1.1.1", "react-day-picker": "^10.0.1", "read-excel-file": "^9.3.10", "streamdown": "^2.5.0", "tailwind-merge": "^3.0.0", "tailwindcss": "^4.3.2", "tw-animate-css": "^1.0.0", "vite": "^8.1.4" }, "peerDependencies": { "react": ">=18.2.0", "react-dom": ">=18.2.0" }, "bin": { "vantage": "dist/cli.js" } }, "sha512-YnDpzsC8lswPjc2B21aVD7vZq3bLuYXnp4xt+stG1a+VpsTO+hyWBXdz4KHbrjLnz9tyrU0u57LAIrnMqkc2jg=="],
208
208
 
209
- "@squadbase/vantage-sdk": ["@squadbase/vantage-sdk@0.1.1-dev1.25f1dd3", "", {}, "sha512-78C16NNmnhbn3JhiaXIlAzz7I15n6+lbOzbADCqCNAA2t/FD7Bkst6MuekuixtAj6i/J3m5gIrSp7GpwZbLQdg=="],
209
+ "@squadbase/vantage-sdk": ["@squadbase/vantage-sdk@0.1.1-dev2.78bd380", "", {}, "sha512-9ey+UhNLjLnSLbeua8G3ItpN/Q4+QrBkskV7r3Bf+ge1vFXgLWuQVIO7fgCcJimCZY0/GFywttHfySjrbiFsGw=="],
210
210
 
211
211
  "@streamdown/code": ["@streamdown/code@1.1.1", "", { "dependencies": { "shiki": "^3.19.0" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0" } }, "sha512-i7HTNuDgZWb+VdrNVOam9gQhIc5MSSDXKWXgbUrn/4vSRaSMM+Rtl10MQj4wLWPNpF7p80waJsAqFP8HZfb0Jg=="],
212
212
 
@@ -12,8 +12,8 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@squadbase/react": "^0.1.0",
15
- "@squadbase/vantage": "0.6.2-dev1.3e69e88",
16
- "@squadbase/vantage-sdk": "0.1.1-dev1.25f1dd3",
15
+ "@squadbase/vantage": "0.6.2-dev2.5e7a250",
16
+ "@squadbase/vantage-sdk": "0.1.1-dev2.78bd380",
17
17
  "date-fns": "^4.1.0",
18
18
  "lucide-react": "^0.468.0",
19
19
  "react": "^19.2.7",
@@ -17,6 +17,7 @@ export const page = definePage({
17
17
  title: "Dashboard",
18
18
  description: "Sample data — replace with your own to get started.",
19
19
  navLabel: "Home",
20
+ placeholder: true,
20
21
  })
21
22
 
22
23
  const METRICS = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squadbase/vantage-template",
3
- "version": "0.1.1-dev1.2be5c44",
3
+ "version": "0.1.1-dev2.224e848",
4
4
  "description": "CLI tool for initializing and customizing Squadbase Vantage projects.",
5
5
  "keywords": [
6
6
  "squadbase",