Skip to content

Conversation

@printminion-co
Copy link
Contributor

… task

in order to be able to rebuild only custom npm packages

@printminion-co printminion-co requested a review from Copilot August 6, 2025 14:58
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the Makefile build process by extracting custom npm package builds into a separate target called build_custom_npms. This allows developers to rebuild only the custom npm packages without rebuilding the entire Nextcloud application.

Key changes:

  • Extracted custom npm package builds into a dedicated build_custom_npms target
  • Updated build dependencies to use the new target
  • Removed redundant .remove_node_modules dependency from build_locally

@printminion-co printminion-co force-pushed the mk/dev/extract_custom_npm_build branch from df7bc2b to b915439 Compare August 8, 2025 08:49
- Change 'patch_shippend_json' to 'patch_shipped_json'
- Ensures proper phony target declaration

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
… target

- Add all missing targets to .PHONY declaration for proper phony behavior
- Add comprehensive 'clean' target that removes build artifacts
- Keep original .remove_node_modules target for backward compatibility

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
- Split .PHONY declarations into logical groups with descriptive comments
- Groups: core targets, NPM packages, main build, applications, themes, config/packaging, meta targets
- Improves readability and maintainability of the Makefile

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
…ronment variables

- Add comment explaining TARGET_PACKAGE_NAME variable purpose
- Document required FONTAWESOME_PACKAGE_TOKEN environment variable
- Improves developer onboarding and reduces setup confusion

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
@printminion-co printminion-co force-pushed the mk/dev/extract_custom_npm_build branch from b915439 to 4d16659 Compare August 8, 2025 09:11
… task

in order to be able to rebuild only custom npm packages

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
in order to rebuild without rebuilding custom npm packages

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Reintroduce the help target in the Makefile to provide usage instructions for available make commands.

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
@printminion-co printminion-co force-pushed the mk/dev/extract_custom_npm_build branch from 4d16659 to 275a984 Compare August 8, 2025 09:43
@printminion-co printminion-co requested a review from Copilot August 8, 2025 09:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Updated the Makefile to suppress echo output for build messages by adding '@' before the echo commands. This change improves the output readability during the build process.

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
This change introduces a check for the FONTAWESOME_PACKAGE_TOKEN environment variable before building custom npm packages, ensuring that the necessary token is set to avoid build failures.

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Enhance the Makefile by adding echo statements to provide feedback during the build process, including cleaning artifacts, building packages, and generating version files.

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Enhance visibility of build process by adding informative prefix to echo statements in the Makefile.

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
@printminion-co printminion-co force-pushed the mk/dev/extract_custom_npm_build branch from 3b28340 to a9b4da3 Compare August 8, 2025 13:29
@printminion-co printminion-co merged commit 2eab73d into master Aug 11, 2025
7 checks passed
@printminion-co printminion-co deleted the mk/dev/extract_custom_npm_build branch August 11, 2025 09:22
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.

2 participants