@nx/angular-rspack-compiler 23.0.0-beta.23 → 23.0.0-beta.25
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"augments.d.ts","sourceRoot":"","sources":["../../src/compilation/augments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"augments.d.ts","sourceRoot":"","sources":["../../src/compilation/augments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAGjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAmBhD;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,EAAE,CAAC,YAAY,EACrB,SAAS,EAAE,CACT,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE;IAAE,GAAG,CAAC,EAAE,OAAO,CAAA;CAAE,KACxB,MAAM,GAAG,IAAI,EAClB,OAAO,GAAE,EAAE,GAAG;IACZ,qBAAqB,CAAC,EAAE,mBAAmB,CAAC;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAC;CACb,QA+CP;AAGD,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,GAAG,IAAI,CActE;AAGD,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,EAAE,CAAC,YAAY,EACrB,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,GAChC,IAAI,CA4BN"}
|
|
@@ -22,8 +22,8 @@ export interface SetupCompilationOptions {
|
|
|
22
22
|
}
|
|
23
23
|
export declare const DEFAULT_NG_COMPILER_OPTIONS: ts.CompilerOptions;
|
|
24
24
|
export declare function setupCompilation(config: Pick<RsbuildConfig, 'mode' | 'source'>, options: SetupCompilationOptions): Promise<{
|
|
25
|
-
rootNames: string[];
|
|
26
|
-
compilerOptions:
|
|
25
|
+
rootNames: readonly string[];
|
|
26
|
+
compilerOptions: ts.CompilerOptions;
|
|
27
27
|
componentStylesheetBundler: ComponentStylesheetBundler;
|
|
28
28
|
}>;
|
|
29
29
|
/**
|
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import type * as ts from 'typescript';
|
|
2
|
+
/**
|
|
3
|
+
* Minimal shape of `@angular/compiler-cli` that we consume. Hand-declared
|
|
4
|
+
* because the package ships `"type": "module"` typings whose extensionless
|
|
5
|
+
* `export *` re-exports don't resolve under `nodenext`, so `readConfiguration`
|
|
6
|
+
* is not visible via `typeof import('@angular/compiler-cli')`.
|
|
7
|
+
*/
|
|
8
|
+
interface AngularCompilerCli {
|
|
9
|
+
readConfiguration(project: string, existingOptions?: ts.CompilerOptions): {
|
|
10
|
+
options: ts.CompilerOptions;
|
|
11
|
+
rootNames: readonly string[];
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare function loadCompilerCli(): Promise<AngularCompilerCli>;
|
|
15
|
+
export {};
|
|
2
16
|
//# sourceMappingURL=load-compiler-cli.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load-compiler-cli.d.ts","sourceRoot":"","sources":["../../src/utils/load-compiler-cli.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"load-compiler-cli.d.ts","sourceRoot":"","sources":["../../src/utils/load-compiler-cli.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC;;;;;GAKG;AACH,UAAU,kBAAkB;IAC1B,iBAAiB,CACf,OAAO,EAAE,MAAM,EACf,eAAe,CAAC,EAAE,EAAE,CAAC,eAAe,GACnC;QAAE,OAAO,EAAE,EAAE,CAAC,eAAe,CAAC;QAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAA;KAAE,CAAC;CAClE;AAGD,wBAAgB,eAAe,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAO7D"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/angular-rspack-compiler",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "23.0.0-beta.
|
|
4
|
+
"version": "23.0.0-beta.25",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,8 +27,14 @@
|
|
|
27
27
|
"main": "./dist/index.js",
|
|
28
28
|
"types": "./dist/index.d.ts",
|
|
29
29
|
"module": "./dist/index.js",
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"!dist/tsconfig.lib.tsbuildinfo",
|
|
33
|
+
"patch"
|
|
34
|
+
],
|
|
30
35
|
"exports": {
|
|
31
36
|
".": {
|
|
37
|
+
"@nx/nx-source": "./src/index.ts",
|
|
32
38
|
"types": "./dist/index.d.ts",
|
|
33
39
|
"default": "./dist/index.js"
|
|
34
40
|
}
|
|
@@ -39,7 +45,7 @@
|
|
|
39
45
|
"ts-morph": "^27.0.2",
|
|
40
46
|
"tslib": "^2.3.0",
|
|
41
47
|
"typescript": "~5.9.2",
|
|
42
|
-
"@nx/devkit": "23.0.0-beta.
|
|
48
|
+
"@nx/devkit": "23.0.0-beta.25"
|
|
43
49
|
},
|
|
44
50
|
"devDependencies": {
|
|
45
51
|
"jsonc-eslint-parser": "^2.4.0",
|
|
@@ -55,14 +61,6 @@
|
|
|
55
61
|
"sourceRoot": "packages/angular-rspack-compiler/src",
|
|
56
62
|
"projectType": "library",
|
|
57
63
|
"name": "angular-rspack-compiler",
|
|
58
|
-
"release": {
|
|
59
|
-
"version": {
|
|
60
|
-
"preserveLocalDependencyProtocols": true,
|
|
61
|
-
"manifestRootsToUpdate": [
|
|
62
|
-
"packages/{projectName}"
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
64
|
"targets": {
|
|
67
65
|
"build": {
|
|
68
66
|
"command": "node ./scripts/copy-readme.js angular-rspack-compiler packages/angular-rspack-compiler/readme-template.md packages/angular-rspack-compiler/README.md",
|
|
@@ -82,15 +80,6 @@
|
|
|
82
80
|
"--passWithNoTests"
|
|
83
81
|
]
|
|
84
82
|
}
|
|
85
|
-
},
|
|
86
|
-
"nx-release-publish": {
|
|
87
|
-
"executor": "@nx/js:release-publish",
|
|
88
|
-
"options": {
|
|
89
|
-
"packageRoot": "packages/angular-rspack-compiler"
|
|
90
|
-
},
|
|
91
|
-
"dependsOn": [
|
|
92
|
-
"^nx-release-publish"
|
|
93
|
-
]
|
|
94
83
|
}
|
|
95
84
|
}
|
|
96
85
|
},
|
package/eslint.config.mjs
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { baseConfig } from '../../eslint.config.mjs';
|
|
2
|
-
import * as jsoncEslintParser from 'jsonc-eslint-parser';
|
|
3
|
-
|
|
4
|
-
export default [
|
|
5
|
-
...baseConfig,
|
|
6
|
-
{
|
|
7
|
-
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
|
|
8
|
-
rules: {
|
|
9
|
-
'no-restricted-imports': [
|
|
10
|
-
'error',
|
|
11
|
-
{
|
|
12
|
-
name: 'chalk',
|
|
13
|
-
message:
|
|
14
|
-
'Please use `picocolors` in place of `chalk` for rendering terminal colors',
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
files: ['./package.json'],
|
|
21
|
-
rules: {
|
|
22
|
-
'@nx/nx-plugin-checks': 'error',
|
|
23
|
-
'@nx/dependency-checks': [
|
|
24
|
-
'error',
|
|
25
|
-
{
|
|
26
|
-
buildTargets: ['build-base'],
|
|
27
|
-
ignoredFiles: [
|
|
28
|
-
'{projectRoot}/eslint.config.mjs',
|
|
29
|
-
'{projectRoot}/vite.config.{js,ts,mjs,mts}',
|
|
30
|
-
],
|
|
31
|
-
ignoredDependencies: [
|
|
32
|
-
'@angular/core',
|
|
33
|
-
'jsonc-eslint-parser',
|
|
34
|
-
'semver',
|
|
35
|
-
'vitest',
|
|
36
|
-
'memfs',
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
},
|
|
41
|
-
languageOptions: {
|
|
42
|
-
parser: jsoncEslintParser,
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
ignores: ['dist'],
|
|
47
|
-
},
|
|
48
|
-
];
|