diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31743ca9..3f4ab38e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,6 +70,7 @@ jobs: uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4 with: ref: ${{ github.event.workflow_run.head_branch }} + fetch-depth: 0 - name: Set up Node ${{ matrix.node-version }} uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 @@ -90,6 +91,11 @@ jobs: - name: type checking and declarations run: yarn tsc:full + - name: Verify changesets + if: ${{ !(github.actor == 'rhdh-bot' || github.actor == 'github-actions[bot]') && matrix.workspace != 'repo-tools' && matrix.workspace != 'noop' }} + run: | + yarn changeset status --since=${{ github.event.pull_request.base.sha }} + - name: prettier run: yarn prettier:check diff --git a/workspaces/bulk-import/packages/backend/package.json b/workspaces/bulk-import/packages/backend/package.json index ccf4416f..e413aa45 100644 --- a/workspaces/bulk-import/packages/backend/package.json +++ b/workspaces/bulk-import/packages/backend/package.json @@ -44,7 +44,7 @@ "@backstage/plugin-search-backend-node": "^1.3.4", "@backstage/plugin-techdocs-backend": "^1.11.1", "@red-hat-developer-hub/backstage-plugin-bulk-import-backend": "workspace:^", - "app": "link:../app", + "app": "workspace:*", "better-sqlite3": "^9.0.0", "node-gyp": "^10.0.0", "pg": "^8.11.3", diff --git a/workspaces/bulk-import/yarn.lock b/workspaces/bulk-import/yarn.lock index 9f8ac1a0..367fef57 100644 --- a/workspaces/bulk-import/yarn.lock +++ b/workspaces/bulk-import/yarn.lock @@ -15333,13 +15333,7 @@ __metadata: languageName: node linkType: hard -"app@link:../app::locator=backend%40workspace%3Apackages%2Fbackend": - version: 0.0.0-use.local - resolution: "app@link:../app::locator=backend%40workspace%3Apackages%2Fbackend" - languageName: node - linkType: soft - -"app@workspace:packages/app": +"app@workspace:*, app@workspace:packages/app": version: 0.0.0-use.local resolution: "app@workspace:packages/app" dependencies: @@ -16108,7 +16102,7 @@ __metadata: "@types/express": ^4.17.6 "@types/express-serve-static-core": ^4.17.5 "@types/luxon": ^2.0.4 - app: "link:../app" + app: "workspace:*" better-sqlite3: ^9.0.0 node-gyp: ^10.0.0 pg: ^8.11.3 diff --git a/workspaces/homepage/packages/backend/package.json b/workspaces/homepage/packages/backend/package.json index 3f637e03..bbf8bb65 100644 --- a/workspaces/homepage/packages/backend/package.json +++ b/workspaces/homepage/packages/backend/package.json @@ -44,7 +44,7 @@ "@backstage/plugin-search-backend-module-techdocs": "^0.3.0", "@backstage/plugin-search-backend-node": "^1.3.3", "@backstage/plugin-techdocs-backend": "^1.11.0", - "app": "link:../app", + "app": "workspace:*", "better-sqlite3": "^9.0.0", "node-gyp": "^10.0.0", "pg": "^8.11.3" diff --git a/workspaces/homepage/yarn.lock b/workspaces/homepage/yarn.lock index 999fbe65..1fb133c4 100644 --- a/workspaces/homepage/yarn.lock +++ b/workspaces/homepage/yarn.lock @@ -14347,13 +14347,7 @@ __metadata: languageName: node linkType: hard -"app@link:../app::locator=backend%40workspace%3Apackages%2Fbackend": - version: 0.0.0-use.local - resolution: "app@link:../app::locator=backend%40workspace%3Apackages%2Fbackend" - languageName: node - linkType: soft - -"app@workspace:packages/app": +"app@workspace:*, app@workspace:packages/app": version: 0.0.0-use.local resolution: "app@workspace:packages/app" dependencies: @@ -15057,7 +15051,7 @@ __metadata: "@backstage/plugin-search-backend-module-techdocs": ^0.3.0 "@backstage/plugin-search-backend-node": ^1.3.3 "@backstage/plugin-techdocs-backend": ^1.11.0 - app: "link:../app" + app: "workspace:*" better-sqlite3: ^9.0.0 node-gyp: ^10.0.0 pg: ^8.11.3 diff --git a/workspaces/lightspeed/.changeset/config.json b/workspaces/lightspeed/.changeset/config.json index 4d034bb9..8208df00 100644 --- a/workspaces/lightspeed/.changeset/config.json +++ b/workspaces/lightspeed/.changeset/config.json @@ -6,5 +6,9 @@ "linked": [], "access": "public", "baseBranch": "main", - "updateInternalDependencies": "patch" + "updateInternalDependencies": "patch", + "privatePackages": { + "tag": false, + "version": false + } } diff --git a/workspaces/lightspeed/packages/backend/package.json b/workspaces/lightspeed/packages/backend/package.json index 2bf5becb..7c0c3445 100644 --- a/workspaces/lightspeed/packages/backend/package.json +++ b/workspaces/lightspeed/packages/backend/package.json @@ -45,7 +45,7 @@ "@backstage/plugin-search-backend-node": "^1.3.5", "@backstage/plugin-techdocs-backend": "^1.11.2", "@red-hat-developer-hub/backstage-plugin-lightspeed-backend": "workspace:^", - "app": "link:../app", + "app": "workspace:*", "better-sqlite3": "^9.0.0", "node-gyp": "^10.0.0", "pg": "^8.11.3" diff --git a/workspaces/lightspeed/yarn.lock b/workspaces/lightspeed/yarn.lock index 9f843fcf..5edd4555 100644 --- a/workspaces/lightspeed/yarn.lock +++ b/workspaces/lightspeed/yarn.lock @@ -15287,13 +15287,7 @@ __metadata: languageName: node linkType: hard -"app@link:../app::locator=backend%40workspace%3Apackages%2Fbackend": - version: 0.0.0-use.local - resolution: "app@link:../app::locator=backend%40workspace%3Apackages%2Fbackend" - languageName: node - linkType: soft - -"app@workspace:packages/app": +"app@workspace:*, app@workspace:packages/app": version: 0.0.0-use.local resolution: "app@workspace:packages/app" dependencies: @@ -16014,7 +16008,7 @@ __metadata: "@backstage/plugin-search-backend-node": ^1.3.5 "@backstage/plugin-techdocs-backend": ^1.11.2 "@red-hat-developer-hub/backstage-plugin-lightspeed-backend": "workspace:^" - app: "link:../app" + app: "workspace:*" better-sqlite3: ^9.0.0 node-gyp: ^10.0.0 pg: ^8.11.3 diff --git a/workspaces/marketplace/packages/backend/package.json b/workspaces/marketplace/packages/backend/package.json index 576d9434..f5c3de40 100644 --- a/workspaces/marketplace/packages/backend/package.json +++ b/workspaces/marketplace/packages/backend/package.json @@ -45,7 +45,7 @@ "@backstage/plugin-search-backend-node": "^1.3.3", "@backstage/plugin-techdocs-backend": "^1.11.0", "@red-hat-developer-hub/backstage-plugin-marketplace-backend": "workspace:^", - "app": "link:../app", + "app": "workspace:*", "better-sqlite3": "^9.0.0", "node-gyp": "^10.0.0", "pg": "^8.11.3" diff --git a/workspaces/marketplace/yarn.lock b/workspaces/marketplace/yarn.lock index a8391e4c..dff8d173 100644 --- a/workspaces/marketplace/yarn.lock +++ b/workspaces/marketplace/yarn.lock @@ -14356,13 +14356,7 @@ __metadata: languageName: node linkType: hard -"app@link:../app::locator=backend%40workspace%3Apackages%2Fbackend": - version: 0.0.0-use.local - resolution: "app@link:../app::locator=backend%40workspace%3Apackages%2Fbackend" - languageName: node - linkType: soft - -"app@workspace:packages/app": +"app@workspace:*, app@workspace:packages/app": version: 0.0.0-use.local resolution: "app@workspace:packages/app" dependencies: @@ -15068,7 +15062,7 @@ __metadata: "@backstage/plugin-search-backend-node": ^1.3.3 "@backstage/plugin-techdocs-backend": ^1.11.0 "@red-hat-developer-hub/backstage-plugin-marketplace-backend": "workspace:^" - app: "link:../app" + app: "workspace:*" better-sqlite3: ^9.0.0 node-gyp: ^10.0.0 pg: ^8.11.3 diff --git a/workspaces/openshift-image-registry/packages/backend/package.json b/workspaces/openshift-image-registry/packages/backend/package.json index 70af9ab9..d0f67507 100644 --- a/workspaces/openshift-image-registry/packages/backend/package.json +++ b/workspaces/openshift-image-registry/packages/backend/package.json @@ -43,7 +43,7 @@ "@backstage/plugin-search-backend-module-techdocs": "^0.3.1", "@backstage/plugin-search-backend-node": "^1.3.4", "@backstage/plugin-techdocs-backend": "^1.11.1", - "app": "link:../app", + "app": "workspace:*", "better-sqlite3": "^9.0.0", "node-gyp": "^10.0.0", "pg": "^8.11.3", diff --git a/workspaces/openshift-image-registry/yarn.lock b/workspaces/openshift-image-registry/yarn.lock index 284df957..454c0c15 100644 --- a/workspaces/openshift-image-registry/yarn.lock +++ b/workspaces/openshift-image-registry/yarn.lock @@ -15065,13 +15065,7 @@ __metadata: languageName: node linkType: hard -"app@link:../app::locator=backend%40workspace%3Apackages%2Fbackend": - version: 0.0.0-use.local - resolution: "app@link:../app::locator=backend%40workspace%3Apackages%2Fbackend" - languageName: node - linkType: soft - -"app@workspace:packages/app": +"app@workspace:*, app@workspace:packages/app": version: 0.0.0-use.local resolution: "app@workspace:packages/app" dependencies: @@ -15781,7 +15775,7 @@ __metadata: "@types/express": ^4.17.6 "@types/express-serve-static-core": ^4.17.5 "@types/luxon": ^2.0.4 - app: "link:../app" + app: "workspace:*" better-sqlite3: ^9.0.0 node-gyp: ^10.0.0 pg: ^8.11.3 diff --git a/workspaces/theme/packages/backend/package.json b/workspaces/theme/packages/backend/package.json index aed14daf..774b3d59 100644 --- a/workspaces/theme/packages/backend/package.json +++ b/workspaces/theme/packages/backend/package.json @@ -44,7 +44,7 @@ "@backstage/plugin-search-backend-module-techdocs": "^0.3.0", "@backstage/plugin-search-backend-node": "^1.3.3", "@backstage/plugin-techdocs-backend": "^1.11.0", - "app": "link:../app", + "app": "workspace:*", "better-sqlite3": "^9.0.0", "node-gyp": "^10.0.0", "pg": "^8.11.3" diff --git a/workspaces/theme/yarn.lock b/workspaces/theme/yarn.lock index 6e040304..5ac9506b 100644 --- a/workspaces/theme/yarn.lock +++ b/workspaces/theme/yarn.lock @@ -14133,13 +14133,7 @@ __metadata: languageName: node linkType: hard -"app@link:../app::locator=backend%40workspace%3Apackages%2Fbackend": - version: 0.0.0-use.local - resolution: "app@link:../app::locator=backend%40workspace%3Apackages%2Fbackend" - languageName: node - linkType: soft - -"app@workspace:packages/app": +"app@workspace:*, app@workspace:packages/app": version: 0.0.0-use.local resolution: "app@workspace:packages/app" dependencies: @@ -14843,7 +14837,7 @@ __metadata: "@backstage/plugin-search-backend-module-techdocs": ^0.3.0 "@backstage/plugin-search-backend-node": ^1.3.3 "@backstage/plugin-techdocs-backend": ^1.11.0 - app: "link:../app" + app: "workspace:*" better-sqlite3: ^9.0.0 node-gyp: ^10.0.0 pg: ^8.11.3