-
Notifications
You must be signed in to change notification settings - Fork 142
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
@W-16442332@ Add support for environment level base path (the base path for /mobify routes) #1970
Merged
Merged
Changes from 40 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
f4f4207
Groundwork for configuring the base path for /mobify routes
vcua-mobify a84ca50
Groundwork for local dev server basepaths
vcua-mobify 3da7260
Rename getNamespace
vcua-mobify e3c9529
Lint
vcua-mobify 4ee69de
Rename path getters
vcua-mobify f08d5ab
Add unit test
vcua-mobify c87f4d4
Fix runtime tests
vcua-mobify 2c8f932
Fix dev server test
vcua-mobify d4debd5
Fix for HMR to work with local dev server envBasePath
vcua-mobify eb6b2cd
getEnvBasePath log
vcua-mobify b5f98f4
Remove console.log
vcua-mobify c3175bd
Use let instead of const
vcua-mobify b443b33
Update app-config handlebars
vcua-mobify bff2cd4
Merge branch 'develop' into basePaths-impl
vcua-mobify 1d639c2
Update changelogs
vcua-mobify fc3e8b0
Improve test coverage
vcua-mobify afeed04
Adjust to fix a tests
vcua-mobify 7c1c48a
Adjust coverage threshold
vcua-mobify 549ca8d
Lint fixes for handlebars
vcua-mobify 1d96b0e
Another handlebar lint fix
vcua-mobify 4d8fc73
Update packages/pwa-kit-dev/src/ssr/server/build-dev-server.js
kevinxh d20e099
move logic to enableReactRefresh
kevinxh 25cccab
add deprecation warning
kevinxh 268f6d7
remove test code
kevinxh c9af5eb
fix client side getConfig from giving bad data
kevinxh a829dfb
Update packages/pwa-kit-runtime/src/utils/ssr-namespace-paths.js
kevinxh 1400175
strip away trailing slash
kevinxh 5183e01
refactor deprecated code
kevinxh 6f52df8
fix comment
kevinxh 802055d
update comment
kevinxh 5dd6dbe
update comment
kevinxh b75cc76
use logger
kevinxh 9eaa191
fix import statements
kevinxh 32fcd2f
fix lint
kevinxh 16e8835
remove unnecessary changes
kevinxh cf475d3
fix test
kevinxh f91b4ba
fix generator
kevinxh 4927f21
bump test coverage
kevinxh a442ddd
add more deprecation jsdoc
kevinxh b7e6339
fix lint
kevinxh ca4b260
revert getConfig changes
kevinxh 23c2151
Merge branch 'develop' into basePaths-impl
kevinxh 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 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 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 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 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 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 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 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 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.
This file contains 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 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 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.
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.
If I was a partner dev and I saw this line of code I would probably be quite confused. Since we are giving people this file, this code is theirs and they should probably be able to understand it.
Have you thought about either creating a new util called
getAppOriginWithBasePatth
or maybe modifying so we can optionally include the base path? likegetAppOrigin({includeBasePath: true})
Just a thought.
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's a good thought, but I think we may need to put more effort into this. I'd really love to get this merged soon and move on to the second part of this work...