@sigx/lynx-dev-client 0.1.1 → 0.4.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.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Dev-only client for sigx-lynx apps: resource fetchers, template provider, devtool integration, error overlay, perf HUD, QR scanner, and the on-device dev menu. Ships as a debug-only auto-linked module — release builds drop it entirely.
|
|
4
4
|
|
|
5
|
-
Install it as a `devDependency`; `@sigx/lynx-cli`'s autolinker picks it up from `node_modules`
|
|
5
|
+
Install it as a `devDependency`; `@sigx/lynx-cli`'s autolinker picks it up from `node_modules` automatically — like every other `@sigx/lynx-*` module.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -25,7 +25,7 @@ The lynx project templates already include this; manual install is only needed f
|
|
|
25
25
|
|
|
26
26
|
## Permissions
|
|
27
27
|
|
|
28
|
-
The QR scanner requires camera access. The package's `
|
|
28
|
+
The QR scanner requires camera access. The package's `signalx-module.json` declares this — autolinker adds `NSCameraUsageDescription` to `Info.plist` and `android.permission.CAMERA` to `AndroidManifest.xml`. Strip these from release builds by depending on this package only under `devDependencies`.
|
|
29
29
|
|
|
30
30
|
## Versioning
|
|
31
31
|
|
|
@@ -80,7 +80,7 @@ fun DevHomeScreen(
|
|
|
80
80
|
value = urlText,
|
|
81
81
|
onValueChange = { urlText = it },
|
|
82
82
|
label = { Text("Dev server URL") },
|
|
83
|
-
placeholder = { Text("http://192.168.1.100:
|
|
83
|
+
placeholder = { Text("http://192.168.1.100:8788/main.lynx.bundle") },
|
|
84
84
|
modifier = Modifier.fillMaxWidth(),
|
|
85
85
|
singleLine = true,
|
|
86
86
|
keyboardOptions = KeyboardOptions(
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
*
|
|
8
|
-
* The JS side is a no-op — all functionality is in the native code
|
|
9
|
-
* that gets auto-linked during prebuild.
|
|
10
|
-
*/
|
|
11
|
-
export const DEV_CLIENT_VERSION = '0.1.0';
|
|
1
|
+
//#region src/index.ts
|
|
2
|
+
var e = "0.1.0";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as DEV_CLIENT_VERSION };
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["/**\n * @sigx/lynx-dev-client\n *\n * Dev client for sigx-lynx apps. Contains native resource fetchers,\n * template provider, and devtool integration that enable HMR and\n * dev tools in debug builds.\n *\n * The JS side is a no-op — all functionality is in the native code\n * that gets auto-linked during prebuild.\n */\n\nexport const DEV_CLIENT_VERSION = '0.1.0';\n"],"mappings":";AAWA,IAAa,IAAqB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sigx/lynx-dev-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Dev client for sigx-lynx — resource fetchers, template provider, and devtool integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -10,17 +10,18 @@
|
|
|
10
10
|
"import": "./dist/index.js",
|
|
11
11
|
"types": "./dist/index.d.ts"
|
|
12
12
|
},
|
|
13
|
-
"./
|
|
13
|
+
"./signalx-module.json": "./signalx-module.json",
|
|
14
14
|
"./package.json": "./package.json"
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"dist",
|
|
18
18
|
"android",
|
|
19
19
|
"ios",
|
|
20
|
-
"
|
|
20
|
+
"signalx-module.json"
|
|
21
21
|
],
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"typescript": "^6.0.3"
|
|
23
|
+
"typescript": "^6.0.3",
|
|
24
|
+
"@sigx/vite": "^0.4.3"
|
|
24
25
|
},
|
|
25
26
|
"author": "Andreas Ekdahl",
|
|
26
27
|
"license": "MIT",
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
"dev-client"
|
|
47
48
|
],
|
|
48
49
|
"scripts": {
|
|
49
|
-
"build": "
|
|
50
|
-
"dev": "
|
|
50
|
+
"build": "vite build && tsgo --emitDeclarationOnly",
|
|
51
|
+
"dev": "vite build --watch"
|
|
51
52
|
}
|
|
52
53
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"sourceDir": "android/src/main/kotlin",
|
|
10
10
|
"debugOnly": true,
|
|
11
11
|
"dependencies": [
|
|
12
|
-
"org.lynxsdk.lynx:lynx-devtool:3.
|
|
13
|
-
"org.lynxsdk.lynx:lynx-service-devtool:3.
|
|
12
|
+
"org.lynxsdk.lynx:lynx-devtool:3.7.0",
|
|
13
|
+
"org.lynxsdk.lynx:lynx-service-devtool:3.7.0",
|
|
14
14
|
"androidx.compose.material3:material3",
|
|
15
15
|
"androidx.compose.material:material-icons-extended",
|
|
16
16
|
"androidx.compose.ui:ui",
|