Skip to content

Add >=jest@28 as a peerDep #152

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

Merged
merged 4 commits into from
May 24, 2022
Merged

Add >=jest@28 as a peerDep #152

merged 4 commits into from
May 24, 2022

Conversation

TheIronDev
Copy link
Contributor

@TheIronDev TheIronDev commented May 23, 2022

Description

This commit adds a peerDep of >=jest@28 and firebase-functions@3.21.

jest@28 includes jestjs/jest#11961, which
supports exports in package.json.

Without this, jest users that use jest@27 or below will throw an error
when firebase-functions-test attempts to import several named exports.

Fixes #151

This commit adds a peerDep of >=jest@28.

jest@28 includes jestjs/jest#11961, which
supports `exports` in `package.json`.

Without this, jest users that use jest@27 or below will throw an error
when firebase-functions-test attempts to import several named exports.

Fixes #151
@TheIronDev TheIronDev requested a review from colerogers May 23, 2022 18:57
The original motivation to upgrade was to resolve the breaking change
mentioned [here](DefinitelyTyped/DefinitelyTyped#60310)

I chose this version to maintain parity with firebase-functions [here](https://github.com/firebase/firebase-functions/blob/master/package.json#L224)
This commit continues the chain of upgrading stale dependencies due
to a fun cascading effect of adding a peerDep.

If you give a moose a muffin...
@TheIronDev TheIronDev requested a review from bkendall May 23, 2022 21:47
@TheIronDev TheIronDev merged commit d49e709 into master May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot import firebase-functions/v2
2 participants