What version of Tailwind CSS are you using?
"tailwindcss": "4.1.18",
"@tailwindcss/postcss": "^4.2.2",
What build tool (or framework if it abstracts the build tool) are you using?
Nx@22.63
Angular@21.2.6
What version of Node.js are you using?
24.10.0
What browser are you using?
Not relevant - happens already on an "npm ls"
What operating system are you using?
Windows
Reproduction URL
None
Describe your issue
The direct dependency here leads to some invalid version on an "npm ls"
I'm not sure why its added as a direct dependency and not as a peerDependency.
+-- @angular-devkit/build-angular@21.2.9
| +-- @angular/build@21.2.9
| | `-- rolldown@1.0.0-rc.4
| | `-- @rolldown/binding-wasm32-wasi@1.0.0-rc.4
| | `-- @napi-rs/wasm-runtime@1.1.4
| `-- css-loader@7.1.3
| `-- @rspack/core@1.7.11
| `-- @rspack/binding@1.7.11
| `-- @rspack/binding-wasm32-wasi@1.7.11
| `-- @napi-rs/wasm-runtime@1.0.7 deduped invalid: "^1.1.4" from node_modules/@tailwindcss/oxide-wasm32-wasi
+-- @nx/angular@22.6.3
| +-- @nx/module-federation@22.6.3
| | `-- @rspack/core@1.6.8
| | `-- @rspack/binding@1.6.8
| | `-- @rspack/binding-wasm32-wasi@1.6.8
| | `-- @napi-rs/wasm-runtime@1.0.7 deduped invalid: "^1.1.4" from node_modules/@tailwindcss/oxide-wasm32-wasi
| `-- @nx/rspack@22.6.3
| `-- @rspack/core@1.6.8
| `-- @rspack/binding@1.6.8
| `-- @rspack/binding-wasm32-wasi@1.6.8
| `-- @napi-rs/wasm-runtime@1.0.7 deduped invalid: "^1.1.4" from node_modules/@tailwindcss/oxide-wasm32-wasi
+-- @nx/jest@22.6.3
| `-- jest-resolve@30.3.0
| `-- unrs-resolver@1.11.1
| `-- @unrs/resolver-binding-wasm32-wasi@1.11.1
| `-- @napi-rs/wasm-runtime@0.2.12
+-- @swc-node/register@1.11.1
| `-- oxc-resolver@11.19.1
| `-- @oxc-resolver/binding-wasm32-wasi@11.19.1
| `-- @napi-rs/wasm-runtime@1.1.4
+-- @tailwindcss/postcss@4.2.4
| `-- @tailwindcss/oxide@4.2.4
| `-- @tailwindcss/oxide-wasm32-wasi@4.2.4
| `-- @napi-rs/wasm-runtime@1.0.7 invalid: "^1.1.4" from node_modules/@tailwindcss/oxide-wasm32-wasi
`-- nx@22.6.3
`-- @napi-rs/wasm-runtime@0.2.4
What version of Tailwind CSS are you using?
"tailwindcss": "4.1.18",
"@tailwindcss/postcss": "^4.2.2",
What build tool (or framework if it abstracts the build tool) are you using?
Nx@22.63
Angular@21.2.6
What version of Node.js are you using?
24.10.0
What browser are you using?
Not relevant - happens already on an "npm ls"
What operating system are you using?
Windows
Reproduction URL
None
Describe your issue
The direct dependency here leads to some invalid version on an "npm ls"
I'm not sure why its added as a direct dependency and not as a peerDependency.