@travetto/web-http 8.0.0-alpha.20 → 8.0.0-alpha.21
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/README.md +9 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -24,12 +24,11 @@ $ trv web:http --help
|
|
|
24
24
|
|
|
25
25
|
Usage: web:http [options]
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
Description:
|
|
28
|
+
Start the configured web HTTP server for a module.
|
|
28
29
|
|
|
29
|
-
Initializes registry and server bindings, supports restart-aware development
|
|
30
|
-
flags, and can attempt to clear conflicting port owners in local workflows.
|
|
31
|
-
Example Usage:
|
|
32
|
-
trv web:http -m <MODULE> -p 3000
|
|
30
|
+
Initializes registry and server bindings, supports restart-aware development
|
|
31
|
+
flags, and can attempt to clear conflicting port owners in local workflows.
|
|
33
32
|
|
|
34
33
|
Options:
|
|
35
34
|
-p, --port <number> Port to run on
|
|
@@ -37,8 +36,12 @@ Options:
|
|
|
37
36
|
-m, --module <module> Module to run for
|
|
38
37
|
--profile <string> Application profiles
|
|
39
38
|
--restart-on-change, --no-restart-on-change Should the invocation automatically restart on source changes (default: true)
|
|
40
|
-
-d, --debug-ipc Should the invocation
|
|
39
|
+
-d, --debug-ipc Should the invocation support debugging via IPC (e.g. from VSCode)
|
|
41
40
|
--help display help for command
|
|
41
|
+
|
|
42
|
+
Examples:
|
|
43
|
+
Starting a web server on port 8000
|
|
44
|
+
trv web:http -m <MODULE> -p 8000
|
|
42
45
|
```
|
|
43
46
|
|
|
44
47
|
## Running a Server
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/web-http",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Web HTTP Server Support",
|
|
6
6
|
"keywords": [
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"directory": "module/web-http"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@travetto/web": "^8.0.0-alpha.
|
|
30
|
+
"@travetto/web": "^8.0.0-alpha.20"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@travetto/cli": "^8.0.0-alpha.
|
|
34
|
-
"@travetto/test": "^8.0.0-alpha.
|
|
33
|
+
"@travetto/cli": "^8.0.0-alpha.25",
|
|
34
|
+
"@travetto/test": "^8.0.0-alpha.18"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"@travetto/test": {
|