Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create-nx-workspace --useGitHub does not work #29722

Open
1 of 4 tasks
jtneal opened this issue Jan 22, 2025 · 0 comments
Open
1 of 4 tasks

create-nx-workspace --useGitHub does not work #29722

jtneal opened this issue Jan 22, 2025 · 0 comments
Assignees
Labels

Comments

@jtneal
Copy link
Contributor

jtneal commented Jan 22, 2025

Current Behavior

Creating a new Nx Workspace and passing the --useGitHub boolean flag has no effect:

npx create-nx-workspace@latest --name=my-workspace-name --preset=ts --formatter=prettier --ci=circleci --useGitHub=true

NX Let's create a new workspace [https://nx.dev/getting-started/intro]

✖ Will you be using GitHub as your git hosting provider?

Expected Behavior

Creating a new Nx Workspace and passing the --useGitHub boolean flag should not ask you the GitHub question:

npx create-nx-workspace@latest --name=my-workspace-name --preset=ts --formatter=prettier --ci=circleci --useGitHub=true

NX Creating your v20.3.2 workspace.

✔ Installing dependencies with npm
✔ Successfully created the workspace: nx-partner-portal.
✔ Nx Cloud has been set up successfully
✔ CI workflow has been generated successfully

NX Your CI setup is almost complete.

Finish it by visiting: https://cloud.nx.app/connect/Hvw2ykhw7e

NX Welcome to the Nx community! 👋

🌟 Star Nx on GitHub: https://github.com/nrwl/nx
📢 Stay up to date on X: https://x.com/nxdevtools
💬 Discuss Nx on Discord: https://go.nx.dev/community

GitHub Repo

No response

Steps to Reproduce

  1. Run npx create-nx-workspace@latest --name=my-workspace-name --preset=ts --formatter=prettier --ci=circleci --useGitHub=true
  2. Observe that you are still asked if you want to use GitHub

Nx Report

Node           : 20.17.0
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 10.8.3

nx             : 20.3.2
@nx/js         : 20.3.2
@nx/workspace  : 20.3.2
@nx/devkit     : 20.3.2
typescript     : 5.6.3
---------------------------------------
Registered Plugins:
@nx/js/typescript

Failure Logs

Package Manager Version

10.8.3

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants