-
Notifications
You must be signed in to change notification settings - Fork 145
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
[App Extensibility ⚙️] Remove Name Spacing from Store Locator Extension #2152
[App Extensibility ⚙️] Remove Name Spacing from Store Locator Extension #2152
Conversation
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.
'[extension-store-locator] Missing supportedCountries, this extension will not work.' |
Nit update the console.log message to extension-chakra-store-locator
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.
Also, in this file, there are imports that need to be fixed. That's why if typescript-minimal uses the store-locator extension, the project will not load and it returns a ModuleNotFound error.
@@ -43,7 +43,7 @@ The Store Locator extension is configured via the `mobify.app.extensions` proper | |||
"app": { | |||
"extensions": [ | |||
[ | |||
"@salesforce/extension-store-locator", | |||
"@salesforce/extension-chakra-store-locator", |
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.
Near the bottom of this readme, there are file paths that need to be updated too.
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.
Also, in this file, there are imports that need to be fixed. That's why if typescript-minimal uses the store-locator extension, the project will not load and it returns a ModuleNotFound error.
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.
👍 Store locator extension is now loading as expected.
Description
This PR removes the opinionated name spacing in the store-locator extension project. This name spacing was used to prevent possible unexpected override collisions. But this wasn't a good solution because it relies on the extension developer to name their files and folders in a certain way. We are instead going to change how the
buildCandidatePaths
resolver util works so that the name spacing occurs there, this means the extension developer won't have any need to name their folders with prefixes to prevent collisions, it will be resolved internally.Related PR #2154