@rspack-debug/cli
Advanced tools
+3
-2
@@ -847,3 +847,3 @@ import node_path from "node:path"; | ||
| const command = cli.program.command('serve', 'run the rspack dev server.').alias('server').alias('s').alias('dev'); | ||
| commonOptionsForBuildAndServe(commonOptions(command)).option('--hot [mode]', 'enables hot module replacement').option('--port <port>', 'allows to specify a port to use').option('--host <host>', 'allows to specify a hostname to use'); | ||
| commonOptionsForBuildAndServe(commonOptions(command)).option('--hot [mode]', 'enables hot module replacement').option('--port <port>', 'allows to specify a port to use').option('--host <host>', 'allows to specify a hostname to use').option('--open [value]', 'open browser on server start; pass --no-open to disable, or --open <url> to open a specific URL'); | ||
| command.action(cli.wrapAction(async (cliOptions)=>{ | ||
@@ -914,2 +914,3 @@ setDefaultNodeEnv(cliOptions, 'development'); | ||
| devServerOptions.port = cliOptions.port ?? devServerOptions.port; | ||
| if (void 0 !== cliOptions.open) devServerOptions.open = cliOptions.open; | ||
| if (false !== devServerOptions.client) { | ||
@@ -1136,3 +1137,3 @@ if (true === devServerOptions.client || null == devServerOptions.client) devServerOptions.client = {}; | ||
| program.help(); | ||
| program.version("2.0.0-rc.3"); | ||
| program.version("2.0.0"); | ||
| } | ||
@@ -1139,0 +1140,0 @@ wrapAction(fn) { |
+6
-6
| { | ||
| "name": "@rspack-debug/cli", | ||
| "version": "2.0.0-rc.3", | ||
| "version": "2.0.0", | ||
| "description": "CLI for rspack", | ||
@@ -32,4 +32,4 @@ "homepage": "https://rspack.rs", | ||
| "@discoveryjs/json-ext": "^0.5.7", | ||
| "@rslib/core": "0.21.0", | ||
| "@rspack/dev-server": "2.0.0-rc.2", | ||
| "@rslib/core": "0.21.2", | ||
| "@rspack/dev-server": "^2.0.0", | ||
| "cac": "^7.0.0", | ||
@@ -42,5 +42,5 @@ "concat-stream": "^2.0.0", | ||
| "prebundle": "^1.6.4", | ||
| "typescript": "^6.0.2", | ||
| "@rspack/core": "npm:@rspack-debug/core@2.0.0-rc.3", | ||
| "@rspack/test-tools": "npm:@rspack-debug/test-tools@2.0.0-rc.3" | ||
| "typescript": "^6.0.3", | ||
| "@rspack/test-tools": "npm:@rspack-debug/test-tools@2.0.0", | ||
| "@rspack/core": "npm:@rspack-debug/core@2.0.0" | ||
| }, | ||
@@ -47,0 +47,0 @@ "peerDependencies": { |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1787262
0.01%8710
0.02%1
-50%