Skip to content

Commit 8097b97

Browse files
authored
Include typing files and package.json when publishing firestore exp (#3649)
* include typing files and package.json in firestore exp release * test * Revert "test" This reverts commit c1a449c.
1 parent 9f58f6d commit 8097b97

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

packages/firestore/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
"license": "Apache-2.0",
5858
"files": [
5959
"dist",
60-
"lite/package.json",
6160
"memory/package.json"
6261
],
6362
"dependencies": {

scripts/exp/prepare-firestore-for-exp-release.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ export async function prepare() {
6262

6363
delete packageJson.scripts.prepare;
6464

65+
// include files to be published
66+
packageJson.files = [
67+
...packageJson.files,
68+
packageJson.typings,
69+
'lite/package.json',
70+
litePackageJson.typings.replace('../', '')
71+
];
72+
6573
// update package.json files
6674
await writeFile(
6775
`${packagePath}/package.json`,

0 commit comments

Comments
 (0)