Skip to content

fix: restore install/build on canary (pnpm + lockfile + web env) - #13

Merged
kuyacarlo merged 2 commits into
canaryfrom
fix/restore-install-build-canary
Jul 25, 2026
Merged

fix: restore install/build on canary (pnpm + lockfile + web env)#13
kuyacarlo merged 2 commits into
canaryfrom
fix/restore-install-build-canary

Conversation

@kuyacarlo

Copy link
Copy Markdown
Contributor

Summary

  • Switch the monorepo to pnpm (pnpm@10.33.0 + workspace + fresh lockfile) and drop the stale npm lockfile that still described a Fastify API while apps/api is NestJS
  • Declare missing web deps (zod, @supabase/supabase-js, @worksight/assets) and stop Supabase clients from throwing at import when env is absent during next build
  • Repair flat ESLint config, Turbo quality task, assets exports, common format script, and point CI/Docker at pnpm

Test plan

  • pnpm install succeeds on a clean checkout
  • pnpm build with dummy NEXT_PUBLIC_SUPABASE_URL / ANON_KEY / PUBLISHABLE_KEY builds all packages
  • CI workflows that previously failed on npm ci pass with pnpm install --frozen-lockfile
  • Spot-check web login/Supabase path still works with real env locally

Co-authored-by: Auto (Cursor Agent) auto@cursor.com

Made with Cursor

Stale npm lockfile still described a Fastify API while apps/api is NestJS,
so npm ci and CI were dead. Align on pnpm, declare missing web deps, stop
Supabase env throws at import during next build, and repair flat ESLint/Turbo.

Co-authored-by: Auto (Cursor Agent) <auto@cursor.com>
Signed-off-by: kuyacarlo <106532351+kuyacarlo@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
worksight Ready Ready Preview, Comment Jul 23, 2026 7:24pm
worksight-api Ready Ready Preview, Comment Jul 23, 2026 7:24pm
worksight.docs Ready Ready Preview, Comment Jul 23, 2026 7:24pm

Drop conflicting pnpm/action-setup version pins so Corepack uses
packageManager (pnpm@10.33.0), and replace remaining npm install/build
commands in apps/*/vercel.json.

Co-authored-by: Auto (Cursor Agent) <auto@cursor.com>
Signed-off-by: kuyacarlo <106532351+kuyacarlo@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant