Skip to content

Commit 70f52c4

Browse files
authored
Repo refactoring for v9 (#5325)
* rename folders * rename folders * migrate app and app-compat * migrate installations and analytics * migrate app check * migrate auth * migrate functions * migrate messaging * migrate performance * migrate remoteconfig * remove v8 code * update versions * migrate firebase * fix merge issues * save * fix firebase builds * update changeset config * update build scripts * update release script * fix functions typings * remove redundant typings * update path * treat external dependencies correctly * fix lint * remove firestore-compat references * fix build issues * update build scripts * update pkg json * fix test * fix some tests * fix some tests * fix integration tests * fixes * fix dep * update ci tests * resolve todos * remove exp references * docgen build
1 parent 5c0662e commit 70f52c4

File tree

1,385 files changed

+6738
-164178
lines changed

Some content is hidden

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

1,385 files changed

+6738
-164178
lines changed

.changeset/config.json

+2-20
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,9 @@
1515
"firebase-messaging-integration-test",
1616
"firebase-compat-interop-test",
1717
"firebase-compat-typings-test",
18-
"@firebase/app-compat",
19-
"@firebase/app-exp",
20-
"@firebase/app-check-compat",
21-
"@firebase/app-check-exp",
22-
"@firebase/analytics-compat",
23-
"@firebase/analytics-exp",
24-
"@firebase/auth-exp",
25-
"@firebase/auth-compat",
26-
"@firebase/functions-compat",
27-
"@firebase/functions-exp",
28-
"@firebase/installations-exp",
29-
"@firebase/installations-compat",
30-
"@firebase/messaging-exp",
31-
"@firebase/messaging-compat",
32-
"@firebase/performance-exp",
33-
"@firebase/performance-compat",
34-
"@firebase/remote-config-exp",
35-
"@firebase/remote-config-compat",
36-
"firebase-exp",
3718
"@firebase/changelog-generator",
38-
"firebase-size-analysis"
19+
"firebase-size-analysis",
20+
"@firebase/rules-unit-testing"
3921
],
4022
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
4123
"onlyUpdatePeerDependentsWhenOutOfRange": true,

.github/CODEOWNERS

+20-21
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
# Database Code
3737
packages/database @schmidt-sebastian @jsdt @firebase/jssdk-global-approvers
38+
packages/database-compat @schmidt-sebastian @jsdt @firebase/jssdk-global-approvers
3839
packages/database-types @schmidt-sebastian @jsdt @firebase/jssdk-global-approvers
3940

4041
# Firestore Code
@@ -45,56 +46,54 @@ integration/firestore @firebase/firestore-js-team @firebase/jssdk-global-approv
4546

4647
# Storage Code
4748
packages/storage @schmidt-sebastian @firebase/jssdk-global-approvers
49+
packages/storage-compat @schmidt-sebastian @firebase/jssdk-global-approvers
4850
packages/storage-types @schmidt-sebastian @firebase/jssdk-global-approvers
4951

5052
# Messaging Code
5153
packages/messaging @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
54+
packages/messaging-compat @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
5255
packages/messaging-types @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
56+
packages/messaging-interop-types @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
5357
integration/messaging @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
5458

5559
# Auth Code
5660
packages/auth @bojeil-google @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
61+
packages/auth-compat @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
5762
packages/auth-types @bojeil-google @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
63+
packages/auth-interop-types @bojeil-google @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
5864

5965
# Testing Code
60-
packages/testing @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
6166
packages/rules-unit-testing @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
6267

6368
# Installations
64-
packages/installations @andirayo @ChaoqunCHEN @firebase/jssdk-global-approvers
65-
packages/installations-types @andirayo @ChaoqunCHEN @firebase/jssdk-global-approvers
69+
packages/installations @avolkovi @yoyomyo @firebase/jssdk-global-approvers
70+
packages/installations-compat @avolkovi @yoyomyo @firebase/jssdk-global-approvers
71+
packages/installations-types @avolkovi @yoyomyo @firebase/jssdk-global-approvers
6672

6773
# Performance Code
68-
packages/performance @alikn @zijianjoy @firebase/jssdk-global-approvers
69-
packages/performance-types @alikn @zijianjoy @firebase/jssdk-global-approvers
74+
packages/performance @jposuna @firebase/jssdk-global-approvers
75+
packages/performance-compat @jposuna @firebase/jssdk-global-approvers
76+
packages/performance-types @jposuna @firebase/jssdk-global-approvers
7077

