Skip to content

Feat/google3 typings support #9085

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 6 commits into from
Jun 17, 2025

Conversation

eranc-google
Copy link
Contributor

This PR adds a new Rollup build configuration to the analytics and remote-config packages. This is required to generate self-contained TypeScript definition (.d.ts) files, which are necessary for consuming these modular SDKs within google3.

This change follows the process outlined in the internal guide for this migration: go/how-to-migrate-to-modular-firebase-js-sdk.

Discussion
There is no public GitHub issue for this change. This work is part of an internal migration effort for Google's Chronicle SOAR UI (internal design doc: go/soar-custom-signals).

This was discussed internally with members of the Firebase team (Christina Holland), who pointed us to the migration guide that necessitates this PR.

Testing
These changes are additive and only affect the build configuration; they do not modify any of the core library source code in /src. As such, they should not impact existing tests.

The project builds successfully (yarn build) with these changes included. The ultimate test for this change will be its consumption by the internal google3 build process after the generated artifacts are imported.

API Changes
This PR introduces no changes to the public API. All modifications are confined to devDependencies in package.json and the addition of a new, non-default build step in rollup.config.js.

@eranc-google eranc-google requested review from a team, erikeldridge and hsubox76 as code owners June 8, 2025 13:25
Copy link

changeset-bot bot commented Jun 8, 2025

🦋 Changeset detected

Latest commit: 30e4182

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

This PR includes changesets to release 5 packages
Name Type
@firebase/remote-config Patch
@firebase/analytics Patch
firebase Patch
@firebase/remote-config-compat Patch
@firebase/analytics-compat Patch

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

Copy link
Contributor

@dlarocque dlarocque left a comment

Choose a reason for hiding this comment

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

Our CI workflows do not work on forks. Do you have permission to push a new branch to this repository?

@eranc-google eranc-google force-pushed the feat/google3-typings-support branch from 962e48e to 83e72ac Compare June 11, 2025 12:10
Co-authored-by: Daniel La Rocque <dlarocque.contact@gmail.com>
@eranc-google eranc-google force-pushed the feat/google3-typings-support branch from 680e40a to 615fb99 Compare June 17, 2025 10:08
@hsubox76
Copy link
Contributor

One last thing, to fix the formatting check just run yarn format (I think this just converts the double newlines to single in the remote-config/rollup.config.js)

@hsubox76 hsubox76 merged commit 13e6cce into firebase:main Jun 17, 2025
30 of 33 checks passed
mansisampat pushed a commit that referenced this pull request Jun 18, 2025
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.

3 participants