-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
Incidents & Support
-
1
-
False
-
-
False
-
None
-
Unset
-
None
-
-
-
-
HCC Framework Sprint 54
The migrated packages (those with source in src/ and compiled output in dist/) were being published from their package root instead of their dist/ folder, which is nx's default. This meant the published package contained source files and the package.json's main, typings, and exports fields pointed to non-existent files, making the packages broken for consumers.
The fix adds a nx-release-publish target to each migrated package's project.json with packageRoot set to
{projectRoot}/dist, directing nx release publish to publish from the correct directory.
Slack thread: https://redhat-internal.slack.com/archives/C05KTHJU4R4/p1772037993775789
PR: https://github.com/RedHatInsights/javascript-clients/pull/432