Détail du package

@nxrocks/common-jvm

tinesoft19kMIT3.0.1

Common library to share code among the JVM-related plugins.

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

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

3.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

🧱 Updated Dependencies

  • Updated common to 5.0.0

❤️ Thank You

  • Tine Kondo @tinesoft

2.0.8 (2024-08-09)

🩹 Fixes

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

🧱 Updated Dependencies

  • Updated common to 4.1.5

❤️ Thank You

  • Tine Kondo @tinesoft

2.0.7 (2024-08-08)

🩹 Fixes

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

❤️ Thank You

  • Tine Kondo @tinesoft

2.0.6 (2024-08-07)

🩹 Fixes

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

🧱 Updated Dependencies

  • Updated common to 4.1.3

❤️ Thank You

  • Tine Kondo @tinesoft

2.0.5 (2024-07-21)

🩹 Fixes

  • common-jvm: improve the check for presence of Maven Wrapper necessary files (c0a2ed3)

❤️ Thank You

  • Tine Kondo @tinesoft

2.0.4 (2024-07-19)

🩹 Fixes

  • common-jvm: fix incomplete stop condition when searching for maven/gradle wrapper (9a73a73)

  • common-jvm: improve the check for presence of Maven Wrapper necessary files (4020539)

❤️ Thank You

  • Tine Kondo @tinesoft

2.0.3 (2024-06-16)

🩹 Fixes

  • common-jvm: fix dependencies graph generation for Gradle projects with Kotlin DSL (571424a)

🧱 Updated Dependencies

  • Updated common to 4.1.2

❤️ Thank You

  • Tine Kondo @tinesoft

2.0.2 (2024-05-01)

🩹 Fixes

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

  • bump internal packages version (232e7d7)

  • common-jvm: fix project graph generation for Gradle projects (32d2bfb)

  • common-jvm: fix command to run Gradle tasks (3081ff5)

❤️ Thank You

  • Tine Kondo @tinesoft

2.0.1 (2024-03-28)

🩹 Fixes

  • bump versions of packages to include changes in common@4.0.1 (796333a)

  • bump version of create-nx-workspace and @nx/workspace (7126e20)

❤️ Thank You

  • Tine Kondo @tinesoft

2.0.0 (2024-03-26)

🚀 Features

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

🩹 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

1.2.0 (2024-02-18)

