@lynx-js/rspeedy 0.13.3 → 0.13.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.
- package/CHANGELOG.md +26 -0
- package/client.d.ts +2 -0
- package/dist/0~src_config_validate_ts.js +2826 -2455
- package/dist/1~src_cli_commands_ts.js +2 -2
- package/dist/1~src_config_validate_ts.js +2826 -2455
- package/dist/1~src_plugins_api_plugin_ts.js +2 -3
- package/dist/src_cli_main_ts.js +8 -8
- package/dist/src_index_ts.js +1 -1
- package/package.json +9 -9
- package/dist/1~src_version_ts.js +0 -7
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { debug, logger } from "./src_cli_main_ts.js";
|
|
2
|
-
import { version } from "./1~src_version_ts.js";
|
|
1
|
+
import { debug, logger, version_version } from "./src_cli_main_ts.js";
|
|
3
2
|
const sAPI = Symbol.for('rspeedy.api');
|
|
4
3
|
function pluginAPI(config) {
|
|
5
4
|
return {
|
|
@@ -15,7 +14,7 @@ function pluginAPI(config) {
|
|
|
15
14
|
return exit(code);
|
|
16
15
|
},
|
|
17
16
|
logger: logger,
|
|
18
|
-
version:
|
|
17
|
+
version: version_version
|
|
19
18
|
});
|
|
20
19
|
}
|
|
21
20
|
};
|
package/dist/src_cli_main_ts.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as __rspack_external_node_process_786449bf from "node:process";
|
|
2
2
|
import { __webpack_require__ } from "./rslib-runtime.js";
|
|
3
|
-
import { createRsbuild, logger, mergeRsbuildConfig, rspack, version
|
|
3
|
+
import { createRsbuild, logger, mergeRsbuildConfig, rspack, version } from "@rsbuild/core";
|
|
4
4
|
__webpack_require__.add({
|
|
5
5
|
"../../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js" (module) {
|
|
6
6
|
let p = process || {}, argv = p.argv || [], env = p.env || {};
|
|
@@ -191,6 +191,11 @@ async function exit_onExit(signal) {
|
|
|
191
191
|
debug(`awaiting exit promises(length: ${exitPromises.length})...`);
|
|
192
192
|
await Promise.allSettled(exitPromises);
|
|
193
193
|
}
|
|
194
|
+
var package_namespaceObject = {
|
|
195
|
+
rE: "0.13.5"
|
|
196
|
+
};
|
|
197
|
+
const version_version = package_namespaceObject.rE;
|
|
198
|
+
const rspackVersion = rspack.rspackVersion;
|
|
194
199
|
function initNodeEnv(argv) {
|
|
195
200
|
if (!process.env['NODE_ENV']) {
|
|
196
201
|
const NODE_ENV = argv.includes('dev') || argv.includes('preview') ? 'development' : 'production';
|
|
@@ -202,12 +207,7 @@ async function main(argv) {
|
|
|
202
207
|
initNodeEnv(argv);
|
|
203
208
|
const { npm_execpath } = process.env;
|
|
204
209
|
if (!npm_execpath || npm_execpath.includes('npm-cli.js') || npm_execpath.includes('npx-cli.js')) console.log();
|
|
205
|
-
|
|
206
|
-
version: mod.version,
|
|
207
|
-
rsbuildVersion: mod.core_version,
|
|
208
|
-
rspackVersion: mod.rspackVersion
|
|
209
|
-
}));
|
|
210
|
-
logger.greet(` Rspeedy v${version} (Rsbuild v${rsbuildVersion}, Rspack v${rspackVersion})\n`);
|
|
210
|
+
logger.greet(` Rspeedy v${version_version} (Rsbuild v${version}, Rspack v${rspackVersion})\n`);
|
|
211
211
|
try {
|
|
212
212
|
const [{ Command }, { apply }] = await Promise.all([
|
|
213
213
|
import("./1~node_modules_pnpm_commander_13_1_0_node_modules_commander_esm_mjs.js").then((mod)=>({
|
|
@@ -232,4 +232,4 @@ async function main(argv) {
|
|
|
232
232
|
return exit_exit(1);
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
export {
|
|
235
|
+
export { createRsbuild, debug, debugList, exit_exit, isDebug, logger, main, mergeRsbuildConfig, version_version };
|
package/dist/src_index_ts.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/rspeedy",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.5",
|
|
4
4
|
"description": "A webpack/rspack-based frontend toolchain for Lynx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -48,34 +48,34 @@
|
|
|
48
48
|
"README.md"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@rsbuild/core": "1.7.
|
|
51
|
+
"@rsbuild/core": "1.7.3",
|
|
52
52
|
"@rsbuild/plugin-css-minimizer": "1.1.1",
|
|
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.8",
|
|
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.
|
|
61
|
+
"@microsoft/api-extractor": "7.57.6",
|
|
62
62
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
63
63
|
"chokidar": "^4.0.3",
|
|
64
64
|
"commander": "^13.1.0",
|
|
65
|
-
"eventemitter3": "^5.0.
|
|
65
|
+
"eventemitter3": "^5.0.4",
|
|
66
66
|
"exit-hook": "^4.0.0",
|
|
67
67
|
"ipaddr.js": "^2.3.0",
|
|
68
68
|
"javascript-stringify": "^2.1.0",
|
|
69
69
|
"picocolors": "^1.1.1",
|
|
70
|
-
"rsbuild-plugin-arethetypeswrong": "0.
|
|
70
|
+
"rsbuild-plugin-arethetypeswrong": "0.2.0",
|
|
71
71
|
"rsbuild-plugin-publint": "0.3.4",
|
|
72
72
|
"tiny-invariant": "^1.3.3",
|
|
73
|
-
"ts-blank-space": "^0.
|
|
74
|
-
"type-fest": "^5.4.
|
|
73
|
+
"ts-blank-space": "^0.7.0",
|
|
74
|
+
"type-fest": "^5.4.4",
|
|
75
75
|
"typia": "10.1.0",
|
|
76
76
|
"typia-rspack-plugin": "2.2.2",
|
|
77
77
|
"vitest": "^3.2.4",
|
|
78
|
-
"webpack": "^5.
|
|
78
|
+
"webpack": "^5.105.2",
|
|
79
79
|
"@lynx-js/vitest-setup": "0.0.0"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
package/dist/1~src_version_ts.js
DELETED