Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

fix: move prom-client to deps #32

Merged
merged 1 commit into from
May 23, 2023
Merged

Conversation

achingbrain
Copy link
Member

npm installs peer dependencies by default so there's not much point having prom-client in peerDependencies.

yarn does not install peer dependencies so then people need to install it separately but there's not much chance of them wanting to collect prometheus metrics without having prom-client installed so let's just have it as a regular dep.

Fixes ipfs/js-ipfs#4323

npm installs peer dependencies by default so there's not much point having `prom-client` in peerDependencies.

yarn does not install peer dependencies so then people need to install it separately but there's not much chance of them wanting to collect prometheus metrics without having `prom-client` installed so let's just have it as a regular dep.

Fixes ipfs/js-ipfs#4323
@achingbrain achingbrain requested a review from maschad May 23, 2023 09:30
@maschad maschad merged commit 73acad0 into main May 23, 2023
@maschad maschad deleted the fix/move-prom-client-to-deps branch May 23, 2023 16:19
github-actions bot pushed a commit that referenced this pull request May 23, 2023
## [1.1.5](v1.1.4...v1.1.5) (2023-05-23)

### Bug Fixes

* move prom-client to deps ([#32](#32)) ([73acad0](73acad0))
@github-actions
Copy link

🎉 This PR is included in version 1.1.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

ERR_MODULE_NOT_FOUND when building with TS, new in ipfs-core v0.18.0
2 participants