Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix: register new table templates in build test, sandbox routes, and docsite lock (#7156)

Joeycfef51abb1cf
diff --git a/apps/sandbox/scripts/next-export-routes.json b/apps/sandbox/scripts/next-export-routes.json
index b093a2bcc9..741b5c8783 100644
--- a/apps/sandbox/scripts/next-export-routes.json
+++ b/apps/sandbox/scripts/next-export-routes.json
@@ -761,6 +761,8 @@
"/templates/shell-side-nav/",
"/templates/shell-top-nav/",
"/templates/side-gallery/",
+ "/templates/table-collapsible/",
+ "/templates/table-comparison/",
"/templates/table-filter/",
"/templates/table-grouped/",
"/templates/table-inbox/",
diff --git a/internal/shadcn-registry/routes.lock.json b/internal/shadcn-registry/routes.lock.json
index ccef1e0320..3c73fb92d8 100644
--- a/internal/shadcn-registry/routes.lock.json
+++ b/internal/shadcn-registry/routes.lock.json
@@ -5005,6 +5005,11 @@
"path": "templates/table",
"aliases": []
},
+ {
+ "name": "template-table-collapsible",
+ "path": "templates/table-collapsible",
+ "aliases": []
+ },
{
"name": "template-table-comparison",
"path": "templates/table-comparison",
diff --git a/packages/cli/api/build/build.test.mjs b/packages/cli/api/build/build.test.mjs
index aa66e8a5f0..aff90fa1a0 100644
--- a/packages/cli/api/build/build.test.mjs
+++ b/packages/cli/api/build/build.test.mjs
@@ -542,7 +542,7 @@ describe('build kit — every page starts from a template', () => {
it('starts a page the words describe from its template', async () => {
for (const [idea, name] of [
['a weekly report of sales by region', 'dashboard-scorecard'],
- ['a pricing page with three plans and a comparison table', 'table-page'],
+ ['a pricing page with three plans and a comparison table', 'table-comparison'],
]) {
const r = await build(idea, {cwd: REPO});
if (r.type !== 'build.kit') throw new Error(r.type);