diff --git a/nx.json b/nx.json index b515ab32..980a191f 100644 --- a/nx.json +++ b/nx.json @@ -19,9 +19,9 @@ "version": { "preVersionCommand": "pnpm dlx nx run-many -t build", "generatorOptions": { + "packageRoot": "dist/packages/{projectName}", "currentVersionResolver": "git-tag", - "specifierSource": "conventional-commits", - "updateDependents": "auto" + "specifierSource": "conventional-commits" } } }, @@ -40,6 +40,11 @@ }, "$schema": "./node_modules/nx/schemas/nx-schema.json", "targetDefaults": { + "nx-release-publish": { + "options": { + "packageRoot": "dist/packages/{projectName}" + } + }, "@nx/js:tsc": { "cache": true, "dependsOn": ["^build"], diff --git a/packages/common-cli/project.json b/packages/common-cli/project.json index c748d8ad..0c3bb501 100644 --- a/packages/common-cli/project.json +++ b/packages/common-cli/project.json @@ -23,11 +23,6 @@ "assets": ["packages/common-cli/*.md"] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" }, diff --git a/packages/common-jvm/package.json b/packages/common-jvm/package.json index 8482c872..8c55f689 100644 --- a/packages/common-jvm/package.json +++ b/packages/common-jvm/package.json @@ -24,7 +24,7 @@ "nx-ktor" ], "dependencies": { - "@nxrocks/common": "workspace:*", + "@nxrocks/common": "file:../common", "@nx/workspace": ">=18.0.0", "@nx/devkit": ">=18.0.0", "tslib": "^2.6.1", diff --git a/packages/common-jvm/project.json b/packages/common-jvm/project.json index 12391b86..0928f1f8 100644 --- a/packages/common-jvm/project.json +++ b/packages/common-jvm/project.json @@ -23,11 +23,6 @@ "assets": ["packages/common-jvm/*.md"] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" }, diff --git a/packages/common/project.json b/packages/common/project.json index b985c24f..34b1b039 100644 --- a/packages/common/project.json +++ b/packages/common/project.json @@ -23,11 +23,6 @@ "assets": ["packages/common/*.md"] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" }, diff --git a/packages/create-nx-flutter/package.json b/packages/create-nx-flutter/package.json index 00b2c7f3..350802ca 100644 --- a/packages/create-nx-flutter/package.json +++ b/packages/create-nx-flutter/package.json @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@nxrocks/common-cli": "workspace:*", + "@nxrocks/common-cli": "file:../common-cli", "tslib": "^2.6.1" }, "type": "commonjs", diff --git a/packages/create-nx-flutter/project.json b/packages/create-nx-flutter/project.json index 62f9ff5f..3175bd31 100644 --- a/packages/create-nx-flutter/project.json +++ b/packages/create-nx-flutter/project.json @@ -24,11 +24,6 @@ "assets": ["packages/create-nx-flutter/*.md"] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" }, diff --git a/packages/create-nx-ktor/package.json b/packages/create-nx-ktor/package.json index 444edf9c..3fddf253 100644 --- a/packages/create-nx-ktor/package.json +++ b/packages/create-nx-ktor/package.json @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@nxrocks/common-cli": "workspace:*", + "@nxrocks/common-cli": "file:../common-cli", "tslib": "^2.6.1" }, "type": "commonjs", diff --git a/packages/create-nx-ktor/project.json b/packages/create-nx-ktor/project.json index df368396..bba073d7 100644 --- a/packages/create-nx-ktor/project.json +++ b/packages/create-nx-ktor/project.json @@ -24,11 +24,6 @@ "assets": ["packages/create-nx-ktor/*.md"] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" }, diff --git a/packages/create-nx-micronaut/package.json b/packages/create-nx-micronaut/package.json index 3a33a50a..5a28f335 100644 --- a/packages/create-nx-micronaut/package.json +++ b/packages/create-nx-micronaut/package.json @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@nxrocks/common-cli": "workspace:*", + "@nxrocks/common-cli": "file:../common-cli", "tslib": "^2.6.1" }, "type": "commonjs", diff --git a/packages/create-nx-micronaut/project.json b/packages/create-nx-micronaut/project.json index cb46bae1..4d489529 100644 --- a/packages/create-nx-micronaut/project.json +++ b/packages/create-nx-micronaut/project.json @@ -24,11 +24,6 @@ "assets": ["packages/create-nx-micronaut/*.md"] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" }, diff --git a/packages/create-nx-quarkus/package.json b/packages/create-nx-quarkus/package.json index de368354..f34fc044 100644 --- a/packages/create-nx-quarkus/package.json +++ b/packages/create-nx-quarkus/package.json @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@nxrocks/common-cli": "workspace:*", + "@nxrocks/common-cli": "file:../common-cli", "tslib": "^2.6.1" }, "type": "commonjs", diff --git a/packages/create-nx-quarkus/project.json b/packages/create-nx-quarkus/project.json index 69f15ed7..6ecf7fe3 100644 --- a/packages/create-nx-quarkus/project.json +++ b/packages/create-nx-quarkus/project.json @@ -24,11 +24,6 @@ "assets": ["packages/create-nx-quarkus/*.md"] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" }, diff --git a/packages/create-nx-spring-boot/package.json b/packages/create-nx-spring-boot/package.json index be1200ee..f17f189a 100644 --- a/packages/create-nx-spring-boot/package.json +++ b/packages/create-nx-spring-boot/package.json @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@nxrocks/common-cli": "workspace:*", + "@nxrocks/common-cli": "file:../common-cli", "tslib": "^2.6.1" }, "type": "commonjs", diff --git a/packages/create-nx-spring-boot/project.json b/packages/create-nx-spring-boot/project.json index 63e868be..32baa1ca 100644 --- a/packages/create-nx-spring-boot/project.json +++ b/packages/create-nx-spring-boot/project.json @@ -24,11 +24,6 @@ "assets": ["packages/create-nx-spring-boot/*.md"] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" }, diff --git a/packages/nx-flutter/package.json b/packages/nx-flutter/package.json index 93660ab2..de71edca 100644 --- a/packages/nx-flutter/package.json +++ b/packages/nx-flutter/package.json @@ -31,7 +31,7 @@ "js-yaml": "^4.1.0", "tslib": "^2.6.1", "@nx/workspace": ">=18.0.0", - "@nxrocks/common": "workspace:*" + "@nxrocks/common": "file:../common" }, "typings": "./src/index.d.ts", "peerDependencies": { diff --git a/packages/nx-flutter/project.json b/packages/nx-flutter/project.json index 52246e8a..31dc30e7 100644 --- a/packages/nx-flutter/project.json +++ b/packages/nx-flutter/project.json @@ -46,11 +46,6 @@ ] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" }, diff --git a/packages/nx-ktor/package.json b/packages/nx-ktor/package.json index 05dcc307..f54fdeb3 100644 --- a/packages/nx-ktor/package.json +++ b/packages/nx-ktor/package.json @@ -27,7 +27,7 @@ "kotlin" ], "dependencies": { - "@nxrocks/common-jvm": "workspace:*", + "@nxrocks/common-jvm": "file:../common-jvm", "node-fetch": "^2.6.12", "enquirer": "^2.4.1", "tslib": "^2.6.1" diff --git a/packages/nx-ktor/project.json b/packages/nx-ktor/project.json index b57a006b..7cd400ef 100644 --- a/packages/nx-ktor/project.json +++ b/packages/nx-ktor/project.json @@ -50,11 +50,6 @@ ] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" }, diff --git a/packages/nx-melos/package.json b/packages/nx-melos/package.json index 7b6a545a..0815de24 100644 --- a/packages/nx-melos/package.json +++ b/packages/nx-melos/package.json @@ -30,7 +30,7 @@ "dependencies": { "tslib": "^2.6.1", "@nx/workspace": ">=18.0.0", - "@nxrocks/common": "workspace:*" + "@nxrocks/common": "file:../common" }, "typings": "./src/index.d.ts", "peerDependencies": { diff --git a/packages/nx-melos/project.json b/packages/nx-melos/project.json index 8b35c5be..ee28c54d 100644 --- a/packages/nx-melos/project.json +++ b/packages/nx-melos/project.json @@ -45,11 +45,6 @@ ] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" }, diff --git a/packages/nx-micronaut/package.json b/packages/nx-micronaut/package.json index 222883d6..b569304a 100644 --- a/packages/nx-micronaut/package.json +++ b/packages/nx-micronaut/package.json @@ -29,7 +29,7 @@ "native" ], "dependencies": { - "@nxrocks/common-jvm": "workspace:*", + "@nxrocks/common-jvm": "file:../common-jvm", "node-fetch": "^2.6.12", "enquirer": "^2.4.1", "tslib": "^2.6.1" diff --git a/packages/nx-micronaut/project.json b/packages/nx-micronaut/project.json index c3f8e3a4..df80c5ee 100644 --- a/packages/nx-micronaut/project.json +++ b/packages/nx-micronaut/project.json @@ -51,11 +51,6 @@ ] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" }, diff --git a/packages/nx-quarkus/package.json b/packages/nx-quarkus/package.json index 0d660587..3df93402 100644 --- a/packages/nx-quarkus/package.json +++ b/packages/nx-quarkus/package.json @@ -29,7 +29,7 @@ "native" ], "dependencies": { - "@nxrocks/common-jvm": "workspace:*", + "@nxrocks/common-jvm": "file:../common-jvm", "node-fetch": "^2.6.12", "enquirer": "^2.4.1", "tslib": "^2.6.1" diff --git a/packages/nx-quarkus/project.json b/packages/nx-quarkus/project.json index 22852e12..e6a3c3d9 100644 --- a/packages/nx-quarkus/project.json +++ b/packages/nx-quarkus/project.json @@ -51,11 +51,6 @@ ] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" }, diff --git a/packages/nx-spring-boot/package.json b/packages/nx-spring-boot/package.json index 8b574d31..5f2c5a75 100644 --- a/packages/nx-spring-boot/package.json +++ b/packages/nx-spring-boot/package.json @@ -28,7 +28,7 @@ "java" ], "dependencies": { - "@nxrocks/common-jvm": "workspace:*", + "@nxrocks/common-jvm": "file:../common-jvm", "node-fetch": "^2.6.12", "enquirer": "^2.4.1", "tslib": "^2.6.1" diff --git a/packages/nx-spring-boot/project.json b/packages/nx-spring-boot/project.json index 810a7b40..78cbc0ea 100644 --- a/packages/nx-spring-boot/project.json +++ b/packages/nx-spring-boot/project.json @@ -51,11 +51,6 @@ ] } }, - "nx-release-publish": { - "options": { - "packageRoot": "dist/{projectRoot}" - } - }, "lint": { "executor": "@nx/eslint:lint" },