Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 28, 2026

The div and span renderers are deprecated. All documentation examples now use semantic Shadcn components (Card, Flex, Grid, Stack, Badge).

Changes

Component deprecation

  • Added runtime warnings to div.tsx and span.tsx pointing to recommended alternatives
  • Updated component labels to "(Deprecated)"

Documentation migration (100+ replacements)

  • div with space-y-*stack with spacing prop
  • div with grid classes → grid component
  • div with flex classes → flex component
  • span for badges → badge component

Files updated

  • div.mdx, span.mdx: Added migration guides with code examples
  • forms.mdx, dashboard.mdx, authentication.mdx, ecommerce.mdx, marketing.mdx, layout.md: Migrated all examples

Migration Example

// Before (deprecated)
{
  type: "div",
  className: "space-y-4 p-6",
  children: [...]
}

// After (recommended)
{
  type: "stack",
  spacing: 4,
  className: "p-6",
  children: [...]
}

Developers using deprecated components receive console warnings during development with specific replacement recommendations.

Original prompt

作废 div span组件。所有引用到的例子替换为 shadcn 的标准组件


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel
Copy link

vercel bot commented Jan 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
objectui-crm-app Ready Ready Preview, Comment Jan 28, 2026 6:40am
objectui-site Ready Ready Preview, Comment Jan 28, 2026 6:40am

Request Review

…tion

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove div and span components and replace with shadcn standard Deprecate div/span components in favor of Shadcn semantic components Jan 28, 2026
Copilot AI requested a review from hotlong January 28, 2026 05:51
@hotlong
Copy link
Contributor

hotlong commented Jan 28, 2026

