Skip to content

Commit a13ca20

Browse files
authored
Fix release script. (#1602)
* Fix release script. Today, release script is broken with error message: ``` node_modules/google-gax/build/src/fallback.d.ts:20:34 - error TS2724: '"google-auth-library"' has no exported member named 'AnyAuthClient'. Did you mean 'AuthClient'? 20 import { GoogleAuth, AuthClient, AnyAuthClient } from 'google-auth-library'; ``` It looks like the issue is related to some odd type incompatibility issue in an upstream package (google-gax). Rather than wait for the issue to be resolved, the change here removes command to install firebase-admin which isn't needed to build the release package anyway. * Revert change to remove --production flag.
1 parent 3a78784 commit a13ca20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
"docgen:v2:gen": "api-documenter-fire markdown -i docgen/v2 -o docgen/v2/markdown --project functions && npm run docgen:v2:toc",
183183
"docgen:v2": "npm run build && npm run docgen:v2:extract && npm run docgen:v2:gen",
184184
"build:pack": "rm -rf lib && npm install && tsc -p tsconfig.release.json && npm pack",
185-
"build:release": "npm ci --production && npm install --no-save typescript firebase-admin && tsc -p tsconfig.release.json",
185+
"build:release": "npm ci --production && npm install --no-save typescript && tsc -p tsconfig.release.json",
186186
"build": "tsc -p tsconfig.release.json",
187187
"build:watch": "npm run build -- -w",
188188
"format": "npm run format:ts && npm run format:other",

0 commit comments

Comments
 (0)