-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Comparing changes
Open a pull request
base repository: nrwl/nx
base: 22.6.2
head repository: nrwl/nx
compare: 22.6.3
- 6 commits
- 12 files changed
- 3 contributors
Commits on Mar 27, 2026
-
chore(repo): use SHAs for GH actions (#35035)
Pin actions versions to SHAs in workflows for improved security. (cherry picked from commit a007fce)
Configuration menu - View commit details
-
Copy full SHA for 451561c - Browse repository at this point
Copy the full SHA 451561cView commit details -
chore(repo): ensure Cypress CT unit tests use Vite 7 since 8 is unsup…
…ported (#35038) Currently, updating to 22.7.0-beta.5 causes Angular and React unit tests to fail when we are pulling in Vite 8 instead of 7. Cypress component tests do not support Vite 8 yet, so let's ensure that the unit tests set up v7 for now. cypress-io/cypress#33078 (cherry picked from commit a4e8ce9)
Configuration menu - View commit details
-
Copy full SHA for ed5cd20 - Browse repository at this point
Copy the full SHA ed5cd20View commit details -
feat(misc): a/b test cloud prompt copy in create-nx-workspace (#35039)
## Current Behavior The cloud prompt in CNW is disabled (shouldShowCloudPrompt returns false). Users see no cloud prompt during workspace creation. ## Expected Behavior Re-enables the cloud prompt with 3 copy variants tied to the flow variant (NX_CNW_FLOW_VARIANT), using the existing A/B testing infrastructure: - Variant 0 (baseline): "Connect to Nx Cloud?" - Variant 1 (remote caching): "Enable remote caching to speed up builds and CI?" - Variant 2 (CI-first): "Speed up your CI with Nx Cloud?" Each variant has a unique tracking code for measuring yes/skip/never rates. New variants emphasize concrete benefits (remote caching, CI speed), mention CI providers (GitHub, GitLab), and note free tier and 2-minute setup. Also removes unused shouldShowCloudPrompt() function. ## Screenshots Variant 0 (current prompts): <img width="1392" height="935" alt="cnw-variant-0" src="https://github.com/user-attachments/assets/38187e44-5c8f-41b1-b2d9-bdb0eead3f7d" /> Variant 1 (remote cache to speed up builds, free for small teams): <img width="1392" height="939" alt="image" src="https://github.com/user-attachments/assets/ba7ab127-c91e-4566-bae6-6f7fe797959e" /> Variant 2 (speed up CI, mention CI provides): <img width="1392" height="935" alt="cnw-variant-2" src="https://github.com/user-attachments/assets/05bc027a-dcc9-47c4-944c-35ca2fce2007" /> ## Related Issue(s) Closes NXC-4113 (cherry picked from commit cc6b5a3)
Configuration menu - View commit details
-
Copy full SHA for 651ab34 - Browse repository at this point
Copy the full SHA 651ab34View commit details -
fix(js): add {projectRoot} prefix to d.ts fileset in typescript plugin (
#35037) ## Current Behavior The TypeScript plugin emits a bare `**/*.d.ts` fileset input (without a `{projectRoot}/` prefix) for dependency file tracking. The Nx hasher expects all filesets to start with either `{projectRoot}/` or `{workspaceRoot}/`, so it logs a warning for every project: ``` NX **/*.d.ts does not start with {workspaceRoot}/. This will throw an error in Nx 20. ``` ## Expected Behavior No warning is emitted. The fileset correctly uses `{projectRoot}/**/*.d.ts` so the hasher knows it's scoped to the dependency project's root. ## Related Issue(s) N/A — discovered while debugging e2e test failures. (cherry picked from commit 6c92d92)
Configuration menu - View commit details
-
Copy full SHA for 9a743d3 - Browse repository at this point
Copy the full SHA 9a743d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c9f873 - Browse repository at this point
Copy the full SHA 7c9f873View commit details -
fix(misc): handle non-interactive mode and add template shorthand nam…
…es for CNW (#35045) This PR address some common errors seen during CNW around `--template` and `--preset` during non-interactive flows that are not AI agents. Also sees that some template names are not qualified with `nrwl/<name>-template` so we can normal though (which also makes it shorter in docs). ## Current Behavior In non-interactive contexts (IDE terminals, scripts, SSH without `-t`), `determineTemplate()` returns `'custom'` which routes to the preset flow. Without `--preset` provided, this throws "Preset is required", which affects ~15 users/day (~145 occurrences Mar 18-27). Users must also pass full template paths like `--template=nrwl/angular-template`. ## Expected Behavior Non-interactive mode defaults to `nrwl/empty-template` (template flow) instead of `'custom'` (preset flow) when neither `--preset` nor `--template` is provided. Shorthand template names are supported: - `--template=angular` → `nrwl/angular-template` - `--template=react` → `nrwl/react-template` - `--template=typescript` → `nrwl/typescript-template` - `--template=empty` → `nrwl/empty-template` ## Related Issue(s) Fixes NXC-4153
Configuration menu - View commit details
-
Copy full SHA for 017751b - Browse repository at this point
Copy the full SHA 017751bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 22.6.2...22.6.3