@copilot 13:56:48.094 Running build in Washington, D.C., USA (East) – iad1
13:56:48.095 Build machine configuration: 4 cores, 8 GB
13:56:48.242 Cloning github.com/objectstack-ai/objectui (Branch: copilot/remove-div-span-components, Commit: e559891)
13:56:48.818 Cloning completed: 574.000ms
13:56:49.690 Restored build cache from previous deployment (CjpwUkk884fmtnjbJojJA6y1c6kP)
13:56:50.017 Running "vercel build"
13:56:50.867 Vercel CLI 50.5.2
13:56:51.206 Detected pnpm-lock.yaml 9 which may be generated by pnpm@9.x or pnpm@10.x
13:56:51.207 Using pnpm@10.x based on project creation date
13:56:51.207 To use pnpm@9.x, manually opt in using corepack (https://vercel.com/docs/deployments/configure-a-build#corepack)
13:56:51.211 Running "install" command: pnpm i...
13:56:51.831 Scope: all 27 workspace projects
13:56:53.114
13:56:53.233 . postinstall$ fumadocs-mdx
13:56:53.686 . postinstall: [MDX] generated files in 22.473846999999978ms
13:56:53.694 . postinstall: Done
13:56:53.697 ╭ Warning ─────────────────────────────────────────────────────────────────────╮
13:56:53.697 │ │
13:56:53.697 │ Ignored build scripts: @vscode/vsce-sign@2.0.9, esbuild@0.21.5, │
13:56:53.697 │ esbuild@0.27.2, keytar@7.9.0, sharp@0.34.5. │
13:56:53.697 │ Run "pnpm approve-builds" to pick which dependencies should be allowed │
13:56:53.697 │ to run scripts. │
13:56:53.697 │ │
13:56:53.698 ╰──────────────────────────────────────────────────────────────────────────────╯
13:56:53.703 Done in 2.3s using pnpm v10.28.0
13:56:53.720 Detected Next.js version: 16.1.4
13:56:53.721 Running "pnpm --filter '../../packages/' -r build && pnpm build"
13:56:54.070 Scope: 24 of 27 workspace projects
13:56:54.074 ../../packages/types build$ tsc
13:56:57.171 ../../packages/types build: Done
13:56:57.172 ../../packages/core build$ tsc
13:56:58.469 ../../packages/core build: Done
13:56:58.470 ../../packages/data-objectstack build$ tsup src/index.ts --format cjs,esm --dts
13:56:58.470 ../../packages/react build$ tsc
13:56:58.470 ../../packages/vscode-extension build$ tsup
13:56:59.316 ../../packages/data-objectstack build: �[34mCLI�[39m Building entry: src/index.ts
13:56:59.328 ../../packages/data-objectstack build: �[34mCLI�[39m Using tsconfig: tsconfig.json
13:56:59.328 ../../packages/data-objectstack build: �[34mCLI�[39m tsup v8.5.1
13:56:59.343 ../../packages/data-objectstack build: �[34mCLI�[39m Target: es2020
13:56:59.345 ../../packages/data-objectstack build: �[34mCJS�[39m Build start
13:56:59.346 ../../packages/data-objectstack build: �[34mESM�[39m Build start
13:56:59.380 ../../packages/vscode-extension build: �[34mCLI�[39m Building entry: src/extension.ts
13:56:59.381 ../../packages/vscode-extension build: �[34mCLI�[39m Using tsconfig: tsconfig.json
13:56:59.381 ../../packages/vscode-extension build: �[34mCLI�[39m tsup v8.5.1
13:56:59.381 ../../packages/vscode-extension build: �[34mCLI�[39m Using tsup config: /vercel/path0/packages/vscode-extension/tsup.config.ts
13:56:59.399 ../../packages/vscode-extension build: �[34mCLI�[39m Target: node18
13:56:59.399 ../../packages/vscode-extension build: �[34mCLI�[39m Cleaning output folder
13:56:59.401 ../../packages/vscode-extension build: �[34mCJS�[39m Build start
13:56:59.405 ../../packages/data-objectstack build: �[32mCJS�[39m �[1mdist/index.cjs �[22m�[32m5.45 KB�[39m
13:56:59.407 ../../packages/data-objectstack build: �[32mCJS�[39m ⚡️ Build success in 59ms
13:56:59.418 ../../packages/data-objectstack build: �[32mESM�[39m �[1mdist/index.js �[22m�[32m4.42 KB�[39m
13:56:59.419 ../../packages/data-objectstack build: �[32mESM�[39m ⚡️ Build success in 72ms
13:56:59.458 ../../packages/vscode-extension build: �[32mCJS�[39m �[1mdist/extension.js �[22m�[32m32.92 KB�[39m
13:56:59.460 ../../packages/vscode-extension build: �[32mCJS�[39m �[1mdist/extension.js.map �[22m�[32m53.93 KB�[39m
13:56:59.460 ../../packages/vscode-extension build: �[32mCJS�[39m ⚡️ Build success in 57ms
13:56:59.472 ../../packages/vscode-extension build: Done
13:56:59.806 ../../packages/data-objectstack build: �[34mDTS�[39m Build start
13:57:01.463 ../../packages/react build: Done
13:57:01.985 ../../packages/data-objectstack build: �[32mDTS�[39m ⚡️ Build success in 2179ms
13:57:01.985 ../../packages/data-objectstack build: �[32mDTS�[39m �[1mdist/index.d.cts �[22m�[32m3.22 KB�[39m
13:57:01.986 ../../packages/data-objectstack build: �[32mDTS�[39m �[1mdist/index.d.ts �[22m�[32m3.22 KB�[39m
13:57:02.018 ../../packages/data-objectstack build: Done
13:57:02.019 ../../packages/components build$ vite build
13:57:03.624 ../../packages/components build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:09.139 ../../packages/components build: transforming...
13:57:14.014 ../../packages/components build: �[32m✓�[39m 2890 modules transformed.
13:57:15.197 ../../packages/components build: rendering chunks...
13:57:15.222 ../../packages/components build: [vite:dts] Start generate declaration files...
13:57:15.224 ../../packages/components build: computing gzip size...
13:57:15.320 ../../packages/components build: �[2mdist/�[22m�[35mindex.css �[39m�[1m�[2m 117.46 kB�[22m�[1m�[22m�[2m │ gzip: 18.30 kB�[22m
13:57:15.321 ../../packages/components build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[33m1,562.48 kB�[39m�[22m�[2m │ gzip: 366.41 kB�[22m
13:57:15.328 ../../packages/components build: [vite:dts] Declaration files built in 5422ms.
13:57:16.090 ../../packages/components build: �[2mdist/�[22m�[35mindex.css �[39m�[1m�[2m 117.46 kB�[22m�[1m�[22m�[2m │ gzip: 18.30 kB�[22m
13:57:16.091 ../../packages/components build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[33m1,119.48 kB�[39m�[22m�[2m │ gzip: 311.23 kB�[22m
13:57:16.091 ../../packages/components build: �[32m✓ built in 12.43s�[39m
13:57:16.188 ../../packages/components build: Done
13:57:16.189 ../../packages/cli build$ tsup
13:57:16.189 ../../packages/fields build$ tsc && vite build
13:57:16.190 ../../packages/layout build$ vite build
13:57:16.194 ../../packages/plugin-aggrid build$ vite build
13:57:16.840 ../../packages/cli build: �[34mCLI�[39m Building entry: {"cli":"src/cli.ts","index":"src/index.ts"}
13:57:16.841 ../../packages/cli build: �[34mCLI�[39m Using tsconfig: tsconfig.json
13:57:16.842 ../../packages/cli build: �[34mCLI�[39m tsup v8.5.1
13:57:16.842 ../../packages/cli build: �[34mCLI�[39m Using tsup config: /vercel/path0/packages/cli/tsup.config.ts
13:57:16.853 ../../packages/cli build: �[34mCLI�[39m Target: es2020
13:57:16.865 ../../packages/cli build: �[34mCLI�[39m Cleaning output folder
13:57:16.868 ../../packages/cli build: �[34mESM�[39m Build start
13:57:16.943 ../../packages/cli build: �[32mESM�[39m �[1mdist/cli.js �[22m�[32m25.15 KB�[39m
13:57:16.944 ../../packages/cli build: �[32mESM�[39m �[1mdist/index.js �[22m�[32m116.00 B�[39m
13:57:16.949 ../../packages/cli build: �[32mESM�[39m �[1mdist/chunk-R3ECPDRL.js �[22m�[32m43.87 KB�[39m
13:57:16.949 ../../packages/cli build: �[32mESM�[39m �[1mdist/cli.js.map �[22m�[32m49.24 KB�[39m
13:57:16.950 ../../packages/cli build: �[32mESM�[39m �[1mdist/index.js.map �[22m�[32m71.00 B�[39m
13:57:16.950 ../../packages/cli build: �[32mESM�[39m �[1mdist/chunk-R3ECPDRL.js.map �[22m�[32m66.21 KB�[39m
13:57:16.950 ../../packages/cli build: �[32mESM�[39m ⚡️ Build success in 74ms
13:57:17.536 ../../packages/cli build: �[34mDTS�[39m Build start
13:57:18.096 ../../packages/plugin-aggrid build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:18.324 ../../packages/layout build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:23.921 ../../packages/cli build: �[32mDTS�[39m ⚡️ Build success in 6386ms
13:57:23.922 ../../packages/cli build: �[32mDTS�[39m �[1mdist/cli.d.ts �[22m�[32m20.00 B�[39m
13:57:23.922 ../../packages/cli build: �[32mDTS�[39m �[1mdist/index.d.ts �[22m�[32m685.00 B�[39m
13:57:23.985 ../../packages/layout build: transforming...
13:57:24.008 ../../packages/cli build: Done
13:57:24.010 ../../packages/plugin-charts build$ vite build
13:57:24.153 ../../packages/layout build: �[32m✓�[39m 14 modules transformed.
13:57:24.184 ../../packages/plugin-aggrid build: transforming...
13:57:24.194 ../../packages/layout build: rendering chunks...
13:57:24.206 ../../packages/layout build: [vite:dts] Start generate declaration files...
13:57:24.206 ../../packages/layout build: computing gzip size...
13:57:24.243 ../../packages/layout build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m12.52 kB�[22m�[1m�[22m�[2m │ gzip: 3.89 kB�[22m
13:57:24.249 ../../packages/layout build: [vite:dts] Declaration files built in 5647ms.
13:57:24.262 ../../packages/layout build: �[33mNo name was provided for external module "@object-ui/core" in "output.globals" – guessing "core".�[39m
13:57:24.262 ../../packages/layout build: �[33mNo name was provided for external module "react" in "output.globals" – guessing "require$$0".�[39m
13:57:24.262 ../../packages/layout build: �[33mNo name was provided for external module "@object-ui/components" in "output.globals" – guessing "components".�[39m
13:57:24.262 ../../packages/layout build: �[33mNo name was provided for external module "@object-ui/react" in "output.globals" – guessing "react".�[39m
13:57:24.262 ../../packages/layout build: �[33mNo name was provided for external module "react-router-dom" in "output.globals" – guessing "reactRouterDom".�[39m
13:57:24.287 ../../packages/layout build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m8.82 kB�[22m�[1m�[22m�[2m │ gzip: 3.50 kB�[22m
13:57:24.287 ../../packages/layout build: �[32m✓ built in 5.93s�[39m
13:57:24.377 ../../packages/layout build: Done
13:57:24.377 ../../packages/plugin-chatbot build$ vite build
13:57:24.690 ../../packages/plugin-aggrid build: �[32m✓�[39m 16 modules transformed.
13:57:24.734 ../../packages/plugin-aggrid build: rendering chunks...
13:57:24.786 ../../packages/plugin-aggrid build: [vite:dts] Start generate declaration files...
13:57:24.786 ../../packages/plugin-aggrid build: computing gzip size...
13:57:24.895 ../../packages/fields build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:25.009 ../../packages/plugin-aggrid build: �[2mdist/�[22m�[35mindex.css �[39m�[1m�[2m317.02 kB�[22m�[1m�[22m�[2m │ gzip: 61.59 kB�[22m
13:57:25.009 ../../packages/plugin-aggrid build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m 0.19 kB�[22m�[1m�[22m�[2m │ gzip: 0.15 kB�[22m
13:57:25.009 ../../packages/plugin-aggrid build: �[2mdist/�[22m�[36mAgGridImpl-DKkq6v1B.js �[39m�[1m�[2m 5.21 kB�[22m�[1m�[22m�[2m │ gzip: 1.87 kB�[22m
13:57:25.009 ../../packages/plugin-aggrid build: �[2mdist/�[22m�[36mindex-B6NPAFZx.js �[39m�[1m�[2m 16.03 kB�[22m�[1m�[22m�[2m │ gzip: 4.59 kB�[22m
13:57:25.012 ../../packages/plugin-aggrid build: [vite:dts] Declaration files built in 6217ms.
13:57:25.163 ../../packages/plugin-aggrid build: �[2mdist/�[22m�[35mindex.css �[39m�[1m�[2m317.02 kB�[22m�[1m�[22m�[2m │ gzip: 61.59 kB�[22m
13:57:25.164 ../../packages/plugin-aggrid build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m 15.00 kB�[22m�[1m�[22m�[2m │ gzip: 5.51 kB�[22m
13:57:25.164 ../../packages/plugin-aggrid build: �[32m✓ built in 7.04s�[39m
13:57:25.231 ../../packages/plugin-aggrid build: Done
13:57:25.232 ../../packages/plugin-dashboard build$ vite build
13:57:26.084 ../../packages/plugin-charts build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:26.181 ../../packages/plugin-chatbot build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:27.424 ../../packages/plugin-dashboard build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:31.613 ../../packages/plugin-chatbot build: transforming...
13:57:31.703 ../../packages/plugin-charts build: transforming...
13:57:31.848 ../../packages/plugin-chatbot build: �[32m✓�[39m 11 modules transformed.
13:57:31.922 ../../packages/plugin-chatbot build: rendering chunks...
13:57:31.929 ../../packages/plugin-chatbot build: [vite:dts] Start generate declaration files...
13:57:31.930 ../../packages/plugin-chatbot build: computing gzip size...
13:57:32.014 ../../packages/plugin-chatbot build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m18.80 kB�[22m�[1m�[22m�[2m │ gzip: 5.32 kB�[22m
13:57:32.029 ../../packages/plugin-chatbot build: [vite:dts] Declaration files built in 5438ms.
13:57:32.058 ../../packages/plugin-chatbot build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m13.08 kB�[22m�[1m�[22m�[2m │ gzip: 4.77 kB�[22m
13:57:32.058 ../../packages/plugin-chatbot build: �[32m✓ built in 5.86s�[39m
13:57:32.150 ../../packages/plugin-chatbot build: Done
13:57:32.151 ../../packages/plugin-editor build$ vite build
13:57:32.177 ../../packages/fields build: transforming...
13:57:32.633 ../../packages/plugin-dashboard build: transforming...
13:57:32.647 ../../packages/fields build: �[32m✓�[39m 37 modules transformed.
13:57:32.745 ../../packages/fields build: rendering chunks...
13:57:32.753 ../../packages/fields build: [vite:dts] Start generate declaration files...
13:57:32.756 ../../packages/fields build: computing gzip size...
13:57:32.869 ../../packages/fields build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m55.12 kB�[22m�[1m�[22m�[2m │ gzip: 11.84 kB�[22m
13:57:32.907 ../../packages/plugin-dashboard build: �[32m✓�[39m 12 modules transformed.
13:57:32.910 ../../packages/fields build: [vite:dts] Declaration files built in 7344ms.
13:57:32.959 ../../packages/fields build: �[2mdist/�[22m�[36mindex.cjs �[39m�[1m�[2m38.09 kB�[22m�[1m�[22m�[2m │ gzip: 9.99 kB�[22m
13:57:32.960 ../../packages/fields build: �[32m✓ built in 8.02s�[39m
13:57:32.971 ../../packages/plugin-dashboard build: rendering chunks...
13:57:32.982 ../../packages/plugin-dashboard build: [vite:dts] Start generate declaration files...
13:57:32.985 ../../packages/plugin-dashboard build: computing gzip size...
13:57:33.055 ../../packages/fields build: Done
13:57:33.057 ../../packages/plugin-kanban build$ vite build
13:57:33.154 ../../packages/plugin-dashboard build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m12.21 kB�[22m�[1m�[22m�[2m │ gzip: 3.87 kB�[22m
13:57:33.163 ../../packages/plugin-dashboard build: [vite:dts] Declaration files built in 5308ms.
13:57:33.172 ../../packages/plugin-dashboard build: �[33mNo name was provided for external module "lucide-react" in "output.globals" – guessing "lucideReact".�[39m
13:57:33.198 ../../packages/plugin-dashboard build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m8.57 kB�[22m�[1m�[22m�[2m │ gzip: 3.47 kB�[22m
13:57:33.199 ../../packages/plugin-dashboard build: �[32m✓ built in 5.74s�[39m
13:57:33.294 ../../packages/plugin-dashboard build: Done
13:57:33.295 ../../packages/plugin-map build$ vite build
13:57:33.956 ../../packages/plugin-editor build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:34.911 ../../packages/plugin-kanban build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:35.390 ../../packages/plugin-map build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:37.059 ../../packages/plugin-charts build: �[32m✓�[39m 657 modules transformed.
13:57:37.592 ../../packages/plugin-charts build: rendering chunks...
13:57:37.968 ../../packages/plugin-charts build: [vite:dts] Start generate declaration files...
13:57:37.973 ../../packages/plugin-charts build: computing gzip size...
13:57:38.073 ../../packages/plugin-charts build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m 0.22 kB�[22m�[1m�[22m�[2m │ gzip: 0.15 kB�[22m
13:57:38.078 ../../packages/plugin-charts build: �[2mdist/�[22m�[36mChartImpl-CE1UGkNR.js �[39m�[1m�[2m 8.99 kB�[22m�[1m�[22m�[2m │ gzip: 3.14 kB�[22m
13:57:38.078 ../../packages/plugin-charts build: �[2mdist/�[22m�[36mindex-CTfEtwhn.js �[39m�[1m�[2m 12.70 kB�[22m�[1m�[22m�[2m │ gzip: 3.90 kB�[22m
13:57:38.079 ../../packages/plugin-charts build: �[2mdist/�[22m�[36mAdvancedChartImpl-DJcN3TPx.js �[39m�[1m�[2m 71.18 kB�[22m�[1m�[22m�[2m │ gzip: 16.57 kB�[22m
13:57:38.080 ../../packages/plugin-charts build: �[2mdist/�[22m�[36mBarChart-RKJxvg5Y.js �[39m�[1m�[33m548.59 kB�[39m�[22m�[2m │ gzip: 137.08 kB�[22m
13:57:38.089 ../../packages/plugin-charts build: [vite:dts] Declaration files built in 5646ms.
13:57:38.592 ../../packages/plugin-editor build: transforming...
13:57:38.972 ../../packages/plugin-editor build: �[32m✓�[39m 23 modules transformed.
13:57:38.974 ../../packages/plugin-charts build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m441.29 kB�[22m�[1m�[22m�[2m │ gzip: 129.82 kB�[22m
13:57:38.974 ../../packages/plugin-charts build: �[32m✓ built in 12.87s�[39m
13:57:39.034 ../../packages/plugin-editor build: rendering chunks...
13:57:39.054 ../../packages/plugin-editor build: [vite:dts] Start generate declaration files...
13:57:39.055 ../../packages/plugin-editor build: computing gzip size...
13:57:39.087 ../../packages/plugin-charts build: Done
13:57:39.088 ../../packages/plugin-markdown build$ vite build
13:57:39.101 ../../packages/plugin-map build: transforming...
13:57:39.192 ../../packages/plugin-editor build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m 0.19 kB�[22m�[1m�[22m�[2m │ gzip: 0.15 kB�[22m
13:57:39.192 ../../packages/plugin-editor build: �[2mdist/�[22m�[36mindex-Dl3HAAqu.js �[39m�[1m�[2m10.31 kB�[22m�[1m�[22m�[2m │ gzip: 3.35 kB�[22m
13:57:39.194 ../../packages/plugin-editor build: �[2mdist/�[22m�[36mMonacoImpl-B7ZgZJJG.js �[39m�[1m�[2m18.58 kB�[22m�[1m�[22m�[2m │ gzip: 5.71 kB�[22m
13:57:39.221 ../../packages/plugin-editor build: [vite:dts] Declaration files built in 4736ms.
13:57:39.269 ../../packages/plugin-editor build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m22.20 kB�[22m�[1m�[22m�[2m │ gzip: 7.93 kB�[22m
13:57:39.270 ../../packages/plugin-editor build: �[32m✓ built in 5.29s�[39m
13:57:39.344 ../../packages/plugin-editor build: Done
13:57:39.345 ../../packages/plugin-timeline build$ vite build
13:57:39.378 ../../packages/plugin-map build: �[32m✓�[39m 11 modules transformed.
13:57:39.437 ../../packages/plugin-map build: rendering chunks...
13:57:39.444 ../../packages/plugin-map build: [vite:dts] Start generate declaration files...
13:57:39.444 ../../packages/plugin-map build: computing gzip size...
13:57:39.484 ../../packages/plugin-map build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m17.12 kB�[22m�[1m�[22m�[2m │ gzip: 5.20 kB�[22m
13:57:39.514 ../../packages/plugin-map build: [vite:dts] Declaration files built in 3701ms.
13:57:39.578 ../../packages/plugin-map build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m12.06 kB�[22m�[1m�[22m�[2m │ gzip: 4.66 kB�[22m
13:57:39.578 ../../packages/plugin-map build: �[32m✓ built in 4.16s�[39m
13:57:39.687 ../../packages/plugin-map build: Done
13:57:39.920 ../../packages/plugin-kanban build: transforming...
13:57:40.378 ../../packages/plugin-kanban build: �[32m✓�[39m 15 modules transformed.
13:57:40.460 ../../packages/plugin-kanban build: rendering chunks...
13:57:40.526 ../../packages/plugin-kanban build: [vite:dts] Start generate declaration files...
13:57:40.526 ../../packages/plugin-kanban build: computing gzip size...
13:57:40.666 ../../packages/plugin-kanban build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m 0.19 kB�[22m�[1m�[22m�[2m │ gzip: 0.15 kB�[22m
13:57:40.666 ../../packages/plugin-kanban build: �[2mdist/�[22m�[36mindex-BV3FWhCb.js �[39m�[1m�[2m12.15 kB�[22m�[1m�[22m�[2m │ gzip: 3.73 kB�[22m
13:57:40.666 ../../packages/plugin-kanban build: �[2mdist/�[22m�[36mKanbanImpl-CUWM-JC-.js �[39m�[1m�[2m78.33 kB�[22m�[1m�[22m�[2m │ gzip: 20.88 kB�[22m
13:57:40.675 ../../packages/plugin-kanban build: [vite:dts] Declaration files built in 5072ms.
13:57:40.753 ../../packages/plugin-markdown build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:40.772 ../../packages/plugin-kanban build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m59.71 kB�[22m�[1m�[22m�[2m │ gzip: 20.46 kB�[22m
13:57:40.772 ../../packages/plugin-kanban build: �[32m✓ built in 5.84s�[39m
13:57:40.836 ../../packages/plugin-kanban build: Done
13:57:40.902 ../../packages/plugin-timeline build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:43.195 ../../packages/plugin-markdown build: transforming...
13:57:43.713 ../../packages/plugin-timeline build: transforming...
13:57:43.844 ../../packages/plugin-timeline build: �[32m✓�[39m 11 modules transformed.
13:57:43.889 ../../packages/plugin-timeline build: rendering chunks...
13:57:43.893 ../../packages/plugin-timeline build: [vite:dts] Start generate declaration files...
13:57:43.894 ../../packages/plugin-timeline build: computing gzip size...
13:57:43.959 ../../packages/plugin-timeline build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m24.47 kB�[22m�[1m�[22m�[2m │ gzip: 6.07 kB�[22m
13:57:43.967 ../../packages/plugin-timeline build: [vite:dts] Declaration files built in 2838ms.
13:57:44.000 ../../packages/plugin-timeline build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m16.51 kB�[22m�[1m�[22m�[2m │ gzip: 5.49 kB�[22m
13:57:44.001 ../../packages/plugin-timeline build: �[32m✓ built in 3.08s�[39m
13:57:44.061 ../../packages/plugin-timeline build: Done
13:57:44.259 ../../packages/plugin-markdown build: �[32m✓�[39m 268 modules transformed.
13:57:44.348 ../../packages/plugin-markdown build: rendering chunks...
13:57:44.422 ../../packages/plugin-markdown build: [vite:dts] Start generate declaration files...
13:57:44.422 ../../packages/plugin-markdown build: computing gzip size...
13:57:44.485 ../../packages/plugin-markdown build: [vite:dts] Declaration files built in 2459ms.
13:57:44.487 ../../packages/plugin-markdown build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m 0.19 kB�[22m�[1m�[22m�[2m │ gzip: 0.15 kB�[22m
13:57:44.488 ../../packages/plugin-markdown build: �[2mdist/�[22m�[36mindex-D_CdfEXQ.js �[39m�[1m�[2m 9.83 kB�[22m�[1m�[22m�[2m │ gzip: 3.21 kB�[22m
13:57:44.488 ../../packages/plugin-markdown build: �[2mdist/�[22m�[36mMarkdownImpl-BRkYjVWf.js �[39m�[1m�[2m262.95 kB�[22m�[1m�[22m�[2m │ gzip: 66.13 kB�[22m
13:57:44.680 ../../packages/plugin-markdown build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m170.17 kB�[22m�[1m�[22m�[2m │ gzip: 52.57 kB�[22m
13:57:44.680 ../../packages/plugin-markdown build: �[32m✓ built in 3.91s�[39m
13:57:44.733 ../../packages/plugin-markdown build: Done
13:57:44.734 ../../packages/plugin-calendar build$ vite build
13:57:44.734 ../../packages/plugin-form build$ vite build
13:57:44.735 ../../packages/plugin-gantt build$ vite build
13:57:44.735 ../../packages/plugin-grid build$ vite build
13:57:46.652 ../../packages/plugin-grid build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:46.691 ../../packages/plugin-gantt build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:46.716 ../../packages/plugin-form build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:46.719 ../../packages/plugin-calendar build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:57:50.453 ../../packages/plugin-gantt build: transforming...
13:57:50.700 ../../packages/plugin-gantt build: �[32m✓�[39m 11 modules transformed.
13:57:50.748 ../../packages/plugin-gantt build: rendering chunks...
13:57:50.754 ../../packages/plugin-gantt build: [vite:dts] Start generate declaration files...
13:57:50.761 ../../packages/plugin-gantt build: computing gzip size...
13:57:50.792 ../../packages/plugin-gantt build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m18.40 kB�[22m�[1m�[22m�[2m │ gzip: 5.35 kB�[22m
13:57:50.810 ../../packages/plugin-gantt build: [vite:dts] Declaration files built in 3750ms.
13:57:50.866 ../../packages/plugin-gantt build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m12.23 kB�[22m�[1m�[22m�[2m │ gzip: 4.69 kB�[22m
13:57:50.867 ../../packages/plugin-gantt build: �[32m✓ built in 4.15s�[39m
13:57:50.940 ../../packages/plugin-gantt build: Done
13:57:50.941 ../../packages/runner build$ vite build
13:57:51.487 ../../packages/runner build: �[36mvite v5.4.21 �[32mbuilding for production...�[36m�[39m
13:57:51.583 ../../packages/runner build: transforming...
13:57:51.613 ../../packages/plugin-form build: transforming...
13:57:51.783 ../../packages/plugin-form build: �[32m✓�[39m 11 modules transformed.
13:57:51.846 ../../packages/plugin-form build: rendering chunks...
13:57:51.855 ../../packages/plugin-form build: [vite:dts] Start generate declaration files...
13:57:51.859 ../../packages/plugin-form build: computing gzip size...
13:57:51.901 ../../packages/plugin-form build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m14.78 kB�[22m�[1m�[22m�[2m │ gzip: 4.73 kB�[22m
13:57:51.915 ../../packages/plugin-form build: [vite:dts] Declaration files built in 4837ms.
13:57:51.925 ../../packages/plugin-form build: �[33mNo name was provided for external module "@object-ui/core" in "output.globals" – guessing "core".�[39m
13:57:51.925 ../../packages/plugin-form build: �[33mNo name was provided for external module "@object-ui/react" in "output.globals" – guessing "react".�[39m
13:57:51.925 ../../packages/plugin-form build: �[33mNo name was provided for external module "@object-ui/fields" in "output.globals" – guessing "fields".�[39m
13:57:51.961 ../../packages/plugin-form build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m10.70 kB�[22m�[1m�[22m�[2m │ gzip: 4.30 kB�[22m
13:57:51.963 ../../packages/plugin-form build: �[32m✓ built in 5.22s�[39m
13:57:52.076 ../../packages/plugin-form build: Done
13:57:52.414 ../../packages/plugin-calendar build: transforming...
13:57:52.468 ../../packages/plugin-grid build: transforming...
13:57:52.634 ../../packages/plugin-calendar build: �[32m✓�[39m 13 modules transformed.
13:57:52.660 ../../packages/plugin-grid build: �[32m✓�[39m 11 modules transformed.
13:57:52.686 ../../packages/plugin-calendar build: rendering chunks...
13:57:52.691 ../../packages/plugin-calendar build: [vite:dts] Start generate declaration files...
13:57:52.692 ../../packages/plugin-calendar build: computing gzip size...
13:57:52.724 ../../packages/plugin-grid build: rendering chunks...
13:57:52.738 ../../packages/plugin-grid build: [vite:dts] Start generate declaration files...
13:57:52.739 ../../packages/plugin-grid build: computing gzip size...
13:57:52.744 ../../packages/plugin-calendar build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m33.92 kB�[22m�[1m�[22m�[2m │ gzip: 8.49 kB�[22m
13:57:52.765 ../../packages/plugin-calendar build: [vite:dts] Declaration files built in 5689ms.
13:57:52.806 ../../packages/plugin-grid build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m16.00 kB�[22m�[1m�[22m�[2m │ gzip: 5.01 kB�[22m
13:57:52.814 ../../packages/plugin-grid build: [vite:dts] Declaration files built in 5841ms.
13:57:52.837 ../../packages/plugin-grid build: �[33mNo name was provided for external module "@object-ui/core" in "output.globals" – guessing "core".�[39m
13:57:52.839 ../../packages/plugin-grid build: �[33mNo name was provided for external module "@object-ui/react" in "output.globals" – guessing "react".�[39m
13:57:52.839 ../../packages/plugin-grid build: �[33mNo name was provided for external module "@object-ui/fields" in "output.globals" – guessing "fields".�[39m
13:57:52.840 ../../packages/plugin-grid build: �[33mNo name was provided for external module "@object-ui/components" in "output.globals" – guessing "components".�[39m
13:57:52.840 ../../packages/plugin-grid build: �[33mNo name was provided for external module "lucide-react" in "output.globals" – guessing "lucideReact".�[39m
13:57:52.859 ../../packages/plugin-calendar build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m22.47 kB�[22m�[1m�[22m�[2m │ gzip: 7.42 kB�[22m
13:57:52.860 ../../packages/plugin-calendar build: �[32m✓ built in 6.11s�[39m
13:57:52.864 ../../packages/plugin-grid build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m11.36 kB�[22m�[1m�[22m�[2m │ gzip: 4.51 kB�[22m
13:57:52.865 ../../packages/plugin-grid build: �[32m✓ built in 6.19s�[39m
13:57:52.921 ../../packages/plugin-calendar build: Done
13:57:52.927 ../../packages/plugin-grid build: Done
13:57:59.368 ../../packages/runner build: �[32m✓�[39m 3633 modules transformed.
13:58:00.241 ../../packages/runner build: rendering chunks...
13:58:00.700 ../../packages/runner build: computing gzip size...
13:58:00.742 ../../packages/runner build: �[2mdist/�[22m�[32mindex.html �[39m�[1m�[2m 0.47 kB�[22m�[1m�[22m�[2m │ gzip: 0.30 kB�[22m
13:58:00.743 ../../packages/runner build: �[2mdist/�[22m�[2massets/�[22m�[35mindex-DOEBIU-6.css �[39m�[1m�[2m 38.07 kB�[22m�[1m�[22m�[2m │ gzip: 5.05 kB�[22m
13:58:00.743 ../../packages/runner build: �[2mdist/�[22m�[2massets/�[22m�[36mChartImpl-CY4ojr5S.js �[39m�[1m�[2m 6.14 kB�[22m�[1m�[22m�[2m │ gzip: 2.58 kB�[22m
13:58:00.743 ../../packages/runner build: �[2mdist/�[22m�[2massets/�[22m�[36mAdvancedChartImpl-CC-AaYQR.js �[39m�[1m�[2m 48.11 kB�[22m�[1m�[22m�[2m │ gzip: 13.76 kB�[22m
13:58:00.743 ../../packages/runner build: �[2mdist/�[22m�[2massets/�[22m�[36mKanbanImpl-GhNP3dwJ.js �[39m�[1m�[2m 51.72 kB�[22m�[1m�[22m�[2m │ gzip: 17.28 kB�[22m
13:58:00.743 ../../packages/runner build: �[2mdist/�[22m�[2massets/�[22m�[36mBarChart-BnU3QeOi.js �[39m�[1m�[2m 350.04 kB�[22m�[1m�[22m�[2m │ gzip: 105.01 kB�[22m
13:58:00.743 ../../packages/runner build: �[2mdist/�[22m�[2massets/�[22m�[36mindex-li64pnia.js �[39m�[1m�[33m1,709.94 kB�[39m�[22m�[2m │ gzip: 410.51 kB�[22m
13:58:00.744 ../../packages/runner build: �[33m
13:58:00.744 ../../packages/runner build: (!) Some chunks are larger than 500 kB after minification. Consider:
13:58:00.744 ../../packages/runner build: - Using dynamic import() to code-split the application
13:58:00.744 ../../packages/runner build: - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
13:58:00.744 ../../packages/runner build: - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.�[39m
13:58:00.744 ../../packages/runner build: �[32m✓ built in 9.21s�[39m
13:58:00.819 ../../packages/runner build: Done
13:58:00.820 ../../packages/plugin-view build$ vite build
13:58:01.693 ../../packages/plugin-view build: �[36mvite v7.3.1 �[32mbuilding client environment for production...�[36m�[39m
13:58:03.914 ../../packages/plugin-view build: transforming...
13:58:04.006 ../../packages/plugin-view build: �[32m✓�[39m 11 modules transformed.
13:58:04.032 ../../packages/plugin-view build: rendering chunks...
13:58:04.035 ../../packages/plugin-view build: [vite:dts] Start generate declaration files...
13:58:04.036 ../../packages/plugin-view build: computing gzip size...
13:58:04.064 ../../packages/plugin-view build: �[2mdist/�[22m�[36mindex.js �[39m�[1m�[2m16.63 kB�[22m�[1m�[22m�[2m │ gzip: 4.87 kB�[22m
13:58:04.066 ../../packages/plugin-view build: [vite:dts] Declaration files built in 2219ms.
13:58:04.076 ../../packages/plugin-view build: �[33mNo name was provided for external module "@object-ui/core" in "output.globals" – guessing "core".�[39m
13:58:04.076 ../../packages/plugin-view build: �[33mNo name was provided for external module "@object-ui/plugin-grid" in "output.globals" – guessing "pluginGrid".�[39m
13:58:04.076 ../../packages/plugin-view build: �[33mNo name was provided for external module "@object-ui/plugin-form" in "output.globals" – guessing "pluginForm".�[39m
13:58:04.076 ../../packages/plugin-view build: �[33mNo name was provided for external module "@object-ui/components" in "output.globals" – guessing "components".�[39m
13:58:04.076 ../../packages/plugin-view build: �[33mNo name was provided for external module "lucide-react" in "output.globals" – guessing "lucideReact".�[39m
13:58:04.104 ../../packages/plugin-view build: �[2mdist/�[22m�[36mindex.umd.cjs �[39m�[1m�[2m11.37 kB�[22m�[1m�[22m�[2m │ gzip: 4.31 kB�[22m
13:58:04.104 ../../packages/plugin-view build: �[32m✓ built in 2.40s�[39m
13:58:04.149 ../../packages/plugin-view build: Done
13:58:04.463
13:58:04.463 > @objectui/site@0.0.1 build /vercel/path0/apps/site
13:58:04.463 > next build
13:58:04.463
13:58:05.483 [MDX] generated files in 17.73667499999999ms
13:58:05.489 ▲ Next.js 16.1.4 (Turbopack)
13:58:05.489
13:58:05.522 Creating an optimized production build ...
13:58:41.287
13:58:41.287 > Build error occurred
13:58:41.290 Error: Turbopack build failed with 5 errors:
13:58:41.290 ./content/docs/blocks/authentication.mdx
13:58:41.290 Error evaluating Node.js code
13:58:41.290 25:20: Could not parse expression with acorn
13:58:41.290 Caused by: SyntaxError: Unexpected token
13:58:41.290 [at pp$4.raise (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3731:13)]
13:58:41.290 [at pp$9.unexpected (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:770:8)]
13:58:41.290 [at pp$5.parseIdentNode (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3664:10)]
13:58:41.291 [at pp$5.parseIdent (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3636:19)]
13:58:41.291 [at pp$5.parsePropertyName (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3455:109)]
13:58:41.291 [at pp$5.parseProperty (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3377:8)]
13:58:41.291 [at pp$5.parseObj (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3340:21)]
13:58:41.291 [at pp$5.parseExprAtom (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3041:17)]
13:58:41.291 [at Parser.parseExprAtom (/vercel/path0/node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.15.0/node_modules/acorn-jsx/index.js:445:22)]
13:58:41.291 [at pp$5.parseExprSubscripts (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:2849:19)]
13:58:41.291
13:58:41.291
13:58:41.291 ./content/docs/blocks/dashboard.mdx
13:58:41.291 Error evaluating Node.js code
13:58:41.291 29:20: Could not parse expression with acorn
13:58:41.291 Caused by: SyntaxError: Unexpected token
13:58:41.291 [at pp$4.raise (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3731:13)]
13:58:41.291 [at pp$9.unexpected (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:770:8)]
13:58:41.291 [at pp$5.parseIdentNode (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3664:10)]
13:58:41.291 [at pp$5.parseIdent (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3636:19)]
13:58:41.291 [at pp$5.parsePropertyName (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3455:109)]
13:58:41.291 [at pp$5.parseProperty (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3377:8)]
13:58:41.291 [at pp$5.parseObj (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3340:21)]
13:58:41.291 [at pp$5.parseExprAtom (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3041:17)]
13:58:41.291 [at Parser.parseExprAtom (/vercel/path0/node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.15.0/node_modules/acorn-jsx/index.js:445:22)]
13:58:41.291 [at pp$5.parseExprSubscripts (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:2849:19)]
13:58:41.291
13:58:41.291
13:58:41.291 ./content/docs/blocks/ecommerce.mdx
13:58:41.291 Error evaluating Node.js code
13:58:41.291 36:20: Could not parse expression with acorn
13:58:41.292 Caused by: SyntaxError: Unexpected token
13:58:41.292 [at pp$4.raise (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3731:13)]
13:58:41.292 [at pp$9.unexpected (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:770:8)]
13:58:41.292 [at pp$5.parseIdentNode (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3664:10)]
13:58:41.292 [at pp$5.parseIdent (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3636:19)]
13:58:41.292 [at pp$5.parsePropertyName (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3455:109)]
13:58:41.292 [at pp$5.parseProperty (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3377:8)]
13:58:41.292 [at pp$5.parseObj (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3340:21)]
13:58:41.292 [at pp$5.parseExprAtom (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3041:17)]
13:58:41.292 [at Parser.parseExprAtom (/vercel/path0/node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.15.0/node_modules/acorn-jsx/index.js:445:22)]
13:58:41.292 [at pp$5.parseExprSubscripts (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:2849:19)]
13:58:41.292
13:58:41.292
13:58:41.292 ./content/docs/blocks/forms.mdx
13:58:41.292 Error evaluating Node.js code
13:58:41.292 170:20: Could not parse expression with acorn
13:58:41.292 Caused by: SyntaxError: Unexpected token
13:58:41.292 [at pp$4.raise (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3731:13)]
13:58:41.292 [at pp$9.unexpected (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:770:8)]
13:58:41.292 [at pp$5.parseIdentNode (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3664:10)]
13:58:41.292 [at pp$5.parseIdent (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3636:19)]
13:58:41.293 [at pp$5.parsePropertyName (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3455:109)]
13:58:41.293 [at pp$5.parseProperty (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3377:8)]
13:58:41.293 [at pp$5.parseObj (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3340:21)]
13:58:41.293 [at pp$5.parseExprAtom (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3041:17)]
13:58:41.293 [at Parser.parseExprAtom (/vercel/path0/node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.15.0/node_modules/acorn-jsx/index.js:445:22)]
13:58:41.293 [at pp$5.parseExprSubscripts (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:2849:19)]
13:58:41.293
13:58:41.293
13:58:41.293 ./content/docs/blocks/marketing.mdx
13:58:41.293 Error evaluating Node.js code
13:58:41.293 49:20: Could not parse expression with acorn
13:58:41.293 Caused by: SyntaxError: Unexpected token
13:58:41.293 [at pp$4.raise (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3731:13)]
13:58:41.294 [at pp$9.unexpected (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:770:8)]
13:58:41.294 [at pp$5.parseIdentNode (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3664:10)]
13:58:41.294 [at pp$5.parseIdent (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3636:19)]
13:58:41.294 [at pp$5.parsePropertyName (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3455:109)]
13:58:41.294 [at pp$5.parseProperty (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3377:8)]
13:58:41.294 [at pp$5.parseObj (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3340:21)]
13:58:41.294 [at pp$5.parseExprAtom (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:3041:17)]
13:58:41.294 [at Parser.parseExprAtom (/vercel/path0/node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.15.0/node_modules/acorn-jsx/index.js:445:22)]
13:58:41.294 [at pp$5.parseExprSubscripts (file:///vercel/path0/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs:2849:19)]
13:58:41.294
13:58:41.294
13:58:41.294 at ignore-listed frames
13:58:41.403  ELIFECYCLE  Command failed with exit code 1.
13:58:41.426 Error: Command "pnpm --filter '../../packages/
' -r build && pnpm build" exited with 1

@hotlong hotlong marked this pull request as ready for review January 28, 2026 06:16
Copilot AI review requested due to automatic review settings January 28, 2026 06:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR deprecates the div and span components in favor of semantic Shadcn-based components, aligning with ObjectUI's architectural goal of being a "Serializable Shadcn" system. The changes add runtime deprecation warnings and migrate over 100 documentation examples to use semantic alternatives like stack, flex, grid, card, badge, and container.

Changes:

  • Added deprecation warnings to div.tsx and span.tsx components with guidance on Shadcn alternatives
  • Updated component registry labels to "(Deprecated)"
  • Migrated all documentation examples from div/span to semantic components (stack, flex, grid, card, badge, container)
  • Added migration guides in div.mdx and span.mdx documentation
  • Updated .gitignore to exclude backup files

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
packages/components/src/renderers/basic/div.tsx Added deprecation warning and updated label to indicate deprecation
packages/components/src/renderers/basic/span.tsx Added deprecation warning and updated label to indicate deprecation
content/docs/components/basic/div.mdx Added deprecation notice and migration guide with examples
content/docs/components/basic/span.mdx Added deprecation notice and migration guide with examples
content/docs/guide/layout.md Replaced div with semantic components (container) in examples
content/docs/blocks/forms.mdx Migrated all div instances to stack, grid, and flex components
content/docs/blocks/dashboard.mdx Migrated all div instances to stack, grid, flex, and container components
content/docs/blocks/marketing.mdx Migrated all div and span instances to semantic Shadcn components
content/docs/blocks/ecommerce.mdx Migrated all div instances to stack and flex components
content/docs/blocks/authentication.mdx Migrated all div instances to stack, grid, and flex components
.gitignore Added patterns for backup files (*.bak, *.backup, *~)

type: "div",
children: [
type: "stack",
spacing: 2, [
Copy link

Copilot AI Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Critical syntax errors throughout this file that will cause JSON parsing failures:

  1. Double commas after property values: Lines 49, 93, 155, 210, 288, 332, 446, 478, 510, 542, 574, 606, 652, 780, 853, 926 have patterns like spacing: 4,, or spacing: 2,, which should be single commas.

  2. Malformed children property declarations: Lines 53, 159, 292, 825, 898, 971 have spacing: 2, [ which incorrectly merges the children array with the spacing property. This should be two separate lines: spacing: 2, followed by children: [

These errors need to be fixed before the PR can be merged as they will break JSON schema parsing.

Suggested change
spacing: 2, [
spacing: 2,
children: [

Copilot uses AI. Check for mistakes.
Comment on lines 14 to +23
const DivRenderer = forwardRef<HTMLDivElement, { schema: DivSchema; className?: string; [key: string]: any }>(
({ schema, className, ...props }, ref) => {
// Deprecation warning
if (process.env.NODE_ENV !== 'production') {
console.warn(
'[ObjectUI] The "div" component is deprecated. Please use Shadcn components instead:\n' +
' - For containers: use "card", "flex", or semantic layout components\n' +
' - For simple wrappers: use layout components like "container", "stack", or "grid"\n' +
'See documentation at https://www.objectui.org/docs/components for alternatives.'
);
Copy link

Copilot AI Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deprecation warning will fire on every render of the component, potentially flooding the console with warnings. Consider using a pattern that warns only once per component type, such as storing a flag in a module-level Set or Map to track whether the warning has already been shown.

Suggested change
const DivRenderer = forwardRef<HTMLDivElement, { schema: DivSchema; className?: string; [key: string]: any }>(
({ schema, className, ...props }, ref) => {
// Deprecation warning
if (process.env.NODE_ENV !== 'production') {
console.warn(
'[ObjectUI] The "div" component is deprecated. Please use Shadcn components instead:\n' +
' - For containers: use "card", "flex", or semantic layout components\n' +
' - For simple wrappers: use layout components like "container", "stack", or "grid"\n' +
'See documentation at https://www.objectui.org/docs/components for alternatives.'
);
let hasShownDivDeprecationWarning = false;
const DivRenderer = forwardRef<HTMLDivElement, { schema: DivSchema; className?: string; [key: string]: any }>(
({ schema, className, ...props }, ref) => {
// Deprecation warning
if (process.env.NODE_ENV !== 'production' && !hasShownDivDeprecationWarning) {
console.warn(
'[ObjectUI] The "div" component is deprecated. Please use Shadcn components instead:\n' +
' - For containers: use "card", "flex", or semantic layout components\n' +
' - For simple wrappers: use layout components like "container", "stack", or "grid"\n' +
'See documentation at https://www.objectui.org/docs/components for alternatives.'
);
hasShownDivDeprecationWarning = true;

Copilot uses AI. Check for mistakes.
Comment on lines 14 to +23
const SpanRenderer = forwardRef<HTMLSpanElement, { schema: SpanSchema; className?: string; [key: string]: any }>(
({ schema, className, ...props }, ref) => {
// Deprecation warning
if (process.env.NODE_ENV !== 'production') {
console.warn(
'[ObjectUI] The "span" component is deprecated. Please use Shadcn components instead:\n' +
' - For badges/labels: use "badge" component\n' +
' - For inline text emphasis: use "text" component with appropriate className\n' +
'See documentation at https://www.objectui.org/docs/components for alternatives.'
);
Copy link

Copilot AI Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deprecation warning will fire on every render of the component, potentially flooding the console with warnings. Consider using a pattern that warns only once per component type, such as storing a flag in a module-level Set or Map to track whether the warning has already been shown.

Suggested change
const SpanRenderer = forwardRef<HTMLSpanElement, { schema: SpanSchema; className?: string; [key: string]: any }>(
({ schema, className, ...props }, ref) => {
// Deprecation warning
if (process.env.NODE_ENV !== 'production') {
console.warn(
'[ObjectUI] The "span" component is deprecated. Please use Shadcn components instead:\n' +
' - For badges/labels: use "badge" component\n' +
' - For inline text emphasis: use "text" component with appropriate className\n' +
'See documentation at https://www.objectui.org/docs/components for alternatives.'
);
let hasShownSpanDeprecationWarning = false;
const SpanRenderer = forwardRef<HTMLSpanElement, { schema: SpanSchema; className?: string; [key: string]: any }>(
({ schema, className, ...props }, ref) => {
// Deprecation warning (show only once in non-production)
if (!hasShownSpanDeprecationWarning && process.env.NODE_ENV !== 'production') {
console.warn(
'[ObjectUI] The "span" component is deprecated. Please use Shadcn components instead:\n' +
' - For badges/labels: use "badge" component\n' +
' - For inline text emphasis: use "text" component with appropriate className\n' +
'See documentation at https://www.objectui.org/docs/components for alternatives.'
);
hasShownSpanDeprecationWarning = true;

Copilot uses AI. Check for mistakes.
Copilot AI and others added 3 commits January 28, 2026 06:23
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
@github-actions
Copy link

📦 Bundle Size Report

Package Size Gzipped
components (index.js) 1525.86KB 359.69KB
core (index.js) 0.51KB 0.28KB
data-objectstack (index.js) 4.42KB 1.47KB
fields (index.js) 53.83KB 11.57KB
layout (index.js) 12.22KB 3.82KB
plugin-aggrid (AgGridImpl-DKkq6v1B.js) 5.09KB 1.84KB
plugin-aggrid (index-B6NPAFZx.js) 15.66KB 4.51KB
plugin-aggrid (index.js) 0.18KB 0.15KB
plugin-calendar (index.js) 33.12KB 8.29KB
plugin-charts (AdvancedChartImpl-DJcN3TPx.js) 69.51KB 16.23KB
plugin-charts (BarChart-RKJxvg5Y.js) 535.74KB 134.11KB
plugin-charts (ChartImpl-CE1UGkNR.js) 8.78KB 3.11KB
plugin-charts (index-CTfEtwhn.js) 12.40KB 3.84KB
plugin-charts (index.js) 0.21KB 0.16KB
plugin-chatbot (index.js) 18.36KB 5.21KB
plugin-dashboard (index.js) 11.92KB 3.81KB
plugin-editor (MonacoImpl-B7ZgZJJG.js) 18.15KB 5.59KB
plugin-editor (index-Dl3HAAqu.js) 10.07KB 3.31KB
plugin-editor (index.js) 0.19KB 0.15KB
plugin-form (index.js) 14.43KB 4.64KB
plugin-gantt (index.js) 17.97KB 5.24KB
plugin-grid (index.js) 15.62KB 4.91KB
plugin-kanban (KanbanImpl-CUWM-JC-.js) 76.50KB 20.46KB
plugin-kanban (index-BV3FWhCb.js) 11.86KB 3.67KB
plugin-kanban (index.js) 0.18KB 0.15KB
plugin-map (index.js) 16.72KB 5.09KB
plugin-markdown (MarkdownImpl-BRkYjVWf.js) 256.79KB 64.50KB
plugin-markdown (index-D_CdfEXQ.js) 9.59KB 3.16KB
plugin-markdown (index.js) 0.19KB 0.15KB
plugin-timeline (index.js) 23.90KB 5.95KB
plugin-view (index.js) 16.24KB 4.77KB
react (SchemaRenderer.js) 1.44KB 0.73KB
react (index.js) 0.36KB 0.23KB
react (index.test.js) 0.34KB 0.26KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 0.20KB 0.18KB
types (base.js) 0.20KB 0.18KB
types (complex.js) 0.20KB 0.18KB
types (crud.js) 0.20KB 0.18KB
types (data-display.js) 0.20KB 0.18KB
types (data.js) 0.20KB 0.18KB
types (disclosure.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (index.js) 0.34KB 0.25KB
types (layout.js) 0.20KB 0.18KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (registry.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

@github-actions
Copy link

✅ All checks passed!

  • ✅ Type check passed
  • ✅ Tests passed
  • ✅ Lint check completed

@hotlong hotlong merged commit ebf3cb1 into main Jan 28, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants