webpack-dev-server 4.4.0 → 4.7.1

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,22 @@ 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
+ },
177
152
  "client-reconnect": {
178
153
  configs: [
179
154
  {
@@ -197,6 +172,29 @@ module.exports = {
197
172
  simpleType: "string",
198
173
  multiple: false,
199
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
+ },
200
198
  "client-web-socket-url": {
201
199
  configs: [
202
200
  {
@@ -227,25 +225,18 @@ module.exports = {
227
225
  simpleType: "string",
228
226
  multiple: false,
229
227
  },
230
- "client-web-socket-url-port": {
228
+ "client-web-socket-url-password": {
231
229
  configs: [
232
230
  {
233
- type: "number",
231
+ type: "string",
234
232
  multiple: false,
235
233
  description:
236
- "Tells clients connected to devServer to use the provided port.",
237
- path: "client.webSocketURL.port",
238
- },
239
- {
240
- description:
241
- "Tells clients connected to devServer to use the provided port.",
242
- multiple: false,
243
- path: "client.webSocketURL.port",
244
- type: "string",
234
+ "Tells clients connected to devServer to use the provided password to authenticate.",
235
+ path: "client.webSocketURL.password",
245
236
  },
246
237
  ],
247
238
  description:
248
- "Tells clients connected to devServer to use the provided port.",
239
+ "Tells clients connected to devServer to use the provided password to authenticate.",
249
240
  simpleType: "string",
250
241
  multiple: false,
251
242
  },
@@ -264,6 +255,28 @@ module.exports = {
264
255
  simpleType: "string",
265
256
  multiple: false,
266
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
+ },
267
280
  "client-web-socket-url-protocol": {
268
281
  configs: [
269
282
  {
@@ -302,53 +315,6 @@ module.exports = {
302
315
  simpleType: "string",
303
316
  multiple: false,
304
317
  },
305
- "client-web-socket-url-password": {
306
- configs: [
307
- {
308
- type: "string",
309
- multiple: false,
310
- description:
311
- "Tells clients connected to devServer to use the provided password to authenticate.",
312
- path: "client.webSocketURL.password",
313
- },
314
- ],
315
- description:
316
- "Tells clients connected to devServer to use the provided password to authenticate.",
317
- simpleType: "string",
318
- multiple: false,
319
- },
320
- "web-socket-server": {
321
- configs: [
322
- {
323
- description:
324
- "Allows to set web socket server and options (by default 'ws').",
325
- multiple: false,
326
- path: "webSocketServer",
327
- type: "enum",
328
- values: [false],
329
- },
330
- {
331
- description:
332
- "Allows to set web socket server and options (by default 'ws').",
333
- multiple: false,
334
- path: "webSocketServer",
335
- type: "enum",
336
- values: ["sockjs", "ws"],
337
- },
338
- {
339
- description:
340
- "Allows to set web socket server and options (by default 'ws').",
341
- multiple: false,
342
- path: "webSocketServer",
343
- type: "string",
344
- },
345
- ],
346
-
347
- description:
348
- "Allows to set web socket server and options (by default 'ws').",
349
- simpleType: "string",
350
- multiple: false,
351
- },
352
318
  compress: {
353
319
  configs: [
354
320
  {
@@ -424,11 +390,13 @@ module.exports = {
424
390
  {
425
391
  type: "boolean",
426
392
  multiple: false,
427
- 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.",
428
395
  path: "http2",
429
396
  },
430
397
  ],
431
- 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.",
432
400
  negatedDescription: "Does not serve over HTTP/2 using SPDY.",
433
401
  simpleType: "boolean",
434
402
  multiple: false,
@@ -439,60 +407,29 @@ module.exports = {
439
407
  type: "boolean",
440
408
  multiple: false,
441
409
  description:
442
- "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.",
443
411
  path: "https",
444
412
  },
445
413
  ],
446
414
  description:
447
- "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.",
448
416
  negatedDescription:
449
417
  "Disallows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).",
450
418
  simpleType: "boolean",
451
419
  multiple: false,
452
420
  },
453
- "https-passphrase": {
454
- configs: [
455
- {
456
- type: "string",
457
- multiple: false,
458
- description:
459
- "Passphrase for a pfx file. Deprecated, it will be removed in favor of the `server.options.passphrase` option.",
460
- path: "https.passphrase",
461
- },
462
- ],
463
- description:
464
- "Passphrase for a pfx file. Deprecated, it will be removed in favor of the `server.options.passphrase` option.",
465
- simpleType: "string",
466
- multiple: false,
467
- },
468
- "https-request-cert": {
469
- configs: [
470
- {
471
- type: "boolean",
472
- multiple: false,
473
- description:
474
- "Request for an SSL certificate. Deprecated, it will be removed in favor of the `server.options.requestCert` option.",
475
- path: "https.requestCert",
476
- },
477
- ],
478
- description:
479
- "Request for an SSL certificate. Deprecated, it will be removed in favor of the `server.options.requestCert` option.",
480
- negatedDescription: "Does not request for an SSL certificate.",
481
- simpleType: "boolean",
482
- multiple: false,
483
- },
484
421
  "https-ca": {
485
422
  configs: [
486
423
  {
487
424
  type: "string",
488
425
  multiple: true,
489
426
  description:
490
- "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.ca` option.",
427
+ "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
491
428
  path: "https.ca[]",
492
429
  },
493
430
  ],
494
431
  description:
495
- "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.ca` option.",
432
+ "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
496
433
  simpleType: "string",
497
434
  multiple: true,
498
435
  },
@@ -500,14 +437,14 @@ module.exports = {
500
437
  configs: [
501
438
  {
502
439
  description:
503
- "Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.ca` option.",
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.",
504
441
  multiple: false,
505
442
  path: "https.ca",
506
443
  type: "reset",
507
444
  },
508
445
  ],
509
446
  description:
510
- "Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.ca` option.",
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.",
511
448
  multiple: false,
512
449
  simpleType: "boolean",
513
450
  },
@@ -517,12 +454,12 @@ module.exports = {
517
454
  type: "string",
518
455
  multiple: true,
519
456
  description:
520
- "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.cacert` option.",
457
+ "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
521
458
  path: "https.cacert[]",
522
459
  },
523
460
  ],
524
461
  description:
525
- "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.cacert` option.",
462
+ "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
526
463
  simpleType: "string",
527
464
  multiple: true,
528
465
  },
@@ -530,137 +467,168 @@ module.exports = {
530
467
  configs: [
531
468
  {
532
469
  description:
533
- "Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.cacert` option.",
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.",
534
471
  multiple: false,
535
472
  path: "https.cacert",
536
473
  type: "reset",
537
474
  },
538
475
  ],
539
476
  description:
540
- "Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.cacert` option.",
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.",
541
478
  multiple: false,
542
479
  simpleType: "boolean",
543
480
  },
544
- "https-key": {
481
+ "https-cert": {
545
482
  configs: [
546
483
  {
547
484
  type: "string",
548
485
  multiple: true,
549
486
  description:
550
- "Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the `server.options.key` option.",
551
- path: "https.key[]",
487
+ "Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option.",
488
+ path: "https.cert[]",
552
489
  },
553
490
  ],
554
491
  description:
555
- "Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the `server.options.key` option.",
492
+ "Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option.",
556
493
  simpleType: "string",
557
494
  multiple: true,
558
495
  },
559
- "https-key-reset": {
496
+ "https-cert-reset": {
560
497
  configs: [
561
498
  {
562
499
  description:
563
- "Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the `server.options.key` option.",
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.",
564
501
  multiple: false,
565
- path: "https.key",
502
+ path: "https.cert",
566
503
  type: "reset",
567
504
  },
568
505
  ],
569
506
  description:
570
- "Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the `server.options.key` option.",
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.",
571
508
  multiple: false,
572
509
  simpleType: "boolean",
573
510
  },
574
- "https-pfx": {
511
+ "https-crl": {
575
512
  configs: [
576
513
  {
577
- type: "string",
578
- multiple: true,
579
514
  description:
580
- "Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the `server.options.pfx` option.",
581
- path: "https.pfx[]",
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.",
516
+ multiple: true,
517
+ path: "https.crl[]",
518
+ type: "string",
582
519
  },
583
520
  ],
584
521
  description:
585
- "Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the `server.options.pfx` option.",
586
- simpleType: "string",
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.",
587
523
  multiple: true,
524
+ simpleType: "string",
588
525
  },
589
- "https-pfx-reset": {
526
+ "https-crl-reset": {
590
527
  configs: [
591
528
  {
592
529
  description:
593
- "Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the `server.options.pfx` option.",
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.",
594
531
  multiple: false,
595
- path: "https.pfx",
532
+ path: "https.crl",
596
533
  type: "reset",
597
534
  },
598
535
  ],
599
536
  description:
600
- "Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the `server.options.pfx` option.",
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.",
601
538
  multiple: false,
602
539
  simpleType: "boolean",
603
540
  },
604
- "https-cert": {
541
+ "https-key": {
605
542
  configs: [
606
543
  {
607
544
  type: "string",
608
545
  multiple: true,
609
546
  description:
610
- "Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the `server.options.cert` option.",
611
- 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[]",
612
549
  },
613
550
  ],
614
551
  description:
615
- "Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the `server.options.cert` option.",
552
+ "Path to an SSL key or content of an SSL key. Deprecated, use the `server.options.key` option.",
616
553
  simpleType: "string",
617
554
  multiple: true,
618
555
  },
619
- "https-cert-reset": {
556
+ "https-key-reset": {
620
557
  configs: [
621
558
  {
622
559
  description:
623
- "Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the `server.options.cert` option.",
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.",
624
561
  multiple: false,
625
- path: "https.cert",
562
+ path: "https.key",
626
563
  type: "reset",
627
564
  },
628
565
  ],
629
566
  description:
630
- "Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the `server.options.cert` option.",
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.",
631
568
  multiple: false,
632
569
  simpleType: "boolean",
633
570
  },
634
- "https-crl": {
571
+ "https-passphrase": {
635
572
  configs: [
636
573
  {
574
+ type: "string",
575
+ multiple: false,
637
576
  description:
638
- "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, it will be removed in favor of the `server.options.crl` option.",
639
- multiple: true,
640
- path: "https.crl[]",
577
+ "Passphrase for a pfx file. Deprecated, use the `server.options.passphrase` option.",
578
+ path: "https.passphrase",
579
+ },
580
+ ],
581
+ description:
582
+ "Passphrase for a pfx file. Deprecated, use the `server.options.passphrase` option.",
583
+ simpleType: "string",
584
+ multiple: false,
585
+ },
586
+ "https-pfx": {
587
+ configs: [
588
+ {
641
589
  type: "string",
590
+ multiple: true,
591
+ description:
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[]",
642
594
  },
643
595
  ],
644
596
  description:
645
- "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, it will be removed in favor of the `server.options.crl` option.",
646
- multiple: true,
597
+ "Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the `server.options.pfx` option.",
647
598
  simpleType: "string",
599
+ multiple: true,
648
600
  },
649
- "https-crl-reset": {
601
+ "https-pfx-reset": {
650
602
  configs: [
651
603
  {
652
604
  description:
653
- "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, it will be removed in favor of the `server.options.crl` option.",
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.",
654
606
  multiple: false,
655
- path: "https.crl",
607
+ path: "https.pfx",
656
608
  type: "reset",
657
609
  },
658
610
  ],
659
611
  description:
660
- "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, it will be removed in favor of the `server.options.crl` option.",
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.",
661
613
  multiple: false,
662
614
  simpleType: "boolean",
663
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
+ },
664
632
  ipc: {
665
633
  configs: [
666
634
  {
@@ -738,23 +706,18 @@ module.exports = {
738
706
  simpleType: "string",
739
707
  multiple: true,
740
708
  },
741
- "open-target": {
709
+ "open-app": {
742
710
  configs: [
743
711
  {
744
712
  type: "string",
745
713
  multiple: true,
746
- description: "Opens specified page in browser.",
747
- path: "open[].target",
748
- },
749
- {
750
- type: "string",
751
- multiple: true,
752
- description: "Opens specified page in browser.",
753
- path: "open.target[]",
714
+ description:
715
+ "Open specified browser. Deprecated: please use '--open-app-name'.",
716
+ path: "open[].app",
754
717
  },
755
718
  ],
756
- description: "Opens specified page in browser.",
757
- negatedDescription: "Does not open specified page in browser.",
719
+ description:
720
+ "Open specified browser. Deprecated: please use '--open-app-name'.",
758
721
  simpleType: "string",
759
722
  multiple: true,
760
723
  },
@@ -777,18 +740,20 @@ module.exports = {
777
740
  simpleType: "string",
778
741
  multiple: true,
779
742
  },
780
- "open-app": {
743
+ "open-app-name-reset": {
781
744
  configs: [
782
745
  {
783
- type: "string",
784
- multiple: true,
785
- description: "Open specified browser.",
786
- 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",
787
751
  },
788
752
  ],
789
- description: "Open specified browser.",
790
- simpleType: "string",
791
- multiple: true,
753
+ description:
754
+ "Clear all items provided in 'open.app.name' configuration. Open specified browser.",
755
+ simpleType: "boolean",
756
+ multiple: false,
792
757
  },
793
758
  "open-reset": {
794
759
  configs: [
@@ -805,33 +770,38 @@ module.exports = {
805
770
  simpleType: "boolean",
806
771
  multiple: false,
807
772
  },
808
- "open-target-reset": {
773
+ "open-target": {
809
774
  configs: [
810
775
  {
811
- type: "reset",
812
- multiple: false,
813
- description:
814
- "Clear all items provided in 'open.target' configuration. Opens specified page in browser.",
815
- 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[]",
816
786
  },
817
787
  ],
818
- description:
819
- "Clear all items provided in 'open.target' configuration. Opens specified page in browser.",
820
- simpleType: "boolean",
821
- multiple: false,
788
+ description: "Opens specified page in browser.",
789
+ negatedDescription: "Does not open specified page in browser.",
790
+ simpleType: "string",
791
+ multiple: true,
822
792
  },
823
- "open-app-name-reset": {
793
+ "open-target-reset": {
824
794
  configs: [
825
795
  {
826
796
  type: "reset",
827
797
  multiple: false,
828
798
  description:
829
- "Clear all items provided in 'open.app.name' configuration. Open specified browser.",
830
- path: "open.app.name",
799
+ "Clear all items provided in 'open.target' configuration. Opens specified page in browser.",
800
+ path: "open.target",
831
801
  },
832
802
  ],
833
803
  description:
834
- "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.",
835
805
  simpleType: "boolean",
836
806
  multiple: false,
837
807
  },
@@ -895,14 +865,14 @@ module.exports = {
895
865
  configs: [
896
866
  {
897
867
  description:
898
- "Path to an SSL CA certificate or content of an SSL CA certificate.",
868
+ "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
899
869
  multiple: true,
900
870
  path: "server.options.cacert[]",
901
871
  type: "string",
902
872
  },
903
873
  ],
904
874
  description:
905
- "Path to an SSL CA certificate or content of an SSL CA certificate.",
875
+ "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.",
906
876
  multiple: true,
907
877
  simpleType: "string",
908
878
  },
@@ -910,14 +880,14 @@ module.exports = {
910
880
  configs: [
911
881
  {
912
882
  description:
913
- "Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate.",
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.",
914
884
  multiple: false,
915
885
  path: "server.options.cacert",
916
886
  type: "reset",
917
887
  },
918
888
  ],
919
889
  description:
920
- "Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate.",
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.",
921
891
  multiple: false,
922
892
  simpleType: "boolean",
923
893
  },
@@ -1133,6 +1103,36 @@ module.exports = {
1133
1103
  simpleType: "string",
1134
1104
  multiple: true,
1135
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
+ },
1136
1136
  "static-serve-index": {
1137
1137
  configs: [
1138
1138
  {
@@ -1163,64 +1163,88 @@ module.exports = {
1163
1163
  simpleType: "boolean",
1164
1164
  multiple: true,
1165
1165
  },
1166
- "static-reset": {
1166
+ "watch-files": {
1167
1167
  configs: [
1168
1168
  {
1169
- type: "reset",
1170
- multiple: false,
1169
+ type: "string",
1170
+ multiple: true,
1171
1171
  description:
1172
- "Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory).",
1173
- path: "static",
1172
+ "Allows to configure list of globs/directories/files to watch for file changes.",
1173
+ path: "watchFiles[]",
1174
1174
  },
1175
1175
  ],
1176
1176
  description:
1177
- "Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory).",
1178
- simpleType: "boolean",
1179
- multiple: false,
1177
+ "Allows to configure list of globs/directories/files to watch for file changes.",
1178
+ simpleType: "string",
1179
+ multiple: true,
1180
1180
  },
1181
- "static-public-path-reset": {
1181
+ "watch-files-reset": {
1182
1182
  configs: [
1183
1183
  {
1184
1184
  type: "reset",
1185
1185
  multiple: false,
1186
1186
  description:
1187
- "Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.",
1188
- 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",
1189
1189
  },
1190
1190
  ],
1191
1191
  description:
1192
- "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.",
1193
1193
  simpleType: "boolean",
1194
1194
  multiple: false,
1195
1195
  },
1196
- "watch-files": {
1196
+ "web-socket-server": {
1197
1197
  configs: [
1198
1198
  {
1199
- type: "string",
1200
- multiple: true,
1201
1199
  description:
1202
- "Allows to configure list of globs/directories/files to watch for file changes.",
1203
- 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",
1204
1220
  },
1205
1221
  ],
1206
1222
  description:
1207
- "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').",
1208
1224
  simpleType: "string",
1209
- multiple: true,
1225
+ multiple: false,
1210
1226
  },
1211
- "watch-files-reset": {
1227
+ "web-socket-server-type": {
1212
1228
  configs: [
1213
1229
  {
1214
- type: "reset",
1230
+ description:
1231
+ "Allows to set web socket server and options (by default 'ws').",
1215
1232
  multiple: false,
1233
+ path: "webSocketServer.type",
1234
+ type: "enum",
1235
+ values: ["sockjs", "ws"],
1236
+ },
1237
+ {
1216
1238
  description:
1217
- "Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes.",
1218
- path: "watchFiles",
1239
+ "Allows to set web socket server and options (by default 'ws').",
1240
+ multiple: false,
1241
+ path: "webSocketServer.type",
1242
+ type: "string",
1219
1243
  },
1220
1244
  ],
1221
1245
  description:
1222
- "Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes.",
1223
- simpleType: "boolean",
1246
+ "Allows to set web socket server and options (by default 'ws').",
1247
+ simpleType: "string",
1224
1248
  multiple: false,
1225
1249
  },
1226
1250
  };