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

Update @opentelemetry/* peer dependencies to ensure allowed versions include used imports #2572

Merged
merged 3 commits into from
Apr 19, 2024

Conversation

nickrttn
Copy link
Contributor

@nickrttn nickrttn commented Apr 19, 2024

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

The main thing is updating @opentelemetry/* peer dependencies to ensure the allowed version range includes imports used in @effect/opentelemetry.

Specifically, Resource.ts in @effect/opentelemetry contains imports from @opentelemetry/semantic-resources that are not present in that package until version 1.22.

- lock pnpm to an exact hash of its version using `corepack use pnpm@<semver-tag>`
- call `corepack pnpm` instead of `pnpm` in `pnpm` scripts, fixing `sh: pnpm: command not found`
…s include used imports

Specifically, `Resource.ts` contains imports from `@opentelemetry/semantic-resources` that are not present in that package until version `1.22`
Copy link

changeset-bot bot commented Apr 19, 2024

🦋 Changeset detected

Latest commit: 202569a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@effect/opentelemetry Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

fubhy
fubhy previously requested changes Apr 19, 2024
package.json Outdated Show resolved Hide resolved
Copy link
Member

@tim-smart tim-smart left a comment

Choose a reason for hiding this comment

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

👍🏼

@tim-smart tim-smart merged commit c8c798a into Effect-TS:main Apr 19, 2024
12 checks passed
@github-actions github-actions bot mentioned this pull request Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants