@goliapkg/smix 0.1.0 → 0.2.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 +14 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
# @smix
|
|
1
|
+
# @goliapkg/smix
|
|
2
2
|
|
|
3
|
-
> **Status (2026-06-30)**:
|
|
4
|
-
> 61 vitest unit tests + 4 demo flows running
|
|
5
|
-
> cross-binary harness × 3 backend byte-identical
|
|
3
|
+
> **Status (2026-06-30)**: v0.1.0 ✅ **PUBLISHED to npm** as `@goliapkg/smix`。
|
|
4
|
+
> TS SDK API surface complete, 61 vitest unit tests + 4 demo flows running
|
|
5
|
+
> end-to-end PASS + 24-fixture cross-binary harness × 3 backend byte-identical
|
|
6
|
+
> (Rust + Swift + TS).
|
|
6
7
|
>
|
|
7
|
-
>
|
|
8
|
-
>
|
|
9
|
-
> `@smix` npm scope ownership + smix-runner-server Swift handler injection
|
|
10
|
-
> (v8 backlog).
|
|
8
|
+
> Earlier unscoped `smix-rn` package(briefly published during ship transition)
|
|
9
|
+
> is deprecated pointing here。
|
|
11
10
|
>
|
|
12
11
|
> See also [v7 full initiative wrap](../../docs/plan-history/v7-full-initiative-wrap.md)
|
|
13
|
-
> for the 10-cycle outcome summary
|
|
12
|
+
> for the 10-cycle outcome summary。
|
|
14
13
|
|
|
15
14
|
Playwright-style iOS Simulator + Android emulator UI automation SDK for
|
|
16
15
|
TypeScript / React Native / Expo / Detox-compatible test runners. v7
|
|
@@ -18,13 +17,12 @@ initiative brings smix's Rust-core selector resolver to TS via HTTP
|
|
|
18
17
|
client(production) or in-process mock(unit tests),packaged as ESM Node
|
|
19
18
|
20+ module。
|
|
20
19
|
|
|
21
|
-
## Installation
|
|
20
|
+
## Installation
|
|
22
21
|
|
|
23
22
|
```bash
|
|
24
|
-
|
|
25
|
-
bun add -D @smix/rn
|
|
23
|
+
bun add -D @goliapkg/smix
|
|
26
24
|
# OR
|
|
27
|
-
npm install -D @smix
|
|
25
|
+
npm install -D @goliapkg/smix
|
|
28
26
|
```
|
|
29
27
|
|
|
30
28
|
For test target / Detox-equiv consumer. **Iron rule (§9 #13)**: this
|
|
@@ -34,7 +32,7 @@ production RN/Expo app via metro/expo tree-shaking。
|
|
|
34
32
|
## Quick start(MockSimRuntime — unit tests)
|
|
35
33
|
|
|
36
34
|
```typescript
|
|
37
|
-
import { Smix, Selector, literal, MockSimRuntime, MockSelectorResolver, bundleId } from '@smix
|
|
35
|
+
import { Smix, Selector, literal, MockSimRuntime, MockSelectorResolver, bundleId } from '@goliapkg/smix'
|
|
38
36
|
|
|
39
37
|
const runtime = new MockSimRuntime({ snapshotResult: /* A11yNode tree */ })
|
|
40
38
|
const resolver = new MockSelectorResolver()
|
|
@@ -51,7 +49,7 @@ await welcome.toBeVisible({ timeoutMs: 5_000 })
|
|
|
51
49
|
## Production: HTTP runtime
|
|
52
50
|
|
|
53
51
|
```typescript
|
|
54
|
-
import { Smix, Selector, bundleId, HttpSimRuntime } from '@smix
|
|
52
|
+
import { Smix, Selector, bundleId, HttpSimRuntime } from '@goliapkg/smix'
|
|
55
53
|
|
|
56
54
|
// Connects to smix-runner-server running on host(see swift-bridge/SmixRunnerCore)
|
|
57
55
|
const runtime = new HttpSimRuntime('http://localhost:14101')
|
|
@@ -168,7 +166,7 @@ bash ../../scripts/sdk/run-cross-binary-harness.sh
|
|
|
168
166
|
|
|
169
167
|
## Iron rule §9 #13
|
|
170
168
|
|
|
171
|
-
`@smix
|
|
169
|
+
`@goliapkg/smix` is **never** bundled into a production RN/Expo app. It lives
|
|
172
170
|
in `devDependencies` only — metro/expo's tree-shaking guarantees the
|
|
173
171
|
production bundle excludes it. The `HttpSimRuntime` connects to a
|
|
174
172
|
smix-runner-server running on the host(via 127.0.0.1:port loopback),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goliapkg/smix",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Playwright-shape iOS Simulator / Android emulator UI automation SDK for React Native + Expo + Detox-compatible TypeScript test runners.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0 OR MIT",
|