Skip to content

feat: use organisation scoped HCRC-lib#965

Merged
nikomakela merged 1 commit into
mainfrom
HCRC-191-org-scoped-hcrc
Jan 15, 2026
Merged

feat: use organisation scoped HCRC-lib#965
nikomakela merged 1 commit into
mainfrom
HCRC-191-org-scoped-hcrc

Conversation

@nikomakela

@nikomakela nikomakela commented Dec 30, 2025

Copy link
Copy Markdown
Contributor

HCRC-191.

The 'react-helsinki-headless-cms' (HCRC-lib) has been published under city-of-helsinki organisation scope
(https://www.npmjs.com/package/@city-of-helsinki/react-helsinki-headless-cms). This commit installs the new organisation scoped package and migrates all the related imports.

Related PR: City-of-Helsinki/react-helsinki-headless-cms#234

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-hobbies-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-events-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-sports-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

HARRASTUKSET-UI branch is deployed to platta: https://harrastukset-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

TAPAHTUMAT-UI branch is deployed to platta: https://tapahtumat-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

EVENTS-GRAPHQL-PROXY branch is deployed to platta: https://events-graphql-proxy-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

LIIKUNTA-UI branch is deployed to platta: https://liikunta-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://tapahtumat-pr965.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://liikunta-pr965.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen

Copy link
Copy Markdown
Contributor

VENUE-GRAPHQL-PROXY branch is deployed to platta: https://venue-graphql-proxy-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://harrastukset-pr965.dev.hel.ninja 😆🎉🎉🎉

@nikomakela nikomakela force-pushed the HCRC-191-org-scoped-hcrc branch from db52bef to eea37f6 Compare December 30, 2025 12:07
@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-events-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-hobbies-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-sports-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

VENUE-GRAPHQL-PROXY branch is deployed to platta: https://venue-graphql-proxy-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

EVENTS-GRAPHQL-PROXY branch is deployed to platta: https://events-graphql-proxy-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

TAPAHTUMAT-UI branch is deployed to platta: https://tapahtumat-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

HARRASTUKSET-UI branch is deployed to platta: https://harrastukset-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

LIIKUNTA-UI branch is deployed to platta: https://liikunta-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://tapahtumat-pr965.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://harrastukset-pr965.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://liikunta-pr965.dev.hel.ninja 😆🎉🎉🎉

@nikomakela nikomakela force-pushed the HCRC-191-org-scoped-hcrc branch from eea37f6 to f8ce6cc Compare December 30, 2025 12:41
@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-events-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-hobbies-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-sports-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

EVENTS-GRAPHQL-PROXY branch is deployed to platta: https://events-graphql-proxy-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

HARRASTUKSET-UI branch is deployed to platta: https://harrastukset-pr965.dev.hel.ninja 🚀🚀🚀

@nikomakela nikomakela marked this pull request as ready for review December 30, 2025 12:59
@nikomakela nikomakela requested review from a team and karisal-anders December 30, 2025 13:00
@nikomakela nikomakela marked this pull request as draft December 30, 2025 13:00
@nikomakela

Copy link
Copy Markdown
Contributor Author

While this PR still has a release candidate version installed, I leave this as draft.

HCRC-191.

The 'react-helsinki-headless-cms' (HCRC-lib) has been published under
city-of-helsinki organisation scope
(https://www.npmjs.com/package/@city-of-helsinki/react-helsinki-headless-cms).
This commit installs the new organisation scoped package and migrates
all the related imports.
@nikomakela nikomakela force-pushed the HCRC-191-org-scoped-hcrc branch from f8ce6cc to 45b2fdc Compare December 30, 2025 14:35
@nikomakela nikomakela marked this pull request as ready for review December 30, 2025 14:35
@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
53.3% Coverage on New Code (required ≥ 65%)

See analysis details on SonarQube Cloud

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-hobbies-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-events-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

FEDERATION-ROUTER branch is deployed to platta: https://events-graphql-federation-sports-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

VENUE-GRAPHQL-PROXY branch is deployed to platta: https://venue-graphql-proxy-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

EVENTS-GRAPHQL-PROXY branch is deployed to platta: https://events-graphql-proxy-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

HARRASTUKSET-UI branch is deployed to platta: https://harrastukset-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

TAPAHTUMAT-UI branch is deployed to platta: https://tapahtumat-pr965.dev.hel.ninja 🚀🚀🚀

@sonarqubecloud

Copy link
Copy Markdown

@terovirtanen

Copy link
Copy Markdown
Contributor

LIIKUNTA-UI branch is deployed to platta: https://liikunta-pr965.dev.hel.ninja 🚀🚀🚀

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://liikunta-pr965.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://harrastukset-pr965.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is failed for https://tapahtumat-pr965.dev.hel.ninja 😿💢💥💥

1 similar comment
@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is failed for https://tapahtumat-pr965.dev.hel.ninja 😿💢💥💥

@terovirtanen

Copy link
Copy Markdown
Contributor

TestCafe result is success for https://tapahtumat-pr965.dev.hel.ninja 😆🎉🎉🎉

@karisal-anders karisal-anders left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise ok, but the peer dependencies are out-of-sync with react-helsinki-headless-cms:

$ yarn
➤ YN0000: ┌ Resolution step
➤ YN0060: │ @events-helsinki/components@workspace:packages/components
 provides @apollo/client (pc4661) with version 3.13.8, which doesn't satisfy what
 @city-of-helsinki/react-helsinki-headless-cms requests
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn
 explain peer-requirements <hash> for details, where <hash> is the
 six-letter p-prefixed code

$ yarn why @apollo/client
├─ @events-helsinki/components@workspace:packages/components [2e90d]
│  └─ @apollo/client@npm:3.13.8 [2ea0a] (via npm:^3.10.1 [2ea0a])
│
├─ @events-helsinki/components@workspace:packages/components
│  └─ @apollo/client@npm:3.13.8 [2ea0a] (via npm:^3.10.1 [2ea0a])
│
├─ events-helsinki@workspace:apps/events-helsinki
│  └─ @apollo/client@npm:3.13.8 [2ea0a] (via npm:^3.10.1 [2ea0a])
│
├─ hds-react@npm:4.8.1
│  └─ @apollo/client@npm:3.13.8 (via npm:^3.10.1)
│
├─ hds-react@npm:4.8.1 [e0bf5]
│  └─ @apollo/client@npm:3.13.8 [2ea0a] (via npm:^3.10.1 [2ea0a])
│
├─ hobbies-helsinki@workspace:apps/hobbies-helsinki
│  └─ @apollo/client@npm:3.13.8 [2ea0a] (via npm:^3.10.1 [2ea0a])
│
└─ sports-helsinki@workspace:apps/sports-helsinki
   └─ @apollo/client@npm:3.13.8 [2ea0a] (via npm:^3.10.1 [2ea0a])

And react-helsinki-headless-cms v3.0.0 requests @apollo/client ^3.14.0.

Looks like it's working ok, there are no two different versions of @apollo/client installed, only v3.13.8 but that is not ^3.14.0. I don't think this is a blocker for merging, but just good to know that peer dependencies aren't really enforced and you might get something different than what is requested, as is the case here.

@nikomakela nikomakela merged commit 8c1affa into main Jan 15, 2026
124 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants