Skip to content

Commit c3be711

Browse files
2 parents ab3a872 + 204fbcf commit c3be711

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ assignees: ''
1111
<!-- Step 1 [READ THIS] -->
1212
<!--
1313
14-
**Thank you for submitting your issue. We are operating at reduced capacity from Dec 18 2020 to Jan 4 2021. Please expect delayed responses. For more urgent requests please reach us via our support channels https://firebase.google.com/support**
15-
1614
Are you in the right place?
1715
* For issues or feature requests related to __the code in this repository__
1816
file a Github issue.

packages/firestore/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"description": "The Cloud Firestore component of the Firebase JS SDK.",
88
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
99
"scripts": {
10-
"api-report:exp": "(cd exp; api-extractor run --local --verbose) && TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../repo-scripts/prune-dts/prune-dts.ts --input dist/exp/private.d.ts --output dist/exp/index.d.ts",
11-
"api-report:lite": "(cd lite; api-extractor run --local --verbose) && TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../repo-scripts/prune-dts/prune-dts.ts --input dist/lite/private.d.ts --output dist/lite/index.d.ts",
10+
"api-report:exp": "(cd exp; api-extractor run --local --verbose) && ts-node-script ../../repo-scripts/prune-dts/prune-dts.ts --input dist/exp/private.d.ts --output dist/exp/index.d.ts",
11+
"api-report:lite": "(cd lite; api-extractor run --local --verbose) && ts-node-script ../../repo-scripts/prune-dts/prune-dts.ts --input dist/lite/private.d.ts --output dist/lite/index.d.ts",
1212
"bundle": "rollup -c",
1313
"prebuild": "tsc --emitDeclarationOnly --declaration -p tsconfig.json; run-p api-report:exp api-report:lite",
1414
"build": "run-p 'bundle rollup.config.browser.js' 'bundle rollup.config.node.js' 'bundle rollup.config.rn.js' build:lite build:exp",

packages/firestore/src/core/bundle_impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class BundleLoader {
169169
debugAssert(
170170
this.documents[this.documents.length - 1]?.metadata.exists !== true ||
171171
!!this.documents[this.documents.length - 1].document,
172-
'Bundled documents ends with a document metadata and missing document.'
172+
'Bundled documents end with a document metadata element instead of a document.'
173173
);
174174
debugAssert(!!this.bundleMetadata.id, 'Bundle ID must be set.');
175175

repo-scripts/prune-dts/tsconfig.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"compilerOptions": {
3+
"outDir": "dist",
4+
"importHelpers": true,
5+
"module": "commonjs",
6+
"moduleResolution": "node",
7+
"resolveJsonModule": true,
8+
"target": "es5",
9+
"esModuleInterop": true,
10+
"declaration": true,
11+
"strict": true
12+
},
13+
"exclude": [
14+
"dist/**/*"
15+
]
16+
}

0 commit comments

Comments
 (0)