🍒 Cherry-Picked Nx v18.1 Updates

jogelin

jogelin

Posted on March 21, 2024

🍒 Cherry-Picked Nx v18.1 Updates

[Core] Activate/Deactivate Project Crystal

Until now you could use the environment variable NX_ADD_PLUGINS to activate or deactivate the inferred targets. A new property useInferencePlugins: false was added to the nx.json to do the same:

NxJsonConfiguration | Nx

Nx is a build system with built-in tooling and advanced CI capabilities. It helps you maintain and scale monorepos, both locally and on CI.

favicon nx.dev

[Angular] Support Angular 17.2

Angular v17.2 is now available. We rarely write blog posts about minor… | by Minko Gechev | Feb, 2024 | Angular Blog

We rarely write blog posts about minor releases, but today we have a few surprises for you — experimental support for Material 3, signal…

favicon blog.angular.io

[Angular] New “extract-i18n” Executor

Image description

@nx/angular:extract-i18n | Nx

Extracts i18n messages from source code.

favicon nx.dev

[Remix] Add Remix Presets in “create-nx-workspace"

[Remix] Plugin Remix uses CLI directly

Image description

create-nx-workspace - CLI command | Nx

Create a new Nx workspace

favicon nx.dev

[Gradle] New Gradle Plugin

It is not documented yet but there is a new plugin for supporting Gradle:

feat(core): add gradle plugin #21055

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #


[Rollup] Crystalize Rollup

It will look for look for rollup.config.{js,mjs,cjs} files and add a build target automatically:

feat(bundling): crystalize rollup #22045

Current Behavior

Rollup does not have a Crystal Plugin

Expected Behavior

Rollup has a Crystal Plugin:

  • It will look for rollup.config.{js,mjs,cjs} files.
  • It will add a build target
  • It will use `rollup -c {rollupConfigFileName}
  • It will read the config file using rollup's loadConfigFile util
  • It will parse the output of the config to determine the outputs that will be created and use them for Nx caching

Tested on: https://github.com/freeCodeCamp/freeCodeCamp/tree/main/tools/ui-components

Related Issue(s)

Fixes #


[Release] Use Nx release instead of custom publish script

Image description

Versioning and Releasing Packages in a Monorepo | by Juri Strumpflohner | Feb, 2024 | Nx Devtools

When it comes to publishing NPM packages, there are a bunch of libraries and utilities out there that help with the process. Many of them…

favicon blog.nrwl.io

[CI] Group CI Logs with NX_SKIP_LOG_GROUPING

Environment Variables | Nx

Nx is a build system with built-in tooling and advanced CI capabilities. It helps you maintain and scale monorepos, both locally and on CI.

favicon nx.dev

Looking for some help? 🤝
**Connect with me on Twitter • LinkedIn • Github

đź’– đź’Ş đź™… đźš©
jogelin
jogelin

Posted on March 21, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related