Commit 2dc5068
chore(deps): bump @dhis2/app-runtime from 3.17.0 to 3.17.2 (#291)
* chore(deps): bump @dhis2/app-runtime from 3.17.0 to 3.17.2
Bumps [@dhis2/app-runtime](https://github.com/dhis2/app-runtime/tree/HEAD/runtime) from 3.17.0 to 3.17.2.
- [Release notes](https://github.com/dhis2/app-runtime/releases)
- [Changelog](https://github.com/dhis2/app-runtime/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dhis2/app-runtime/commits/v3.17.2/runtime)
---
updated-dependencies:
- dependency-name: "@dhis2/app-runtime"
dependency-version: 3.17.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: dedupe app-service-data to a single copy after app-runtime bump
The app-runtime 3.17.2 bump pulled in app-service-data@3.17.2 while the
app's own direct dependency kept resolving to 3.17.0, leaving two copies
of the data layer in the tree. store-provider imported useDataEngine as a
value from the 3.17.0 copy, so it read a different DataContext than the
provider populated by app-runtime 3.17.2 — data fetching stalled and saved
visualizations never loaded, timing out the E2E specs on [data-test=title-text].
Import useDataEngine from @dhis2/app-runtime (the singleton source) and move
@dhis2/app-service-data to devDependencies, where it remains only for the
type-only imports app-runtime does not re-export. The tree now resolves to a
single 3.17.2 copy.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hendrik de Graaf <HendrikThePendric@users.noreply.github.com>
Co-authored-by: Hendrik de Graaf <hendrik@dhis2.org>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent d8c7ec4 commit 2dc5068
3 files changed
Lines changed: 113 additions & 102 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments