@rsdoctor/rspack-plugin 1.3.1-beta.0 → 1.3.2
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 +4 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/multiple.d.ts +1 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
2
|
+
const __rslib_import_meta_url__ = 'undefined' == typeof document ? new (require('url'.replace('', ''))).URL('file:' + __filename).href : document.currentScript && document.currentScript.src || new URL('main.js', document.baseURI).href;
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
4
|
"./package.json": function(module) {
|
|
5
|
-
module.exports = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.3.
|
|
5
|
+
module.exports = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.3.2","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":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","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:*","lodash-es":"^4.17.21"},"devDependencies":{"@rspack/core":"1.5.8","@types/lodash-es":"^4.17.12","@types/node":"^22.8.1","@types/tapable":"2.2.7","tslib":"2.8.1","typescript":"^5.9.2"},"peerDependencies":{"@rspack/core":"*"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
|
|
6
6
|
}
|
|
7
7
|
}, __webpack_module_cache__ = {};
|
|
8
8
|
function __webpack_require__(moduleId) {
|
|
@@ -60,7 +60,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
60
60
|
...options?.supports
|
|
61
61
|
}
|
|
62
62
|
}));
|
|
63
|
-
|
|
63
|
+
const { port, output, innerClientPath, printLog, sdkInstance } = this.options;
|
|
64
64
|
this.sdk = this.options.sdkInstance ?? new sdk_namespaceObject.RsdoctorSDK({
|
|
65
65
|
port,
|
|
66
66
|
name: pluginTapName,
|
|
@@ -140,7 +140,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
140
140
|
class RsdoctorRspackMultiplePlugin extends RsdoctorRspackPlugin {
|
|
141
141
|
controller;
|
|
142
142
|
constructor(options = {}){
|
|
143
|
-
|
|
143
|
+
const controller = (()=>{
|
|
144
144
|
if (globalController) return globalController;
|
|
145
145
|
let controller = new sdk_namespaceObject.RsdoctorSDKController();
|
|
146
146
|
return globalController = controller, controller;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './plugin';
|
|
2
|
-
export * from './multiple';
|
|
1
|
+
export * from './plugin.js';
|
|
2
|
+
export * from './multiple.js';
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { Loader as common_Loader } from "@rsdoctor/utils/common";
|
|
|
9
9
|
import { chalk, logger, time, timeEnd } from "@rsdoctor/utils/logger";
|
|
10
10
|
var __webpack_modules__ = {
|
|
11
11
|
"./package.json": function(module) {
|
|
12
|
-
module.exports = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.3.
|
|
12
|
+
module.exports = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.3.2","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":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","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:*","lodash-es":"^4.17.21"},"devDependencies":{"@rspack/core":"1.5.8","@types/lodash-es":"^4.17.12","@types/node":"^22.8.1","@types/tapable":"2.2.7","tslib":"2.8.1","typescript":"^5.9.2"},"peerDependencies":{"@rspack/core":"*"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
|
|
13
13
|
}
|
|
14
14
|
}, __webpack_module_cache__ = {};
|
|
15
15
|
let pluginTapName = 'RsdoctorRspackPlugin', pluginTapPostOptions = {
|
package/dist/multiple.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RsdoctorMultiplePluginOptions } from '@rsdoctor/core/types';
|
|
2
2
|
import { type Linter } from '@rsdoctor/types';
|
|
3
3
|
import type { Compiler } from '@rspack/core';
|
|
4
|
-
import { RsdoctorRspackPlugin } from './plugin';
|
|
4
|
+
import { RsdoctorRspackPlugin } from './plugin.js';
|
|
5
5
|
export declare class RsdoctorRspackMultiplePlugin<Rules extends Linter.ExtendRuleData[]> extends RsdoctorRspackPlugin<Rules> {
|
|
6
6
|
private controller;
|
|
7
7
|
constructor(options?: RsdoctorMultiplePluginOptions<Rules>);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/rspack-plugin",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"lodash-es": "^4.17.21",
|
|
25
|
-
"@rsdoctor/
|
|
26
|
-
"@rsdoctor/
|
|
27
|
-
"@rsdoctor/sdk": "1.3.
|
|
28
|
-
"@rsdoctor/
|
|
29
|
-
"@rsdoctor/
|
|
25
|
+
"@rsdoctor/graph": "1.3.2",
|
|
26
|
+
"@rsdoctor/utils": "1.3.2",
|
|
27
|
+
"@rsdoctor/sdk": "1.3.2",
|
|
28
|
+
"@rsdoctor/core": "1.3.2",
|
|
29
|
+
"@rsdoctor/types": "1.3.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@rspack/core": "1.5.
|
|
32
|
+
"@rspack/core": "1.5.8",
|
|
33
33
|
"@types/lodash-es": "^4.17.12",
|
|
34
34
|
"@types/node": "^22.8.1",
|
|
35
35
|
"@types/tapable": "2.2.7",
|