@travetto/web-http 7.0.0-rc.5 → 7.0.0-rc.6
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 +2 -2
- package/package.json +4 -4
- package/support/cli.web_http.ts +1 -1
package/README.md
CHANGED
|
@@ -39,8 +39,8 @@ Initialized {
|
|
|
39
39
|
},
|
|
40
40
|
runtime: {
|
|
41
41
|
env: 'local',
|
|
42
|
+
envType: 'development',
|
|
42
43
|
debug: false,
|
|
43
|
-
production: false,
|
|
44
44
|
resourcePaths: [
|
|
45
45
|
'./doc-exec/resources'
|
|
46
46
|
],
|
|
@@ -209,8 +209,8 @@ Initialized {
|
|
|
209
209
|
},
|
|
210
210
|
runtime: {
|
|
211
211
|
env: 'prod',
|
|
212
|
+
envType: 'production',
|
|
212
213
|
debug: false,
|
|
213
|
-
production: true,
|
|
214
214
|
resourcePaths: [
|
|
215
215
|
'./doc-exec/resources'
|
|
216
216
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/web-http",
|
|
3
|
-
"version": "7.0.0-rc.
|
|
3
|
+
"version": "7.0.0-rc.6",
|
|
4
4
|
"description": "Web HTTP Server Support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"directory": "module/web-http"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@travetto/web": "^7.0.0-rc.
|
|
29
|
+
"@travetto/web": "^7.0.0-rc.5"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@travetto/cli": "^7.0.0-rc.
|
|
33
|
-
"@travetto/test": "^7.0.0-rc.
|
|
32
|
+
"@travetto/cli": "^7.0.0-rc.4",
|
|
33
|
+
"@travetto/test": "^7.0.0-rc.4"
|
|
34
34
|
},
|
|
35
35
|
"peerDependenciesMeta": {
|
|
36
36
|
"@travetto/test": {
|
package/support/cli.web_http.ts
CHANGED
|
@@ -16,7 +16,7 @@ export class WebHttpCommand implements CliCommandShape {
|
|
|
16
16
|
port?: number;
|
|
17
17
|
|
|
18
18
|
/** Kill conflicting port owner */
|
|
19
|
-
killConflict?: boolean =
|
|
19
|
+
killConflict?: boolean = Runtime.envType === 'development';
|
|
20
20
|
|
|
21
21
|
preMain(): void {
|
|
22
22
|
if (this.port) {
|