Skip to content

Conversation

hsubox76
Copy link
Contributor

The docgen script starts by running a build on all packages which generates a packages/[name of package]/temp/ directory in each package dir, which contain *.api.json files. Later on, the script sweeps all these up into a top level temp/ directory which it uses to generate the docs. The docgen script deletes the top-level directory every time before it runs but not the individual package dirs.

That means that leftover api.json files from other branches, etc. might be hanging around since temp/ dirs are gitignored by us, and this causes some confusion when old docs or docs from other packages end up in PRs after running yarn docgen:all. This fixes it by cleaning out all the package temp dirs before running the build for docgen.

Copy link

changeset-bot bot commented Sep 12, 2025

⚠️ No Changeset found

Latest commit: 5f28cb9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Sep 12, 2025

Size Report 1

Affected Products

  • @firebase/ai

    TypeBase (06ab5c4)Merge (c80a099)Diff
    browser62.2 kB62.4 kB+260 B (+0.4%)
    main65.7 kB66.1 kB+370 B (+0.6%)
    module62.2 kB62.4 kB+260 B (+0.4%)
  • @firebase/remote-config

    TypeBase (06ab5c4)Merge (c80a099)Diff
    browser22.7 kB39.0 kB+16.3 kB (+71.6%)
    main23.9 kB40.2 kB+16.4 kB (+68.7%)
    module22.7 kB39.0 kB+16.3 kB (+71.6%)
  • @firebase/webchannel-wrapper/bloom-blob

    TypeBase (06ab5c4)Merge (c80a099)Diff
    browser11.1 kB11.3 kB+123 B (+1.1%)
    main11.1 kB11.3 kB+123 B (+1.1%)
    module11.1 kB11.3 kB+123 B (+1.1%)
  • @firebase/webchannel-wrapper/webchannel-blob

    TypeBase (06ab5c4)Merge (c80a099)Diff
    browser42.2 kB40.9 kB-1.27 kB (-3.0%)
    main42.2 kB40.9 kB-1.27 kB (-3.0%)
    module42.2 kB40.9 kB-1.27 kB (-3.0%)
  • bundle

    16 size changes

    TypeBase (06ab5c4)Merge (c80a099)Diff
    firestore (CSI Auto Indexing Disable and Delete)287 kB286 kB-1.16 kB (-0.4%)
    firestore (CSI Auto Indexing Enable)287 kB286 kB-1.16 kB (-0.4%)
    firestore (Persistence)319 kB318 kB-1.16 kB (-0.4%)
    firestore (Query Cursors)258 kB257 kB-1.16 kB (-0.4%)
    firestore (Query)256 kB255 kB-1.16 kB (-0.5%)
    firestore (Read data once)246 kB245 kB-1.16 kB (-0.5%)
    firestore (Read Write w Persistence)339 kB338 kB-1.16 kB (-0.3%)
    firestore (Realtime updates)246 kB245 kB-1.16 kB (-0.5%)
    firestore (Transaction)224 kB223 kB-1.16 kB (-0.5%)
    firestore (Write data)226 kB224 kB-1.16 kB (-0.5%)
    firestore-lite (Query Cursors)110 kB110 kB+123 B (+0.1%)
    firestore-lite (Query)106 kB106 kB+123 B (+0.1%)
    firestore-lite (Read data once)81.5 kB81.6 kB+123 B (+0.2%)
    firestore-lite (Transaction)107 kB107 kB+123 B (+0.1%)
    firestore-lite (Write data)91.0 kB91.1 kB+123 B (+0.1%)
    remote-config (getAndFetch)47.8 kB59.4 kB+11.7 kB (+24.4%)

  • firebase

    TypeBase (06ab5c4)Merge (c80a099)Diff
    firebase-ai.js49.1 kB49.3 kB+245 B (+0.5%)
    firebase-compat.js800 kB809 kB+9.35 kB (+1.2%)
    firebase-firestore-compat.js349 kB348 kB-1.18 kB (-0.3%)
    firebase-firestore-lite.js138 kB138 kB+132 B (+0.1%)
    firebase-firestore.js455 kB454 kB-1.11 kB (-0.2%)
    firebase-remote-config-compat.js27.9 kB38.7 kB+10.8 kB (+38.5%)
    firebase-remote-config.js32.2 kB43.5 kB+11.3 kB (+35.1%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/gFTqGJpMmz.html

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Sep 12, 2025

Size Analysis Report 1

This report is too large (106,637 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/ItYu3dUipg.html

@hsubox76 hsubox76 marked this pull request as ready for review September 17, 2025 16:10
@hsubox76 hsubox76 requested a review from a team as a code owner September 17, 2025 16:10
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