@lynx-js/rspeedy-canary 0.11.0-canary-20250826-48c8fc40 → 0.11.0-canary-20250827-83713b12

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/CHANGELOG.md CHANGED
@@ -1,17 +1,21 @@
1
1
  # @lynx-js/rspeedy
2
2
 
3
- ## 0.11.0-canary-20250826161249-48c8fc40f5f33bfeaeb319951d523e08d55cf6ef
3
+ ## 0.11.0-canary-20250827013554-83713b12f3c828191d0d131f6a7aec77d6ad4f9d
4
4
 
5
5
  ### Minor Changes
6
6
 
7
7
  - Bump Rsbuild v1.5.0 with Rspack v1.5.0. ([#1591](https://github.com/lynx-family/lynx-stack/pull/1591))
8
8
 
9
+ - **BREAKING CHANGE**: Remove the `./register` exports from `@lynx-js/rspeedy`. ([#1547](https://github.com/lynx-family/lynx-stack/pull/1547))
10
+
11
+ This should not affect most users.
12
+
9
13
  ### Patch Changes
10
14
 
11
15
  - Support `rspeedy build --watch` ([#1579](https://github.com/lynx-family/lynx-stack/pull/1579))
12
16
 
13
17
  - Updated dependencies [[`1952fc1`](https://github.com/lynx-family/lynx-stack/commit/1952fc1557e5abbdbdf4a2073fd3b6f64dd32c3c)]:
14
- - @lynx-js/chunk-loading-webpack-plugin@0.3.2-canary-20250826161249-48c8fc40f5f33bfeaeb319951d523e08d55cf6ef
18
+ - @lynx-js/chunk-loading-webpack-plugin@0.3.2-canary-20250827013554-83713b12f3c828191d0d131f6a7aec77d6ad4f9d
15
19
  - @lynx-js/cache-events-webpack-plugin@0.0.1
16
20
 
17
21
  ## 0.10.8
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import * as __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__ from "@rsbuild/co
2
2
  import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
3
3
  import node_fs from "node:fs";
4
4
  import { pathToFileURL } from "node:url";
5
- import { register } from "@lynx-js/rspeedy/register";
5
+ import { register } from "#register";
6
6
  var __webpack_modules__ = {
7
7
  "../../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": function(module) {
8
8
  let p = process || {}, argv = p.argv || [], env = p.env || {};
@@ -1,5 +1,5 @@
1
1
  import { pathToFileURL } from "node:url";
2
- import { register } from "@lynx-js/rspeedy/register";
2
+ import { register } from "#register";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__ from "node:fs";
4
4
  import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
5
5
  export const __webpack_id__ = "src_cli_build_ts";
@@ -1,5 +1,5 @@
1
1
  import { pathToFileURL } from "node:url";
2
- import { register } from "@lynx-js/rspeedy/register";
2
+ import { register } from "#register";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__ from "node:fs";
4
4
  import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
5
5
  export const __webpack_id__ = "src_cli_dev_ts";
@@ -1,5 +1,5 @@
1
1
  import { pathToFileURL } from "node:url";
2
- import { register } from "@lynx-js/rspeedy/register";
2
+ import { register } from "#register";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__ from "node:fs";
4
4
  import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
5
5
  export const __webpack_id__ = "src_cli_inspect_ts";
@@ -1,5 +1,5 @@
1
1
  import { pathToFileURL } from "node:url";
2
- import { register } from "@lynx-js/rspeedy/register";
2
+ import { register } from "#register";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__ from "node:fs";
4
4
  import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
5
5
  export const __webpack_id__ = "src_cli_preview_ts";
@@ -20,11 +20,11 @@ export const __webpack_modules__ = {
20
20
  config,
21
21
  debug: _debug_js__WEBPACK_IMPORTED_MODULE_1__.Yz,
22
22
  async exit (code) {
23
- const { exit } = await __webpack_require__.e("src_cli_exit_ts").then(__webpack_require__.bind(__webpack_require__, "./src/cli/exit.ts"));
23
+ const { exit } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "./src/cli/exit.ts"));
24
24
  return exit(code);
25
25
  },
26
26
  logger: _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger,
27
- version: _version_js__WEBPACK_IMPORTED_MODULE_2__.rE
27
+ version: _version_js__WEBPACK_IMPORTED_MODULE_2__.version
28
28
  });
29
29
  }
30
30
  };
@@ -8,10 +8,8 @@ export const __webpack_modules__ = {
8
8
  __webpack_require__.d(__webpack_exports__, {
9
9
  pluginRsdoctor: ()=>pluginRsdoctor
10
10
  });
11
- var core_ = __webpack_require__("@rsbuild/core");
12
- function isCI() {
13
- return !!process.env['CI'] && 'false' !== process.env['CI'];
14
- }
11
+ var _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("@rsbuild/core");
12
+ var _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./src/utils/is-ci.ts");
15
13
  function pluginRsdoctor(options) {
16
14
  return {
17
15
  name: 'lynx:rsbuild:rsdoctor',
@@ -28,7 +26,7 @@ export const __webpack_modules__ = {
28
26
  if (registered) continue;
29
27
  config.plugins ??= [];
30
28
  const defaultOptions = {
31
- disableClientServer: isCI(),
29
+ disableClientServer: (0, _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_1__.J)(),
32
30
  supports: {
33
31
  banner: true
34
32
  },
@@ -43,12 +41,20 @@ export const __webpack_modules__ = {
43
41
  }
44
42
  }
45
43
  };
46
- config.plugins.push(new RsdoctorRspackPlugin((0, core_.mergeRsbuildConfig)(defaultOptions, options)));
44
+ config.plugins.push(new RsdoctorRspackPlugin((0, _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.mergeRsbuildConfig)(defaultOptions, options)));
47
45
  }
48
- core_.logger.info("Rsdoctor is enabled.");
46
+ _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger.info("Rsdoctor is enabled.");
49
47
  });
50
48
  }
51
49
  };
52
50
  }
51
+ },
52
+ "./src/utils/is-ci.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
53
+ __webpack_require__.d(__webpack_exports__, {
54
+ J: ()=>isCI
55
+ });
56
+ function isCI() {
57
+ return !!process.env['CI'] && 'false' !== process.env['CI'];
58
+ }
53
59
  }
