@squadbase/vantage-template 0.0.1 → 0.0.2-dev.7c29258
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.
- package/README.md +14 -6
- package/base-template/.squadbase/skills/project-storage/SKILL.md +157 -0
- package/base-template/.squadbase/skills/vantage-add-feature/SKILL.md +15 -6
- package/base-template/.squadbase/skills/vantage-app/SKILL.md +12 -7
- package/base-template/.squadbase/skills/vantage-pitfalls/SKILL.md +22 -0
- package/base-template/AGENTS.md +186 -7
- package/base-template/package.json +4 -3
- package/base-template/src/_error.tsx +10 -0
- package/base-template/{_layout.tsx → src/_layout.tsx} +8 -1
- package/base-template/src/components/build-recovery.tsx +219 -0
- package/base-template/{styles.css → src/styles.css} +19 -0
- package/dist/index.js +149 -61
- package/package.json +18 -9
- package/ui-templates/CLAUDE.md +32 -21
- package/ui-templates/blank/preview-square.png +0 -0
- package/ui-templates/blank/preview-wide.png +0 -0
- package/ui-templates/blank-ja/preview-square.png +0 -0
- package/ui-templates/blank-ja/preview-wide.png +0 -0
- package/ui-templates/chart-grid/preview-square.png +0 -0
- package/ui-templates/chart-grid/preview-wide.png +0 -0
- package/ui-templates/chart-grid-ja/preview-square.png +0 -0
- package/ui-templates/chart-grid-ja/preview-wide.png +0 -0
- package/ui-templates/funnel/preview-square.png +0 -0
- package/ui-templates/funnel/preview-wide.png +0 -0
- package/ui-templates/funnel-ja/preview-square.png +0 -0
- package/ui-templates/funnel-ja/preview-wide.png +0 -0
- package/ui-templates/kpi-chart-advanced/preview-square.png +0 -0
- package/ui-templates/kpi-chart-advanced/preview-wide.png +0 -0
- package/ui-templates/kpi-chart-advanced-ja/preview-square.png +0 -0
- package/ui-templates/kpi-chart-advanced-ja/preview-wide.png +0 -0
- package/ui-templates/kpi-chart-simple/manifest.json +1 -1
- package/ui-templates/kpi-chart-simple/preview-square.png +0 -0
- package/ui-templates/kpi-chart-simple/preview-wide.png +0 -0
- package/ui-templates/kpi-chart-simple/server/kpi-summary.ts +1 -1
- package/ui-templates/kpi-chart-simple-ja/manifest.json +1 -1
- package/ui-templates/kpi-chart-simple-ja/preview-square.png +0 -0
- package/ui-templates/kpi-chart-simple-ja/preview-wide.png +0 -0
- package/ui-templates/kpi-chart-simple-ja/server/kpi-summary.ts +1 -1
- package/ui-templates/table-focus/preview-square.png +0 -0
- package/ui-templates/table-focus/preview-wide.png +0 -0
- package/ui-templates/table-focus-ja/preview-square.png +0 -0
- package/ui-templates/table-focus-ja/preview-wide.png +0 -0
- package/base-template/_error.tsx +0 -14
- /package/base-template/{_404.tsx → src/_404.tsx} +0 -0
- /package/base-template/{components → src/components}/user-card.tsx +0 -0
- /package/base-template/{index.tsx → src/index.tsx} +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
{ "src": "pages/index.tsx", "dest": "index.tsx", "action": "replace" },
|
|
7
7
|
{ "src": "components/top-items-table.tsx", "dest": "components/kpi-chart-simple/top-items-table.tsx", "action": "add" },
|
|
8
8
|
{ "src": "lib/types.ts", "dest": "lib/kpi-chart-simple/types.ts", "action": "add", "relabel": false },
|
|
9
|
-
{ "src": "server/kpi-summary.ts", "dest": "server/api/kpi-summary.ts", "action": "add", "relabel": false }
|
|
9
|
+
{ "src": "server/kpi-summary.ts", "dest": "server/api/kpi-summary.ts", "scope": "root", "action": "add", "relabel": false }
|
|
10
10
|
]
|
|
11
11
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
{ "src": "pages/index.tsx", "dest": "index.tsx", "action": "replace" },
|
|
7
7
|
{ "src": "components/top-items-table.tsx", "dest": "components/kpi-chart-simple/top-items-table.tsx", "action": "add" },
|
|
8
8
|
{ "src": "lib/types.ts", "dest": "lib/kpi-chart-simple/types.ts", "action": "add", "relabel": false },
|
|
9
|
-
{ "src": "server/kpi-summary.ts", "dest": "server/api/kpi-summary.ts", "action": "add", "relabel": false }
|
|
9
|
+
{ "src": "server/kpi-summary.ts", "dest": "server/api/kpi-summary.ts", "scope": "root", "action": "add", "relabel": false }
|
|
10
10
|
]
|
|
11
11
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/base-template/_error.tsx
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Button, ErrorState } from "@squadbase/vantage/ui"
|
|
2
|
-
|
|
3
|
-
export default function RouteError({ error }: { error: unknown }) {
|
|
4
|
-
const message = error instanceof Error ? error.message : String(error)
|
|
5
|
-
return (
|
|
6
|
-
<div className="flex min-h-[50vh] items-center justify-center">
|
|
7
|
-
<ErrorState
|
|
8
|
-
title="This page failed to render"
|
|
9
|
-
message={message}
|
|
10
|
-
action={<Button onClick={() => window.location.reload()}>Reload</Button>}
|
|
11
|
-
/>
|
|
12
|
-
</div>
|
|
13
|
-
)
|
|
14
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|