@rsdoctor/rspack-plugin 1.5.15 → 1.5.17

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/index.cjs CHANGED
@@ -25,7 +25,7 @@ __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_expo
25
25
  RsdoctorRspackPlugin: ()=>RsdoctorRspackPlugin
26
26
  });
27
27
  const build_utils_namespaceObject = require("@rsdoctor/core/build-utils"), plugins_namespaceObject = require("@rsdoctor/core/plugins"), sdk_namespaceObject = require("@rsdoctor/sdk"), types_namespaceObject = require("@rsdoctor/types"), external_path_namespaceObject = require("path");
28
- var external_path_default = __webpack_require__.n(external_path_namespaceObject), package_namespaceObject = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.5.15","repository":{"type":"git","url":"https://github.com/web-infra-dev/rsdoctor","directory":"packages/rspack-plugin"},"license":"MIT","main":"dist/index.cjs","types":"dist/index.d.ts","files":["dist"],"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"type":"module","scripts":{"dev":"npm run start","start":"rslib build -w","build":"rslib build","test":"rstest run"},"dependencies":{"@rsdoctor/core":"workspace:*","@rsdoctor/graph":"workspace:*","@rsdoctor/sdk":"workspace:*","@rsdoctor/types":"workspace:*","@rsdoctor/utils":"workspace:*"},"devDependencies":{"@rspack/core":"catalog:","@types/node":"catalog:","@types/tapable":"catalog:","tslib":"catalog:","typescript":"catalog:"},"peerDependencies":{"@rspack/core":"*"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
28
+ var external_path_default = __webpack_require__.n(external_path_namespaceObject), package_namespaceObject = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.5.17","repository":{"type":"git","url":"https://github.com/web-infra-dev/rsdoctor","directory":"packages/rspack-plugin"},"license":"MIT","main":"dist/index.cjs","types":"dist/index.d.ts","files":["dist"],"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"type":"module","scripts":{"dev":"npm run start","start":"rslib build -w","build":"rslib build","test":"rstest run"},"dependencies":{"@rsdoctor/core":"workspace:*","@rsdoctor/graph":"workspace:*","@rsdoctor/sdk":"workspace:*","@rsdoctor/types":"workspace:*","@rsdoctor/utils":"workspace:*"},"devDependencies":{"@rspack/core":"catalog:","@types/node":"catalog:","@types/tapable":"catalog:","tslib":"catalog:","typescript":"catalog:"},"peerDependencies":{"@rspack/core":"*"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
29
29
  const pluginTapName = 'RsdoctorRspackPlugin', pluginTapPostOptions = {
30
30
  name: pluginTapName,
31
31
  stage: 999
@@ -52,7 +52,7 @@ class RsdoctorRspackPlugin {
52
52
  ...options?.supports
53
53
  }
54
54
  }));
