From cbbc2050f044be740c613e2869053578776c2e70 Mon Sep 17 00:00:00 2001 From: khalilou88 <32600911+khalilou88@users.noreply.github.com> Date: Tue, 15 Oct 2024 14:15:33 +0200 Subject: [PATCH] feat: update nx minimum dependencies --- packages/common/package.json | 6 +++--- packages/create-nx-gradle-workspace/package.json | 8 ++++---- packages/create-nx-maven-workspace/package.json | 8 ++++---- packages/nx-gradle/package.json | 12 ++++++++---- packages/nx-maven/package.json | 12 ++++++++---- packages/xml/package.json | 6 +++--- 6 files changed, 30 insertions(+), 22 deletions(-) diff --git a/packages/common/package.json b/packages/common/package.json index 78047bbeb..502948e71 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -18,9 +18,9 @@ "nx-workspace", "nx-plugin" ], - "dependencies": { - "@nx/devkit": ">=17.0.0", - "tslib": "^2.6.2" + "peerDependencies": { + "@nx/devkit": "^20.0.0", + "tslib": "^2.7.0" }, "repository": { "type": "git", diff --git a/packages/create-nx-gradle-workspace/package.json b/packages/create-nx-gradle-workspace/package.json index 9af3b9159..20bc73349 100644 --- a/packages/create-nx-gradle-workspace/package.json +++ b/packages/create-nx-gradle-workspace/package.json @@ -2,11 +2,11 @@ "name": "create-nx-gradle-workspace", "version": "1.13.0", "dependencies": { - "create-nx-workspace": ">=17.0.0", - "enquirer": "^2.3.6", - "tslib": "^2.6.2", + "@jnxplus/common": "1.13.0", + "create-nx-workspace": "^20.0.0", + "enquirer": "^2.4.1", "yargs": "^17.7.2", - "@jnxplus/common": "1.13.0" + "tslib": "^2.7.0" }, "type": "commonjs", "main": "./src/index.js", diff --git a/packages/create-nx-maven-workspace/package.json b/packages/create-nx-maven-workspace/package.json index 1313dbafd..913e7aefd 100644 --- a/packages/create-nx-maven-workspace/package.json +++ b/packages/create-nx-maven-workspace/package.json @@ -2,11 +2,11 @@ "name": "create-nx-maven-workspace", "version": "1.13.0", "dependencies": { - "create-nx-workspace": ">=17.0.0", - "enquirer": "^2.3.6", - "tslib": "^2.6.2", + "@jnxplus/common": "1.13.0", + "create-nx-workspace": "^20.0.0", + "enquirer": "^2.4.1", "yargs": "^17.7.2", - "@jnxplus/common": "1.13.0" + "tslib": "^2.7.0" }, "type": "commonjs", "main": "./src/index.js", diff --git a/packages/nx-gradle/package.json b/packages/nx-gradle/package.json index a52601f54..1428a75d1 100644 --- a/packages/nx-gradle/package.json +++ b/packages/nx-gradle/package.json @@ -38,9 +38,13 @@ }, "dependencies": { "@jnxplus/common": "1.13.0", - "tslib": "^2.6.2", - "@nx/devkit": ">=17.0.0", - "smol-toml": "^1.1.3", - "nx": ">=17.0.0" + "@nx/devkit": "^20.0.0", + "nx": "^20.0.0", + "smol-toml": "^1.3.0", + "tslib": "^2.7.0" + }, + "peerDependencies": { + "@nx/devkit": ">=19.0.0", + "nx": "^>=19.0.0" } } diff --git a/packages/nx-maven/package.json b/packages/nx-maven/package.json index eec1624b4..0e8fa48b5 100644 --- a/packages/nx-maven/package.json +++ b/packages/nx-maven/package.json @@ -40,11 +40,15 @@ }, "dependencies": { "@jnxplus/common": "1.13.0", + "@nx/devkit": "^20.0.0", "@jnxplus/xml": "1.13.0", - "tslib": "^2.6.2", - "@nx/devkit": ">=17.0.0", - "xmldoc": "^1.3.0", "flat-cache": "^6.1.0", - "nx": ">=17.0.0" + "nx": "^20.0.0", + "xmldoc": "^1.3.0", + "tslib": "^2.7.0" + }, + "peerDependencies": { + "@nx/devkit": ">=19.0.0", + "nx": "^>=19.0.0" } } diff --git a/packages/xml/package.json b/packages/xml/package.json index 4a290a3fa..83308caff 100644 --- a/packages/xml/package.json +++ b/packages/xml/package.json @@ -21,10 +21,10 @@ "maven", "maven multi-module project" ], - "dependencies": { + "peerDependencies": { + "@nx/devkit": "^20.0.0", "xmldoc": "^1.3.0", - "tslib": "^2.6.2", - "@nx/devkit": ">=17.0.0" + "tslib": "^2.7.0" }, "repository": { "type": "git",