Skip to content

Commit e689ff6

Browse files
Removing RxFire (#4332)
* RxFire is moving to its own repo * Updating link Co-authored-by: Feiyang1 <[email protected]>
1 parent 1f3bdec commit e689ff6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+14
-3196
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ packages/auth-types @bojeil-google @avolkovi @sam-gc @yuchenshi @firebase/jssdk
6262
packages/testing @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
6363
packages/rules-unit-testing @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
6464

65-
# RxFire Code
66-
packages/rxfire @davideast @jamesdaniels @firebase/jssdk-global-approvers
67-
6865
# Installations
6966
packages/installations @andirayo @ChaoqunCHEN @firebase/jssdk-global-approvers
7067
packages/installations-types @andirayo @ChaoqunCHEN @firebase/jssdk-global-approvers

.github/workflows/canary-deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,4 @@ jobs:
6060
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
6161
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
6262
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
63-
NPM_TOKEN_RXFIRE: ${{secrets.NPM_TOKEN_RXFIRE}}
6463
CI: true

.github/workflows/prerelease-manual-deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,5 @@ jobs:
6161
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
6262
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
6363
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
64-
NPM_TOKEN_RXFIRE: ${{secrets.NPM_TOKEN_RXFIRE}}
6564
CI: true
6665

.github/workflows/test-changed-misc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test rxFire and @firebase/rules-unit-testing
1+
name: Test @firebase/rules-unit-testing
22

33
on: pull_request
44

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
"performance"
2222
],
2323
"scripts": {
24-
"dev": "lerna run --parallel --scope @firebase/* --scope firebase --scope rxfire dev",
25-
"build": "lerna run --scope @firebase/app-exp build:deps && lerna run --scope @firebase/* --scope firebase --scope rxfire --ignore @firebase/app-exp build",
24+
"dev": "lerna run --parallel --scope @firebase/* --scope firebase dev",
25+
"build": "lerna run --scope @firebase/app-exp build:deps && lerna run --scope @firebase/* --scope firebase --ignore @firebase/app-exp build",
2626
"build:exp": "lerna run --scope @firebase/*-exp --scope @firebase/*-compat --scope firebase-exp build",
27-
"build:release": "lerna run --scope @firebase/app-exp build:deps && lerna run --scope @firebase/* --scope firebase --scope rxfire --ignore @firebase/*-exp --ignore @firebase/*-compat build",
27+
"build:release": "lerna run --scope @firebase/app-exp build:deps && lerna run --scope @firebase/* --scope firebase --ignore @firebase/*-exp --ignore @firebase/*-compat build",
2828
"build:changed": "ts-node-script scripts/ci-test/build_changed.ts",
29-
"link:packages": "lerna exec --scope @firebase/* --scope firebase --scope rxfire -- yarn link",
29+
"link:packages": "lerna exec --scope @firebase/* --scope firebase -- yarn link",
3030
"stage:packages": "./scripts/prepublish.sh",
3131
"repl": "node tools/repl.js",
3232
"release": "ts-node-script scripts/release/cli.ts",
@@ -46,8 +46,8 @@
4646
"docgen:node": "node scripts/docgen/generate-docs.js --api node",
4747
"docgen": "yarn docgen:js; yarn docgen:node",
4848
"prettier": "prettier --config .prettierrc --write '**/*.{ts,js}'",
49-
"lint": "lerna run --scope @firebase/* --scope rxfire lint",
50-
"lint:fix": "lerna run --scope @firebase/* --scope rxfire lint:fix",
49+
"lint": "lerna run --scope @firebase/* lint",
50+
"lint:fix": "lerna run --scope @firebase/* lint:fix",
5151
"size-report": "ts-node-script scripts/size_report/report_binary_size.ts",
5252
"modular-export-size-report": "ts-node-script scripts/size_report/report_modular_export_binary_size.ts",
5353
"api-report": "lerna run --scope @firebase/*-exp --scope @firebase/firestore --scope @firebase/storage --scope @firebase/storage-types --scope @firebase/database api-report",

packages/rules-unit-testing/src/api/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,9 @@ export function initializeAdminApp(options: AdminAppOptions): app.App {
263263
* @param options options object.
264264
*/
265265
export function useEmulators(options: FirebaseEmulatorOptions): void {
266-
if (!(options.database || options.firestore || options.storage || options.hub)) {
266+
if (
267+
!(options.database || options.firestore || options.storage || options.hub)
268+
) {
267269
throw new Error(
268270
"Argument to useEmulators must contain at least one of 'database', 'firestore', 'storage', or 'hub'."
269271
);
@@ -429,7 +431,7 @@ function getHubHost() {
429431
}
430432

431433
function parseHost(host: string): { hostname: string; port: number } {
432-
const withProtocol = host.startsWith("http") ? host : `http://${host}`;
434+
const withProtocol = host.startsWith('http') ? host : `http://${host}`;
433435
const u = new URL(withProtocol);
434436
return {
435437
hostname: u.hostname,

packages/rules-unit-testing/test/database.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ describe('Testing Module Tests', function () {
279279
// TODO: This test cannot be enabled without adding credentials to the test environment
280280
// due to an underlying issue with firebase-admin storage. For now we will run it
281281
// locally but not in CI.
282-
if (process.env.CI !== "true") {
282+
if (process.env.CI !== 'true') {
283283
await firebase.assertSucceeds(
284284
app.storage().bucket().file('/foo/bar.txt').save('Hello, World!')
285285
);

packages/rxfire/.eslintrc.js

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

packages/rxfire/.gitignore

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

packages/rxfire/CHANGELOG.md

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

0 commit comments

Comments
 (0)