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

fix(localization): path generated in the angular.json in case of monorepo #2378

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

kpanot
Copy link
Contributor

@kpanot kpanot commented Oct 31, 2024

Path generated in the angular.json in case of monorepo.

Proposed change

Related issues

- No issue associated -

@kpanot kpanot requested a review from a team as a code owner October 31, 2024 04:14
@github-actions github-actions bot added bug Something isn't working project:@o3r/localization labels Oct 31, 2024
@@ -98,12 +100,12 @@ export function updateLocalization(options: { projectName?: string | null | unde
locales: [
'en-GB'
],
assets: [`${mainAssetsFolder}/locales`],
outputPath: `${devResourcesFolder}/localizations`
assets: [`${projectBasePath}/${mainAssetsFolder}/locales`],
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't we add a test somewhere to be sure we will not remove that fix at some point ? or understand if we should supports both cases

Copy link
Contributor Author

@kpanot kpanot Oct 31, 2024

Choose a reason for hiding this comment

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

We do not have e2e for an application outside of the mono-repo.
I can add a UT only.

Edit: The UT of it would require too many changes (due embedded functions). I open the issue #2381 to follow it.

@kpanot kpanot enabled auto-merge October 31, 2024 09:05
@kpanot kpanot merged commit 4df55d5 into release/11.4.0-rc Oct 31, 2024
21 checks passed
@kpanot kpanot deleted the bugfix/localization-generator branch October 31, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working project:@o3r/localization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants