From d739351de1cbc91f246e8f9302ac1bea810ae817 Mon Sep 17 00:00:00 2001 From: Santiago Quiroga Date: Thu, 6 Aug 2026 15:07:04 -0700 Subject: [PATCH 1/2] feat(firestore-api): add package subpath exports for protos and schema files - Add ./protos/protos subpath export mapping directly to compiled protos declarations and implementations - Add ./protos/* subpath wildcard export to expose raw proto schemas and JSON definitions - Retain backward-compatible ./build/protos/* aliases --- packages/google-cloud-firestore-api/package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/google-cloud-firestore-api/package.json b/packages/google-cloud-firestore-api/package.json index 828249835d6..98be749606a 100644 --- a/packages/google-cloud-firestore-api/package.json +++ b/packages/google-cloud-firestore-api/package.json @@ -33,12 +33,18 @@ "types": "./build/protos/protos.d.ts", "default": "./build/protos/protos.js" }, + "./protos/protos": { + "types": "./build/protos/protos.d.ts", + "default": "./build/protos/protos.js" + }, "./protos/protos.json": "./build/protos/protos.json", + "./protos/*": "./build/protos/*", "./build/protos/protos": { "types": "./build/protos/protos.d.ts", "default": "./build/protos/protos.js" }, "./build/protos/protos.json": "./build/protos/protos.json", + "./build/protos/*": "./build/protos/*", "./build/src/v1": { "types": "./build/src/v1/index.d.ts", "default": "./build/src/v1/index.js" From 61c1fb6d683a59cffe4168c45479d35fbd78c5e0 Mon Sep 17 00:00:00 2001 From: Santiago Quiroga Date: Thu, 6 Aug 2026 15:15:52 -0700 Subject: [PATCH 2/2] feat(firestore-api): add explicit ./protos/protos subpath export - Add explicit ./protos/protos subpath export mapping directly to compiled protos declarations and implementations - Keep strictly explicit subpath definitions without wildcards --- packages/google-cloud-firestore-api/package.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/google-cloud-firestore-api/package.json b/packages/google-cloud-firestore-api/package.json index 98be749606a..70d179d50c4 100644 --- a/packages/google-cloud-firestore-api/package.json +++ b/packages/google-cloud-firestore-api/package.json @@ -38,13 +38,11 @@ "default": "./build/protos/protos.js" }, "./protos/protos.json": "./build/protos/protos.json", - "./protos/*": "./build/protos/*", "./build/protos/protos": { "types": "./build/protos/protos.d.ts", "default": "./build/protos/protos.js" }, "./build/protos/protos.json": "./build/protos/protos.json", - "./build/protos/*": "./build/protos/*", "./build/src/v1": { "types": "./build/src/v1/index.d.ts", "default": "./build/src/v1/index.js"