Skip to content

Commit da7f7ff

Browse files
authored
fix a parsing issue in the release script (#4281)
1 parent 50abe6c commit da7f7ff

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

packages/firestore/package.json

+2-2
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",

repo-scripts/prune-dts/tsconfig.json

+16
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)