Unverified Commit 9377b15d authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Turbopack build: Fix benchmark running with webpack (#70533)

Ensures there is no error running Tailwind with webpack in this
benchmark.

<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:

## For Contributors

### Improving Documentation

- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide

### Adding or Updating Examples

- The "examples guidelines" are followed from our contributing doc
https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md
- Make sure the linting passes by running `pnpm build && pnpm lint`. See
https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md

### Fixing a bug

- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md

### Adding a feature

- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas)
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md


## For Maintainers

- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change

### What?

### Why?

### How?

Closes NEXT-
Fixes #

-->
parent 2fc641ef
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"lucide-react": "^0.383.0", "lucide-react": "^0.383.0",
"mermaid": "^10.9.1", "mermaid": "^10.9.1",
"next": "workspace:*" "next": "workspace:*",
}, "tailwindcss": "3.2.7"
"devDependencies": {} }
} }
...@@ -5,4 +5,4 @@ const config = { ...@@ -5,4 +5,4 @@ const config = {
}, },
} }
export default config module.exports = config
import type { Config } from 'tailwindcss' const config = {
const config: Config = {
content: [ content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}', './pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}', './components/**/*.{js,ts,jsx,tsx,mdx}',
...@@ -16,4 +14,4 @@ const config: Config = { ...@@ -16,4 +14,4 @@ const config: Config = {
}, },
plugins: [], plugins: [],
} }
export default config module.exports = config
...@@ -635,6 +635,9 @@ importers: ...@@ -635,6 +635,9 @@ importers:
next: next:
specifier: workspace:* specifier: workspace:*
version: link:../../packages/next version: link:../../packages/next
tailwindcss:
specifier: 3.2.7
version: 3.2.7(postcss@8.4.31)
bench/nested-deps: bench/nested-deps:
devDependencies: devDependencies:
...@@ -860,7 +863,7 @@ importers: ...@@ -860,7 +863,7 @@ importers:
version: 0.5.13 version: 0.5.13
babel-plugin-react-compiler: babel-plugin-react-compiler:
specifier: '*' specifier: '*'
version: 0.0.0-experimental-6067d4e-20240925 version: 0.0.0-experimental-57db2f6-20240926
busboy: busboy:
specifier: 1.6.0 specifier: 1.6.0
version: 1.6.0 version: 1.6.0
...@@ -5950,8 +5953,8 @@ packages: ...@@ -5950,8 +5953,8 @@ packages:
peerDependencies: peerDependencies:
'@babel/core': 7.22.5 '@babel/core': 7.22.5
babel-plugin-react-compiler@0.0.0-experimental-6067d4e-20240925: babel-plugin-react-compiler@0.0.0-experimental-57db2f6-20240926:
resolution: {integrity: sha512-PFMEEvTj2jWIPXh3C0PnDNhfAlQLJjwn/24PrvOzN8KIkQHfPawn95xIj0LnYyz/EnY6hYWNe45iGJoJYSOZ5g==} resolution: {integrity: sha512-zbDaQPCUcTlPgLXzYMkhA/7ozI3P45vagP3Vc97s/ykEzT0Mi9n3Td4mCTRP0NiWt5iu31/iUDNQyfNy8Qn45A==}
babel-plugin-react-compiler@0.0.0-experimental-c23de8d-20240515: babel-plugin-react-compiler@0.0.0-experimental-c23de8d-20240515:
resolution: {integrity: sha512-0XN2gmpT55QtAz5n7d5g91y1AuO9tRhWBaLgCRyc4ExHrlr7+LfxW+YTb3mOwxngkkiggwM8HyYsaEK9MqhnlQ==} resolution: {integrity: sha512-0XN2gmpT55QtAz5n7d5g91y1AuO9tRhWBaLgCRyc4ExHrlr7+LfxW+YTb3mOwxngkkiggwM8HyYsaEK9MqhnlQ==}
...@@ -12992,10 +12995,6 @@ packages: ...@@ -12992,10 +12995,6 @@ packages:
resolution: {integrity: sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==} resolution: {integrity: sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==}
hasBin: true hasBin: true
resolve@1.22.1:
resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==}
hasBin: true
resolve@1.22.4: resolve@1.22.4:
resolution: {integrity: sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==} resolution: {integrity: sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==}
hasBin: true hasBin: true
...@@ -15469,7 +15468,7 @@ snapshots: ...@@ -15469,7 +15468,7 @@ snapshots:
'@babel/helper-plugin-utils': 7.24.8 '@babel/helper-plugin-utils': 7.24.8
debug: 4.1.1 debug: 4.1.1
lodash.debounce: 4.0.8 lodash.debounce: 4.0.8
resolve: 1.22.4 resolve: 1.22.8
semver: 6.3.1 semver: 6.3.1
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
...@@ -17883,7 +17882,7 @@ snapshots: ...@@ -17883,7 +17882,7 @@ snapshots:
jest-haste-map: 27.5.1 jest-haste-map: 27.5.1
jest-regex-util: 27.5.1 jest-regex-util: 27.5.1
jest-util: 27.5.1 jest-util: 27.5.1
micromatch: 4.0.5 micromatch: 4.0.8
pirates: 4.0.5 pirates: 4.0.5
slash: 3.0.0 slash: 3.0.0
source-map: 0.6.1 source-map: 0.6.1
...@@ -17924,7 +17923,7 @@ snapshots: ...@@ -17924,7 +17923,7 @@ snapshots:
jest-haste-map: 29.7.0 jest-haste-map: 29.7.0
jest-regex-util: 29.6.3 jest-regex-util: 29.6.3
jest-util: 29.7.0 jest-util: 29.7.0
micromatch: 4.0.5 micromatch: 4.0.8
pirates: 4.0.5 pirates: 4.0.5
slash: 3.0.0 slash: 3.0.0
write-file-atomic: 4.0.2 write-file-atomic: 4.0.2
...@@ -20630,7 +20629,7 @@ snapshots: ...@@ -20630,7 +20629,7 @@ snapshots:
dependencies: dependencies:
'@babel/runtime': 7.22.5 '@babel/runtime': 7.22.5
cosmiconfig: 7.0.0 cosmiconfig: 7.0.0
resolve: 1.22.4 resolve: 1.22.8
babel-plugin-polyfill-corejs2@0.4.11(@babel/core@7.22.5): babel-plugin-polyfill-corejs2@0.4.11(@babel/core@7.22.5):
dependencies: dependencies:
...@@ -20683,7 +20682,7 @@ snapshots: ...@@ -20683,7 +20682,7 @@ snapshots:
- supports-color - supports-color
optional: true optional: true
babel-plugin-react-compiler@0.0.0-experimental-6067d4e-20240925: babel-plugin-react-compiler@0.0.0-experimental-57db2f6-20240926:
dependencies: dependencies:
'@babel/generator': 7.2.0 '@babel/generator': 7.2.0
'@babel/types': 7.22.5 '@babel/types': 7.22.5
...@@ -25295,7 +25294,7 @@ snapshots: ...@@ -25295,7 +25294,7 @@ snapshots:
jest-runner: 29.7.0 jest-runner: 29.7.0
jest-util: 29.7.0 jest-util: 29.7.0
jest-validate: 29.7.0 jest-validate: 29.7.0
micromatch: 4.0.5 micromatch: 4.0.8
parse-json: 5.2.0 parse-json: 5.2.0
pretty-format: 29.7.0 pretty-format: 29.7.0
slash: 3.0.0 slash: 3.0.0
...@@ -25396,7 +25395,7 @@ snapshots: ...@@ -25396,7 +25395,7 @@ snapshots:
jest-serializer: 27.5.1 jest-serializer: 27.5.1
jest-util: 27.5.1 jest-util: 27.5.1
jest-worker: 27.5.1 jest-worker: 27.5.1
micromatch: 4.0.5 micromatch: 4.0.8
walker: 1.0.8 walker: 1.0.8
optionalDependencies: optionalDependencies:
fsevents: 2.3.3 fsevents: 2.3.3
...@@ -25428,7 +25427,7 @@ snapshots: ...@@ -25428,7 +25427,7 @@ snapshots:
jest-regex-util: 29.6.3 jest-regex-util: 29.6.3
jest-util: 29.7.0 jest-util: 29.7.0
jest-worker: 29.7.0 jest-worker: 29.7.0
micromatch: 4.0.5 micromatch: 4.0.8
walker: 1.0.8 walker: 1.0.8
optionalDependencies: optionalDependencies:
fsevents: 2.3.3 fsevents: 2.3.3
...@@ -25466,7 +25465,7 @@ snapshots: ...@@ -25466,7 +25465,7 @@ snapshots:
'@types/stack-utils': 2.0.1 '@types/stack-utils': 2.0.1
chalk: 4.1.2 chalk: 4.1.2
graceful-fs: 4.2.11 graceful-fs: 4.2.11
micromatch: 4.0.5 micromatch: 4.0.8
pretty-format: 27.5.1 pretty-format: 27.5.1
slash: 3.0.0 slash: 3.0.0
stack-utils: 2.0.6 stack-utils: 2.0.6
...@@ -25530,7 +25529,7 @@ snapshots: ...@@ -25530,7 +25529,7 @@ snapshots:
jest-pnp-resolver: 1.2.2(jest-resolve@27.5.1) jest-pnp-resolver: 1.2.2(jest-resolve@27.5.1)
jest-util: 27.5.1 jest-util: 27.5.1
jest-validate: 27.5.1 jest-validate: 27.5.1
resolve: 1.22.4 resolve: 1.22.8
resolve.exports: 1.1.1 resolve.exports: 1.1.1
slash: 3.0.0 slash: 3.0.0
...@@ -25542,7 +25541,7 @@ snapshots: ...@@ -25542,7 +25541,7 @@ snapshots:
jest-pnp-resolver: 1.2.2(jest-resolve@29.7.0) jest-pnp-resolver: 1.2.2(jest-resolve@29.7.0)
jest-util: 29.7.0 jest-util: 29.7.0
jest-validate: 29.7.0 jest-validate: 29.7.0
resolve: 1.22.4 resolve: 1.22.8
resolve.exports: 2.0.2 resolve.exports: 2.0.2
slash: 3.0.0 slash: 3.0.0
...@@ -27291,14 +27290,14 @@ snapshots: ...@@ -27291,14 +27290,14 @@ snapshots:
normalize-package-data@2.5.0: normalize-package-data@2.5.0:
dependencies: dependencies:
hosted-git-info: 2.8.5 hosted-git-info: 2.8.5
resolve: 1.22.4 resolve: 1.22.8
semver: 5.7.1 semver: 5.7.1
validate-npm-package-license: 3.0.4 validate-npm-package-license: 3.0.4
normalize-package-data@3.0.0: normalize-package-data@3.0.0:
dependencies: dependencies:
hosted-git-info: 3.0.8 hosted-git-info: 3.0.8
resolve: 1.22.4 resolve: 1.22.8
semver: 7.3.7 semver: 7.3.7
validate-npm-package-license: 3.0.4 validate-npm-package-license: 3.0.4
...@@ -28189,7 +28188,7 @@ snapshots: ...@@ -28189,7 +28188,7 @@ snapshots:
postcss: 8.4.31 postcss: 8.4.31
postcss-value-parser: 4.2.0 postcss-value-parser: 4.2.0
read-cache: 1.0.0 read-cache: 1.0.0
resolve: 1.22.4 resolve: 1.22.8
postcss-initial@4.0.1(postcss@8.4.31): postcss-initial@4.0.1(postcss@8.4.31):
dependencies: dependencies:
...@@ -29243,7 +29242,7 @@ snapshots: ...@@ -29243,7 +29242,7 @@ snapshots:
rechoir@0.6.2: rechoir@0.6.2:
dependencies: dependencies:
resolve: 1.22.4 resolve: 1.22.8
recursive-copy@2.0.11: recursive-copy@2.0.11:
dependencies: dependencies:
...@@ -29542,12 +29541,6 @@ snapshots: ...@@ -29542,12 +29541,6 @@ snapshots:
path-parse: 1.0.7 path-parse: 1.0.7
supports-preserve-symlinks-flag: 1.0.0 supports-preserve-symlinks-flag: 1.0.0
resolve@1.22.1:
dependencies:
is-core-module: 2.13.0
path-parse: 1.0.7
supports-preserve-symlinks-flag: 1.0.0
resolve@1.22.4: resolve@1.22.4:
dependencies: dependencies:
is-core-module: 2.13.0 is-core-module: 2.13.0
...@@ -30602,7 +30595,7 @@ snapshots: ...@@ -30602,7 +30595,7 @@ snapshots:
tailwindcss@3.2.7(postcss@8.4.31): tailwindcss@3.2.7(postcss@8.4.31):
dependencies: dependencies:
arg: 5.0.2 arg: 5.0.2
chokidar: 3.5.3 chokidar: 3.6.0
color-name: 1.1.4 color-name: 1.1.4
detective: 5.2.1 detective: 5.2.1
didyoumean: 1.2.2 didyoumean: 1.2.2
...@@ -30611,7 +30604,7 @@ snapshots: ...@@ -30611,7 +30604,7 @@ snapshots:
glob-parent: 6.0.2 glob-parent: 6.0.2
is-glob: 4.0.3 is-glob: 4.0.3
lilconfig: 2.1.0 lilconfig: 2.1.0
micromatch: 4.0.5 micromatch: 4.0.8
normalize-path: 3.0.0 normalize-path: 3.0.0
object-hash: 3.0.0 object-hash: 3.0.0
picocolors: 1.0.1 picocolors: 1.0.1
...@@ -30623,7 +30616,7 @@ snapshots: ...@@ -30623,7 +30616,7 @@ snapshots:
postcss-selector-parser: 6.0.11 postcss-selector-parser: 6.0.11
postcss-value-parser: 4.2.0 postcss-value-parser: 4.2.0
quick-lru: 5.1.1 quick-lru: 5.1.1
resolve: 1.22.1 resolve: 1.22.8
transitivePeerDependencies: transitivePeerDependencies:
- ts-node - ts-node
...@@ -164,7 +164,7 @@ const nextBuildWorkflow = ...@@ -164,7 +164,7 @@ const nextBuildWorkflow =
'.next', '.next',
'cache', 'cache',
'webpack', 'webpack',
'client-development' 'client-production'
) )
await Promise.race([ await Promise.race([
waitForFile(join(cacheLocation, 'index.pack')), waitForFile(join(cacheLocation, 'index.pack')),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment