Skip to content

Conversation

@tristanpoland
Copy link

This pull request introduces several improvements to cross-platform script execution and developer tooling, mainly by replacing fragile shell-based workarounds with a more robust Node.js wrapper, and by adding a new, user-friendly justfile build system. It also enhances diagnostics for the entity catalog in the Angular app and introduces a dedicated script for building custom Angular builders.

Cross-platform script execution improvements:

  • Introduced a new Node.js script runner build/run-script-cjs.cjs to replace previous shell-based renaming and execution of .js/.cjs scripts, ensuring compatibility across platforms and simplifying script invocation in package.json, angular.json, and build/post-setup.cjs. [1] [2] [3] [4] [5]
  • Updated all relevant npm scripts and Angular prebuild scripts to use the new runner for scripts like clean-symlinks, store-git-metadata, dev-setup, and prepare-backend. [1] [2] [3]

Developer tooling and build system:

  • Added a new justfile providing a cross-platform, PowerShell-friendly build and development workflow with clear targets for setup, building, testing, security, release management, and cleanup. This enhances onboarding and daily developer experience, especially on Windows.
  • Replaced the shell-based build-builders npm script with a new cross-platform Node.js script build/build-builders.cjs to build and copy custom Angular builders, improving reliability and maintainability. [1] [2]

Debugging and diagnostics:

  • Added detailed entity catalog diagnostics to the Angular app's AppComponent initialization to help debug issues with fresh clones or entity registration, including logging of registered endpoints, entities, and endpoint types. [1] [2]

Note

This should not break the make build system in any way. just was added because it has better cross platform performance consistency.

Introduced git-routing.module.ts to the git package and updated public_api.ts to export the new module. This enables routing functionality for the git package.
Converted build scripts from CommonJS to ES module syntax, updating imports/exports and direct execution checks. Also added 'routingModule' to the git package.json for improved module configuration.
Introduces the ability to specify command-line arguments for build tools in the orchestrator. Updates SASS Resolver and Index Transformer tool definitions to include relevant args and modifies tool execution logic to pass these arguments.
Introduces a function to build custom Angular builders during post-install setup. Also updates .gitignore to exclude the builders' dist directory.
Introduces debug logging in AppComponent and EndpointRegisterModalComponent to help diagnose issues with entity catalog and endpoint registration tiles. Also updates index.html to use static metadata values and replaces template placeholders with actual values.
Introduced build/run-script-cjs.cjs for cross-platform execution of scripts requiring .cjs extension. Updated package.json, angular.json, and build/post-setup.cjs to use this runner, replacing previous shell-based renaming logic. Added build/build-builders.cjs for building Angular builders in a cross-platform way. Added a justfile for unified build/dev commands. Improved devkit build to ensure package.json uses commonjs type. These changes improve Windows compatibility and streamline build tooling.
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Dec 18, 2025

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: tristanpoland / name: Tristan Poland (Trident_For_U) (6002df6, cc9d170)

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.

1 participant