发布

  • fix(misc): prevent nxCloudId from being generated for new workspaces (#34532)

    frostbyte_neo 发布于 2026-02-20 20:03:01 +00:00

    Current Behavior

    When creating a new workspace using create-nx-workspace with the
    "custom" preset flow, an nxCloudId is 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-workspace should not have
    nxCloudId set in nx.json. Instead, a short URL is provided for users
    to finish Cloud onboarding on their own. The nxCloud: 'skip' option is
    now passed for the custom flow to prevent the ID from being generated.

    E2E tests are updated to verify that nxCloudId is undefined in the
    generated nx.json across 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 commit 221ed882fa)

    下载附件