Skip to content

Miscellaneous fixes for the exp release and reference doc generation #4521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 25, 2021

Conversation

Feiyang1
Copy link
Member

No description provided.

@@ -44,7 +44,8 @@
"test:node:persistence:prod": "node ./scripts/run-tests.js --main=index.node.ts --persistence 'test/{,!(browser|lite)/**/}*.test.ts'",
"test:travis": "ts-node --compiler-options='{\"module\":\"commonjs\"}' ../../scripts/emulator-testing/firestore-test-runner.ts",
"test:minified": "(cd ../../integration/firestore ; yarn test)",
"api-report": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ./scripts/api-report.ts",
"api-report": "yarn api-report:api-json && TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ./scripts/api-report.ts",
"api-report:api-json": "rm -rf temp && api-extractor run --local --verbose",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume "rm -rf temp" is intentional.

hsubox76
hsubox76 previously approved these changes Feb 24, 2021
@hsubox76 hsubox76 dismissed their stale review February 24, 2021 21:32

CI failure

@@ -44,7 +44,8 @@
"test:node:persistence:prod": "node ./scripts/run-tests.js --main=index.node.ts --persistence 'test/{,!(browser|lite)/**/}*.test.ts'",
"test:travis": "ts-node --compiler-options='{\"module\":\"commonjs\"}' ../../scripts/emulator-testing/firestore-test-runner.ts",
"test:minified": "(cd ../../integration/firestore ; yarn test)",
"api-report": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ./scripts/api-report.ts",
"api-report": "yarn api-report:api-json && TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ./scripts/api-report.ts",
"api-report:api-json": "rm -rf temp && api-extractor run --local --verbose",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the rollup build have to happen first? CI is complaining it can't find the mainEntryPointFilePath d.ts file which I think is generated during the build, but the api-report command here is run during prebuild?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh good catch. api-report:api-json should run after ts-node ./scripts/api-report.ts which creates the pruned d.ts files.

@Feiyang1 Feiyang1 requested a review from hiranya911 as a code owner February 24, 2021 22:25
@google-oss-bot
Copy link
Contributor

Binary Size Report

Affected SDKs

No changes between base commit (636dd78) and head commit (f806f4f).

Test Logs

@Feiyang1 Feiyang1 merged commit c632148 into master Feb 25, 2021
@Feiyang1 Feiyang1 deleted the fei-misc-fixes branch February 25, 2021 00:55
@firebase firebase locked and limited conversation to collaborators Mar 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants