nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.24k stars 2.31k forks source link

e2e not generated using playwright , bundler rspack not configured and no dockefile created #27283

Open nomadcanuck opened 1 month ago

nomadcanuck commented 1 month ago

Current Behavior

Using documented options to create NX workspace

npx create-nx-workspace@latest my-wrksp --appName my-api --preset nest --bundler rspack --docker true --packageManager pnpm --workspaceType integrated --e2eTestRunner playwright

No my-api-e2e is created. No my-api dockerfile is created. my-api is configured with bundler webpack instead of rspack

Expected Behavior

  1. my-api-e2e is created and configured for playwright.
  2. my-api dockerfile is created.
  3. my-api configured with rspack bundler.

GitHub Repo

No response

Steps to Reproduce

  1. npx create-nx-workspace@latest gateway-services --appName gw-api --preset nest --bundler rspack --docker true --packageManager pnpm --workspaceType integrated --e2eTestRunner playwright
  2. Which CI provider would you like to use? · skip
  3. Would you like remote caching to make your build faster? · skip

Nx Report

Node           : 20.14.0
OS             : darwin-x64
Native Target  : x86_64-macos
pnpm           : 9.6.0

nx (global)        : 19.5.6
nx                 : 19.5.6
@nx/js             : 19.5.6
@nx/jest           : 19.5.6
@nx/eslint         : 19.5.6
@nx/workspace      : 19.5.6
@nx/eslint-plugin  : 19.5.6
@nx/nest           : 19.5.6
@nx/node           : 19.5.6
@nrwl/tao          : 19.5.6
@nx/web            : 19.5.6
@nx/webpack        : 19.5.6
typescript         : 5.5.4
---------------------------------------
Registered Plugins:
@nx/webpack/plugin
@nx/eslint/plugin
@nx/jest/plugin

Failure Logs

No response

Package Manager Version

No response

Operating System

Additional Information

Attempted executing with npx, pnpx and pnpm dlx with same results.

FrozenPandaz commented 1 month ago

Preset Nest does not support different bundlers or e2e test runners at this time. We would have to consider separately if using this combination is recommended.

However, a Dockerfile should have been generated so @ndcunningham, could you please take a look at this?