@@ -60,20 +60,33 @@ index 99d7f6d..3ea60ea 100755
60
60
))
61
61
62
62
return ts_providers_dict_to_struct(ts_providers)
63
+ diff --git a/node_modules/@angular/bazel/src/ng_package/packager.mjs b/node_modules/@angular/bazel/src/ng_package/packager.mjs
64
+ index 12d5f0c..8868e27 100755
65
+ --- a/node_modules/@angular/bazel/src/ng_package/packager.mjs
66
+ +++ b/node_modules/@angular/bazel/src/ng_package/packager.mjs
67
+ @@ -7,7 +7,7 @@
68
+ */
69
+ import * as fs from 'fs';
70
+ import * as path from 'path';
71
+ - import { analyzeFileAndEnsureNoCrossImports } from './cross_entry_points_imports';
72
+ + import { analyzeFileAndEnsureNoCrossImports } from './cross_entry_points_imports.mjs';
73
+ /**
74
+ * List of known `package.json` fields which provide information about
75
+ * supported package formats and their associated entry paths.
63
76
diff --git a/node_modules/@angular/bazel/src/ngc-wrapped/index.mjs b/node_modules/@angular/bazel/src/ngc-wrapped/index.mjs
64
- index 8681a4c..e3b497a 100755
77
+ index 09deff8..00d24be 100755
65
78
--- a/node_modules/@angular/bazel/src/ngc-wrapped/index.mjs
66
79
+++ b/node_modules/@angular/bazel/src/ngc-wrapped/index.mjs
67
- @@ -13,7 +13,7 @@ import * as fs from 'fs';
80
+ @@ -12,7 +12,7 @@ import tscw from '@bazel/concatjs/internal/tsc_wrapped/index.js';
81
+ import * as fs from 'fs';
68
82
import * as path from 'path';
69
- import * as tsickle from 'tsickle';
70
83
import ts from 'typescript';
71
84
- import { EXT, patchNgHostWithFileNameToModuleName as patchNgHost, relativeToRootDirs } from './utils';
72
85
+ import { EXT, patchNgHostWithFileNameToModuleName as patchNgHost, relativeToRootDirs } from './utils.mjs';
73
86
// FIXME: we should be able to add the assets to the tsconfig so FileLoader
74
87
// knows about them
75
88
const NGC_ASSETS = /\.(css|html)$/;
76
- @@ -351 ,6 +351 ,12 @@ function gatherDiagnosticsForInputsOnly(options, bazelOpts, ngProgram) {
89
+ @@ -348 ,6 +348 ,12 @@ function gatherDiagnosticsForInputsOnly(options, bazelOpts, ngProgram) {
77
90
}
78
91
return diagnostics;
79
92
}
@@ -87,7 +100,7 @@ index 8681a4c..e3b497a 100755
87
100
* @deprecated
88
101
* Kept here just for compatibility with 1P tools. To be removed soon after 1P update.
89
102
diff --git a/node_modules/@angular/bazel/src/ngc-wrapped/ngc-wrapped-main.mjs b/node_modules/@angular/bazel/src/ngc-wrapped/ngc-wrapped-main.mjs
90
- index 3649c11..0f4af3c 100755
103
+ index ccf82d2..daaa783 100755
91
104
--- a/node_modules/@angular/bazel/src/ngc-wrapped/ngc-wrapped-main.mjs
92
105
+++ b/node_modules/@angular/bazel/src/ngc-wrapped/ngc-wrapped-main.mjs
93
106
@@ -5,7 +5,7 @@
@@ -96,6 +109,6 @@ index 3649c11..0f4af3c 100755
96
109
*/
97
110
- import { main } from './index';
98
111
+ import { main } from './index.mjs';
99
- main(process.argv.slice(2)).then(exitCode => process.exitCode = exitCode).catch(e => {
100
- console.error(e);
101
- process.exitCode = 1;
112
+ main(process.argv.slice(2))
113
+ .then((exitCode) => (process.exitCode = exitCode))
114
+ .catch((e) => {
0 commit comments