@rsbuild/core 1.2.0-beta.1 → 1.2.0

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,9 +1,9 @@
1
1
  (() => {
2
2
  var __webpack_modules__ = {
3
- 616: (module, __unused_webpack_exports, __nccwpck_require__) => {
4
- const url = __nccwpck_require__(310);
5
- const path = __nccwpck_require__(17);
6
- const launch = __nccwpck_require__(453);
3
+ 680: (module, __unused_webpack_exports, __nccwpck_require__) => {
4
+ const url = __nccwpck_require__(16);
5
+ const path = __nccwpck_require__(928);
6
+ const launch = __nccwpck_require__(506);
7
7
  module.exports = (specifiedEditor, srcRoot, onErrorCallback) => {
8
8
  if (typeof specifiedEditor === "function") {
9
9
  onErrorCallback = specifiedEditor;
@@ -32,7 +32,7 @@
32
32
  };
33
33
  };
34
34
  },
35
- 812: (module) => {
35
+ 991: (module) => {
36
36
  module.exports = {
37
37
  atom: "atom",
38
38
  Brackets: "brackets",
@@ -60,7 +60,7 @@
60
60
  "rider.sh": "rider",
61
61
  };
62
62
  },
63
- 829: (module) => {
63
+ 748: (module) => {
64
64
  module.exports = {
65
65
  "/Applications/Atom.app/Contents/MacOS/Atom": "atom",
66
66
  "/Applications/Atom Beta.app/Contents/MacOS/Atom Beta":
@@ -107,7 +107,7 @@
107
107
  "/Applications/Zed.app/Contents/MacOS/zed": "zed",
108
108
  };
109
109
  },
110
- 902: (module) => {
110
+ 444: (module) => {
111
111
  module.exports = [
112
112
  "Brackets.exe",
113
113
  "Code.exe",
@@ -134,8 +134,8 @@
134
134
  "rider64.exe",
135
135
  ];
136
136
  },
137
- 542: (module, __unused_webpack_exports, __nccwpck_require__) => {
138
- const path = __nccwpck_require__(17);
137
+ 302: (module, __unused_webpack_exports, __nccwpck_require__) => {
138
+ const path = __nccwpck_require__(928);
139
139
  module.exports = function getArgumentsForPosition(
140
140
  editor,
141
141
  fileName,
@@ -205,13 +205,13 @@
205
205
  return [fileName];
206
206
  };
207
207
  },
208
- 250: (module, __unused_webpack_exports, __nccwpck_require__) => {
209
- const path = __nccwpck_require__(17);
210
- const shellQuote = __nccwpck_require__(522);
211
- const childProcess = __nccwpck_require__(81);
212
- const COMMON_EDITORS_MACOS = __nccwpck_require__(829);
213
- const COMMON_EDITORS_LINUX = __nccwpck_require__(812);
214
- const COMMON_EDITORS_WIN = __nccwpck_require__(902);
208
+ 215: (module, __unused_webpack_exports, __nccwpck_require__) => {
209
+ const path = __nccwpck_require__(928);
210
+ const shellQuote = __nccwpck_require__(32);
211
+ const childProcess = __nccwpck_require__(317);
212
+ const COMMON_EDITORS_MACOS = __nccwpck_require__(748);
213
+ const COMMON_EDITORS_LINUX = __nccwpck_require__(991);
214
+ const COMMON_EDITORS_WIN = __nccwpck_require__(444);
215
215
  module.exports = function guessEditor(specifiedEditor) {
216
216
  if (specifiedEditor) {
217
217
  return shellQuote.parse(specifiedEditor);
@@ -288,14 +288,14 @@
288
288
  return [null];
289
289
  };
290
290
  },
291
- 453: (module, __unused_webpack_exports, __nccwpck_require__) => {
292
- const fs = __nccwpck_require__(147);
293
- const os = __nccwpck_require__(37);
294
- const path = __nccwpck_require__(17);
295
- const colors = __nccwpck_require__(272);
296
- const childProcess = __nccwpck_require__(81);
297
- const guessEditor = __nccwpck_require__(250);
298
- const getArgumentsForPosition = __nccwpck_require__(542);
291
+ 506: (module, __unused_webpack_exports, __nccwpck_require__) => {
292
+ const fs = __nccwpck_require__(896);
293
+ const os = __nccwpck_require__(857);
294
+ const path = __nccwpck_require__(928);
295
+ const colors = __nccwpck_require__(717);
296
+ const childProcess = __nccwpck_require__(317);
297
+ const guessEditor = __nccwpck_require__(215);
298
+ const getArgumentsForPosition = __nccwpck_require__(302);
299
299
  function wrapErrorCallback(cb) {
300
300
  return (fileName, errorMessage) => {
301
301
  console.log();
@@ -414,12 +414,12 @@
414
414
  }
415
415
  module.exports = launchEditor;
416
416
  },
417
- 522: (__unused_webpack_module, exports, __nccwpck_require__) => {
417
+ 32: (__unused_webpack_module, exports, __nccwpck_require__) => {
418
418
  "use strict";
419
- exports.quote = __nccwpck_require__(392);
420
- exports.parse = __nccwpck_require__(145);
419
+ exports.quote = __nccwpck_require__(740);
420
+ exports.parse = __nccwpck_require__(779);
421
421
  },
422
- 145: (module) => {
422
+ 779: (module) => {
423
423
  "use strict";
424
424
  var CONTROL =
425
425
  "(?:" +
@@ -620,7 +620,7 @@
620
620
  }, []);
621
621
  };
622
622
  },
623
- 392: (module) => {
623
+ 740: (module) => {
624
624
  "use strict";
625
625
  module.exports = function quote(xs) {
626
626
  return xs
@@ -642,27 +642,27 @@
642
642
  .join(" ");
643
643
  };
644
644
  },
645
- 272: (module) => {
645
+ 717: (module) => {
646
646
  "use strict";
647
647
  module.exports = require("../picocolors");
648
648
  },
649
- 81: (module) => {
649
+ 317: (module) => {
650
650
  "use strict";
651
651
  module.exports = require("child_process");
652
652
  },
653
- 147: (module) => {
653
+ 896: (module) => {
654
654
  "use strict";
655
655
  module.exports = require("fs");
656
656
  },
657
- 37: (module) => {
657
+ 857: (module) => {
658
658
  "use strict";
659
659
  module.exports = require("os");
660
660
  },
661
- 17: (module) => {
661
+ 928: (module) => {
662
662
  "use strict";
663
663
  module.exports = require("path");
664
664
  },
665
- 310: (module) => {
665
+ 16: (module) => {
666
666
  "use strict";
667
667
  module.exports = require("url");
668
668
  },
@@ -689,6 +689,6 @@
689
689
  }
690
690
  if (typeof __nccwpck_require__ !== "undefined")
691
691
  __nccwpck_require__.ab = __dirname + "/";
692
- var __webpack_exports__ = __nccwpck_require__(616);
692
+ var __webpack_exports__ = __nccwpck_require__(680);
693
693
  module.exports = __webpack_exports__;
694
694
  })();
@@ -1,7 +1,7 @@
1
1
  (() => {
2
2
  "use strict";
3
3
  var __webpack_modules__ = {
4
- 261: (module) => {
4
+ 997: (module) => {
5
5
  /*!
6
6
  * ee-first
7
7
  * Copyright(c) 2014 Jonathan Ong
@@ -53,7 +53,7 @@
53
53
  };
54
54
  }
55
55
  },
56
- 772: (module, __unused_webpack_exports, __nccwpck_require__) => {
56
+ 21: (module, __unused_webpack_exports, __nccwpck_require__) => {
57
57
  /*!
58
58
  * on-finished
59
59
  * Copyright(c) 2013 Jonathan Ong
@@ -63,7 +63,7 @@
63
63
  module.exports = onFinished;
64
64
  module.exports.isFinished = isFinished;
65
65
  var asyncHooks = tryRequireAsyncHooks();
66
- var first = __nccwpck_require__(261);
66
+ var first = __nccwpck_require__(997);
67
67
  var defer =
68
68
  typeof setImmediate === "function"
69
69
  ? setImmediate
@@ -150,7 +150,7 @@
150
150
  }
151
151
  function tryRequireAsyncHooks() {
152
152
  try {
153
- return __nccwpck_require__(852);
153
+ return __nccwpck_require__(290);
154
154
  } catch (e) {
155
155
  return {};
156
156
  }
@@ -166,7 +166,7 @@
166
166
  return res.runInAsyncScope.bind(res, fn, null);
167
167
  }
168
168
  },
169
- 852: (module) => {
169
+ 290: (module) => {
170
170
  module.exports = require("async_hooks");
171
171
  },
172
172
  };
@@ -192,6 +192,6 @@
192
192
  }
193
193
  if (typeof __nccwpck_require__ !== "undefined")
194
194
  __nccwpck_require__.ab = __dirname + "/";
195
- var __webpack_exports__ = __nccwpck_require__(772);
195
+ var __webpack_exports__ = __nccwpck_require__(21);
196
196
  module.exports = __webpack_exports__;
197
197
  })();
@@ -1,6 +1,6 @@
1
1
  (() => {
2
2
  var __webpack_modules__ = {
3
- 104: (module) => {
3
+ 932: (module) => {
4
4
  "use strict";
5
5
  module.exports = (object, propertyName, fn) => {
6
6
  const define = (value) =>
@@ -24,9 +24,9 @@
24
24
  return object;
25
25
  };
26
26
  },
27
- 669: (module, __unused_webpack_exports, __nccwpck_require__) => {
27
+ 293: (module, __unused_webpack_exports, __nccwpck_require__) => {
28
28
  "use strict";
29
- const fs = __nccwpck_require__(147);
29
+ const fs = __nccwpck_require__(896);
30
30
  let isDocker;
31
31
  function hasDockerEnv() {
32
32
  try {
@@ -52,11 +52,11 @@
52
52
  return isDocker;
53
53
  };
54
54
  },
55
- 729: (module, __unused_webpack_exports, __nccwpck_require__) => {
55
+ 622: (module, __unused_webpack_exports, __nccwpck_require__) => {
56
56
  "use strict";
57
- const os = __nccwpck_require__(37);
58
- const fs = __nccwpck_require__(147);
59
- const isDocker = __nccwpck_require__(669);
57
+ const os = __nccwpck_require__(857);
58
+ const fs = __nccwpck_require__(896);
59
+ const isDocker = __nccwpck_require__(293);
60
60
  const isWsl = () => {
61
61
  if (process.platform !== "linux") {
62
62
  return false;
@@ -84,13 +84,13 @@
84
84
  module.exports = isWsl();
85
85
  }
86
86
  },
87
- 913: (module, __unused_webpack_exports, __nccwpck_require__) => {
88
- const path = __nccwpck_require__(17);
89
- const childProcess = __nccwpck_require__(81);
90
- const { promises: fs, constants: fsConstants } = __nccwpck_require__(147);
91
- const isWsl = __nccwpck_require__(729);
92
- const isDocker = __nccwpck_require__(669);
93
- const defineLazyProperty = __nccwpck_require__(104);
87
+ 820: (module, __unused_webpack_exports, __nccwpck_require__) => {
88
+ const path = __nccwpck_require__(928);
89
+ const childProcess = __nccwpck_require__(317);
90
+ const { promises: fs, constants: fsConstants } = __nccwpck_require__(896);
91
+ const isWsl = __nccwpck_require__(622);
92
+ const isDocker = __nccwpck_require__(293);
93
+ const defineLazyProperty = __nccwpck_require__(932);
94
94
  const localXdgOpenPath = __nccwpck_require__.ab + "xdg-open";
95
95
  const { platform, arch } = process;
96
96
  const hasContainerEnv = () => {
@@ -365,19 +365,19 @@
365
365
  open.openApp = openApp;
366
366
  module.exports = open;
367
367
  },
368
- 81: (module) => {
368
+ 317: (module) => {
369
369
  "use strict";
370
370
  module.exports = require("child_process");
371
371
  },
372
- 147: (module) => {
372
+ 896: (module) => {
373
373
  "use strict";
374
374
  module.exports = require("fs");
375
375
  },
376
- 37: (module) => {
376
+ 857: (module) => {
377
377
  "use strict";
378
378
  module.exports = require("os");
379
379
  },
380
- 17: (module) => {
380
+ 928: (module) => {
381
381
  "use strict";
382
382
  module.exports = require("path");
383
383
  },
@@ -404,6 +404,6 @@
404
404
  }
405
405
  if (typeof __nccwpck_require__ !== "undefined")
406
406
  __nccwpck_require__.ab = __dirname + "/";
407
- var __webpack_exports__ = __nccwpck_require__(913);
407
+ var __webpack_exports__ = __nccwpck_require__(820);
408
408
  module.exports = __webpack_exports__;
409
409
  })();
@@ -1,6 +1,6 @@
1
1
  (() => {
2
2
  var __webpack_modules__ = {
3
- 209: (module) => {
3
+ 456: (module) => {
4
4
  let p = process || {},
5
5
  argv = p.argv || [],
6
6
  env = p.env || {};
@@ -103,6 +103,6 @@
103
103
  }
104
104
  if (typeof __nccwpck_require__ !== "undefined")
105
105
  __nccwpck_require__.ab = __dirname + "/";
106
- var __webpack_exports__ = __nccwpck_require__(209);
106
+ var __webpack_exports__ = __nccwpck_require__(456);
107
107
  module.exports = __webpack_exports__;
108
108
  })();