-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: make scripts for compatibility with Node.js 18.20+
This commit enhances the ng-dev and other local scripts to ensure compatibility with Node.js 18.20+. This adjustment is essential for releasing this branch, as it would otherwise lack compatibility with that version. (cherry picked from commit 416d440)
- Loading branch information
1 parent
499f09a
commit 0227bcb
Showing
6 changed files
with
268 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
tools/npm-patches/@angular+ng-dev+0.0.0-f959638f1a866fca0d805013be3312e820b9183e.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/@angular/ng-dev/bundles/chunk-K6WKGSNA.mjs b/node_modules/@angular/ng-dev/bundles/chunk-K6WKGSNA.mjs | ||
index 4fdcf37..76cbc46 100755 | ||
--- a/node_modules/@angular/ng-dev/bundles/chunk-K6WKGSNA.mjs | ||
+++ b/node_modules/@angular/ng-dev/bundles/chunk-K6WKGSNA.mjs | ||
@@ -820,7 +820,7 @@ function getCachedConfig() { | ||
} | ||
|
||
// bazel-out/k8-fastbuild/bin/ng-dev/utils/config.js | ||
-var CONFIG_FILE_PATH = ".ng-dev/config.mjs"; | ||
+var CONFIG_FILE_PATH = ".ng-dev/config.mts"; | ||
var USER_CONFIG_FILE_PATH = ".ng-dev.user"; | ||
var userConfig = null; | ||
var setConfig = setCachedConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.