@nx/angular-rspack-compiler 21.1.0 → 21.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compilation/build-and-analyze.d.ts +1 -1
- package/dist/compilation/build-and-analyze.d.ts.map +1 -1
- package/dist/compilation/setup-compilation.d.ts.map +1 -1
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +4 -4
- package/dist/utils/source-file-cache.d.ts +2 -2
- package/dist/utils/source-file-cache.d.ts.map +1 -1
- package/package.json +3 -3
- package/patch/patch-angular-build.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JavaScriptTransformer } from '@angular/build/
|
|
1
|
+
import { JavaScriptTransformer } from '@angular/build/private';
|
|
2
2
|
import { AngularCompilation } from '../models';
|
|
3
3
|
export declare function buildAndAnalyze(angularCompilation: AngularCompilation, typescriptFileCache: Map<string, string | Uint8Array>, javascriptTransformer: JavaScriptTransformer): Promise<void>;
|
|
4
4
|
//# sourceMappingURL=build-and-analyze.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-and-analyze.d.ts","sourceRoot":"","sources":["../../src/compilation/build-and-analyze.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"build-and-analyze.d.ts","sourceRoot":"","sources":["../../src/compilation/build-and-analyze.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,wBAAsB,eAAe,CACnC,kBAAkB,EAAE,kBAAkB,EACtC,mBAAmB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC,EACrD,qBAAqB,EAAE,qBAAqB,iBAgB7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-compilation.d.ts","sourceRoot":"","sources":["../../src/compilation/setup-compilation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,KAAK,IAAI,EAAE,MAAM,WAAW,CAAC;AAE5E,OAAO,EACL,0BAA0B,EAE3B,MAAM,gEAAgE,CAAC;AAIxE,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,OAAO,CAAC;IACb,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,gBAAgB,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IACzC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAAC,eAc5C,CAAC;AAEF,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,QAAQ,CAAC,EAC9C,OAAO,EAAE,uBAAuB;;;;GAiDjC;AAED,wBAAgB,cAAc,CAC5B,0BAA0B,EAAE,0BAA0B,
|
|
1
|
+
{"version":3,"file":"setup-compilation.d.ts","sourceRoot":"","sources":["../../src/compilation/setup-compilation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,KAAK,IAAI,EAAE,MAAM,WAAW,CAAC;AAE5E,OAAO,EACL,0BAA0B,EAE3B,MAAM,gEAAgE,CAAC;AAIxE,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,OAAO,CAAC;IACb,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,gBAAgB,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IACzC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAAC,eAc5C,CAAC;AAEF,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,QAAQ,CAAC,EAC9C,OAAO,EAAE,uBAAuB;;;;GAiDjC;AAED,wBAAgB,cAAc,CAC5B,0BAA0B,EAAE,0BAA0B,IAGpD,QAAQ,MAAM,EACd,gBAAgB,MAAM,EACtB,iBAAiB,MAAM,qBAgC1B"}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JavaScriptTransformer } from '@angular/build/
|
|
1
|
+
import { JavaScriptTransformer } from '@angular/build/private';
|
|
2
2
|
import { ParallelCompilation } from '@angular/build/src/tools/angular/compilation/parallel-compilation';
|
|
3
3
|
import { AotCompilation } from '@angular/build/src/tools/angular/compilation/aot-compilation';
|
|
4
4
|
import { JitCompilation } from '@angular/build/src/tools/angular/compilation/jit-compilation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAA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-2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DiagnosticModes = exports.AngularCompilation = exports.JitCompilation = exports.AotCompilation = exports.SourceFileCache = exports.JavaScriptTransformer = exports.ParallelCompilation = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const
|
|
6
|
-
Object.defineProperty(exports, "JavaScriptTransformer", { enumerable: true, get: function () { return
|
|
5
|
+
const private_1 = require("@angular/build/private");
|
|
6
|
+
Object.defineProperty(exports, "JavaScriptTransformer", { enumerable: true, get: function () { return private_1.JavaScriptTransformer; } });
|
|
7
7
|
const parallel_compilation_1 = require("@angular/build/src/tools/angular/compilation/parallel-compilation");
|
|
8
8
|
Object.defineProperty(exports, "ParallelCompilation", { enumerable: true, get: function () { return parallel_compilation_1.ParallelCompilation; } });
|
|
9
9
|
const aot_compilation_1 = require("@angular/build/src/tools/angular/compilation/aot-compilation");
|
|
@@ -12,8 +12,8 @@ const jit_compilation_1 = require("@angular/build/src/tools/angular/compilation/
|
|
|
12
12
|
Object.defineProperty(exports, "JitCompilation", { enumerable: true, get: function () { return jit_compilation_1.JitCompilation; } });
|
|
13
13
|
const angular_compilation_1 = require("@angular/build/src/tools/angular/compilation/angular-compilation");
|
|
14
14
|
Object.defineProperty(exports, "AngularCompilation", { enumerable: true, get: function () { return angular_compilation_1.AngularCompilation; } });
|
|
15
|
-
const
|
|
16
|
-
Object.defineProperty(exports, "SourceFileCache", { enumerable: true, get: function () { return
|
|
15
|
+
const private_2 = require("@angular/build/private");
|
|
16
|
+
Object.defineProperty(exports, "SourceFileCache", { enumerable: true, get: function () { return private_2.SourceFileCache; } });
|
|
17
17
|
tslib_1.__exportStar(require("./inline-style-language"), exports);
|
|
18
18
|
tslib_1.__exportStar(require("./file-replacement"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("./style-preprocessor-options"), exports);
|
|
@@ -9,8 +9,8 @@ import type ts from 'typescript';
|
|
|
9
9
|
export declare class SourceFileCache extends Map<string, ts.SourceFile> {
|
|
10
10
|
readonly persistentCachePath?: string | undefined;
|
|
11
11
|
readonly modifiedFiles: Set<string>;
|
|
12
|
-
readonly babelFileCache: Map<string, Uint8Array
|
|
13
|
-
readonly typeScriptFileCache: Map<string, string | Uint8Array
|
|
12
|
+
readonly babelFileCache: Map<string, Uint8Array<ArrayBufferLike>>;
|
|
13
|
+
readonly typeScriptFileCache: Map<string, string | Uint8Array<ArrayBufferLike>>;
|
|
14
14
|
referencedFiles?: readonly string[];
|
|
15
15
|
constructor(persistentCachePath?: string | undefined);
|
|
16
16
|
invalidate(files: Iterable<string>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-file-cache.d.ts","sourceRoot":"","sources":["../../src/utils/source-file-cache.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAKjC,qBAAa,eAAgB,SAAQ,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC;IAOjD,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM;IANjD,QAAQ,CAAC,aAAa,cAAqB;IAC3C,QAAQ,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"source-file-cache.d.ts","sourceRoot":"","sources":["../../src/utils/source-file-cache.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAKjC,qBAAa,eAAgB,SAAQ,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC;IAOjD,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM;IANjD,QAAQ,CAAC,aAAa,cAAqB;IAC3C,QAAQ,CAAC,cAAc,2CAAiC;IACxD,QAAQ,CAAC,mBAAmB,oDAA0C;IAEtE,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;gBAEf,mBAAmB,CAAC,EAAE,MAAM,YAAA;IAIjD,UAAU,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,IAAI;CAiB1C"}
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"rsbuild",
|
|
22
22
|
"compiler"
|
|
23
23
|
],
|
|
24
|
-
"version": "21.
|
|
24
|
+
"version": "21.2.0",
|
|
25
25
|
"type": "commonjs",
|
|
26
26
|
"main": "./dist/index.js",
|
|
27
27
|
"module": "./dist/index.js",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@angular/build": "20.
|
|
36
|
+
"@angular/build": "~20.1.0",
|
|
37
37
|
"sass-embedded": "^1.79.3",
|
|
38
38
|
"ts-morph": "^24.0.0",
|
|
39
39
|
"tslib": "^2.3.0",
|
|
40
|
-
"typescript": "5.
|
|
40
|
+
"typescript": "5.8.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@code-pushup/models": "^0.63.0",
|
|
@@ -7,8 +7,6 @@ function main() {
|
|
|
7
7
|
const fileContentsJson = JSON.parse(
|
|
8
8
|
readFileSync(angularBuildPackageJson, 'utf8')
|
|
9
9
|
);
|
|
10
|
-
fileContentsJson.exports['./src/tools/esbuild/javascript-transformer'] =
|
|
11
|
-
'./src/tools/esbuild/javascript-transformer.js';
|
|
12
10
|
fileContentsJson.exports[
|
|
13
11
|
'./src/tools/angular/compilation/parallel-compilation'
|
|
14
12
|
] = './src/tools/angular/compilation/parallel-compilation.js';
|