webpack-dev-server 4.3.1 → 4.7.0

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/bin/cli-flags.js CHANGED
@@ -56,29 +56,6 @@ module.exports = {
56
56
  simpleType: "boolean",
57
57
  multiple: false,
58
58
  },
59
- "client-web-socket-transport": {
60
- configs: [
61
- {
62
- type: "enum",
63
- values: ["sockjs", "ws"],
64
- multiple: false,
65
- description:
66
- "Allows to set custom web socket transport to communicate with dev server.",
67
- path: "client.webSocketTransport",
68
- },
69
- {
70
- type: "string",
71
- multiple: false,
72
- description:
73
- "Allows to set custom web socket transport to communicate with dev server.",
74
- path: "client.webSocketTransport",
75
- },
76
- ],
77
- description:
78
- "Allows to set custom web socket transport to communicate with dev server.",
79
- simpleType: "string",
80
- multiple: false,
81
- },
82
59
  client: {
83
60
  configs: [
84
61
  {
@@ -101,32 +78,14 @@ module.exports = {
101
78
  type: "enum",
102
79
  values: ["none", "error", "warn", "info", "log", "verbose"],
103
80
  multiple: false,
104
- description:
105
- "Allows to specify options for client script in the browser or disable client script.",
81
+ description: "Allows to set log level in the browser.",
106
82
  path: "client.logging",
107
83
  },
108
84
  ],
109
- description:
110
- "Allows to specify options for client script in the browser or disable client script.",
85
+ description: "Allows to set log level in the browser.",
111
86
  simpleType: "string",
112
87
  multiple: false,
113
88
  },
114
- "client-progress": {
115
- configs: [
116
- {
117
- type: "boolean",
118
- multiple: false,
119
- description:
120
- "Prints compilation progress in percentage in the browser.",
121
- path: "client.progress",
122
- },
123
- ],
124
- description: "Prints compilation progress in percentage in the browser.",
125
- negatedDescription:
126
- "Does not print compilation progress in percentage in the browser.",
127
- simpleType: "boolean",
128
- multiple: false,
129
- },
130
89
  "client-overlay": {
131
90
  configs: [
132
91
  {
@@ -174,6 +133,68 @@ module.exports = {
174
133
  simpleType: "boolean",
175
134
  multiple: false,
176
135
  },
136
+ "client-progress": {
137
+ configs: [
138
+ {
139
+ type: "boolean",
140
+ multiple: false,
141
+ description:
142
+ "Prints compilation progress in percentage in the browser.",
143
+ path: "client.progress",
144
+ },
145
+ ],
146
+ description: "Prints compilation progress in percentage in the browser.",
147
+ negatedDescription:
148
+ "Does not print compilation progress in percentage in the browser.",
149
+ simpleType: "boolean",
150
+ multiple: false,
151
+ },
152
+ "client-reconnect": {
153
+ configs: [
154
+ {
155
+ type: "boolean",
156
+ multiple: false,
157
+ description:
158
+ "Tells dev-server the number of times it should try to reconnect the client.",
159
+ path: "client.reconnect",
160
+ },
161
+ {
162
+ type: "number",
163
+ multiple: false,
164
+ description:
165
+ "Tells dev-server the number of times it should try to reconnect the client.",
166
+ path: "client.reconnect",
167
+ },
168
+ ],
169
+ description:
170
+ "Tells dev-server the number of times it should try to reconnect the client.",
171
+ negatedDescription: "Tells dev-server to not to try to connect the client.",
172
+ simpleType: "string",
173
+ multiple: false,
174
+ },
175
+ "client-web-socket-transport": {
176
+ configs: [
177
+ {
178
+ type: "enum",
179
+ values: ["sockjs", "ws"],
180
+ multiple: false,
181
+ description:
182
+ "Allows to set custom web socket transport to communicate with dev server.",
183
+ path: "client.webSocketTransport",
184
+ },
185
+ {
186
+ type: "string",
187
+ multiple: false,
188
+ description:
189
+ "Allows to set custom web socket transport to communicate with dev server.",
190
+ path: "client.webSocketTransport",
191
+ },
192
+ ],
193
+ description:
194
+ "Allows to set custom web socket transport to communicate with dev server.",
195
+ simpleType: "string",
196
+ multiple: false,
197
+ },
177
198
  "client-web-socket-url": {
178
199
  configs: [
179
200
  {
@@ -204,25 +225,18 @@ module.exports = {
204
225
  simpleType: "string",
205
226
  multiple: false,
206
227
  },
207
- "client-web-socket-url-port": {
228
+ "client-web-socket-url-password": {
208
229
  configs: [
209
230
  {
210
- type: "number",
231
+ type: "string",
211
232
  multiple: false,
212
233
  description:
213
- "Tells clients connected to devServer to use the provided port.",
214
- path: "client.webSocketURL.port",
215
- },
216
- {
217
- description:
218
- "Tells clients connected to devServer to use the provided port.",
219
- multiple: false,
220
- path: "client.webSocketURL.port",
221
- type: "string",
234
+ "Tells clients connected to devServer to use the provided password to authenticate.",
235
+ path: "client.webSocketURL.password",
222
236
  },
223
237
  ],
224
238
  description:
225
- "Tells clients connected to devServer to use the provided port.",
239
+ "Tells clients connected to devServer to use the provided password to authenticate.",
226
240
  simpleType: "string",
227
241
  multiple: false,
228
242
  },
@@ -241,6 +255,28 @@ module.exports = {
241
255
  simpleType: "string",
242
256
  multiple: false,
243
257
  },
258
+ "client-web-socket-url-port": {
259
+ configs: [
260
+ {
261
+ type: "number",
262
+ multiple: false,
263
+ description:
264
+ "Tells clients connected to devServer to use the provided port.",
265
+ path: "client.webSocketURL.port",
266
+ },
267
+ {
268
+ description:
269
+ "Tells clients connected to devServer to use the provided port.",
270
+ multiple: false,
271
+ path: "client.webSocketURL.port",
272
+ type: "string",
273
+ },
274
+ ],
275
+ description:
276
+ "Tells clients connected to devServer to use the provided port.",
277
+ simpleType: "string",
278
+ multiple: false,
279
+ },
244
280
  "client-web-socket-url-protocol": {
245
281
  configs: [
246
282
  {
@@ -279,44 +315,6 @@ module.exports = {
279
315
  simpleType: "string",
280
316
  multiple: false,
281
317
  },
282
- "client-web-socket-url-password": {
283
- configs: [
284
- {
285
- type: "string",
286
- multiple: false,
287
- description:
288
- "Tells clients connected to devServer to use the provided password to authenticate.",
289
- path: "client.webSocketURL.password",
290
- },
291
- ],
292
- description:
293
- "Tells clients connected to devServer to use the provided password to authenticate.",
294
- simpleType: "string",
295
- multiple: false,
296
- },
297
- "web-socket-server": {
298
- configs: [
299
- {
300
- type: "enum",
301
- values: [false, "sockjs", "ws"],
302
- multiple: false,
303
- description:
304
- "Allows to set web socket server and options (by default 'ws').",
305
- path: "webSocketServer",
306
- },
307
- {
308
- type: "string",
309
- multiple: false,
310
- description:
311
- "Allows to set web socket server and options (by default 'ws').",
312
- path: "webSocketServer",
313
- },
314
- ],
315
- description:
316
- "Allows to set web socket server and options (by default 'ws').",
317
- simpleType: "string",
318
- multiple: false,
319
- },
320
318
  compress: {
321
319
  configs: [
322
320
  {
@@ -392,11 +390,13 @@ module.exports = {
392
390
  {
393
391
  type: "boolean",
394
392
  multiple: false,
395
- description: "Allows to serve over HTTP/2 using SPDY.",
393
+ description:
394
+ "Allows to serve over HTTP/2 using SPDY. Deprecated, use the `server` option.",
396
395
  path: "http2",
397
396
  },
398
397
  ],
399
- description: "Allows to serve over HTTP/2 using SPDY.",
398
+ description:
399
+ "Allows to serve over HTTP/2 using SPDY. Deprecated, use the `server` option.",
400
400
  negatedDescription: "Does not serve over HTTP/2 using SPDY.",
401
401
  simpleType: "boolean",
402
402
  multiple: false,
@@ -407,56 +407,29 @@ module.exports = {
407
407
  type: "boolean",
408
408
  multiple: false,
409
409
  description:
410
- "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).",
410
+ "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the `server` option.",
411
411
  path: "https",
412
412
  },
413
413
  ],
414
414
  description:
415
- "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).",
415
+ "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the `server` option.",
416
416
  negatedDescription:
417
417
  "Disallows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).",
418
418
  simpleType: "boolean",
419
419
  multiple: false,
420
420
  },
421
- "https-passphrase": {
422
- configs: [
423
- {
424
- type: "string",
425
- multiple: false,
426
- description: "Passphrase for a pfx file.",
427
- path: "https.passphrase",
428
- },
429
- ],
430
- description: "Passphrase for a pfx file.",
431
- simpleType: "string",
432
- multiple: false,
433
- },
434
- "https-request-cert": {
435
- configs: [
436
- {
437
- type: "boolean",
438
- multiple: false,
439
- description: "Request for an SSL certificate.",
440
- path: "https.requestCert",
441
- },
442
- ],
443
- description: "Request for an SSL certificate.",
444
- negatedDescription: "Does not request for an SSL certificate.",
445
- simpleType: "boolean",
446
- multiple: false,
447
- },
448
421
  "https-ca": {
449
422
  configs: [
450
423
  {
451
424
  type: "string",
452
425
  multiple: true,
453
426
  description:
454
- "Path to an SSL CA certificate or content of an SSL CA certificate.",
427
+ "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
455
428
  path: "https.ca[]",
456
429
  },
457
430
  ],
458
431
  description:
459
- "Path to an SSL CA certificate or content of an SSL CA certificate.",
432
+ "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
460
433
  simpleType: "string",
461
434
  multiple: true,
462
435
  },
@@ -464,14 +437,14 @@ module.exports = {
464
437
  configs: [
465
438
  {
466
439
  description:
467
- "Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate.",
440
+ "Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
468
441
  multiple: false,
469
442
  path: "https.ca",
470
443
  type: "reset",
471
444
  },
472
445
  ],
473
446
  description:
474
- "Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate.",
447
+ "Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
475
448
  multiple: false,
476
449
  simpleType: "boolean",
477
450
  },
@@ -481,12 +454,12 @@ module.exports = {
481
454
  type: "string",
482
455
  multiple: true,
483
456
  description:
484
- "Path to an SSL CA certificate or content of an SSL CA certificate.",
457
+ "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
485
458
  path: "https.cacert[]",
486
459
  },
487
460
  ],
488
461
  description:
489
- "Path to an SSL CA certificate or content of an SSL CA certificate.",
462
+ "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
490
463
  simpleType: "string",
491
464
  multiple: true,
492
465
  },
@@ -494,132 +467,168 @@ module.exports = {
494
467
  configs: [
495
468
  {
496
469
  description:
497
- "Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate.",
470
+ "Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
498
471
  multiple: false,
499
472
  path: "https.cacert",
500
473
  type: "reset",
501
474
  },
502
475
  ],
503
476
  description:
504
- "Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate.",
477
+ "Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
505
478
  multiple: false,
506
479
  simpleType: "boolean",
507
480
  },
508
- "https-key": {
481
+ "https-cert": {
509
482
  configs: [
510
483
  {
511
484
  type: "string",
512
485
  multiple: true,
513
- description: "Path to an SSL key or content of an SSL key.",
514
- path: "https.key[]",
486
+ description:
487
+ "Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option.",
488
+ path: "https.cert[]",
515
489
  },
516
490
  ],
517
- description: "Path to an SSL key or content of an SSL key.",
491
+ description:
492
+ "Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option.",
518
493
  simpleType: "string",
519
494
  multiple: true,
520
495
  },
521
- "https-key-reset": {
496
+ "https-cert-reset": {
522
497
  configs: [
523
498
  {
524
499
  description:
525
- "Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key.",
500
+ "Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option.",
526
501
  multiple: false,
527
- path: "https.key",
502
+ path: "https.cert",
528
503
  type: "reset",
529
504
  },
530
505
  ],
531
506
  description:
532
- "Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key.",
507
+ "Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option.",
533
508
  multiple: false,
534
509
  simpleType: "boolean",
535
510
  },
536
- "https-pfx": {
511
+ "https-crl": {
537
512
  configs: [
538
513
  {
539
- type: "string",
514
+ description:
515
+ "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the `server.options.crl` option.",
540
516
  multiple: true,
541
- description: "Path to an SSL pfx file or content of an SSL pfx file.",
542
- path: "https.pfx[]",
517
+ path: "https.crl[]",
518
+ type: "string",
543
519
  },
544
520
  ],
545
- description: "Path to an SSL pfx file or content of an SSL pfx file.",
546
- simpleType: "string",
521
+ description:
522
+ "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the `server.options.crl` option.",
547
523
  multiple: true,
524
+ simpleType: "string",
548
525
  },
549
- "https-pfx-reset": {
526
+ "https-crl-reset": {
550
527
  configs: [
551
528
  {
552
529
  description:
553
- "Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file.",
530
+ "Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the `server.options.crl` option.",
554
531
  multiple: false,
555
- path: "https.pfx",
532
+ path: "https.crl",
556
533
  type: "reset",
557
534
  },
558
535
  ],
559
536
  description:
560
- "Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file.",
537
+ "Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the `server.options.crl` option.",
561
538
  multiple: false,
562
539
  simpleType: "boolean",
563
540
  },
564
- "https-cert": {
541
+ "https-key": {
565
542
  configs: [
566
543
  {
567
544
  type: "string",
568
545
  multiple: true,
569
546
  description:
570
- "Path to an SSL certificate or content of an SSL certificate.",
571
- path: "https.cert[]",
547
+ "Path to an SSL key or content of an SSL key. Deprecated, use the `server.options.key` option.",
548
+ path: "https.key[]",
572
549
  },
573
550
  ],
574
- description: "Path to an SSL certificate or content of an SSL certificate.",
551
+ description:
552
+ "Path to an SSL key or content of an SSL key. Deprecated, use the `server.options.key` option.",
575
553
  simpleType: "string",
576
554
  multiple: true,
577
555
  },
578
- "https-cert-reset": {
556
+ "https-key-reset": {
579
557
  configs: [
580
558
  {
581
559
  description:
582
- "Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate.",
560
+ "Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, use the `server.options.key` option.",
583
561
  multiple: false,
584
- path: "https.cert",
562
+ path: "https.key",
585
563
  type: "reset",
586
564
  },
587
565
  ],
588
566
  description:
589
- "Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate.",
567
+ "Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, use the `server.options.key` option.",
590
568
  multiple: false,
591
569
  simpleType: "boolean",
592
570
  },
593
- "https-crl": {
571
+ "https-passphrase": {
594
572
  configs: [
595
573
  {
596
- description:
597
- "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).",
598
- multiple: true,
599
- path: "https.crl[]",
600
574
  type: "string",
575
+ multiple: false,
576
+ description:
577
+ "Passphrase for a pfx file. Deprecated, use the `server.options.passphrase` option.",
578
+ path: "https.passphrase",
601
579
  },
602
580
  ],
603
581
  description:
604
- "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).",
605
- multiple: true,
582
+ "Passphrase for a pfx file. Deprecated, use the `server.options.passphrase` option.",
606
583
  simpleType: "string",
584
+ multiple: false,
607
585
  },
608
- "https-crl-reset": {
586
+ "https-pfx": {
609
587
  configs: [
610
588
  {
589
+ type: "string",
590
+ multiple: true,
611
591
  description:
612
- "Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).",
592
+ "Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the `server.options.pfx` option.",
593
+ path: "https.pfx[]",
594
+ },
595
+ ],
596
+ description:
597
+ "Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the `server.options.pfx` option.",
598
+ simpleType: "string",
599
+ multiple: true,
600
+ },
601
+ "https-pfx-reset": {
602
+ configs: [
603
+ {
604
+ description:
605
+ "Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the `server.options.pfx` option.",
613
606
  multiple: false,
614
- path: "https.crl",
607
+ path: "https.pfx",
615
608
  type: "reset",
616
609
  },
617
610
  ],
618
611
  description:
619
- "Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).",
612
+ "Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the `server.options.pfx` option.",
620
613
  multiple: false,
621
614
  simpleType: "boolean",
622
615
  },
616
+ "https-request-cert": {
617
+ configs: [
618
+ {
619
+ type: "boolean",
620
+ multiple: false,
621
+ description:
622
+ "Request for an SSL certificate. Deprecated, use the `server.options.requestCert` option.",
623
+ path: "https.requestCert",
624
+ },
625
+ ],
626
+ description:
627
+ "Request for an SSL certificate. Deprecated, use the `server.options.requestCert` option.",
628
+ negatedDescription: "Does not request for an SSL certificate.",
629
+ simpleType: "boolean",
630
+ multiple: false,
631
+ },
623
632
  ipc: {
624
633
  configs: [
625
634
  {
@@ -697,23 +706,18 @@ module.exports = {
697
706
  simpleType: "string",
698
707
  multiple: true,
699
708
  },
700
- "open-target": {
709
+ "open-app": {
701
710
  configs: [
702
711
  {
703
712
  type: "string",
704
713
  multiple: true,
705
- description: "Opens specified page in browser.",
706
- path: "open[].target",
707
- },
708
- {
709
- type: "string",
710
- multiple: true,
711
- description: "Opens specified page in browser.",
712
- path: "open.target[]",
714
+ description:
715
+ "Open specified browser. Deprecated: please use '--open-app-name'.",
716
+ path: "open[].app",
713
717
  },
714
718
  ],
715
- description: "Opens specified page in browser.",
716
- negatedDescription: "Does not open specified page in browser.",
719
+ description:
720
+ "Open specified browser. Deprecated: please use '--open-app-name'.",
717
721
  simpleType: "string",
718
722
  multiple: true,
719
723
  },
@@ -736,18 +740,20 @@ module.exports = {
736
740
  simpleType: "string",
737
741
  multiple: true,
738
742
  },
739
- "open-app": {
743
+ "open-app-name-reset": {
740
744
  configs: [
741
745
  {
742
- type: "string",
743
- multiple: true,
744
- description: "Open specified browser.",
745
- path: "open[].app",
746
+ type: "reset",
747
+ multiple: false,
748
+ description:
749
+ "Clear all items provided in 'open.app.name' configuration. Open specified browser.",
750
+ path: "open.app.name",
746
751
  },
747
752
  ],
748
- description: "Open specified browser.",
749
- simpleType: "string",
750
- multiple: true,
753
+ description:
754
+ "Clear all items provided in 'open.app.name' configuration. Open specified browser.",
755
+ simpleType: "boolean",
756
+ multiple: false,
751
757
  },
752
758
  "open-reset": {
753
759
  configs: [
@@ -764,33 +770,38 @@ module.exports = {
764
770
  simpleType: "boolean",
765
771
  multiple: false,
766
772
  },
767
- "open-target-reset": {
773
+ "open-target": {
768
774
  configs: [
769
775
  {
770
- type: "reset",
771
- multiple: false,
772
- description:
773
- "Clear all items provided in 'open.target' configuration. Opens specified page in browser.",
774
- path: "open.target",
776
+ type: "string",
777
+ multiple: true,
778
+ description: "Opens specified page in browser.",
779
+ path: "open[].target",
780
+ },
781
+ {
782
+ type: "string",
783
+ multiple: true,
784
+ description: "Opens specified page in browser.",
785
+ path: "open.target[]",
775
786
  },
776
787
  ],
777
- description:
778
- "Clear all items provided in 'open.target' configuration. Opens specified page in browser.",
779
- simpleType: "boolean",
780
- multiple: false,
788
+ description: "Opens specified page in browser.",
789
+ negatedDescription: "Does not open specified page in browser.",
790
+ simpleType: "string",
791
+ multiple: true,
781
792
  },
782
- "open-app-name-reset": {
793
+ "open-target-reset": {
783
794
  configs: [
784
795
  {
785
796
  type: "reset",
786
797
  multiple: false,
787
798
  description:
788
- "Clear all items provided in 'open.app.name' configuration. Open specified browser.",
789
- path: "open.app.name",
799
+ "Clear all items provided in 'open.target' configuration. Opens specified page in browser.",
800
+ path: "open.target",
790
801
  },
791
802
  ],
792
803
  description:
793
- "Clear all items provided in 'open.app.name' configuration. Open specified browser.",
804
+ "Clear all items provided in 'open.target' configuration. Opens specified page in browser.",
794
805
  simpleType: "boolean",
795
806
  multiple: false,
796
807
  },
@@ -820,6 +831,221 @@ module.exports = {
820
831
  simpleType: "string",
821
832
  multiple: false,
822
833
  },
834
+ "server-options-ca": {
835
+ configs: [
836
+ {
837
+ description:
838
+ "Path to an SSL CA certificate or content of an SSL CA certificate.",
839
+ multiple: true,
840
+ path: "server.options.ca[]",
841
+ type: "string",
842
+ },
843
+ ],
844
+ description:
845
+ "Path to an SSL CA certificate or content of an SSL CA certificate.",
846
+ multiple: true,
847
+ simpleType: "string",
848
+ },
849
+ "server-options-ca-reset": {
850
+ configs: [
851
+ {
852
+ description:
853
+ "Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate.",
854
+ multiple: false,
855
+ path: "server.options.ca",
856
+ type: "reset",
857
+ },
858
+ ],
859
+ description:
860
+ "Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate.",
861
+ multiple: false,
862
+ simpleType: "boolean",
863
+ },
864
+ "server-options-cacert": {
865
+ configs: [
866
+ {
867
+ description:
868
+ "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
869
+ multiple: true,
870
+ path: "server.options.cacert[]",
871
+ type: "string",
872
+ },
873
+ ],
874
+ description:
875
+ "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
876
+ multiple: true,
877
+ simpleType: "string",
878
+ },
879
+ "server-options-cacert-reset": {
880
+ configs: [
881
+ {
882
+ description:
883
+ "Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
884
+ multiple: false,
885
+ path: "server.options.cacert",
886
+ type: "reset",
887
+ },
888
+ ],
889
+ description:
890
+ "Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
891
+ multiple: false,
892
+ simpleType: "boolean",
893
+ },
894
+ "server-options-cert": {
895
+ configs: [
896
+ {
897
+ description:
898
+ "Path to an SSL certificate or content of an SSL certificate.",
899
+ multiple: true,
900
+ path: "server.options.cert[]",
901
+ type: "string",
902
+ },
903
+ ],
904
+ description: "Path to an SSL certificate or content of an SSL certificate.",
905
+ multiple: true,
906
+ simpleType: "string",
907
+ },
908
+ "server-options-cert-reset": {
909
+ configs: [
910
+ {
911
+ description:
912
+ "Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate.",
913
+ multiple: false,
914
+ path: "server.options.cert",
915
+ type: "reset",
916
+ },
917
+ ],
918
+ description:
919
+ "Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate.",
920
+ multiple: false,
921
+ simpleType: "boolean",
922
+ },
923
+ "server-options-crl": {
924
+ configs: [
925
+ {
926
+ description:
927
+ "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).",
928
+ multiple: true,
929
+ path: "server.options.crl[]",
930
+ type: "string",
931
+ },
932
+ ],
933
+ description:
934
+ "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).",
935
+ multiple: true,
936
+ simpleType: "string",
937
+ },
938
+ "server-options-crl-reset": {
939
+ configs: [
940
+ {
941
+ description:
942
+ "Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).",
943
+ multiple: false,
944
+ path: "server.options.crl",
945
+ type: "reset",
946
+ },
947
+ ],
948
+ description:
949
+ "Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).",
950
+ multiple: false,
951
+ simpleType: "boolean",
952
+ },
953
+ "server-options-key": {
954
+ configs: [
955
+ {
956
+ description: "Path to an SSL key or content of an SSL key.",
957
+ multiple: true,
958
+ path: "server.options.key[]",
959
+ type: "string",
960
+ },
961
+ ],
962
+ description: "Path to an SSL key or content of an SSL key.",
963
+ multiple: true,
964
+ simpleType: "string",
965
+ },
966
+ "server-options-key-reset": {
967
+ configs: [
968
+ {
969
+ description:
970
+ "Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL key.",
971
+ multiple: false,
972
+ path: "server.options.key",
973
+ type: "reset",
974
+ },
975
+ ],
976
+ description:
977
+ "Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL key.",
978
+ multiple: false,
979
+ simpleType: "boolean",
980
+ },
981
+ "server-options-passphrase": {
982
+ configs: [
983
+ {
984
+ description: "Passphrase for a pfx file.",
985
+ multiple: false,
986
+ path: "server.options.passphrase",
987
+ type: "string",
988
+ },
989
+ ],
990
+ description: "Passphrase for a pfx file.",
991
+ multiple: false,
992
+ simpleType: "string",
993
+ },
994
+ "server-options-pfx": {
995
+ configs: [
996
+ {
997
+ description: "Path to an SSL pfx file or content of an SSL pfx file.",
998
+ multiple: true,
999
+ path: "server.options.pfx[]",
1000
+ type: "string",
1001
+ },
1002
+ ],
1003
+ description: "Path to an SSL pfx file or content of an SSL pfx file.",
1004
+ multiple: true,
1005
+ simpleType: "string",
1006
+ },
1007
+ "server-options-pfx-reset": {
1008
+ configs: [
1009
+ {
1010
+ description:
1011
+ "Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file.",
1012
+ multiple: false,
1013
+ path: "server.options.pfx",
1014
+ type: "reset",
1015
+ },
1016
+ ],
1017
+ description:
1018
+ "Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file.",
1019
+ multiple: false,
1020
+ simpleType: "boolean",
1021
+ },
1022
+ "server-options-request-cert": {
1023
+ configs: [
1024
+ {
1025
+ description: "Request for an SSL certificate.",
1026
+ multiple: false,
1027
+ path: "server.options.requestCert",
1028
+ type: "boolean",
1029
+ },
1030
+ ],
1031
+ description: "Request for an SSL certificate.",
1032
+ multiple: false,
1033
+ simpleType: "boolean",
1034
+ },
1035
+ "server-type": {
1036
+ configs: [
1037
+ {
1038
+ description: "Allows to set server and options (by default 'http').",
1039
+ multiple: false,
1040
+ path: "server.type",
1041
+ type: "enum",
1042
+ values: ["http", "https", "spdy"],
1043
+ },
1044
+ ],
1045
+ description: "Allows to set server and options (by default 'http').",
1046
+ multiple: false,
1047
+ simpleType: "string",
1048
+ },
823
1049
  static: {
824
1050
  configs: [
825
1051
  {
@@ -877,6 +1103,36 @@ module.exports = {
877
1103
  simpleType: "string",
878
1104
  multiple: true,
879
1105
  },
1106
+ "static-public-path-reset": {
1107
+ configs: [
1108
+ {
1109
+ type: "reset",
1110
+ multiple: false,
1111
+ description:
1112
+ "Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.",
1113
+ path: "static.publicPath",
1114
+ },
1115
+ ],
1116
+ description:
1117
+ "Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.",
1118
+ simpleType: "boolean",
1119
+ multiple: false,
1120
+ },
1121
+ "static-reset": {
1122
+ configs: [
1123
+ {
1124
+ type: "reset",
1125
+ multiple: false,
1126
+ description:
1127
+ "Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory).",
1128
+ path: "static",
1129
+ },
1130
+ ],
1131
+ description:
1132
+ "Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory).",
1133
+ simpleType: "boolean",
1134
+ multiple: false,
1135
+ },
880
1136
  "static-serve-index": {
881
1137
  configs: [
882
1138
  {
@@ -907,64 +1163,88 @@ module.exports = {
907
1163
  simpleType: "boolean",
908
1164
  multiple: true,
909
1165
  },
910
- "static-reset": {
1166
+ "watch-files": {
911
1167
  configs: [
912
1168
  {
913
- type: "reset",
914
- multiple: false,
1169
+ type: "string",
1170
+ multiple: true,
915
1171
  description:
916
- "Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory).",
917
- path: "static",
1172
+ "Allows to configure list of globs/directories/files to watch for file changes.",
1173
+ path: "watchFiles[]",
918
1174
  },
919
1175
  ],
920
1176
  description:
921
- "Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory).",
922
- simpleType: "boolean",
923
- multiple: false,
1177
+ "Allows to configure list of globs/directories/files to watch for file changes.",
1178
+ simpleType: "string",
1179
+ multiple: true,
924
1180
  },
925
- "static-public-path-reset": {
1181
+ "watch-files-reset": {
926
1182
  configs: [
927
1183
  {
928
1184
  type: "reset",
929
1185
  multiple: false,
930
1186
  description:
931
- "Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.",
932
- path: "static.publicPath",
1187
+ "Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes.",
1188
+ path: "watchFiles",
933
1189
  },
934
1190
  ],
935
1191
  description:
936
- "Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.",
1192
+ "Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes.",
937
1193
  simpleType: "boolean",
938
1194
  multiple: false,
939
1195
  },
940
- "watch-files": {
1196
+ "web-socket-server": {
941
1197
  configs: [
942
1198
  {
943
- type: "string",
944
- multiple: true,
945
1199
  description:
946
- "Allows to configure list of globs/directories/files to watch for file changes.",
947
- path: "watchFiles[]",
1200
+ "Deprecated: please use '--web-socket-server-type' option.",
1201
+ multiple: false,
1202
+ path: "webSocketServer",
1203
+ type: "enum",
1204
+ values: [false],
1205
+ },
1206
+ {
1207
+ description:
1208
+ "Deprecated: please use '--web-socket-server-type' option.",
1209
+ multiple: false,
1210
+ path: "webSocketServer",
1211
+ type: "enum",
1212
+ values: ["sockjs", "ws"],
1213
+ },
1214
+ {
1215
+ description:
1216
+ "Allows to set web socket server and options (by default 'ws').",
1217
+ multiple: false,
1218
+ path: "webSocketServer",
1219
+ type: "string",
948
1220
  },
949
1221
  ],
950
1222
  description:
951
- "Allows to configure list of globs/directories/files to watch for file changes.",
1223
+ "Deprecated: please use '--web-socket-server-type' option. Allows to set web socket server and options (by default 'ws').",
952
1224
  simpleType: "string",
953
- multiple: true,
1225
+ multiple: false,
954
1226
  },
955
- "watch-files-reset": {
1227
+ "web-socket-server-type": {
956
1228
  configs: [
957
1229
  {
958
- type: "reset",
1230
+ description:
1231
+ "Allows to set web socket server and options (by default 'ws').",
959
1232
  multiple: false,
1233
+ path: "webSocketServer.type",
1234
+ type: "enum",
1235
+ values: ["sockjs", "ws"],
1236
+ },
1237
+ {
960
1238
  description:
961
- "Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes.",
962
- path: "watchFiles",
1239
+ "Allows to set web socket server and options (by default 'ws').",
1240
+ multiple: false,
1241
+ path: "webSocketServer.type",
1242
+ type: "string",
963
1243
  },
964
1244
  ],
965
1245
  description:
966
- "Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes.",
967
- simpleType: "boolean",
1246
+ "Allows to set web socket server and options (by default 'ws').",
1247
+ simpleType: "string",
968
1248
  multiple: false,
969
1249
  },
970
1250
  };