Skip to content

feat(misc)!: remove deprecated decorate-cli script and stop sorting tsconfig paths by default#32781

Merged
FrozenPandaz merged 1 commit intomasterfrom
misc/remove-v22-deprecations
Oct 1, 2025
Merged

feat(misc)!: remove deprecated decorate-cli script and stop sorting tsconfig paths by default#32781
FrozenPandaz merged 1 commit intomasterfrom
misc/remove-v22-deprecations

Conversation

@leosvelperez
Copy link
Copy Markdown
Member

  • Remove the deprecated decorate-cli script.
  • Stop sorting TypeScript path mappings by default in nx format and generators.

BREAKING CHANGE: The long-deprecated decorate-cli script has been removed.
BREAKING CHANGE: The nx format command and generators no longer default to sorting TypeScript path mappings. To keep the previous behavior, pass the --sort-root-tsconfig-paths flag to the command or set NX_FORMAT_SORT_TSCONFIG_PATHS=true.

@leosvelperez leosvelperez self-assigned this Sep 19, 2025
@leosvelperez leosvelperez requested review from a team as code owners September 19, 2025 08:31
@vercel
Copy link
Copy Markdown

vercel bot commented Sep 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Sep 30, 2025 11:36am

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud bot commented Sep 19, 2025

View your CI Pipeline Execution ↗ for commit 46f1d00

Command Status Duration Result
nx affected --targets=lint,test,test-kt,build,e... ✅ Succeeded 6m 13s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 2m 23s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 7s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 4s View ↗
nx documentation ✅ Succeeded 1m 32s View ↗

☁️ Nx Cloud last updated this comment at 2025-10-01 06:40:03 UTC

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

Copy link
Copy Markdown
Contributor

@nx-cloud nx-cloud bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nx Cloud is proposing a fix for your failed CI:

We've updated the test snapshots to match the current webpack configuration output. The changes show that the webpack config now includes clean: true by default, which is a webpack enhancement that automatically cleans the output directory.

We verified this fix by re-running workspace:test.

diff --git a/packages/workspace/src/generators/preset/preset.spec.ts b/packages/workspace/src/generators/preset/preset.spec.ts
index 9190bfa565..3ba9d4e91e 100644
--- a/packages/workspace/src/generators/preset/preset.spec.ts
+++ b/packages/workspace/src/generators/preset/preset.spec.ts
@@ -80,6 +80,7 @@ describe('preset', () => {
       module.exports = {
         output: {
           path: join(__dirname, '../../dist/apps/react-preset-monorepo'),
+          clean: true,
         },
         devServer: {
           port: 4200,
@@ -234,6 +235,7 @@ describe('preset', () => {
       module.exports = {
         output: {
           path: join(__dirname, 'dist/react-standalone-preset-webpack'),
+          clean: true,
         },
         devServer: {
           port: 4200,

✅ The fix was applied to this branch.

Nx CloudView interactive diff ↗


⚙️ An Nx Cloud workspace admin can disable these reviews in workspace settings.

@leosvelperez leosvelperez force-pushed the misc/remove-v22-deprecations branch from 57335d3 to 167ee0e Compare September 30, 2025 08:23
@leosvelperez leosvelperez changed the base branch from next-major to master September 30, 2025 08:24
@leosvelperez leosvelperez force-pushed the misc/remove-v22-deprecations branch from 167ee0e to 46f1d00 Compare September 30, 2025 11:25
@netlify
Copy link
Copy Markdown

netlify bot commented Sep 30, 2025

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 46f1d00
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/68dbbe45481ea60008aed251
😎 Deploy Preview https://deploy-preview-32781--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@FrozenPandaz FrozenPandaz enabled auto-merge (squash) September 30, 2025 19:56
@FrozenPandaz FrozenPandaz merged commit 22c57e4 into master Oct 1, 2025
23 of 27 checks passed
@FrozenPandaz FrozenPandaz deleted the misc/remove-v22-deprecations branch October 1, 2025 06:40
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 7, 2025

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants