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

[FEATURE] manifest.json: Auto-fill supportedLocales #617

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

flovogt
Copy link
Member

@flovogt flovogt commented Nov 20, 2023

d3xter666
d3xter666 previously approved these changes Jan 23, 2024
@d3xter666 d3xter666 dismissed their stale review January 23, 2024 08:39

failing tests

Copy link
Contributor

@d3xter666 d3xter666 left a comment

Choose a reason for hiding this comment

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

LGTM

if (rManifest.test(resourcePath)) {
// Special handling for manifest.json file by adding additional content to the served manifest.json
const {default: manifestEnricher} = await import("@ui5/builder/processors/manifestEnricher");
await manifestEnricher({
Copy link
Member

Choose a reason for hiding this comment

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

The processor modifies the resource (via setString), which can cause some inconsistent behaviour during development regarding caching, so we might need to disable etag caching for manifest.json. I need to check this again to understand when it exactly happens..

lib/middleware/serveResources.js Outdated Show resolved Hide resolved
Copy link
Member

@matz3 matz3 left a comment

Choose a reason for hiding this comment

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

LGTM

@flovogt flovogt force-pushed the manifest-transformer branch 3 times, most recently from ac1bb85 to afc2fde Compare May 27, 2024 12:47
@flovogt flovogt force-pushed the manifest-transformer branch 2 times, most recently from 5808b24 to f8621a3 Compare May 27, 2024 14:34
flovogt added a commit to SAP/ui5-project that referenced this pull request Jul 12, 2024
@flovogt flovogt merged commit a39c8de into main Jul 12, 2024
6 of 16 checks passed
@flovogt flovogt deleted the manifest-transformer branch July 12, 2024 13:59
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.

4 participants