Adding a justfile, cross platform build system #5249
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
justfilebuild 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:
build/run-script-cjs.cjsto replace previous shell-based renaming and execution of.js/.cjsscripts, ensuring compatibility across platforms and simplifying script invocation inpackage.json,angular.json, andbuild/post-setup.cjs. [1] [2] [3] [4] [5]clean-symlinks,store-git-metadata,dev-setup, andprepare-backend. [1] [2] [3]Developer tooling and build system:
justfileproviding 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.build-buildersnpm script with a new cross-platform Node.js scriptbuild/build-builders.cjsto build and copy custom Angular builders, improving reliability and maintainability. [1] [2]Debugging and diagnostics:
AppComponentinitialization 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
makebuild system in any way.justwas added because it has better cross platform performance consistency.