mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
e0a155e718
- The `nextjs-chat` example's generated workflow step route (`/.well-known/workflow/v1/step`) bundles `@workflow/world-vercel → @vercel/queue`, and `@vercel/queue` has an unconditional `import "@vercel/oidc"`. - `@vercel/oidc` is only a deep transitive dependency, so it isn't hoisted into the example app. Vercel's isolated build can't resolve it and fails with `Module not found: Can't resolve '@vercel/oidc'`. (It resolves locally only because pnpm symlinks it, which is why the GitHub Actions build — which excludes the example — stays green.) - Declaring `@vercel/oidc` as a direct dependency of the example fixes resolution for the bundler. No changeset needed — `example-*` packages are private and excluded from versioning. --------- Signed-off-by: Ben Sabic <bensabic@users.noreply.github.com> Co-authored-by: Ben Sabic <bensabic@users.noreply.github.com>
16 lines
459 B
JSON
16 lines
459 B
JSON
{
|
|
"$schema": "https://unpkg.com/knip@5/schema.json",
|
|
"ignoreDependencies": ["@biomejs/biome", "@vercel/oidc"],
|
|
"ignore": [
|
|
"apps/docs/**/*",
|
|
"packages/create-chat-sdk/_template/next.config.ts",
|
|
"packages/create-chat-sdk/_template/src/app/api/webhooks/[platform]/route.ts",
|
|
"examples/nextjs-chat/src/app/.well-known/workflow/**/*"
|
|
],
|
|
"rules": {
|
|
"duplicates": "off",
|
|
"types": "off",
|
|
"optionalPeerDependencies": "off"
|
|
}
|
|
}
|