Skip to content

refactor: Integrate @ui5/project into the monorepo#1125

Merged
d3xter666 merged 1272 commits intomainfrom
integrate-ui5-project
Sep 26, 2025
Merged

refactor: Integrate @ui5/project into the monorepo#1125
d3xter666 merged 1272 commits intomainfrom
integrate-ui5-project

Conversation

@d3xter666
Copy link
Copy Markdown
Member

JIRA: CPOUI5FOUNDATION-975

d3xter666 and others added 30 commits October 20, 2023 11:11
…5-project#669)

Fixes: #887

ProjectBuilder was using a singleton of the logger module. Basically,
the logger was constructed only once, during module evaluation, but used
throughout the whole module.
The tricky part is that the `ProjectBuilder`'s logger has this
`setProjects()` method that acts as an allow list of the projects being
built. As the logger used to be a singleton within this module/class and
the async behaviour of the whole module, calling `setProject()` was
polluting the internal `projects` property.

With this fix, every `ProjectBuilder` instance has its own`BuildLogger`
instance that solves the issue.
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.8.1 to 4.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v3.8.1...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
The GitHub file finder feature assumes "build/" directories contain
generated code and therefore ignores them.

This change configures lib/build/* to not be treated as generated code.

Resources:
* https://github.blog/changelog/2022-07-28-file-finder-customize-default-exclusions/
* https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github

GitHub Support Ticket:  https://github.com/SAP/ui5-project/issues/2427846
SAP/ui5-project#677)

JIRA: CPOUI5FOUNDATION-751
\@ui5/builder PR that depends on this change:
SAP/ui5-builder#953

When cleaning up after tasks run, it can happen in couple cases:
- When the project is build
- When there's a SIGTERM signal
- (Maybe) on some error

We need to be able to distinguish between those cases as in some places
we rely on graceful termination and cleanup. Especially, after the
project has been build successfully. On the other hand when the user
presses `Ctrl + C`, for example, we need to enforce the termination.

This cahnge provides this context.

---------

Co-authored-by: Merlin Beutlberger <m.beutlberger@sap.com>
Co-authored-by: Günter Klatt <57760635+KlattG@users.noreply.github.com>
File finder still won't find files in lib/build/ dir, so GitHub support
suggested adding these lines for further investigation.

Follow up to SAP/ui5-project#679
GitHub Support Ticket:  https://github.com/SAP/ui5-project/issues/2427846
GitHub Support suggests to add this line since thir default
configuration uses the pattern "build/**" too.

Follow up to  SAP/ui5-project#680
GitHub Support Ticket:  https://github.com/SAP/ui5-project/issues/2427846
…roject#673)

This change provide a `ui5.yaml` schema definition for the following
feature: SAP/ui5-builder#951

JIRA: CPOUI5FOUNDATION-744
…t flat build output (SAP/ui5-project#624)

New option `outputStyle`. Whether to omit the `/resources/<namespace>`
directory structure in the build output.

Resolves #507

---------

Co-authored-by: Yavor Ivanov <yavor.ivanov@sap.com>
Co-authored-by: Yavor Ivanov <d3xter666@users.noreply.github.com>
Co-authored-by: Günter Klatt <57760635+KlattG@users.noreply.github.com>
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
matz3 and others added 20 commits August 10, 2025 02:20
JIRA: CPOUI5FOUNDATION-1098
…5-project#822)

- Do not request packages that are part of the test fixtures from npm,
but redirect them to void endpoint.
- Add scoping to the projects, so that they are requested only from
`@ui5` npm org that we can control.
Copy link
Copy Markdown
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.

It looks like the previously removed squash commit from logger is part of this PR:
73c1053
Is it possible to remove it?

@d3xter666 d3xter666 force-pushed the integrate-ui5-project branch from af8bb6b to 8f71ae6 Compare September 26, 2025 11:56
@d3xter666 d3xter666 requested a review from matz3 September 26, 2025 12:03
@d3xter666 d3xter666 merged commit 021991b into main Sep 26, 2025
8 checks passed
@d3xter666 d3xter666 deleted the integrate-ui5-project branch September 26, 2025 12:11
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