dsh-mobilecode 0.1.0 → 0.1.2
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 +21 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,6 +10,20 @@ Native / native), starts the `serve-sim` / `serve-avd` preview servers, builds,
|
|
|
10
10
|
installs and launches the app on the booted simulator or emulator — and exposes
|
|
11
11
|
the same to the agent through tools.
|
|
12
12
|
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
dsh plugin --profile web add dsh-mobilecode
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
(For a fresh profile or when the plugin was added while DSH was running, restart
|
|
20
|
+
the web GUI — host modules bind at startup and the client bundle is served from
|
|
21
|
+
the installed package.)
|
|
22
|
+
|
|
23
|
+
## Support
|
|
24
|
+
|
|
25
|
+
If you find this useful, you can support development at ko-fi.com/spix18
|
|
26
|
+
|
|
13
27
|
## What the plugin provides
|
|
14
28
|
|
|
15
29
|
**Device pane (web GUI)** — a sidebar entry ("Devices") opening a right-hand
|
|
@@ -109,20 +123,15 @@ double-wrapped quoting, and replaces the Effect/Schema types with plain JS.
|
|
|
109
123
|
|
|
110
124
|
## Install / mount
|
|
111
125
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
```powershell
|
|
116
|
-
# from this repo
|
|
117
|
-
$profile = "$env:USERPROFILE\.dsh\profiles\web"
|
|
118
|
-
Copy-Item -Recurse lib, package.json, cordis.patch.yml "$profile\node_modules\dsh-mobilecode\"
|
|
126
|
+
```bash
|
|
127
|
+
dsh plugin --profile web add dsh-mobilecode
|
|
119
128
|
```
|
|
120
129
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
the client bundle (`/plugins/dsh-mobilecode/client.js` — the URL id is
|
|
125
|
-
package name, not the patch row id).
|
|
130
|
+
The package ships with `cordis.patch.yml` + `package.json` (`dsh.bundle.patch`,
|
|
131
|
+
`dsh.client.inject`) so it mounts as a hot-pluggable profile bundle with no
|
|
132
|
+
manual file copying. Restart the GUI to load the host half; refresh the browser
|
|
133
|
+
to load the client bundle (`/plugins/dsh-mobilecode/client.js` — the URL id is
|
|
134
|
+
the package name, not the patch row id).
|
|
126
135
|
|
|
127
136
|
## Verify
|
|
128
137
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-mobilecode",
|
|
3
3
|
"description": "MobileCode for the dsh web GUI: detect iOS/Android projects, run serve-sim / serve-avd preview servers, and build-install-launch the app on the simulator or emulator from the session — plus agent tools (device_run, device_detect). Hot-pluggable — mounted via the profile bundle list + cordis.patch.yml, no dsh source changes.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@11.22.0",
|
|
7
7
|
"engines": {
|