7178
# Analytics Code
7279
packages/analytics @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
80+
packages/analytics-compat @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
7381
packages/analytics-types @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
7482

7583
# Remote Config Code
7684
packages/remote-config @erikeldridge @firebase/jssdk-global-approvers
85+
packages/remote-config-compat @erikeldridge @firebase/jssdk-global-approvers
7786
packages/remote-config-types @erikeldridge @firebase/jssdk-global-approvers
7887

88+
# App Check Code
89+
packages/app-check @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
90+
packages/app-check-compat @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
91+
packages/app-check-types @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
92+
packages/app-check-interop-types @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
93+
7994
# Documentation Changes
8095
packages/firebase/index.d.ts @egilmorez @firebase/jssdk-global-approvers
8196
scripts/docgen/content-sources/ @egilmorez @firebase/jssdk-global-approvers
8297

8398
# Changeset
8499
.changeset @egilmorez @firebase/jssdk-changeset-approvers @firebase/firestore-js-team @firebase/jssdk-global-approvers
85-
86-
# Auth-Exp Code
87-
packages-exp/auth-exp @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
88-
packages-exp/auth-compat-exp @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
89-
90-
# Installations-Exp Code
91-
packages/installations-exp @avolkovi @yoyomyo @firebase/jssdk-global-approvers
92-
packages/installations-types-exp @avolkovi @yoyomyo @firebase/jssdk-global-approvers
93-
94-
# Perf-Exp Code
95-
packages/performance-exp @alikn @zijianjoy @firebase/jssdk-global-approvers
96-
packages/performance-types-exp @alikn @zijianjoy @firebase/jssdk-global-approvers
97-
98-
# RC-Exp Code
99-
packages/remote-config-exp @erikeldridge @firebase/jssdk-global-approvers
100-
packages/remote-config-compat @erikeldridge @firebase/jssdk-global-approvers

.github/workflows/test-changed-fcm-integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
cp config/ci.config.json config/project.json
2929
yarn
3030
- name: build
31-
run: yarn build:changed fcm-integration --buildAppExp
31+
run: yarn build:changed fcm-integration
3232
- name: Run tests if FCM or its dependencies has changed
3333
run: xvfb-run yarn test:changed fcm-integration

.github/workflows/test-changed-firestore-integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
cp config/ci.config.json config/project.json
2929
yarn
3030
- name: build
31-
run: yarn build:changed firestore-integration --buildAppExp --buildAppCompat
31+
run: yarn build:changed firestore-integration
3232
- name: Run tests if firestore or its dependencies has changed
3333
run: yarn test:changed firestore-integration

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
cp config/ci.config.json config/project.json
2929
yarn
3030
- name: build
31-
run: yarn build:changed firestore --buildAppExp --buildAppCompat
31+
run: yarn build:changed firestore
3232
- name: Run tests if firestore or its dependencies has changed
3333
run: yarn test:changed firestore

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
cp config/ci.config.json config/project.json
2929
yarn
3030
- name: build
31-
run: yarn build:changed misc --buildAppExp
31+
run: yarn build:changed misc
3232
- name: Run tests
3333
run: yarn test:changed misc

.github/workflows/test-changed.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
cp config/ci.config.json config/project.json
2929
yarn
3030
- name: build
31-
run: yarn build:changed core --buildAppExp
31+
run: yarn build:changed core
3232
- name: Run tests on changed packages
3333
run: xvfb-run yarn test:changed core

.github/workflows/test-firebase-integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
cp config/ci.config.json config/project.json
2929
yarn
3030
- name: build
31-
run: yarn build:changed firebase-integration --buildAppExp
31+
run: yarn build:changed firebase-integration
3232
- name: Run tests on changed packages
3333
run: yarn test:changed firebase-integration

.github/workflows/update-api-reports.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
- name: Yarn install
2222
run: yarn
2323
- name: Update API reports
24-
run: yarn ts-node-script scripts/exp/update-api-reports.ts
24+
# API reports are generated as part of the build
25+
run: yarn build
2526
id: update-api-reports
2627
- name: Commit & Push changes
2728
uses: EndBug/add-and-commit@v7

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,8 @@ package-lock.json
8484

8585
# temp folder used by api-extractor
8686
temp
87-
packages-exp/**/temp
8887

8988
# temp markdowns generated for individual SDKs
90-
packages-exp/**/docs
9189
packages/**/docs
9290

9391
# files generated by api-extractor that should not be tracked

0 commit comments

Comments
 (0)