Skip to content

[App Extensibility] Sync with latest develop branch (@W-18121817@)#2377

Merged
vmarta merged 21 commits intofeature/extensibility-v2from
vm/sync-extensibility-with-latest-develop
May 1, 2025
Merged

[App Extensibility] Sync with latest develop branch (@W-18121817@)#2377
vmarta merged 21 commits intofeature/extensibility-v2from
vm/sync-extensibility-with-latest-develop

Conversation

@vmarta
Copy link
Contributor

@vmarta vmarta commented Apr 25, 2025

Merging in the latest changes from develop branch. Just a few commits:

alexvuong and others added 4 commits March 20, 2025 10:19
* fix basket loading after logging out
* Update nanoid dependency

* Override path-to-regexp version

* Update CHANGELOG.md

* Apply snyk version bumps

* Update changelogs

* Update CHANGELOG.md

* Update changelogs
@cc-prodsec
Copy link
Collaborator

cc-prodsec commented Apr 25, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@vmarta vmarta marked this pull request as ready for review April 25, 2025 21:06
@vmarta vmarta requested a review from a team as a code owner April 25, 2025 21:06
alexvuong and others added 4 commits April 25, 2025 14:43
* Allow custom parameters to SLAS authorize calls

* Update CHANGELOG.md

* Move extractCustomParameters to utils

* Use options and body instead of parameters for consistency

* Ensure only custom parameters are set from register to login

* Don't send custom params to shopperCustomer register

* Allow custom params to be set via login.mutateAsync

* Update tests using ShopperCustomers

* Apply feedback

* Add comments

* Lint
Their latest 1.1.0 release that's out today was causing an error with building our pwa-kit project.
Copy link
Contributor

@vcua-mobify vcua-mobify left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 as the builds are now passing.

Also, there's a new PR from last week that we might want to add either as part of this or in a follow up: 76fc5b0

@vmarta vmarta force-pushed the vm/sync-extensibility-with-latest-develop branch from c3b630a to dc26b6e Compare April 30, 2025 00:07
@vmarta vmarta force-pushed the vm/sync-extensibility-with-latest-develop branch from 52894c8 to 91f5c62 Compare May 1, 2025 05:59
sh.cp('-rf', p.join(appExtensionTmpPath, '.*'), appExtensionDestDir)
// Copy regular files
sh.cp('-rf', p.join(appExtensionTmpPath, '*'), appExtensionDestDir)
copyAllFiles(appExtensionTmpPath, appExtensionDestDir)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in this file are new.. they're not from the develop branch. They fix the failing project generation on windows machine.

Otherwise, you would see an error like this:

Arc 2025-04-30 at 22 39 09

Copy link
Contributor

@vcua-mobify vcua-mobify May 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add this change and the ones you've noted below back to the develop branch afterward?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vcua-mobify Good question. Fortunately we don't need to bring those changes back to develop. They're only needed for the extensibility branch as the issue is newly introduced there.


// Copy the base template either from the package or npm.
sh.cp('-rf', p.join(packagePath, '{*,.*}'), outputDir)
copyAllFiles(packagePath, outputDir)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A similar problem here on Windows machine. The error looks like this:

Arc 2025-04-30 at 22 17 40

* @param {*} answers
* @param {*} param2
*/
const runGenerator = async (
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to have async here actually.

In fact, it was causing a weird issue where an error was not surfaced. An error inside the runGenerator function was strangely not caught at the end (see line 1314).

So it looked as if everything was fine, and a successful message was printed out. This is probably why the failing project generation on Windows machine was not noticed until now.

@vcua-mobify
Copy link
Contributor

Just noting that it looks like this PR also contains #2375

Could you update the pwa-kit-create-app changelog @vmarta to note the new changes?
Also, there's no changelog yet for extension-chakra-storefront

@vmarta vmarta merged commit 516fe84 into feature/extensibility-v2 May 1, 2025
33 checks passed
@vmarta vmarta deleted the vm/sync-extensibility-with-latest-develop branch May 1, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants