Skip to content

Commit a85529e

Browse files
Fixes
1 parent 336f2ef commit a85529e

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.changeset/proud-pigs-work.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/firestore/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,17 @@
77
"description": "The Cloud Firestore component of the Firebase JS SDK.",
88
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
99
"scripts": {
10-
"preapi-report:exp": "tsc --emitDeclarationOnly --declaration -p tsconfig.json",
1110
"api-report:exp": "(cd exp; api-extractor run --local --verbose) && TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../scripts/prune-dts/prune-dts.ts --input dist/exp/private.d.ts --output dist/exp/index.d.ts",
12-
"preapi-report:lite": "tsc --emitDeclarationOnly --declaration -p tsconfig.json",
1311
"api-report:lite": "(cd lite; api-extractor run --local --verbose) && TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../scripts/prune-dts/prune-dts.ts --input dist/lite/private.d.ts --output dist/lite/index.d.ts",
1412
"bundle": "rollup -c",
13+
"prebuild": "tsc --emitDeclarationOnly --declaration -p tsconfig.json && run-p api-report:exp api-report:lite",
1514
"build": "run-p 'bundle rollup.config.browser.js' 'bundle rollup.config.browser.memory.js' 'bundle rollup.config.node.js' 'bundle rollup.config.node.memory.js' 'bundle rollup.config.rn.js' 'bundle rollup.config.rn.memory.js' build:lite build:exp",
1615
"build:scripts": "tsc -moduleResolution node --module commonjs scripts/*.ts && ls scripts/*.js | xargs -I % sh -c 'terser % -o %'",
1716
"build:release": "run-p 'bundle rollup.config.browser.js' 'bundle rollup.config.browser.memory.js' 'bundle rollup.config.node.js' 'bundle rollup.config.node.memory.js' 'bundle rollup.config.rn.js' 'bundle rollup.config.rn.memory.js'",
1817
"build:deps": "lerna run --scope @firebase/firestore --include-dependencies build",
1918
"build:console": "node tools/console.build.js",
20-
"build:exp": "yarn api-report:exp && rollup -c rollup.config.exp.js ",
21-
"build:lite": "yarn api-report:lite && rollup -c rollup.config.lite.js",
19+
"build:exp": "rollup -c rollup.config.exp.js ",
20+
"build:lite": "rollup -c rollup.config.lite.js",
2221
"predev": "yarn prebuild",
2322
"dev": "rollup -c -w",
2423
"lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",

0 commit comments

Comments
 (0)