Skip to content
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

feat(fe-fpm-writer): reuse 'async getManifest' function and make API methods async #2367

Merged
merged 10 commits into from
Sep 16, 2024

Conversation

815are
Copy link
Contributor

@815are 815are commented Sep 13, 2024

follow up after -> #2348
where we started to use function getWebappPath from @sap-ux/project-access.
Such change required to make API methods async.

In this PR - I continued with all other API calls ->

  1. reusing getManifest or getManifestPath function;
  2. making involved API methods async

Addition change:

  1. @sap-ux/fiori-elements-writer -> call 'generateCustomPage' from 'fe-fpm-writer' as async function

reuse get manifest function and make api methods async
additional missed place
@815are 815are added the fe-fpm-writer @sap-ux/fe-fpm-writer label Sep 13, 2024
Copy link

changeset-bot bot commented Sep 13, 2024

🦋 Changeset detected

Latest commit: d421fa1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@sap-ux/fe-fpm-writer Minor
@sap-ux/fiori-elements-writer Patch
@sap-ux/fe-fpm-cli Patch
@sap-ux/generator-simple-fe Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@815are 815are changed the title feat(fe-fpm-writer): reuse get manifest function and make api methods async feat(fe-fpm-writer): reuse async getManifest function and make API methods async Sep 13, 2024
@815are 815are changed the title feat(fe-fpm-writer): reuse async getManifest function and make API methods async feat(fe-fpm-writer): reuse 'async getManifest' function and make API methods async Sep 13, 2024
@815are 815are force-pushed the feat/reuseGetManifestFunction branch from d73cf39 to 211d838 Compare September 13, 2024 13:34
Copy link

sonarcloud bot commented Sep 13, 2024

@815are 815are marked this pull request as ready for review September 13, 2024 13:47
@815are 815are requested review from a team as code owners September 13, 2024 13:47
Copy link
Member

@devinea devinea left a comment

Choose a reason for hiding this comment

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

Thanks @815are
Impact was bigger than expected. But changes look good.
Changeset ✅

Copy link
Contributor

@AlinaGovoruhina AlinaGovoruhina left a comment

Choose a reason for hiding this comment

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

Changes look good, unit tests updated

@815are 815are merged commit ddc2d84 into main Sep 16, 2024
13 checks passed
@815are 815are deleted the feat/reuseGetManifestFunction branch September 16, 2024 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fe-fpm-writer @sap-ux/fe-fpm-writer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants