Skip to content

Commit 64243c1

Browse files
committed
chore: update build and install commands in Vercel configuration for sandbox and website
- Changed buildCommand to use --frozen-lockfile for consistent dependency installation. - Updated installCommand to skip installation and handle it within the buildCommand.
1 parent a79a9f5 commit 64243c1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/sandbox/vercel.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"buildCommand": "cd ../.. && pnpm install --filter @native-ui-org/sandbox... --ignore-scripts && pnpm --filter @native-ui-org/primitives build && pnpm --filter @native-ui-org/context-menu build && pnpm --filter @native-ui-org/sandbox build",
3-
"installCommand": "cd ../.. && pnpm install --filter @native-ui-org/sandbox... --ignore-scripts",
2+
"buildCommand": "cd ../.. && pnpm install --frozen-lockfile --filter @native-ui-org/sandbox... --ignore-scripts && pnpm --filter @native-ui-org/primitives build && pnpm --filter @native-ui-org/context-menu build && pnpm --filter @native-ui-org/sandbox build",
3+
"installCommand": "echo 'Skipping install, will be done in buildCommand'",
44
"framework": null,
55
"outputDirectory": "dist",
66
"rewrites": [

apps/website/vercel.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"buildCommand": "cd ../.. && pnpm install --filter @native-ui-org/website... --ignore-scripts && pnpm --filter @native-ui-org/website sync-docs && pnpm --filter @native-ui-org/website build",
3-
"installCommand": "cd ../.. && pnpm install --filter @native-ui-org/website... --ignore-scripts",
2+
"buildCommand": "cd ../.. && pnpm install --frozen-lockfile --filter @native-ui-org/website... --ignore-scripts && pnpm --filter @native-ui-org/primitives build && pnpm --filter @native-ui-org/website sync-docs && pnpm --filter @native-ui-org/website build",
3+
"installCommand": "echo 'Skipping install, will be done in buildCommand'",
44
"framework": "nextjs",
55
"outputDirectory": ".next"
66
}

0 commit comments

Comments
 (0)