July 2023 Summaries
2 posts from Nx
Filter
Month:
Year:
Post Summaries
Back to Blog
Maintaining up-to-date development tools within the fast-paced JavaScript ecosystem is a challenging task, but Nx provides a solution to ease this process with its command for automatically upgrading tools. While developers are often eager to try new tools in personal projects, incorporating them into enterprise environments can be more complex due to the need to prioritize feature delivery over tooling updates. Delaying updates, however, can lead to increased difficulties and security risks. Nx adopts an "evergreen tooling" strategy similar to automatic updates used by Google Chrome and Angular CLI, which encourages prompt adoption of the latest versions to minimize maintenance burdens. This involves using migration scripts akin to database migration scripts to automate codebase upgrades, ensuring that projects remain functional even with breaking changes. Nx’s modularity allows plugins to handle specific technology areas, facilitating smoother updates. Developers can initiate updates with simple commands, inspect migration files, and then execute the migrations, automating significant parts of the update process while leaving room for manual adjustments as necessary.
Jul 26, 2023
1,496 words in the original blog post.
Nx has introduced a range of new features and enhancements in its latest releases, progressing from version 16.0 to 16.5. Key updates include the introduction of targeting tasks by tags, support for NextJS 13, and new Nx recipes showcasing various integrations. Notably, the platform now supports Angular 16 and offers verdaccio support for local package registries. Users can create custom CLIs with the new create-package generator, and a new externalDependencies input type allows for specifying dependencies more precisely, enhancing caching efficiency. Additionally, the introduction of the @nx/dependency-checks EsLint rule aids in managing dependencies, while performance improvements, including moving task hashing to a daemon and adopting a Rust-based watcher, have significantly increased speed. Furthermore, the Nx Console has been revamped in both VsCode and JetBrains IDEs, and a comprehensive changelog has been launched to document all updates, deprecations, and changes across versions.
Jul 06, 2023
1,727 words in the original blog post.