Bug Fixes

  • common-jvm: fix Project Graph dependencies collection for projects using Gradle (6df1ff3)
  • common-jvm: include settings.gradle[.kts] files when creating nodes for ProjectGraph v2 (df9f195)
  • 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-jvm: add constant listing common JVM build files (68cd945)
  • common-jvm: extends the search for content inside a project file to its prent module (869400d)
  • common-jvm: update utils for better support for Maven and Gradle muti-module projects (b211fda)
  • common: add utilities to generate Project Graph using v2 API (c6f70e0)
  • common: update Project Graph generation for JVM projects with child modules (d9aba7f)
  • generate the build.gradle[.kts] file when initializing the parent àGradle` module (9b90c4f)

1.1.2 (2023-12-16)

Bug Fixes

  • common-jvm: fix checkForModule util to match gradle child module names w/ arbitrary paths (759c02f)

1.1.1 (2023-12-12)

Bug Fixes

  • nx-spring-boot: fix generated parent pom.xml of a multi-module project was not valid (02b1e2d)

1.1.0 (2023-12-12)

Features

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

1.0.4 (2023-11-25)

Bug Fixes

  • common-jvm: fix bug when checking if an xml node is empty (9f956a0)

1.0.3 (2023-11-22)

Bug Fixes

  • common-jvm: improve utility method to disable a Gradle plugin (8e1e5b9)

1.0.2 (2023-10-31)

Bug Fixes

  • common-jvm: fix parent module not found when runFromParentModule flag is true (840f8f6)

1.0.1 (2023-10-28)

Bug Fixes

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

1.0.0 (2023-10-22)

Bug Fixes

  • common: update dependencies used by the common module (e78ae32)
  • common: bump version of @nxrocks/common for Nx 16 support (980a86f), closes #169
  • common: connections over Proxy not using correct HTTP protocol (5cd3551), closes #158
  • common: fix Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close (fb5f797), closes #142
  • common: fix bug when fetching dependencies of maven based projects (2ada704)
  • common: fix dependency graph generation failure on windows OS (26ef7c4), closes #170
  • common: fix deprecated usage of dependency graph API (badf089)
  • common: fix ProjectGraph for Gradle multi-module projects (0ef0d17)
  • common: fix regex used to fetch gradle dependencies (f1779a4)
  • common: fix wrong groupId used for Spotless maven plugin (3e4c613)
  • common: ignore output when fetching package latest version from npm (f426575)
  • common: improve the checking/adding of a maven plugin in pom.xml (b8f59cf)
  • correct TypeError: builder.getProjectGraph is not a function (3458f66), closes #72
  • enforce plugin peerDependencies on Nx v15.0.0 and later (4c220bb)
  • fix installation issue due to hpagent not being found (3620d23), closes #128
  • fix transitive dependencies from @nxrocks/common (3594b1e), closes #131
  • loosen peerDependencies on @nx/* to support v16.0.0 AND higher (fb2f8df)
  • plugins include spec files in distributed pkg (21bac53)
  • set @nrwl/* packages as peerDependencies (d03b709), closes #106

Features

  • common-cli: add common-cli to share code among our create-* CLI packages (bcb5fd2)
  • common-jvm: move common JVM-related utils to a dedicated package (1bf12fb)
  • common: add addMavenProperty helper and improve xpath matching (9f89c08)
  • common: add MavenDependency model (5ab8c1d)
  • 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 utilities for multi-module maven/gradle projects (f2e4939)
  • common: add utilities to add maven/gradle modules (2237201)
  • 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 utility to unzip a zip stream (a472c00)
  • common: add xml utilities to remove or check if a node is empty (d07b827)
  • common: allow setting cacheable operations when add the plugin to nx.json (9fb5177)
  • common: allow using legacy wrappers (i.e .bat, for maven mostly) (7a13720)
  • common: increase the maxBuffer when running executors commands (4bc388d)
  • 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)
  • create-nx-spring-boot: add custom CLI to create Spring Boot projects (32ca53c)
  • nx-flutter: add nx-flutter plugin (e7426e9)
  • nx-flutter: add support for Nx 's dependency graph generation (6fb58de), closes #28
  • nx-flutter: auto-adapt prompt & builders based on previous answers (668dd28), closes #26
  • nx-flutter: migrate to Nrwl's DevKit executors/generators API (8c72ed5)
  • nx-ktor: add nx-ktor plugin (cb74a79)
  • nx-melos: add nx-melos plugin (4fb5da8)
  • nx-micronaut: add nx-micronaut plugin (08d6099)
  • nx-quarkus: add plugin to integrate Quarkus inside Nx workspace (2f7c6c0)
  • nx-spring-boot: add application schematics (f22e63f)
  • nx-spring-boot: add support for creating multi-modules projects (7c2de5a)
  • nx-spring-boot: add support for Nx's dependency graph generation (95abe9d)
  • nx-spring-boot: migrate to Nrwl's DevKit executors/generators API (47231fd)
  • update dependencies and fix lint issues (cfac383)
  • update to Nx workspace v15.0.0 (a0af206), closes #138
  • 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
  • Nx v15.x.x is now the minimum required version to use the plugin
  • Nx v12.6.x is now the minimum version required to use the plugins

This is due to breaking changes in DevKit's project graph API starting from v12.6.x

  • nx-flutter: Nx workspace v11 is now the minimum version required to use this plugin.

In fact, all builders/schematics have been rewritten into executors/generators using its new @nrwl/devkit API.

  • nx-spring-boot: Nx workspace v11 is now the minimum version required to use this plugin.

In fact, all builders/schematics have been rewritten into executors/generators using its new @nrwl/devkit API.