-
Notifications
You must be signed in to change notification settings - Fork 949
Add exports to all packages #5646
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
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
e764198
exports for analytics
Feiyang1 1df7e70
support exports for app
Feiyang1 b2bfeed
support exports for app-check
Feiyang1 cfcc02f
add exports to auth
Feiyang1 53c0d7e
support exports for auth-compat
Feiyang1 dd0944b
add exports to component
Feiyang1 71f51aa
add exports to database packages
Feiyang1 148359f
exports for firestore
Feiyang1 dd2c116
add exports to functions
Feiyang1 e8a11df
add exports to installations
Feiyang1 27852a5
add exports to logger
Feiyang1 7f45f73
add exports to messaging
Feiyang1 feeaf5c
add exports to perf
Feiyang1 5b2704a
add exports to rc
Feiyang1 eef2591
add exports to storage
Feiyang1 ab3c117
update template
Feiyang1 08088bc
add exports to util
Feiyang1 4b055c4
add exports to webchannel
Feiyang1 99b1652
Merge branch 'master' into fei-exports
Feiyang1 b1c62e0
use default import to import cjs libs
Feiyang1 ed3ea37
make node code esm compatible
Feiyang1 0c67d3c
remove esm entrypoint for app in nodejs to mininize dual package hazard
Feiyang1 94401aa
reorganize builds by env
Feiyang1 aec1b9c
fix typo
Feiyang1 47078b0
format
Feiyang1 df8d284
remove esm entrypoint for nodejs for fcm
Feiyang1 6d9dd36
Merge branch 'master' into fei-exports
Feiyang1 bc4ed3a
expose package.json to nodejs
Feiyang1 68521bd
fix
Feiyang1 6a1c5e8
fix path in build
Feiyang1 4c591aa
simplify exports
Feiyang1 b2e9923
formatting
Feiyang1 01d4929
enable esModuleInterop
Feiyang1 c4a556e
use default import
Feiyang1 1ea90dc
use default import
Feiyang1 2abc5e8
remove esm support for Nodejs in messaging
Feiyang1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,16 @@ | |
"description": "", | ||
"author": "Firebase <[email protected]> (https://firebase.google.com/)", | ||
"main": "dist/index.cjs.js", | ||
"browser": "dist/index.esm2017.js", | ||
"module": "dist/index.esm2017.js", | ||
"browser": "dist/esm/index.esm2017.js", | ||
"module": "dist/esm/index.esm2017.js", | ||
"esm5": "dist/esm/index.esm.js", | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.cjs.js", | ||
"default": "./dist/esm/index.esm2017.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
|
@@ -54,6 +62,5 @@ | |
".ts" | ||
], | ||
"reportDir": "./coverage/node" | ||
}, | ||
"esm5": "dist/index.esm.js" | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,16 @@ | |
"description": "A analytics package for new firebase packages", | ||
"author": "Firebase <[email protected]> (https://firebase.google.com/)", | ||
"main": "dist/index.cjs.js", | ||
"browser": "dist/index.esm2017.js", | ||
"module": "dist/index.esm2017.js", | ||
"browser": "dist/esm/index.esm2017.js", | ||
"module": "dist/esm/index.esm2017.js", | ||
"esm5": "dist/esm/index.esm.js", | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.cjs.js", | ||
"default": "./dist/esm/index.esm2017.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
|
@@ -60,6 +68,5 @@ | |
".ts" | ||
], | ||
"reportDir": "./coverage/node" | ||
}, | ||
"esm5": "dist/index.esm.js" | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,16 @@ | |
"description": "A compat App Check package for new firebase packages", | ||
"author": "Firebase <[email protected]> (https://firebase.google.com/)", | ||
"main": "dist/index.cjs.js", | ||
"browser": "dist/index.esm2017.js", | ||
"module": "dist/index.esm2017.js", | ||
"browser": "dist/esm/index.esm2017.js", | ||
"module": "dist/esm/index.esm2017.js", | ||
"esm5": "dist/esm/index.esm.js", | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.cjs.js", | ||
"default": "./dist/esm/index.esm2017.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
|
@@ -55,6 +63,5 @@ | |
".ts" | ||
], | ||
"reportDir": "./coverage/node" | ||
}, | ||
"esm5": "dist/index.esm.js" | ||
} | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.