@lynx-js/rspeedy 0.12.2 → 0.12.3
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 +9 -0
- package/dist/0~src_config_validate_ts.js +6 -6
- package/dist/0~src_plugins_dev_plugin_ts.js +3 -2
- package/dist/0~src_plugins_target_plugin_ts.js +2 -1
- package/dist/{0~vendors-node_modules_pnpm_ipaddr_js_2_2_0_node_modules_ipaddr_js_lib_ipaddr_js.js → 0~vendors-node_modules_pnpm_ipaddr_js_2_3_0_node_modules_ipaddr_js_lib_ipaddr_js.js} +8 -3
- package/dist/1~src_cli_commands_ts.js +1 -1
- package/dist/1~src_config_validate_ts.js +6 -6
- package/dist/1~src_plugins_dev_plugin_ts.js +3 -2
- package/dist/1~src_plugins_target_plugin_ts.js +2 -1
- package/dist/1~src_version_ts.js +1 -1
- package/dist/{1~vendors-node_modules_pnpm_ipaddr_js_2_2_0_node_modules_ipaddr_js_lib_ipaddr_js.js → 1~vendors-node_modules_pnpm_ipaddr_js_2_3_0_node_modules_ipaddr_js_lib_ipaddr_js.js} +8 -3
- package/dist/index.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @lynx-js/rspeedy
|
|
2
2
|
|
|
3
|
+
## 0.12.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Support environment variants to enable multiple configurations for the same targets. ([#1969](https://github.com/lynx-family/lynx-stack/pull/1969))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @lynx-js/web-rsbuild-server-middleware@0.19.2
|
|
11
|
+
|
|
3
12
|
## 0.12.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -3,7 +3,7 @@ export const __rspack_esm_ids = [
|
|
|
3
3
|
"src_config_validate_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"../../../node_modules/.pnpm/typia@
|
|
6
|
+
"../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_accessExpressionAsString.js" (__unused_webpack_module, exports) {
|
|
7
7
|
exports._accessExpressionAsString = void 0;
|
|
8
8
|
const _accessExpressionAsString = (str)=>variable(str) ? `.${str}` : `[${JSON.stringify(str)}]`;
|
|
9
9
|
exports._accessExpressionAsString = _accessExpressionAsString;
|
|
@@ -48,7 +48,7 @@ export const __webpack_modules__ = {
|
|
|
48
48
|
"with"
|
|
49
49
|
]);
|
|
50
50
|
},
|
|
51
|
-
"../../../node_modules/.pnpm/typia@
|
|
51
|
+
"../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_createStandardSchema.js" (__unused_webpack_module, exports) {
|
|
52
52
|
exports._createStandardSchema = void 0;
|
|
53
53
|
const _createStandardSchema = (fn)=>Object.assign(fn, {
|
|
54
54
|
"~standard": {
|
|
@@ -132,7 +132,7 @@ export const __webpack_modules__ = {
|
|
|
132
132
|
return segments;
|
|
133
133
|
};
|
|
134
134
|
},
|
|
135
|
-
"../../../node_modules/.pnpm/typia@
|
|
135
|
+
"../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_validateReport.js" (__unused_webpack_module, exports) {
|
|
136
136
|
exports._validateReport = void 0;
|
|
137
137
|
const _validateReport = (array)=>{
|
|
138
138
|
const reportable = (path)=>{
|
|
@@ -160,9 +160,9 @@ export const __webpack_modules__ = {
|
|
|
160
160
|
validate: ()=>validate,
|
|
161
161
|
validateConfig: ()=>validateConfig
|
|
162
162
|
});
|
|
163
|
-
var typia_lib_internal_accessExpressionAsString_js__rspack_import_0 = __webpack_require__("../../../node_modules/.pnpm/typia@
|
|
164
|
-
var typia_lib_internal_validateReport_js__rspack_import_2 = __webpack_require__("../../../node_modules/.pnpm/typia@
|
|
165
|
-
var typia_lib_internal_createStandardSchema_js__rspack_import_1 = __webpack_require__("../../../node_modules/.pnpm/typia@
|
|
163
|
+
var typia_lib_internal_accessExpressionAsString_js__rspack_import_0 = __webpack_require__("../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_accessExpressionAsString.js");
|
|
164
|
+
var typia_lib_internal_validateReport_js__rspack_import_2 = __webpack_require__("../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_validateReport.js");
|
|
165
|
+
var typia_lib_internal_createStandardSchema_js__rspack_import_1 = __webpack_require__("../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_createStandardSchema.js");
|
|
166
166
|
var picocolors__rspack_import_3 = __webpack_require__("../../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
|
|
167
167
|
var picocolors__rspack_import_3_default = /*#__PURE__*/ __webpack_require__.n(picocolors__rspack_import_3);
|
|
168
168
|
const validateConfig = (()=>{
|
|
@@ -14,7 +14,8 @@ export const __webpack_modules__ = {
|
|
|
14
14
|
var picocolors_default = /*#__PURE__*/ __webpack_require__.n(picocolors);
|
|
15
15
|
var debug = __webpack_require__("./src/debug.ts");
|
|
16
16
|
function isLynx(environment) {
|
|
17
|
-
|
|
17
|
+
const environmentName = 'string' == typeof environment ? environment : environment.name;
|
|
18
|
+
return 'lynx' === environmentName || environmentName.startsWith('lynx-');
|
|
18
19
|
}
|
|
19
20
|
class ProvidePlugin_ProvidePlugin {
|
|
20
21
|
definitions;
|
|
@@ -165,7 +166,7 @@ export const __webpack_modules__ = {
|
|
|
165
166
|
}
|
|
166
167
|
async function findIp(family, isInternal = false) {
|
|
167
168
|
const [{ default: ipaddr }, os] = await Promise.all([
|
|
168
|
-
__webpack_require__.e("vendors-
|
|
169
|
+
__webpack_require__.e("vendors-node_modules_pnpm_ipaddr_js_2_3_0_node_modules_ipaddr_js_lib_ipaddr_js").then(__webpack_require__.t.bind(__webpack_require__, "../../../node_modules/.pnpm/ipaddr.js@2.3.0/node_modules/ipaddr.js/lib/ipaddr.js", 23)),
|
|
169
170
|
import("node:os")
|
|
170
171
|
]);
|
|
171
172
|
let host;
|
|
@@ -9,7 +9,8 @@ export const __webpack_modules__ = {
|
|
|
9
9
|
});
|
|
10
10
|
var getESVersionTarget = __webpack_require__("./src/utils/getESVersionTarget.ts");
|
|
11
11
|
function isWeb(environment) {
|
|
12
|
-
|
|
12
|
+
const environmentName = 'string' == typeof environment ? environment : environment.name;
|
|
13
|
+
return 'web' === environmentName || environmentName.startsWith('web-');
|
|
13
14
|
}
|
|
14
15
|
function pluginTarget() {
|
|
15
16
|
return {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const __rspack_esm_id = "vendors-
|
|
1
|
+
export const __rspack_esm_id = "vendors-node_modules_pnpm_ipaddr_js_2_3_0_node_modules_ipaddr_js_lib_ipaddr_js";
|
|
2
2
|
export const __rspack_esm_ids = [
|
|
3
|
-
"vendors-
|
|
3
|
+
"vendors-node_modules_pnpm_ipaddr_js_2_3_0_node_modules_ipaddr_js_lib_ipaddr_js"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"../../../node_modules/.pnpm/ipaddr.js@2.
|
|
6
|
+
"../../../node_modules/.pnpm/ipaddr.js@2.3.0/node_modules/ipaddr.js/lib/ipaddr.js" (module) {
|
|
7
7
|
(function(root) {
|
|
8
8
|
'use strict';
|
|
9
9
|
const ipv4Part = '(0?\\d+|0x[a-f0-9]+)';
|
|
@@ -377,6 +377,11 @@ export const __webpack_modules__ = {
|
|
|
377
377
|
if (ipaddr.IPv4.isValid(string) && string.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/)) return true;
|
|
378
378
|
return false;
|
|
379
379
|
};
|
|
380
|
+
ipaddr.IPv4.isValidCIDRFourPartDecimal = function(string) {
|
|
381
|
+
const match = string.match(/^(.+)\/(\d+)$/);
|
|
382
|
+
if (!ipaddr.IPv4.isValidCIDR(string) || !match) return false;
|
|
383
|
+
return ipaddr.IPv4.isValidFourPartDecimal(match[1]);
|
|
384
|
+
};
|
|
380
385
|
ipaddr.IPv4.networkAddressFromCIDR = function(string) {
|
|
381
386
|
let cidr, i, ipInterfaceOctets, octets, subnetMaskOctets;
|
|
382
387
|
try {
|
|
@@ -63,7 +63,7 @@ export const __webpack_modules__ = {
|
|
|
63
63
|
});
|
|
64
64
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
65
65
|
var package_namespaceObject = {
|
|
66
|
-
rE: "0.12.
|
|
66
|
+
rE: "0.12.3"
|
|
67
67
|
};
|
|
68
68
|
const version = package_namespaceObject.rE;
|
|
69
69
|
const rspackVersion = core_.rspack.rspackVersion;
|
|
@@ -3,7 +3,7 @@ export const __rspack_esm_ids = [
|
|
|
3
3
|
"src_config_validate_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"../../../node_modules/.pnpm/typia@
|
|
6
|
+
"../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_accessExpressionAsString.js" (__unused_webpack_module, exports) {
|
|
7
7
|
exports._accessExpressionAsString = void 0;
|
|
8
8
|
const _accessExpressionAsString = (str)=>variable(str) ? `.${str}` : `[${JSON.stringify(str)}]`;
|
|
9
9
|
exports._accessExpressionAsString = _accessExpressionAsString;
|
|
@@ -48,7 +48,7 @@ export const __webpack_modules__ = {
|
|
|
48
48
|
"with"
|
|
49
49
|
]);
|
|
50
50
|
},
|
|
51
|
-
"../../../node_modules/.pnpm/typia@
|
|
51
|
+
"../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_createStandardSchema.js" (__unused_webpack_module, exports) {
|
|
52
52
|
exports._createStandardSchema = void 0;
|
|
53
53
|
const _createStandardSchema = (fn)=>Object.assign(fn, {
|
|
54
54
|
"~standard": {
|
|
@@ -132,7 +132,7 @@ export const __webpack_modules__ = {
|
|
|
132
132
|
return segments;
|
|
133
133
|
};
|
|
134
134
|
},
|
|
135
|
-
"../../../node_modules/.pnpm/typia@
|
|
135
|
+
"../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_validateReport.js" (__unused_webpack_module, exports) {
|
|
136
136
|
exports._validateReport = void 0;
|
|
137
137
|
const _validateReport = (array)=>{
|
|
138
138
|
const reportable = (path)=>{
|
|
@@ -160,9 +160,9 @@ export const __webpack_modules__ = {
|
|
|
160
160
|
validate: ()=>validate,
|
|
161
161
|
validateConfig: ()=>validateConfig
|
|
162
162
|
});
|
|
163
|
-
var typia_lib_internal_accessExpressionAsString_js__rspack_import_0 = __webpack_require__("../../../node_modules/.pnpm/typia@
|
|
164
|
-
var typia_lib_internal_validateReport_js__rspack_import_2 = __webpack_require__("../../../node_modules/.pnpm/typia@
|
|
165
|
-
var typia_lib_internal_createStandardSchema_js__rspack_import_1 = __webpack_require__("../../../node_modules/.pnpm/typia@
|
|
163
|
+
var typia_lib_internal_accessExpressionAsString_js__rspack_import_0 = __webpack_require__("../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_accessExpressionAsString.js");
|
|
164
|
+
var typia_lib_internal_validateReport_js__rspack_import_2 = __webpack_require__("../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_validateReport.js");
|
|
165
|
+
var typia_lib_internal_createStandardSchema_js__rspack_import_1 = __webpack_require__("../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_createStandardSchema.js");
|
|
166
166
|
var picocolors__rspack_import_3 = __webpack_require__("../../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
|
|
167
167
|
var picocolors__rspack_import_3_default = /*#__PURE__*/ __webpack_require__.n(picocolors__rspack_import_3);
|
|
168
168
|
const validateConfig = (()=>{
|
|
@@ -14,7 +14,8 @@ export const __webpack_modules__ = {
|
|
|
14
14
|
var picocolors_default = /*#__PURE__*/ __webpack_require__.n(picocolors);
|
|
15
15
|
var debug = __webpack_require__("./src/debug.ts");
|
|
16
16
|
function isLynx(environment) {
|
|
17
|
-
|
|
17
|
+
const environmentName = 'string' == typeof environment ? environment : environment.name;
|
|
18
|
+
return 'lynx' === environmentName || environmentName.startsWith('lynx-');
|
|
18
19
|
}
|
|
19
20
|
class ProvidePlugin_ProvidePlugin {
|
|
20
21
|
definitions;
|
|
@@ -165,7 +166,7 @@ export const __webpack_modules__ = {
|
|
|
165
166
|
}
|
|
166
167
|
async function findIp(family, isInternal = false) {
|
|
167
168
|
const [{ default: ipaddr }, os] = await Promise.all([
|
|
168
|
-
__webpack_require__.e("vendors-
|
|
169
|
+
__webpack_require__.e("vendors-node_modules_pnpm_ipaddr_js_2_3_0_node_modules_ipaddr_js_lib_ipaddr_js").then(__webpack_require__.t.bind(__webpack_require__, "../../../node_modules/.pnpm/ipaddr.js@2.3.0/node_modules/ipaddr.js/lib/ipaddr.js", 23)),
|
|
169
170
|
import("node:os")
|
|
170
171
|
]);
|
|
171
172
|
let host;
|
|
@@ -9,7 +9,8 @@ export const __webpack_modules__ = {
|
|
|
9
9
|
});
|
|
10
10
|
var getESVersionTarget = __webpack_require__("./src/utils/getESVersionTarget.ts");
|
|
11
11
|
function isWeb(environment) {
|
|
12
|
-
|
|
12
|
+
const environmentName = 'string' == typeof environment ? environment : environment.name;
|
|
13
|
+
return 'web' === environmentName || environmentName.startsWith('web-');
|
|
13
14
|
}
|
|
14
15
|
function pluginTarget() {
|
|
15
16
|
return {
|
package/dist/1~src_version_ts.js
CHANGED
|
@@ -11,7 +11,7 @@ export const __webpack_modules__ = {
|
|
|
11
11
|
});
|
|
12
12
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
13
13
|
var package_namespaceObject = {
|
|
14
|
-
rE: "0.12.
|
|
14
|
+
rE: "0.12.3"
|
|
15
15
|
};
|
|
16
16
|
const version = package_namespaceObject.rE;
|
|
17
17
|
const rspackVersion = core_.rspack.rspackVersion;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const __rspack_esm_id = "vendors-
|
|
1
|
+
export const __rspack_esm_id = "vendors-node_modules_pnpm_ipaddr_js_2_3_0_node_modules_ipaddr_js_lib_ipaddr_js";
|
|
2
2
|
export const __rspack_esm_ids = [
|
|
3
|
-
"vendors-
|
|
3
|
+
"vendors-node_modules_pnpm_ipaddr_js_2_3_0_node_modules_ipaddr_js_lib_ipaddr_js"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"../../../node_modules/.pnpm/ipaddr.js@2.
|
|
6
|
+
"../../../node_modules/.pnpm/ipaddr.js@2.3.0/node_modules/ipaddr.js/lib/ipaddr.js" (module) {
|
|
7
7
|
(function(root) {
|
|
8
8
|
'use strict';
|
|
9
9
|
const ipv4Part = '(0?\\d+|0x[a-f0-9]+)';
|
|
@@ -377,6 +377,11 @@ export const __webpack_modules__ = {
|
|
|
377
377
|
if (ipaddr.IPv4.isValid(string) && string.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/)) return true;
|
|
378
378
|
return false;
|
|
379
379
|
};
|
|
380
|
+
ipaddr.IPv4.isValidCIDRFourPartDecimal = function(string) {
|
|
381
|
+
const match = string.match(/^(.+)\/(\d+)$/);
|
|
382
|
+
if (!ipaddr.IPv4.isValidCIDR(string) || !match) return false;
|
|
383
|
+
return ipaddr.IPv4.isValidFourPartDecimal(match[1]);
|
|
384
|
+
};
|
|
380
385
|
ipaddr.IPv4.networkAddressFromCIDR = function(string) {
|
|
381
386
|
let cidr, i, ipInterfaceOctets, octets, subnetMaskOctets;
|
|
382
387
|
try {
|
package/dist/index.js
CHANGED
|
@@ -108,7 +108,7 @@ var __webpack_modules__ = {
|
|
|
108
108
|
});
|
|
109
109
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
110
110
|
var package_namespaceObject = {
|
|
111
|
-
rE: "0.12.
|
|
111
|
+
rE: "0.12.3"
|
|
112
112
|
};
|
|
113
113
|
const version = package_namespaceObject.rE;
|
|
114
114
|
const rspackVersion = core_.rspack.rspackVersion;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/rspeedy",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
4
4
|
"description": "A webpack/rspack-based frontend toolchain for Lynx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -53,18 +53,18 @@
|
|
|
53
53
|
"@rsdoctor/rspack-plugin": "1.2.3",
|
|
54
54
|
"@lynx-js/cache-events-webpack-plugin": "^0.0.2",
|
|
55
55
|
"@lynx-js/chunk-loading-webpack-plugin": "^0.3.3",
|
|
56
|
-
"@lynx-js/web-rsbuild-server-middleware": "0.19.
|
|
56
|
+
"@lynx-js/web-rsbuild-server-middleware": "0.19.2",
|
|
57
57
|
"@lynx-js/webpack-dev-transport": "^0.2.0",
|
|
58
58
|
"@lynx-js/websocket": "^0.0.4"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@microsoft/api-extractor": "7.
|
|
62
|
-
"@rollup/plugin-typescript": "^12.
|
|
61
|
+
"@microsoft/api-extractor": "7.55.2",
|
|
62
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
63
63
|
"chokidar": "^4.0.3",
|
|
64
64
|
"commander": "^13.1.0",
|
|
65
65
|
"eventemitter3": "^5.0.1",
|
|
66
66
|
"exit-hook": "^4.0.0",
|
|
67
|
-
"ipaddr.js": "^2.
|
|
67
|
+
"ipaddr.js": "^2.3.0",
|
|
68
68
|
"javascript-stringify": "^2.1.0",
|
|
69
69
|
"picocolors": "^1.1.1",
|
|
70
70
|
"rsbuild-plugin-arethetypeswrong": "0.1.1",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"tiny-invariant": "^1.3.3",
|
|
73
73
|
"ts-blank-space": "^0.6.2",
|
|
74
74
|
"type-fest": "^5.0.1",
|
|
75
|
-
"typia": "
|
|
75
|
+
"typia": "10.1.0",
|
|
76
76
|
"typia-rspack-plugin": "2.2.2",
|
|
77
77
|
"vitest": "^3.2.4",
|
|
78
78
|
"webpack": "^5.102.0",
|