Skip to content

Commit

Permalink
Repo refactoring for v9 (#5325)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Feiyang1 committed Aug 24, 2021
1 parent 1a3dd6f commit 5f02254
Show file tree
Hide file tree
Showing 1,385 changed files with 6,738 additions and 164,178 deletions.
22 changes: 2 additions & 20 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,9 @@
"firebase-messaging-integration-test",
"firebase-compat-interop-test",
"firebase-compat-typings-test",
"@firebase/app-compat",
"@firebase/app-exp",
"@firebase/app-check-compat",
"@firebase/app-check-exp",
"@firebase/analytics-compat",
"@firebase/analytics-exp",
"@firebase/auth-exp",
"@firebase/auth-compat",
"@firebase/functions-compat",
"@firebase/functions-exp",
"@firebase/installations-exp",
"@firebase/installations-compat",
"@firebase/messaging-exp",
"@firebase/messaging-compat",
"@firebase/performance-exp",
"@firebase/performance-compat",
"@firebase/remote-config-exp",
"@firebase/remote-config-compat",
"firebase-exp",
"@firebase/changelog-generator",
"firebase-size-analysis"
"firebase-size-analysis",
"@firebase/rules-unit-testing"
],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true,
Expand Down
41 changes: 20 additions & 21 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

# Database Code
packages/database @schmidt-sebastian @jsdt @firebase/jssdk-global-approvers
packages/database-compat @schmidt-sebastian @jsdt @firebase/jssdk-global-approvers
packages/database-types @schmidt-sebastian @jsdt @firebase/jssdk-global-approvers

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

# Storage Code
packages/storage @schmidt-sebastian @firebase/jssdk-global-approvers
packages/storage-compat @schmidt-sebastian @firebase/jssdk-global-approvers
packages/storage-types @schmidt-sebastian @firebase/jssdk-global-approvers

# Messaging Code
packages/messaging @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
packages/messaging-compat @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
packages/messaging-types @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
packages/messaging-interop-types @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
integration/messaging @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers

# Auth Code
packages/auth @bojeil-google @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
packages/auth-compat @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
packages/auth-types @bojeil-google @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
packages/auth-interop-types @bojeil-google @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers

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

# Installations
packages/installations @andirayo @ChaoqunCHEN @firebase/jssdk-global-approvers
packages/installations-types @andirayo @ChaoqunCHEN @firebase/jssdk-global-approvers
packages/installations @avolkovi @yoyomyo @firebase/jssdk-global-approvers
packages/installations-compat @avolkovi @yoyomyo @firebase/jssdk-global-approvers
packages/installations-types @avolkovi @yoyomyo @firebase/jssdk-global-approvers

# Performance Code
packages/performance @alikn @zijianjoy @firebase/jssdk-global-approvers
packages/performance-types @alikn @zijianjoy @firebase/jssdk-global-approvers
packages/performance @jposuna @firebase/jssdk-global-approvers
packages/performance-compat @jposuna @firebase/jssdk-global-approvers
packages/performance-types @jposuna @firebase/jssdk-global-approvers

# Analytics Code
packages/analytics @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
packages/analytics-compat @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
packages/analytics-types @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers

# Remote Config Code
packages/remote-config @erikeldridge @firebase/jssdk-global-approvers
packages/remote-config-compat @erikeldridge @firebase/jssdk-global-approvers
packages/remote-config-types @erikeldridge @firebase/jssdk-global-approvers

# App Check Code
packages/app-check @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
packages/app-check-compat @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
packages/app-check-types @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
packages/app-check-interop-types @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers

# Documentation Changes
packages/firebase/index.d.ts @egilmorez @firebase/jssdk-global-approvers
scripts/docgen/content-sources/ @egilmorez @firebase/jssdk-global-approvers

# Changeset
.changeset @egilmorez @firebase/jssdk-changeset-approvers @firebase/firestore-js-team @firebase/jssdk-global-approvers

# Auth-Exp Code
packages-exp/auth-exp @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
packages-exp/auth-compat-exp @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers

# Installations-Exp Code
packages/installations-exp @avolkovi @yoyomyo @firebase/jssdk-global-approvers
packages/installations-types-exp @avolkovi @yoyomyo @firebase/jssdk-global-approvers

# Perf-Exp Code
packages/performance-exp @alikn @zijianjoy @firebase/jssdk-global-approvers
packages/performance-types-exp @alikn @zijianjoy @firebase/jssdk-global-approvers

# RC-Exp Code
packages/remote-config-exp @erikeldridge @firebase/jssdk-global-approvers
packages/remote-config-compat @erikeldridge @firebase/jssdk-global-approvers
2 changes: 1 addition & 1 deletion .github/workflows/test-changed-fcm-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
cp config/ci.config.json config/project.json
yarn
- name: build
run: yarn build:changed fcm-integration --buildAppExp
run: yarn build:changed fcm-integration
- name: Run tests if FCM or its dependencies has changed
run: xvfb-run yarn test:changed fcm-integration
2 changes: 1 addition & 1 deletion .github/workflows/test-changed-firestore-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
cp config/ci.config.json config/project.json
yarn
- name: build
run: yarn build:changed firestore-integration --buildAppExp --buildAppCompat
run: yarn build:changed firestore-integration
- name: Run tests if firestore or its dependencies has changed
run: yarn test:changed firestore-integration
2 changes: 1 addition & 1 deletion .github/workflows/test-changed-firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
cp config/ci.config.json config/project.json
yarn
- name: build
run: yarn build:changed firestore --buildAppExp --buildAppCompat
run: yarn build:changed firestore
- name: Run tests if firestore or its dependencies has changed
run: yarn test:changed firestore
2 changes: 1 addition & 1 deletion .github/workflows/test-changed-misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
cp config/ci.config.json config/project.json
yarn
- name: build
run: yarn build:changed misc --buildAppExp
run: yarn build:changed misc
- name: Run tests
run: yarn test:changed misc
2 changes: 1 addition & 1 deletion .github/workflows/test-changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
cp config/ci.config.json config/project.json
yarn
- name: build
run: yarn build:changed core --buildAppExp
run: yarn build:changed core
- name: Run tests on changed packages
run: xvfb-run yarn test:changed core
2 changes: 1 addition & 1 deletion .github/workflows/test-firebase-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
cp config/ci.config.json config/project.json
yarn
- name: build
run: yarn build:changed firebase-integration --buildAppExp
run: yarn build:changed firebase-integration
- name: Run tests on changed packages
run: yarn test:changed firebase-integration
3 changes: 2 additions & 1 deletion .github/workflows/update-api-reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
- name: Yarn install
run: yarn
- name: Update API reports
run: yarn ts-node-script scripts/exp/update-api-reports.ts
# API reports are generated as part of the build
run: yarn build
id: update-api-reports
- name: Commit & Push changes
uses: EndBug/add-and-commit@v7
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,8 @@ package-lock.json

# temp folder used by api-extractor
temp
packages-exp/**/temp

# temp markdowns generated for individual SDKs
packages-exp/**/docs
packages/**/docs

# files generated by api-extractor that should not be tracked
Expand Down
Loading

0 comments on commit 5f02254

Please sign in to comment.