From 695f26d8d8ed4a51032d58bd18f17fc20a619879 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 25 Sep 2024 01:42:42 +0200 Subject: [PATCH 1/2] fix: marks example packages as private --- examples/projects/cli/package.json | 1 + examples/projects/core/package.json | 1 + examples/projects/models/package.json | 1 + examples/projects/utils/package.json | 1 + nx.json | 7 +++++++ projects/nx-verdaccio-env/package.json | 2 +- testing/test-utils/package.json | 1 + 7 files changed, 13 insertions(+), 1 deletion(-) diff --git a/examples/projects/cli/package.json b/examples/projects/cli/package.json index 50789de5..9e32cffc 100644 --- a/examples/projects/cli/package.json +++ b/examples/projects/cli/package.json @@ -1,6 +1,7 @@ { "name": "@push-based/cli", "version": "0.0.1", + "private": "true", "dependencies": { "yargs": "^17.7.2", "@push-based/core": "0.0.1" diff --git a/examples/projects/core/package.json b/examples/projects/core/package.json index d6afe50e..5cf893b4 100644 --- a/examples/projects/core/package.json +++ b/examples/projects/core/package.json @@ -1,6 +1,7 @@ { "name": "@push-based/core", "version": "0.0.1", + "private": "true", "dependencies": { "@push-based/utils": "0.0.1", "@push-based/models": "0.0.1", diff --git a/examples/projects/models/package.json b/examples/projects/models/package.json index d3a0c500..793a1ab9 100644 --- a/examples/projects/models/package.json +++ b/examples/projects/models/package.json @@ -1,5 +1,6 @@ { "name": "@push-based/models", "version": "0.0.1", + "private": "true", "dependencies": {} } diff --git a/examples/projects/utils/package.json b/examples/projects/utils/package.json index 2672020e..af6ffafc 100644 --- a/examples/projects/utils/package.json +++ b/examples/projects/utils/package.json @@ -1,6 +1,7 @@ { "name": "@push-based/utils", "version": "0.0.1", + "private": "true", "dependencies": { "@push-based/models": "0.0.1" } diff --git a/nx.json b/nx.json index e7ab051e..3c6df74b 100644 --- a/nx.json +++ b/nx.json @@ -107,8 +107,15 @@ } }, "release": { + "projects": ["nx-verdaccio-env"], "version": { + "conventionalCommits": true, "preVersionCommand": "npx nx run-many -t build" + }, + "changelog": { + "workspaceChangelog": { + "createRelease": "github" + } } } } diff --git a/projects/nx-verdaccio-env/package.json b/projects/nx-verdaccio-env/package.json index c2cca556..0acd0a7d 100644 --- a/projects/nx-verdaccio-env/package.json +++ b/projects/nx-verdaccio-env/package.json @@ -1,6 +1,6 @@ { "name": "@push-based/nx-verdaccio-env", - "version": "0.29.0", + "version": "0.0.0-alpha.0", "license": "MIT", "dependencies": { "@nx/devkit": "^19.6.4", diff --git a/testing/test-utils/package.json b/testing/test-utils/package.json index da20ad9b..a43c4f3f 100644 --- a/testing/test-utils/package.json +++ b/testing/test-utils/package.json @@ -1,6 +1,7 @@ { "name": "test-utils", "version": "0.0.1", + "private": true, "dependencies": { "@code-pushup/models": "0.50.0" } From f50dde73911306ebc54d5b28ea821219a3ad23c2 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 25 Sep 2024 02:00:23 +0200 Subject: [PATCH 2/2] fix: marks example packages as public --- examples/projects/cli/package.json | 1 - examples/projects/core/package.json | 1 - examples/projects/models/package.json | 1 - examples/projects/utils/package.json | 1 - 4 files changed, 4 deletions(-) diff --git a/examples/projects/cli/package.json b/examples/projects/cli/package.json index 9e32cffc..50789de5 100644 --- a/examples/projects/cli/package.json +++ b/examples/projects/cli/package.json @@ -1,7 +1,6 @@ { "name": "@push-based/cli", "version": "0.0.1", - "private": "true", "dependencies": { "yargs": "^17.7.2", "@push-based/core": "0.0.1" diff --git a/examples/projects/core/package.json b/examples/projects/core/package.json index 5cf893b4..d6afe50e 100644 --- a/examples/projects/core/package.json +++ b/examples/projects/core/package.json @@ -1,7 +1,6 @@ { "name": "@push-based/core", "version": "0.0.1", - "private": "true", "dependencies": { "@push-based/utils": "0.0.1", "@push-based/models": "0.0.1", diff --git a/examples/projects/models/package.json b/examples/projects/models/package.json index 793a1ab9..d3a0c500 100644 --- a/examples/projects/models/package.json +++ b/examples/projects/models/package.json @@ -1,6 +1,5 @@ { "name": "@push-based/models", "version": "0.0.1", - "private": "true", "dependencies": {} } diff --git a/examples/projects/utils/package.json b/examples/projects/utils/package.json index af6ffafc..2672020e 100644 --- a/examples/projects/utils/package.json +++ b/examples/projects/utils/package.json @@ -1,7 +1,6 @@ { "name": "@push-based/utils", "version": "0.0.1", - "private": "true", "dependencies": { "@push-based/models": "0.0.1" }