Files
vercel__chat/knip.json
T
Ben Sabic e0a155e718 fix(examples): add @vercel/oidc to fix nextjs-chat Vercel build (#645)
- 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>
2026-06-27 08:42:13 +10:00

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"
}
}