Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@nxrocks/common

tinesoft44.1kMIT5.0.1TypeScript support: included

Common library to share code among the @nxrocks/* plugins.

nx-flutter, nx-spring-boot, nx-quarkus, nx-micronaut, nx-ktor, nx-melos

readme

NxRocks! 🤘🏾

semantic-release

Security Rating Bugs Code Smells Maintainability Rating Lines of Code

Set of Nx plugins to enhance your Nx workspace (even more!)

Our Plugins

Status Name Description
nx-spring-boot Nx plugin to generate, run, package, build (and more) Spring Boot projects inside your Nx workspace
nx-flutter Nx plugin adding first class support for Flutter in your Nx workspace
nx-quarkus Nx plugin to generate, run, package, build (and more) Quarkus projects inside your Nx workspace
nx-micronaut Nx plugin to generate, run, package, build (and more) Micronaut projects inside your Nx workspace
nx-melos Nx plugin adding first class support for Melos in your Nx workspace
nx-ktor Nx plugin to generate, run, package, build (and more) Ktor projects inside your Nx workspace

Our custom CLIs

Status Name Description
create-nx-spring-boot CLI to create Nx workspaces with built-in support for Spring Boot
create-nx-flutter CLI to create Nx workspaces with built-in support for Flutter
create-nx-quarkus CLI to create Nx workspaces with built-in support for Quarkus
create-nx-micronaut CLI to create Nx workspaces with built-in support for Micronaut
create-nx-ktor CLI to create Nx workspaces with built-in support for Ktor

License

Copyright (c) 2020-present Tine Kondo. Licensed under the MIT License (MIT)

changelog

5.0.0 (2025-03-14)

🚀 Features

  • ⚠️ update Nx workspace to v20.1.2 (8989698)

⚠️ Breaking Changes

  • Nx v20 is now the minimal version to use the plugins

❤️ Thank You

  • Tine Kondo

4.1.5 (2024-08-09)

🩹 Fixes

  • migrate to file references strategy for tracking versions of packages (31bc93b)

❤️ Thank You

  • Tine Kondo @tinesoft

4.1.4 (2024-08-08)

🩹 Fixes

  • migrate to workspace references strategy for tracking versions of packages (1a40ba7)

❤️ Thank You

  • Tine Kondo @tinesoft

4.1.3 (2024-08-07)

🩹 Fixes

  • fix incorrect versioning of packages and their internal dependencies (080f250)

❤️ Thank You

  • Tine Kondo @tinesoft

4.1.2 (2024-06-16)

🩹 Fixes

  • common: fix wrong glob used when listing project files to build project graph (8d5fd7f)

❤️ Thank You

  • Tine Kondo @tinesoft

4.1.1 (2024-05-01)

🩹 Fixes

  • fix dependencies from modules not properly created when building project graph (06e0370)

❤️ Thank You

  • Tine Kondo @tinesoft

4.1.0 (2024-03-28)

🚀 Features

  • common: update how we detect if project crystal is enabled on nx v18.1.x or later (7316a21)

❤️ Thank You

  • Tine Kondo @tinesoft

4.0.1 (2024-03-27)

🩹 Fixes

  • common: fix TypeError: Failed to process project dependencies (ca7f96c)

❤️ Thank You

  • Tine Kondo @tinesoft

4.0.0 (2024-03-26)

🚀 Features

  • ⚠️ update to support inferred tasks (Nx Project Crystal) (8a21e3f)

  • common: add utility to check is Nx Project Crystal is enabled (789a335)

🩹 Fixes

  • fix issue when searching for a content in a project's file or in its ancestry (72fa399)

  • fix base version for @nx/devkit to >=18.0.0 (d048cfe)

⚠️ Breaking Changes

  • Nx v18 is now the minimal version to use the plugins

❤️ Thank You

  • Tine Kondo @tinesoft

3.2.0 (2024-02-18)

Bug Fixes

  • common: fix creation of dependencies between nodes for ProjectGraph v2 (fa08ae0)
  • fix create-nx-* broken due to changes in Nx Cloud setup since Nx v17.3.0 (6c981d4)
  • fix Project Graph generation when creating projects in nested folders (b5698d3)

Features

  • common-jvm: improve retrieval of groupIdand artifactId when defined at parent level (9ea99ca)
  • common: add utilities to generate Project Graph using v2 API (c6f70e0)
  • common: update Project Graph generation for JVM projects with child modules (d9aba7f)

3.1.0 (2023-12-12)

Features

  • add projectNameAndRootFormat option to better control where projects are generated (5c449b5)

3.0.1 (2023-10-28)

Bug Fixes

  • common: simplify the path to common utils (c87be7f)

3.0.0 (2023-10-22)

Bug Fixes

  • common: update dependencies used by the common module (e78ae32)

Features

  • common-jvm: move common JVM-related utils to a dedicated package (1bf12fb)
  • common: allow setting cacheable operations when add the plugin to nx.json (9fb5177)
  • update to Nx workspace v17.x.x (c5b4ef3), closes #195

BREAKING CHANGES

  • Nx v17.x.x is now the minimum required version to use the plugin

2.5.0 (2023-10-08)

Bug Fixes

  • common: fix ProjectGraph for Gradle multi-module projects (0ef0d17)

Features

  • common-cli: add common-cli to share code among our create-* CLI packages (bcb5fd2)
  • common: add utilities for multi-module maven/gradle projects (f2e4939)
  • common: add utilities to add maven/gradle modules (2237201)
  • create-nx-spring-boot: add custom CLI to create Spring Boot projects (32ca53c)
  • nx-spring-boot: add support for creating multi-modules projects (7c2de5a)
  • update dependencies and fix lint issues (cfac383)

2.4.3 (2023-05-12)

Bug Fixes

  • common: fix dependency graph generation failure on windows OS (26ef7c4), closes #170
  • common: fix deprecated usage of dependency graph API (badf089)

2.4.2 (2023-05-06)

Bug Fixes

  • loosen peerDependencies on @nx/* to support v16.0.0 AND higher (fb2f8df)

2.4.1 (2023-05-04)

Bug Fixes

  • common: bump version of @nxrocks/common for Nx 16 support (980a86f), closes #169

2.4.0 (2023-04-10)

Bug Fixes

  • common: connections over Proxy not using correct HTTP protocol (5cd3551), closes #158

Features

  • common: add addMavenProperty helper and improve xpath matching (9f89c08)
  • common: add MavenDependency model (5ab8c1d)
  • nx-ktor: add nx-ktor plugin (cb74a79)

@nxrocks/common-v2.3.0 (2023-02-28)

Bug Fixes

  • improve schemas of generators for a better UX in Nx Console (0214736)
  • nx-melos: fix typo in nx-melos.mjs file (6c7cff6)

Features

  • nx-micronaut: add test executor to cached outputs (be7920e)
  • nx-quarkus: add test executor to cached outputs (e353208)
  • nx-spring-boot: add build-image and test to cached outputs (1cc3a71)

@nxrocks/common-v2.2.0 (2023-01-10)

Bug Fixes

  • common: fix bug when fetching dependencies of maven based projects (2ada704)

@nxrocks/common-v2.1.0 (2022-12-05)

Bug Fixes

  • add {workspaceRoot} prefix (from Nx v15+) to targets' outputs (411b402)
  • common: fix Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close (fb5f797), closes #142
  • enforce plugin peerDependencies on Nx v15.0.0 and later (4c220bb)
  • fix transitive dependencies from @nxrocks/common (3594b1e), closes #131
  • fix transitive dependencies from @nxrocks/common (56631b2), closes #131 #150 #152 #153

Features

  • nx-spring-boot: add support for Kotlin DSL when using gradle (31063fe)
  • nx-spring-boot: align Java versions with Spring Initializr (1f6545d)
  • nx-spring-boot: set Java 17 as default version (f41c555)

@nxrocks/common-v2.0.0 (2022-10-17)

Bug Fixes

  • common: fix regex used to fetch gradle dependencies (f1779a4)
  • nx-micronaut: fix generation without feature (#136) (76db010)

Features

  • common: increase the maxBuffer when running executors commands (4bc388d)
  • nx-micronaut: update JDK version from 16 -> 17 (a0e81e1), closes #135
  • update to Nx workspace v15.0.0 (a0af206), closes #138

BREAKING CHANGES

  • Nx v15.x.x is now the minimum required version to use the plugin

@nxrocks/common-v1.2.2 (2022-08-25)

Bug Fixes

  • fix executor output not restored when found in Nx cache (fbb385a), closes #111

@nxrocks/common-v1.2.1 (2022-08-22)

Bug Fixes

  • fix installation issue due to hpagent not being found (3620d23), closes #128

@nxrocks/common-v1.2.0 (2022-08-21)

Bug Fixes

  • common: ignore output when fetching package latest version from npm (f426575)
  • common: improve the checking/adding of a maven plugin in pom.xml (b8f59cf)
  • set @nrwl/* packages as peerDependencies (d03b709), closes #106

Features

  • common: add a utility to disable a gradle plugin (171ad81)
  • common: add a utility to remove a maven plugin from the pom.xml (8c13087)
  • common: add helper to get project root directory (adbc8a9)
  • common: add support for nx-micronaut plugin (b72cdaf)
  • common: add utility method to get http[s] proxy agent (da61925)
  • common: add utility to check the presence of a plugin in pom.xml (bfec05f)
  • common: add xml utilities to remove or check if a node is empty (d07b827)
  • common: allow using legacy wrappers (i.e .bat, for maven mostly) (7a13720)
  • common: make the version optional when adding a gradle plugin (bd3a182)
  • common: move octal function into e2e testing utils (b15a616)
  • common: update Spotless gradle plugin from 6.2.2 --> 6.8.0 (8c76d3b)
  • common: update Spotless maven plugin from 2.20.2 --> 2.23.0 (ab182ef)

@nxrocks/common-v1.1.0 (2022-06-21)

Features

  • common: add utility to unzip a zip stream (a472c00)

@nxrocks/common-v1.0.2 (2022-02-16)

Bug Fixes

  • wrong @nxrocks/common version referenced in dependent packages (1b4b0e6)

@nxrocks/common-v1.0.1 (2022-02-15)

Bug Fixes

  • include updated package.json in git when semantic releasing (cb87139)

@nxrocks/common-v1.0.0 (2022-02-14)

Bug Fixes

  • common: fix wrong groupId used for Spotless maven plugin (3e4c613)