55
- const { port, output, innerClientPath, printLog, sdkInstance } = this.options;
55
+ const { port, server, output, innerClientPath, printLog, sdkInstance } = this.options;
56
56
  this.sdk = this.options.sdkInstance ?? new sdk_namespaceObject.RsdoctorSDK({
57
57
  port,
58
58
  name: pluginTapName,
@@ -61,6 +61,7 @@ class RsdoctorRspackPlugin {
61
61
  config: {
62
62
  innerClientPath,
63
63
  printLog,
64
+ server,
64
65
  mode: output.mode ? output.mode : void 0,
65
66
  brief: output.mode === types_namespaceObject.SDK.IMode[types_namespaceObject.SDK.IMode.brief] && output.options || void 0,
66
67
  features: {
@@ -146,6 +147,7 @@ class RsdoctorRspackMultiplePlugin extends RsdoctorRspackPlugin {
146
147
  extraConfig: {
147
148
  innerClientPath: normallizedOptions.innerClientPath,
148
149
  printLog: normallizedOptions.printLog,
150
+ server: normallizedOptions.server,
149
151
  mode: normallizedOptions.output.mode ? normallizedOptions.output.mode : void 0,
150
152
  brief: normallizedOptions.output.mode === types_namespaceObject.SDK.IMode[types_namespaceObject.SDK.IMode.brief] && normallizedOptions.output.options || void 0
151
153
  },
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import path from "path";
7
7
  import { ModuleGraph } from "@rsdoctor/graph";
8
8
  import { Loader as common_Loader } from "@rsdoctor/utils/common";
9
9
  import { logger, time, timeEnd } from "@rsdoctor/utils/logger";
10
- var package_namespaceObject = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.5.15","repository":{"type":"git","url":"https://github.com/web-infra-dev/rsdoctor","directory":"packages/rspack-plugin"},"license":"MIT","main":"dist/index.cjs","types":"dist/index.d.ts","files":["dist"],"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"type":"module","scripts":{"dev":"npm run start","start":"rslib build -w","build":"rslib build","test":"rstest run"},"dependencies":{"@rsdoctor/core":"workspace:*","@rsdoctor/graph":"workspace:*","@rsdoctor/sdk":"workspace:*","@rsdoctor/types":"workspace:*","@rsdoctor/utils":"workspace:*"},"devDependencies":{"@rspack/core":"catalog:","@types/node":"catalog:","@types/tapable":"catalog:","tslib":"catalog:","typescript":"catalog:"},"peerDependencies":{"@rspack/core":"*"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
10
+ var package_namespaceObject = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.5.17","repository":{"type":"git","url":"https://github.com/web-infra-dev/rsdoctor","directory":"packages/rspack-plugin"},"license":"MIT","main":"dist/index.cjs","types":"dist/index.d.ts","files":["dist"],"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"type":"module","scripts":{"dev":"npm run start","start":"rslib build -w","build":"rslib build","test":"rstest run"},"dependencies":{"@rsdoctor/core":"workspace:*","@rsdoctor/graph":"workspace:*","@rsdoctor/sdk":"workspace:*","@rsdoctor/types":"workspace:*","@rsdoctor/utils":"workspace:*"},"devDependencies":{"@rspack/core":"catalog:","@types/node":"catalog:","@types/tapable":"catalog:","tslib":"catalog:","typescript":"catalog:"},"peerDependencies":{"@rspack/core":"*"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
11
11
  let pluginTapName = 'RsdoctorRspackPlugin', pluginTapPostOptions = {
12
12
  name: pluginTapName,
13
13
  stage: 999
@@ -27,7 +27,7 @@ class RsdoctorRspackPlugin {
27
27
  ...options?.supports
28
28
  }
29
29
  }));
30
- let { port, output, innerClientPath, printLog, sdkInstance } = this.options;
30
+ let { port, server, output, innerClientPath, printLog, sdkInstance } = this.options;
31
31
  this.sdk = this.options.sdkInstance ?? new RsdoctorSDK({
32
32
  port,
33
33
  name: pluginTapName,
@@ -36,6 +36,7 @@ class RsdoctorRspackPlugin {
36
36
  config: {
37
37
  innerClientPath,
38
38
  printLog,
39
+ server,
39
40
  mode: output.mode ? output.mode : void 0,
40
41
  brief: output.mode === SDK.IMode[SDK.IMode.brief] && output.options || void 0,
41
42
  features: {
@@ -121,6 +122,7 @@ class RsdoctorRspackMultiplePlugin extends RsdoctorRspackPlugin {
121
122
  extraConfig: {
122
123
  innerClientPath: normallizedOptions.innerClientPath,
123
124
  printLog: normallizedOptions.printLog,
125
+ server: normallizedOptions.server,
124
126
  mode: normallizedOptions.output.mode ? normallizedOptions.output.mode : void 0,
125
127
  brief: normallizedOptions.output.mode === SDK.IMode[SDK.IMode.brief] && normallizedOptions.output.options || void 0
126
128
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/rspack-plugin",
3
- "version": "1.5.15",
3
+ "version": "1.5.17",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -26,11 +26,11 @@
26
26
  },
27
27
  "type": "module",
28
28
  "dependencies": {
29
- "@rsdoctor/core": "1.5.15",
30
- "@rsdoctor/graph": "1.5.15",
31
- "@rsdoctor/sdk": "1.5.15",
32
- "@rsdoctor/types": "1.5.15",
33
- "@rsdoctor/utils": "1.5.15"
29
+ "@rsdoctor/graph": "1.5.17",
30
+ "@rsdoctor/types": "1.5.17",
31
+ "@rsdoctor/utils": "1.5.17",
32
+ "@rsdoctor/core": "1.5.17",
33
+ "@rsdoctor/sdk": "1.5.17"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@rspack/core": "^2.0.5",