54
60
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/rspeedy-canary",
3
- "version": "0.11.0-canary-20250826-48c8fc40",
3
+ "version": "0.11.0-canary-20250827-83713b12",
4
4
  "description": "A webpack/rspack-based frontend toolchain for Lynx",
5
5
  "keywords": [
6
6
  "webpack",
@@ -19,6 +19,12 @@
19
19
  "email": "colinwang.0616@gmail.com"
20
20
  },
21
21
  "type": "module",
22
+ "imports": {
23
+ "#register": {
24
+ "types": "./dist/register/index.d.ts",
25
+ "import": "./dist/register/index.js"
26
+ }
27
+ },
22
28
  "exports": {
23
29
  ".": {
24
30
  "types": "./dist/index.d.ts",
@@ -27,10 +33,6 @@
27
33
  "./client": {
28
34
  "types": "./client.d.ts"
29
35
  },
30
- "./register": {
31
- "types": "./dist/register/index.d.ts",
32
- "import": "./dist/register/index.js"
33
- },
34
36
  "./package.json": "./package.json"
35
37
  },
36
38
  "types": "./dist/index.d.ts",
@@ -47,7 +49,7 @@
47
49
  ],
48
50
  "dependencies": {
49
51
  "@lynx-js/cache-events-webpack-plugin": "npm:@lynx-js/cache-events-webpack-plugin-canary@0.0.1",
50
- "@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.3.2-canary-20250826-48c8fc40",
52
+ "@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.3.2-canary-20250827-83713b12",
51
53
  "@lynx-js/webpack-dev-transport": "npm:@lynx-js/webpack-dev-transport-canary@0.2.0",
52
54
  "@lynx-js/websocket": "npm:@lynx-js/websocket-canary@0.0.4",
53
55
  "@rsbuild/core": "1.5.0",
@@ -64,6 +66,7 @@
64
66
  "ipaddr.js": "^2.2.0",
65
67
  "javascript-stringify": "^2.1.0",
66
68
  "picocolors": "^1.1.1",
69
+ "rsbuild-plugin-arethetypeswrong": "0.1.1",
67
70
  "rsbuild-plugin-publint": "0.3.3",
68
71
  "tiny-invariant": "^1.3.3",
69
72
  "ts-blank-space": "^0.6.2",