@swell/cli 2.0.20 → 2.1.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.
@@ -349,7 +349,8 @@
349
349
  "examples": [
350
350
  "swell app dev",
351
351
  "swell app dev --storefront-id <id>",
352
- "swell app dev --port 3000"
352
+ "swell app dev --port 3000",
353
+ "swell app dev --port 3000 --frontend-port 4000"
353
354
  ],
354
355
  "flags": {
355
356
  "app-path": {
@@ -373,6 +374,13 @@
373
374
  "multiple": false,
374
375
  "type": "option"
375
376
  },
377
+ "frontend-port": {
378
+ "description": "specify the port for the frontend dev server when running with frontend",
379
+ "name": "frontend-port",
380
+ "hasDynamicHelp": false,
381
+ "multiple": false,
382
+ "type": "option"
383
+ },
376
384
  "storefront-id": {
377
385
  "description": "for storefront apps, identify a storefront to preview and push theme files to",
378
386
  "name": "storefront-id",
@@ -480,8 +488,11 @@
480
488
  "hasDynamicHelp": false,
481
489
  "multiple": false,
482
490
  "options": [
483
- "nextjs",
484
- "astro"
491
+ "astro",
492
+ "angular",
493
+ "hono",
494
+ "nuxt",
495
+ "nextjs"
485
496
  ],
486
497
  "type": "option"
487
498
  },
@@ -921,8 +932,11 @@
921
932
  "hasDynamicHelp": false,
922
933
  "multiple": false,
923
934
  "options": [
924
- "nextjs",
925
- "astro"
935
+ "astro",
936
+ "angular",
937
+ "hono",
938
+ "nuxt",
939
+ "nextjs"
926
940
  ],
927
941
  "type": "option"
928
942
  },
@@ -1100,8 +1114,11 @@
1100
1114
  "hasDynamicHelp": false,
1101
1115
  "multiple": false,
1102
1116
  "options": [
1103
- "nextjs",
1104
- "astro"
1117
+ "astro",
1118
+ "angular",
1119
+ "hono",
1120
+ "nuxt",
1121
+ "nextjs"
1105
1122
  ],
1106
1123
  "type": "option"
1107
1124
  },
@@ -1581,8 +1598,11 @@
1581
1598
  "hasDynamicHelp": false,
1582
1599
  "multiple": false,
1583
1600
  "options": [
1584
- "nextjs",
1585
- "astro"
1601
+ "astro",
1602
+ "angular",
1603
+ "hono",
1604
+ "nuxt",
1605
+ "nextjs"
1586
1606
  ],
1587
1607
  "type": "option"
1588
1608
  },
@@ -1830,7 +1850,7 @@
1830
1850
  "examples": [
1831
1851
  "swell app frontend dev",
1832
1852
  "swell app frontend dev --no-push",
1833
- "swell app frontend dev --port 3000",
1853
+ "swell app frontend dev --proxy-port 3000",
1834
1854
  "swell app frontend dev --storefront-select",
1835
1855
  "swell app frontend dev --storefront-id <id>"
1836
1856
  ],
@@ -1856,6 +1876,13 @@
1856
1876
  "multiple": false,
1857
1877
  "type": "option"
1858
1878
  },
1879
+ "frontend-port": {
1880
+ "description": "specify the port for the frontend dev server when running with frontend",
1881
+ "name": "frontend-port",
1882
+ "hasDynamicHelp": false,
1883
+ "multiple": false,
1884
+ "type": "option"
1885
+ },
1859
1886
  "storefront-id": {
1860
1887
  "description": "identify a storefront to preview with and push theme files to",
1861
1888
  "name": "storefront-id",
@@ -1868,6 +1895,20 @@
1868
1895
  "name": "storefront-select",
1869
1896
  "allowNo": false,
1870
1897
  "type": "boolean"
1898
+ },
1899
+ "proxy-port": {
1900
+ "description": "specify the port for an existing frontend proxy",
1901
+ "name": "proxy-port",
1902
+ "default": 3001,
1903
+ "hasDynamicHelp": false,
1904
+ "multiple": false,
1905
+ "type": "option"
1906
+ },
1907
+ "app-dev": {
1908
+ "description": "indicates frontend app is running in app dev mode",
1909
+ "name": "app-dev",
1910
+ "allowNo": false,
1911
+ "type": "boolean"
1871
1912
  }
1872
1913
  },
1873
1914
  "hasDynamicHelp": false,
@@ -1891,5 +1932,5 @@
1891
1932
  ]
1892
1933
  }
1893
1934
  },
1894
- "version": "2.0.20"
1935
+ "version": "2.1.0"
1895
1936
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swell/cli",
3
- "version": "2.0.20",
3
+ "version": "2.1.0",
4
4
  "type": "module",
5
5
  "description": "Swell's command line interface/utility",
6
6
  "keywords": [
@@ -44,6 +44,7 @@
44
44
  "http-proxy": "1.18.1",
45
45
  "inflection": "3.0.0",
46
46
  "istextorbinary": "9.5.0",
47
+ "localtunnel": "2.0.2",
47
48
  "lodash": "4.17.21",
48
49
  "mime-detect": "1.2.0",
49
50
  "ngrok": "5.0.0-beta.2",
@@ -63,6 +64,7 @@
63
64
  "@types/configstore": "6.0.1",
64
65
  "@types/http-proxy": "1.17.16",
65
66
  "@types/inquirer": "9.0.6",
67
+ "@types/localtunnel": "2.0.4",
66
68
  "@types/mocha": "10.0.3",
67
69
  "@types/node": "20.8.8",
68
70
  "@types/qs": "6.9.15",