Skip to content

Commit

Permalink
Fix pnpm build --filter next on a clean repository (#68693)
Browse files Browse the repository at this point in the history
`next` uses `@next/font` during type emission (referenced in
`packages/next/types/$$compiled.internal.d.ts`). However, we currently
don't build `@next/font` before `next` since it's not declared
dependency.

Added to `devDependencies` since that's what `@next/font` is to `next`.
In prod, we use the vendored version.
  • Loading branch information
eps1lon authored Aug 12, 2024
1 parent e66185d commit 90ccf2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
"@jest/types": "29.5.0",
"@mswjs/interceptors": "0.23.0",
"@napi-rs/triples": "1.2.0",
"@next/font": "15.0.0-canary.111",
"@next/polyfill-module": "15.0.0-canary.111",
"@next/polyfill-nomodule": "15.0.0-canary.111",
"@next/react-refresh-utils": "15.0.0-canary.111",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 90ccf2e

Please sign in to comment.