1
1
diff --git a/node_modules/@angular/bazel/src/ng_module/ng_module.bzl b/node_modules/@angular/bazel/src/ng_module/ng_module.bzl
2
- index 99d7f6d..3ea60ea 100755
2
+ index 5e82bcb..3c239f8 100755
3
3
--- a/node_modules/@angular/bazel/src/ng_module/ng_module.bzl
4
4
+++ b/node_modules/@angular/bazel/src/ng_module/ng_module.bzl
5
5
@@ -18,6 +18,7 @@ load(
@@ -22,7 +22,7 @@ index 99d7f6d..3ea60ea 100755
22
22
23
23
if not ctx.attr.type_check and ctx.attr.strict_templates:
24
24
fail("Cannot set type_check = False and strict_templates = True for ng_module()")
25
- @@ -359 ,11 +360 ,11 @@ def _compile_action(
25
+ @@ -355 ,11 +356 ,11 @@ def _compile_action(
26
26
27
27
def _prodmode_compile_action(ctx, inputs, outputs, tsconfig_file, node_opts):
28
28
outs = _expected_outs(ctx)
@@ -36,7 +36,7 @@ index 99d7f6d..3ea60ea 100755
36
36
_compile_action(ctx, inputs, compile_action_outputs, tsconfig_file, node_opts, "devmode")
37
37
38
38
# Note: We need to define `label` and `srcs_files` as `tsc_wrapped` passes
39
- @@ -417 ,9 +418 ,13 @@ def _ng_module_impl(ctx):
39
+ @@ -413 ,9 +414 ,13 @@ def _ng_module_impl(ctx):
40
40
# and issue https://github.com/bazelbuild/rules_nodejs/issues/57 for more details.
41
41
ts_providers["providers"].extend([
42
42
js_module_info(
@@ -51,7 +51,7 @@ index 99d7f6d..3ea60ea 100755
51
51
js_ecma_script_module_info(
52
52
sources = ts_providers["typescript"]["es6_sources"],
53
53
deps = ctx.attr.deps,
54
- @@ -435 ,7 +440 ,7 @@ def _ng_module_impl(ctx):
54
+ @@ -431 ,7 +436 ,7 @@ def _ng_module_impl(ctx):
55
55
package_name = ctx.attr.package_name,
56
56
package_path = ctx.attr.package_path,
57
57
path = path,
@@ -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 7184fd9..ef3e508 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 def2972..3de33ba 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
+ @@ -349 ,6 +349 ,12 @@ function gatherDiagnosticsForInputsOnly(options, bazelOpts, ngProgram) {
77
90
}
78
91
return diagnostics;
79
92
}
@@ -87,15 +100,15 @@ 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 8efba56..d420348 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 @@
94
107
* Use of this source code is governed by an MIT-style license that can be
95
- * found in the LICENSE file at https://angular.io /license
108
+ * found in the LICENSE file at https://angular.dev /license
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