Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Dec 2, 2025

This commit refactors the scripts/templates.mts file with several improvements:

  • Uses a native ESM import for @angular/ng-dev.
  • Replaces all synchronous fs calls with their fs.promises counterparts.
  • Optimizes file reading by using Promise.all to read files concurrently.

This commit refactors the `scripts/templates.mts` file with several improvements:
- Uses a native ESM import for `@angular/ng-dev`.
- Replaces all synchronous `fs` calls with their `fs.promises` counterparts.
- Optimizes file reading by using `Promise.all` to read files concurrently.
@clydin clydin added the target: minor This PR is targeted for the next minor release label Dec 2, 2025
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Dec 2, 2025
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Dec 2, 2025
@clydin clydin added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 2, 2025
@clydin clydin merged commit 5465262 into angular:main Dec 2, 2025
38 checks passed
@clydin
Copy link
Member Author

clydin commented Dec 2, 2025

This PR was merged into the repository. The changes were merged into the following branches:

@clydin clydin deleted the build/template-script-update branch December 2, 2025 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants