@akiojin/gwt 9.37.0 → 9.38.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/README.ja.md +8 -3
- package/README.md +8 -3
- package/package.json +1 -1
- package/wix/main.wxs +10 -2
package/README.ja.md
CHANGED
|
@@ -103,12 +103,17 @@ gwt
|
|
|
103
103
|
オペレーターは出力された URL を任意のブラウザで開いて操作します。
|
|
104
104
|
|
|
105
105
|
```bash
|
|
106
|
-
gwt serve # 127.0.0.1
|
|
107
|
-
gwt serve --
|
|
108
|
-
gwt serve --
|
|
106
|
+
gwt serve # 127.0.0.1、ランダムポート、ブラウザ自動起動
|
|
107
|
+
gwt serve --no-open # 同じ動作だがブラウザ自動起動を抑制 (CI / スクリプト用)
|
|
108
|
+
gwt serve --port 8787 # 固定ポート + ブラウザ自動起動
|
|
109
|
+
gwt serve --bind 0.0.0.0 --port 8787 # LAN (VPN 越し含む) へ公開 + ブラウザ自動起動
|
|
109
110
|
gwt --headless --port 8787 # `gwt serve --port 8787` と同じ
|
|
110
111
|
```
|
|
111
112
|
|
|
113
|
+
既定でシステムブラウザが自動起動します。CI / 自動化で server だけ立ち上げ
|
|
114
|
+
たい場合は `--no-open` を指定してください。`--open` は既存スクリプト互換性
|
|
115
|
+
維持のため no-op flag として残しています。
|
|
116
|
+
|
|
112
117
|
信頼境界は **LAN のみ** (VPN-extended LAN を含む) です。`gwt serve` には
|
|
113
118
|
TLS 終端、認証ゲート、レート制限は組み込まれていません。`--bind` で
|
|
114
119
|
公開した IP に到達できる主体はすべて trusted と見なされ、ターミナル起動を
|
package/README.md
CHANGED
|
@@ -105,12 +105,17 @@ opening a native window. The embedded HTTP / WebSocket server stays up and
|
|
|
105
105
|
the operator opens the printed URL in any browser instead.
|
|
106
106
|
|
|
107
107
|
```bash
|
|
108
|
-
gwt serve # 127.0.0.1, random port,
|
|
109
|
-
gwt serve --
|
|
110
|
-
gwt serve --
|
|
108
|
+
gwt serve # 127.0.0.1, random port, auto-open browser
|
|
109
|
+
gwt serve --no-open # same, but suppress the browser launch (CI / scripts)
|
|
110
|
+
gwt serve --port 8787 # fixed port + auto-open browser
|
|
111
|
+
gwt serve --bind 0.0.0.0 --port 8787 # share with the LAN (VPN-extended), auto-open browser
|
|
111
112
|
gwt --headless --port 8787 # same as `gwt serve --port 8787`
|
|
112
113
|
```
|
|
113
114
|
|
|
115
|
+
The system browser is opened automatically by default. Pass `--no-open` for
|
|
116
|
+
CI / automation use cases that only need the server running. `--open` is kept
|
|
117
|
+
as a no-op flag for backward compatibility with existing scripts.
|
|
118
|
+
|
|
114
119
|
Trust boundary: **LAN only** (including VPN-extended LAN). `gwt serve` does
|
|
115
120
|
not ship TLS termination, an authentication gate, or rate limiting. Anyone
|
|
116
121
|
that can reach the bind address can drive the embedded UI, which includes
|
package/package.json
CHANGED
package/wix/main.wxs
CHANGED
|
@@ -43,11 +43,19 @@
|
|
|
43
43
|
<Fragment>
|
|
44
44
|
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
|
|
45
45
|
<Component Id="GwtExecutableComponent">
|
|
46
|
-
|
|
46
|
+
<!--
|
|
47
|
+
SPEC-1942 2026-05-20 Amendment Bug B: WiX v4 defaults the installed
|
|
48
|
+
File Name to the literal Source string when Name is omitted, so the
|
|
49
|
+
bindpath binder variable leaks into the on-disk file name (observed
|
|
50
|
+
in v9.37.0 as `!(bindpath.gwt)gwt.exe`). Pin the Name explicitly so
|
|
51
|
+
the installed file is always `gwt.exe` regardless of how bindpath
|
|
52
|
+
resolves at build time.
|
|
53
|
+
-->
|
|
54
|
+
<File Id="GwtExecutable" Source="!(bindpath.gwt)gwt.exe" Name="gwt.exe" KeyPath="yes" />
|
|
47
55
|
<Environment Id="GwtUserPath" Name="PATH" Value="[INSTALLFOLDER]" Action="set" Part="last" />
|
|
48
56
|
</Component>
|
|
49
57
|
<Component Id="GwtdExecutableComponent">
|
|
50
|
-
<File Id="GwtdExecutable" Source="!(bindpath.gwt)gwtd.exe" KeyPath="yes" />
|
|
58
|
+
<File Id="GwtdExecutable" Source="!(bindpath.gwt)gwtd.exe" Name="gwtd.exe" KeyPath="yes" />
|
|
51
59
|
</Component>
|
|
52
60
|
</ComponentGroup>
|
|
53
61
|
|