Skip to content

fix(kits): allow patch and minor updates to firebase-functions - #2996

Open
IzaakGough wants to merge 1 commit into
kitsfrom
fix/kits-caret-firebase-functions
Open

fix(kits): allow patch and minor updates to firebase-functions#2996
IzaakGough wants to merge 1 commit into
kitsfrom
fix/kits-caret-firebase-functions

Conversation

@IzaakGough

@IzaakGough IzaakGough commented Aug 28, 2026

Copy link
Copy Markdown

Fixes #2995

Every kit pinned firebase-functions to exactly 7.3.2. When the wrapper that functions:kits:install scaffolds resolves any other 7.x, npm gives the kit a nested copy, whose firebase-admin resolves to the kit's 14.x instead of the wrapper's 13.x. That pulls a second @google-cloud/firestore into the type program and the build fails with TS6200, since both copies declare the global FirebaseFirestore namespace.

firebase-functions is now ^7.3.2 in the 12 kits that declare it, with shrinkwraps updated to match. No resolved versions change, and regenerating each shrinkwrap with npm install --package-lock-only gives no diff.

Verified by reproducing the six errors with a wrapper at 7.2.5 and at 7.3.0, then confirming a wrapper on 7.3.2 or newer installs one copy and builds.

Kits pinned firebase-functions to exactly 7.3.2. When the wrapper project
the CLI scaffolds resolves any other 7.x, npm gives the kit a nested copy,
which then resolves firebase-admin to the kit's 14.x rather than the
wrapper's 13.x. That pulls a second @google-cloud/firestore into the type
program and the build fails with TS6200, since both copies declare the
global FirebaseFirestore namespace.

Shrinkwraps are updated to match; resolved versions are unchanged.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the dependency version of firebase-functions from a pinned version (7.3.2) to a flexible caret range (^7.3.2) across multiple kits' package.json and npm-shrinkwrap.json files. There are no review comments, and I have no feedback to provide.

@IzaakGough
IzaakGough marked this pull request as ready for review August 28, 2026 14:28
@IzaakGough
IzaakGough requested a review from a team as a code owner August 28, 2026 14:28
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.

2 participants