-
fix(misc): prevent nxCloudId from being generated for new workspaces (#34532)
发布于
2026-02-20 20:03:01 +00:00 Current Behavior
When creating a new workspace using
create-nx-workspacewith the
"custom" preset flow, annxCloudIdis generated and added to
nx.json. This happens even though the onboarding flow is supposed to
handle Cloud setup separately via a short URL.Expected Behavior
New workspaces created via
create-nx-workspaceshould not have
nxCloudIdset innx.json. Instead, a short URL is provided for users
to finish Cloud onboarding on their own. ThenxCloud: 'skip'option is
now passed for the custom flow to prevent the ID from being generated.E2E tests are updated to verify that
nxCloudIdis undefined in the
generatednx.jsonacross all workspace presets.Related Issue(s)
N/A - internal fix for workspace creation behavior.
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
(cherry picked from commit221ed882fa)下载附件