Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): remove cli-app-scripts peer dep [LIBS-587] #1379

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

KaiVandivier
Copy link
Contributor

@KaiVandivier KaiVandivier commented Apr 9, 2024

Part of LIBS-587

Tested out on alpha, this addresses an module resolution conflict on cli-app-scripts and fixes an infinite loop during NPM installation of the CLI.

It seems like this dependency was introduced here, which I don't think was exactly correct -- App runtime doesn’t need cli-app-scripts to work, since it can be implemented independently using the Provider — the app adapter just breaks if it doesn’t adapt to the app-runtime changes, which seems like a typical “breaking change” rather than needing a peer dependency

This PR is to the main branch to save some PRs in the future -- @dhis2/ui would need to be changed to use the alpha branch of app-runtime for example, and ui seems to have the prerelease branches in use

@KaiVandivier KaiVandivier merged commit 3598375 into master Apr 9, 2024
20 checks passed
@KaiVandivier KaiVandivier deleted the libs-587-remove-peer-dep branch April 9, 2024 11:39
dhis2-bot added a commit that referenced this pull request Apr 9, 2024
## [3.10.4](v3.10.3...v3.10.4) (2024-04-09)

### Bug Fixes

* **deps:** remove cli-app-scripts peer dep [LIBS-587] ([#1379](#1379)) ([3598375](3598375))
@dhis2-bot
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants