@rspack/binding 1.6.1 → 1.6.3
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/napi-binding.d.ts +37 -0
- package/package.json +11 -11
package/napi-binding.d.ts
CHANGED
|
@@ -545,6 +545,7 @@ export declare enum BuiltinPluginName {
|
|
|
545
545
|
ProvideSharedPlugin = 'ProvideSharedPlugin',
|
|
546
546
|
ConsumeSharedPlugin = 'ConsumeSharedPlugin',
|
|
547
547
|
ModuleFederationRuntimePlugin = 'ModuleFederationRuntimePlugin',
|
|
548
|
+
ModuleFederationManifestPlugin = 'ModuleFederationManifestPlugin',
|
|
548
549
|
NamedModuleIdsPlugin = 'NamedModuleIdsPlugin',
|
|
549
550
|
NaturalModuleIdsPlugin = 'NaturalModuleIdsPlugin',
|
|
550
551
|
DeterministicModuleIdsPlugin = 'DeterministicModuleIdsPlugin',
|
|
@@ -2434,6 +2435,32 @@ export interface RawLimitChunkCountPluginOptions {
|
|
|
2434
2435
|
maxChunks: number
|
|
2435
2436
|
}
|
|
2436
2437
|
|
|
2438
|
+
export interface RawManifestExposeOption {
|
|
2439
|
+
path: string
|
|
2440
|
+
name: string
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
export interface RawManifestSharedOption {
|
|
2444
|
+
name: string
|
|
2445
|
+
version?: string
|
|
2446
|
+
requiredVersion?: string
|
|
2447
|
+
singleton?: boolean
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2450
|
+
export interface RawModuleFederationManifestPluginOptions {
|
|
2451
|
+
name?: string
|
|
2452
|
+
globalName?: string
|
|
2453
|
+
fileName?: string
|
|
2454
|
+
filePath?: string
|
|
2455
|
+
statsFileName?: string
|
|
2456
|
+
manifestFileName?: string
|
|
2457
|
+
disableAssetsAnalyze?: boolean
|
|
2458
|
+
remoteAliasMap?: Record<string, RawRemoteAliasTarget>
|
|
2459
|
+
exposes?: Array<RawManifestExposeOption>
|
|
2460
|
+
shared?: Array<RawManifestSharedOption>
|
|
2461
|
+
buildInfo?: RawStatsBuildInfo
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2437
2464
|
export interface RawModuleFederationRuntimePluginOptions {
|
|
2438
2465
|
entryRuntime?: string | undefined
|
|
2439
2466
|
}
|
|
@@ -2656,6 +2683,11 @@ export interface RawRelated {
|
|
|
2656
2683
|
sourceMap?: string
|
|
2657
2684
|
}
|
|
2658
2685
|
|
|
2686
|
+
export interface RawRemoteAliasTarget {
|
|
2687
|
+
name: string
|
|
2688
|
+
entry?: string
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2659
2691
|
export interface RawRemoteOptions {
|
|
2660
2692
|
key: string
|
|
2661
2693
|
external: Array<string>
|
|
@@ -2815,6 +2847,11 @@ export interface RawSplitChunksOptions {
|
|
|
2815
2847
|
maxInitialSize?: number | RawSplitChunkSizes
|
|
2816
2848
|
}
|
|
2817
2849
|
|
|
2850
|
+
export interface RawStatsBuildInfo {
|
|
2851
|
+
buildVersion: string
|
|
2852
|
+
buildName?: string
|
|
2853
|
+
}
|
|
2854
|
+
|
|
2818
2855
|
export interface RawStatsOptions {
|
|
2819
2856
|
colors: boolean
|
|
2820
2857
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/binding",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Node binding for rspack",
|
|
6
6
|
"main": "binding.js",
|
|
@@ -51,16 +51,16 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"optionalDependencies": {
|
|
54
|
-
"@rspack/binding-darwin-arm64": "1.6.
|
|
55
|
-
"@rspack/binding-
|
|
56
|
-
"@rspack/binding-
|
|
57
|
-
"@rspack/binding-
|
|
58
|
-
"@rspack/binding-
|
|
59
|
-
"@rspack/binding-wasm32-wasi": "1.6.
|
|
60
|
-
"@rspack/binding-darwin-x64": "1.6.
|
|
61
|
-
"@rspack/binding-
|
|
62
|
-
"@rspack/binding-
|
|
63
|
-
"@rspack/binding-linux-x64-musl": "1.6.
|
|
54
|
+
"@rspack/binding-darwin-arm64": "1.6.3",
|
|
55
|
+
"@rspack/binding-win32-arm64-msvc": "1.6.3",
|
|
56
|
+
"@rspack/binding-linux-arm64-gnu": "1.6.3",
|
|
57
|
+
"@rspack/binding-linux-arm64-musl": "1.6.3",
|
|
58
|
+
"@rspack/binding-win32-ia32-msvc": "1.6.3",
|
|
59
|
+
"@rspack/binding-wasm32-wasi": "1.6.3",
|
|
60
|
+
"@rspack/binding-darwin-x64": "1.6.3",
|
|
61
|
+
"@rspack/binding-win32-x64-msvc": "1.6.3",
|
|
62
|
+
"@rspack/binding-linux-x64-gnu": "1.6.3",
|
|
63
|
+
"@rspack/binding-linux-x64-musl": "1.6.3"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build:dev": "node scripts/build.js",
|