-
Notifications
You must be signed in to change notification settings - Fork 928
Separate memory build further. #4143
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
wu-hui
merged 5 commits into
wuandy/RollBundlesAsPatchedModule
from
wuandy/FixSebastiansSeparateMemoryBuild
Dec 3, 2020
Merged
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
b08248a
Split up firestore and firestore-memory build
schmidt-sebastian 27c397e
Fix sebstian's memory build my separating it further..
wu-hui 4499213
Merge branch 'wuandy/RollBundlesAsPatchedModule' into wuandy/FixSebas…
wu-hui c2c2d90
To mangle or not to mangle.
wu-hui 161e64a
Add the missing return!
wu-hui 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "@firebase/firestore/memory-bundle", | ||
"description": "Firestore bundle", | ||
"main": "../dist/memory/node-cjs/bundle.js", | ||
"main-esm2017": "../dist/memory/node-esm2017/bundle.js", | ||
"react-native": "../dist/memory/rn/bundle.js", | ||
"browser": "../dist/memory/esm5/bundle.js", | ||
"module": "../dist/memory/esm5/bundle.js", | ||
"esm2017": "../dist/memory/esm2017/bundle.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"name": "@firebase/firestore/memory", | ||
"description": "A memory-only build of the Cloud Firestore JS SDK.", | ||
"main": "../dist/node-cjs/memory.js", | ||
"main-esm2017": "../dist/node-esm2017/memory.js", | ||
"react-native": "../dist/rn/memory.js", | ||
"browser": "../dist/esm5/memory.js", | ||
"module": "../dist/esm5/memory.js", | ||
"esm2017": "../dist/esm2017/memory.js", | ||
"main": "../dist/memory/node-cjs/index.js", | ||
"main-esm2017": "../dist/memory/node-esm2017/index.js", | ||
"react-native": "../dist/memory/rn/index.js", | ||
"browser": "../dist/memory/esm5/index.js", | ||
"module": "../dist/memory/esm5/index.js", | ||
"esm2017": "../dist/memory/esm2017/index.js", | ||
"typings": "../dist/index.d.ts" | ||
} |
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be
@firebase/firestore/memory/bundle
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It cannot be done gracefully.
The reason is relative paths in
packages/firestore/memory-bundle/package.json
are interpreted in different context (in rollup or in Typescript import from packages/firebase/firestore/...) and therefore some of them need to be prefixed../..
and some of them just../
, which is confusing.