@rsdoctor/core 0.4.3 → 0.4.5

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":"probeLoaderPlugin.d.ts","sourceRoot":"","sources":["../../../../src/build-utils/build/loader/probeLoaderPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAUzC,qBAAa,iBAAiB;IAC5B,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,YAAY;IAoBnC,OAAO,CAAC,cAAc;CA0DvB"}
1
+ {"version":3,"file":"probeLoaderPlugin.d.ts","sourceRoot":"","sources":["../../../../src/build-utils/build/loader/probeLoaderPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAUzC,qBAAa,iBAAiB;IAC5B,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,YAAY;IAoBnC,OAAO,CAAC,cAAc;CAqCvB"}
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
- var __create = Object.create;
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
6
  var __export = (target, all) => {
9
7
  for (var name in all)
@@ -17,14 +15,6 @@ var __copyProps = (to, from, except, desc) => {
17
15
  }
18
16
  return to;
19
17
  };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
19
  var probeLoaderPlugin_exports = {};
30
20
  __export(probeLoaderPlugin_exports, {
@@ -34,8 +24,8 @@ module.exports = __toCommonJS(probeLoaderPlugin_exports);
34
24
  var import_common = require("@rsdoctor/utils/common");
35
25
  var import__ = require("../..");
36
26
  var import__2 = require("..");
37
- var import_path = __toESM(require("path"));
38
27
  const BuiltinLoaderName = "builtin:swc-loader";
28
+ const BuiltinLightingCssName = "builtin:lightningcss-loader";
39
29
  const ESMLoaderFile = ".mjs";
40
30
  class ProbeLoaderPlugin {
41
31
  apply(compiler) {
@@ -58,47 +48,27 @@ class ProbeLoaderPlugin {
58
48
  }
59
49
  addProbeLoader(compiler) {
60
50
  let rules = compiler.options.module.rules;
61
- const appendRule = (rule, index) => {
62
- if ("use" in rule && Array.isArray(rule.use)) {
63
- const _builtinRule = rule.use[index];
64
- const _options = typeof _builtinRule.options === "string" ? {} : { ..._builtinRule };
65
- rule.use.splice(index, 0, {
66
- loader: import_path.default.join(__dirname, "./probeLoader.js"),
67
- options: {
68
- ..._options,
69
- ident: void 0,
70
- type: "end",
71
- builderName: compiler.options.name
72
- }
73
- });
74
- rule.use.splice(index + 2, 0, {
75
- loader: import_path.default.join(__dirname, "./probeLoader.js"),
76
- options: {
77
- ..._options,
78
- ident: void 0,
79
- type: "start",
80
- builderName: compiler.options.name
81
- }
82
- });
83
- }
84
- return rule;
85
- };
86
51
  if (import_common.Loader.isVue(compiler)) {
87
52
  compiler.options.module.rules = import__2.Utils.addProbeLoader2Rules(
88
53
  rules,
89
- appendRule,
90
- (r) => !!r.loader
54
+ compiler,
55
+ (r) => !!r.loader || typeof r === "string"
91
56
  );
92
57
  return;
93
58
  }
94
59
  rules = import__2.Utils.addProbeLoader2Rules(
95
60
  rules,
96
- appendRule,
61
+ compiler,
97
62
  (r) => import__.Build.Utils.getLoaderNameMatch(r, BuiltinLoaderName, true)
98
63
  );
64
+ rules = import__2.Utils.addProbeLoader2Rules(
65
+ rules,
66
+ compiler,
67
+ (r) => import__.Build.Utils.getLoaderNameMatch(r, BuiltinLightingCssName, true)
68
+ );
99
69
  compiler.options.module.rules = import__2.Utils.addProbeLoader2Rules(
100
70
  rules,
101
- appendRule,
71
+ compiler,
102
72
  (r) => {
103
73
  return import__.Build.Utils.getLoaderNameMatch(r, ESMLoaderFile, false) || import__.Build.Utils.isESMLoader(r);
104
74
  }
@@ -14,7 +14,7 @@ export declare function extractLoaderName(loaderPath: string, cwd?: string): str
14
14
  export declare function mapEachRules<T extends Plugin.BuildRuleSetRule>(rules: T[], callback: (rule: T) => T): T[];
15
15
  export declare function isESMLoader(r: Plugin.BuildRuleSetRule): boolean;
16
16
  export declare function getLoaderNameMatch(r: Plugin.BuildRuleSetRule, loaderName: string, strict?: boolean): boolean;
17
- export declare function addProbeLoader2Rules<T extends Plugin.BuildRuleSetRule>(rules: T[], appendRules: (rule: T, index: number) => T, fn: (r: Plugin.BuildRuleSetRule) => boolean): T[];
17
+ export declare function addProbeLoader2Rules<T extends Plugin.BuildRuleSetRule>(rules: T[], compiler: Plugin.BaseCompiler, fn: (r: Plugin.BuildRuleSetRule) => boolean): T[];
18
18
  export declare function createLoaderContextTrap(this: Plugin.LoaderContext<Common.PlainObject>, final: (err: Error | null | undefined, res: string | Buffer | null, sourceMap?: WebpackSourceMapInput) => void): Plugin.LoaderContext<Common.PlainObject<any>>;
19
19
  export declare function parseQuery(query: string): {
20
20
  [k: string]: string;
@@ -1 +1 @@
1
- {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../../src/build-utils/build/utils/loader.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAQ,cAAc,IAAI,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAQ/E,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,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CAAC,SAAS,MAAM,CAAC,gBAAgB,EACpE,KAAK,EAAE,CAAC,EAAE,EACV,QAAQ,EAAE,MAAM,CAAC,YAAY,EAC7B,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,gBAAgB,KAAK,OAAO,GAC1C,CAAC,EAAE,CA4EL;AAED,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,WAAW,CAAC,EAC9C,KAAK,EAAE,CACL,GAAG,EAAE,KAAK,GAAG,IAAI,GAAG,SAAS,EAC7B,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,EAC3B,SAAS,CAAC,EAAE,qBAAqB,KAC9B,IAAI,iDAsFV;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM;;EAMvC"}
@@ -44,6 +44,7 @@ var import_fs_extra = __toESM(require("fs-extra"));
44
44
  var import_lodash = require("lodash");
45
45
  var import_common = require("@rsdoctor/utils/common");
46
46
  var import_graph = require("@rsdoctor/graph");
47
+ var import_logger = require("@rsdoctor/utils/logger");
47
48
  const PATH_QUERY_FRAGMENT_REGEXP = /^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;
48
49
  function parsePathQueryFragment(str) {
49
50
  const match = PATH_QUERY_FRAGMENT_REGEXP.exec(str);
@@ -160,6 +161,7 @@ function isESMLoader(r) {
160
161
  try {
161
162
  return import_fs_extra.default.readJsonSync(file, { encoding: "utf8" });
162
163
  } catch (e) {
164
+ (0, import_logger.debug)(() => `isESMLoader function error:${e}`);
163
165
  }
164
166
  });
165
167
  if (packageJsonData?.type === "module")
@@ -167,68 +169,79 @@ function isESMLoader(r) {
167
169
  }
168
170
  return false;
169
171
  }
172
+ function appendProbeLoaders(compiler, loaderConfig) {
173
+ const _options = typeof loaderConfig === "object" ? typeof loaderConfig.options === "string" ? { options: loaderConfig.options } : loaderConfig.options : {};
174
+ const loaderPath = import_path.default.join(__dirname, "../loader/probeLoader.js");
175
+ const loader = typeof loaderConfig === "string" ? loaderConfig : typeof loaderConfig === "object" && loaderConfig.loader;
176
+ const createProbeLoader = (type) => ({
177
+ loader: loaderPath,
178
+ options: {
179
+ ..._options,
180
+ loader,
181
+ ident: void 0,
182
+ type,
183
+ builderName: compiler.options.name
184
+ }
185
+ });
186
+ return [
187
+ createProbeLoader("end"),
188
+ loaderConfig,
189
+ createProbeLoader("start")
190
+ ];
191
+ }
170
192
  function getLoaderNameMatch(r, loaderName, strict = true) {
171
193
  if (!strict) {
172
194
  return typeof r === "object" && typeof r?.loader === "string" && r.loader.includes(loaderName) || typeof r === "string" && r.includes(loaderName);
173
195
  }
174
196
  return typeof r === "object" && typeof r?.loader === "string" && r.loader === loaderName || typeof r === "string" && r === loaderName;
175
197
  }
176
- function addProbeLoader2Rules(rules, appendRules, fn) {
198
+ function addProbeLoader2Rules(rules, compiler, fn) {
177
199
  return rules.map((rule) => {
178
200
  if (!rule || typeof rule === "string")
179
201
  return rule;
180
202
  if (fn(rule) && !rule.use) {
181
- const _rule = {
203
+ const loaderConfig = {
204
+ loader: rule.loader ?? "",
205
+ options: rule.options,
206
+ ident: "ident" in rule && typeof rule.ident === "string" ? rule.ident : void 0
207
+ };
208
+ return {
182
209
  ...rule,
183
- use: [
184
- {
185
- loader: rule.loader,
186
- options: rule.options,
187
- ident: "ident" in rule && rule.ident || void 0
188
- }
189
- ],
210
+ use: appendProbeLoaders(compiler, loaderConfig),
190
211
  loader: void 0,
191
212
  options: void 0
192
213
  };
193
- return appendRules(_rule, 0);
194
214
  }
195
215
  if (rule.use) {
196
216
  if (Array.isArray(rule.use)) {
197
- let indexList = [];
198
- rule.use.forEach((_r, index) => {
199
- if (fn(_r)) {
200
- indexList.push(index);
217
+ rule.use = rule.use.flatMap((loaderConfig) => {
218
+ if (typeof loaderConfig === "string" || typeof loaderConfig === "object" && loaderConfig && "loader" in loaderConfig) {
219
+ return fn(loaderConfig) ? appendProbeLoaders(compiler, loaderConfig) : [loaderConfig];
201
220
  }
221
+ return [loaderConfig];
202
222
  });
203
- let _rule2 = (0, import_lodash.cloneDeep)(rule);
204
- if (indexList.length) {
205
- indexList.forEach((i, _index) => {
206
- if (i !== void 0) {
207
- _rule2 = appendRules(_rule2, i + _index * 2);
208
- }
209
- });
223
+ } else if (typeof rule.use === "object" && !Array.isArray(rule.use) && typeof rule.use !== "function") {
224
+ if ("loader" in rule.use) {
225
+ rule.use = fn(rule.use) ? appendProbeLoaders(compiler, rule.use) : [rule.use];
210
226
  }
211
- return _rule2;
212
- }
213
- if (typeof rule.use === "object" && !Array.isArray(rule.use) && typeof rule.use !== "function") {
214
- rule.use = [
227
+ } else if (typeof rule.use === "string") {
228
+ rule.use = fn(rule.use) ? appendProbeLoaders(compiler, { loader: rule.use }) : [
215
229
  {
216
- ...rule.use
230
+ loader: rule.use
217
231
  }
218
232
  ];
219
- return appendRules(rule, 0);
220
233
  }
221
234
  }
222
235
  if ("oneOf" in rule && rule.oneOf) {
223
236
  return {
224
237
  ...rule,
225
- oneOf: addProbeLoader2Rules(rule.oneOf, appendRules, fn)
238
+ oneOf: addProbeLoader2Rules(rule.oneOf, compiler, fn)
226
239
  };
227
240
  }
228
241
  if ("rules" in rule && rule.rules) {
229
242
  return {
230
243
  ...rule,
231
- rules: addProbeLoader2Rules(rule.rules, appendRules, fn)
244
+ rules: addProbeLoader2Rules(rule.rules, compiler, fn)
232
245
  };
233
246
  }
234
247
  return rule;
@@ -30,7 +30,7 @@ class InternalBundleTagPlugin extends import_base.InternalBasePlugin {
30
30
  this.name = "bundleTag";
31
31
  }
32
32
  apply(compiler) {
33
- const supportBannerPlugin = !!this.options.supports?.banner;
33
+ const supportBannerPlugin = this.options.supports?.banner;
34
34
  compiler.hooks.compilation.tap(
35
35
  "RsdoctorTagBannerPlugin",
36
36
  (compilation) => {
@@ -40,7 +40,7 @@ class InternalBundleTagPlugin extends import_base.InternalBasePlugin {
40
40
  stage: -2e3
41
41
  },
42
42
  async () => {
43
- if (!compilation.options.plugins.map((p) => p && p.constructor.name).includes("BannerPlugin") && !supportBannerPlugin) {
43
+ if (!compilation.options.plugins.map((p) => p && p.constructor.name).includes("BannerPlugin") || supportBannerPlugin === false) {
44
44
  return;
45
45
  }
46
46
  import_logger.logger.info(
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/inner-plugins/utils/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,IAAI,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAC/E,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,WAAW,EACZ,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,4BAA4B,EAC5B,+BAA+B,EAC/B,eAAe,EAChB,MAAM,SAAS,CAAC;AAMjB,wBAAgB,mBAAmB,CAAC,KAAK,SAAS,MAAM,CAAC,cAAc,EAAE,EACvE,MAAM,GAAE,4BAA4B,CAAC,KAAK,CAAM,GAC/C,+BAA+B,CAAC,KAAK,CAAC,CA6FxC;AAED,wBAAgB,uBAAuB,CACrC,IAAI,EACA,wBAAwB,GACxB,gBAAgB,GAChB,sBAAsB,GACtB,IAAI,QAcT;AAED,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,MAAM,CAAC,WAAW,EAAE,GAAG,WAAW,CAAC,OAAO,CAAC,QA+BnD;AAED,eAAO,MAAM,mBAAmB,mBACd,eAAe,QACzB,MAAM,OAAO,GAAG,CAAC,KAAK,KAC3B,GAAG,CAAC,UAuBN,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/inner-plugins/utils/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,IAAI,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAC/E,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,WAAW,EACZ,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,4BAA4B,EAC5B,+BAA+B,EAC/B,eAAe,EAChB,MAAM,SAAS,CAAC;AAMjB,wBAAgB,mBAAmB,CAAC,KAAK,SAAS,MAAM,CAAC,cAAc,EAAE,EACvE,MAAM,GAAE,4BAA4B,CAAC,KAAK,CAAM,GAC/C,+BAA+B,CAAC,KAAK,CAAC,CAiGxC;AAED,wBAAgB,uBAAuB,CACrC,IAAI,EACA,wBAAwB,GACxB,gBAAgB,GAChB,sBAAsB,GACtB,IAAI,QAcT;AAED,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,MAAM,CAAC,WAAW,EAAE,GAAG,WAAW,CAAC,OAAO,CAAC,QA+BnD;AAED,eAAO,MAAM,mBAAmB,mBACd,eAAe,QACzB,MAAM,OAAO,GAAG,CAAC,KAAK,KAC3B,GAAG,CAAC,UAuBN,CAAC"}
@@ -55,7 +55,11 @@ function normalizeUserConfig(config = {}) {
55
55
  },
56
56
  disableTOSUpload = false,
57
57
  innerClientPath = "",
58
- supports = { parseBundle: true, banner: false, generateTileGraph: true },
58
+ supports = {
59
+ parseBundle: true,
60
+ banner: void 0,
61
+ generateTileGraph: true
62
+ },
59
63
  port,
60
64
  printLog = { serverUrls: true },
61
65
  mode = "normal",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/core",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -62,24 +62,24 @@
62
62
  }
63
63
  },
64
64
  "dependencies": {
65
- "axios": "^1.7.2",
65
+ "axios": "^1.7.7",
66
66
  "enhanced-resolve": "5.12.0",
67
- "filesize": "^10.1.4",
67
+ "filesize": "^10.1.6",
68
68
  "fs-extra": "^11.1.1",
69
69
  "lodash": "^4.17.21",
70
70
  "path-browserify": "1.0.1",
71
71
  "semver": "^7.6.3",
72
72
  "source-map": "^0.7.4",
73
73
  "webpack-bundle-analyzer": "^4.10.2",
74
- "@rsdoctor/graph": "0.4.3",
75
- "@rsdoctor/sdk": "0.4.3",
76
- "@rsdoctor/types": "0.4.3",
77
- "@rsdoctor/utils": "0.4.3"
74
+ "@rsdoctor/graph": "0.4.5",
75
+ "@rsdoctor/sdk": "0.4.5",
76
+ "@rsdoctor/types": "0.4.5",
77
+ "@rsdoctor/utils": "0.4.5"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@rspack/core": "0.7.5",
81
81
  "@types/fs-extra": "^11.0.4",
82
- "@types/lodash": "^4.17.7",
82
+ "@types/lodash": "^4.17.9",
83
83
  "@types/node": "^16",
84
84
  "@types/node-fetch": "^2.6.11",
85
85
  "@types/path-browserify": "1.0.3",
@@ -88,7 +88,7 @@
88
88
  "babel-loader": "9.1.3",
89
89
  "string-loader": "0.0.1",
90
90
  "ts-loader": "^9.5.1",
91
- "tslib": "2.4.1",
91
+ "tslib": "2.7.0",
92
92
  "typescript": "^5.2.2",
93
93
  "webpack": "^5.90.0",
94
94
  "@scripts/test-helper": "0.1.1"
@@ -102,6 +102,6 @@
102
102
  "dev": "npm run start",
103
103
  "build": "modern build",
104
104
  "start": "modern build -w",
105
- "test": "vitest run -u"
105
+ "test": "vitest run"
106
106
  }
107
107
  }