@symbiote-native/clipboard 3.0.0 → 3.0.1
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 -5
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -11,13 +11,27 @@ mount/unmount lifecycle (`useClipboard`).
|
|
|
11
11
|
|
|
12
12
|
## Install
|
|
13
13
|
|
|
14
|
+
**New app:**
|
|
15
|
+
|
|
14
16
|
```bash
|
|
15
|
-
|
|
17
|
+
npx @symbiote-native/cli new my-app --clipboard
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Existing SymbioteNative app:**
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx @symbiote-native/cli add --clipboard
|
|
16
24
|
```
|
|
17
25
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
26
|
+
Either way: installs `@symbiote-native/clipboard` and wires the native autolinking automatically —
|
|
27
|
+
see [`@symbiote-native/cli`](../cli).
|
|
28
|
+
|
|
29
|
+
<details>
|
|
30
|
+
<summary>Manual install (no CLI — installing and wiring native autolinking by hand)</summary>
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm install @symbiote-native/clipboard
|
|
34
|
+
```
|
|
21
35
|
|
|
22
36
|
Depends on `expo-clipboard` and `expo-modules-core` directly (regular dependencies, pinned to an
|
|
23
37
|
exact version — never a caret range, since this package's `core/` is hand-ported against one
|
|
@@ -25,7 +39,7 @@ specific native API shape and a newer resolve could silently drift the two apart
|
|
|
25
39
|
`expo-clipboard` yourself, and never add the `expo` meta-package to this project — it bundles its
|
|
26
40
|
own Metro/Babel pipeline that conflicts with this project's own.
|
|
27
41
|
|
|
28
|
-
|
|
42
|
+
### Required one-time step: native autolinking wiring
|
|
29
43
|
|
|
30
44
|
Unlike a plain RN native module, `expo-clipboard`'s native code is discovered by
|
|
31
45
|
`expo-modules-autolinking`, not RN's own `react-native.config.cjs` mechanism — this needs wiring
|
|
@@ -43,6 +57,8 @@ Full mechanics live in the `symbiote-expo-native-module` skill. Clipboard itself
|
|
|
43
57
|
`Info.plist`/`AndroidManifest.xml` permission entry on either platform — reading/writing the
|
|
44
58
|
clipboard requires no platform permission string.
|
|
45
59
|
|
|
60
|
+
</details>
|
|
61
|
+
|
|
46
62
|
## Shape
|
|
47
63
|
|
|
48
64
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/clipboard",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "expo-clipboard wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. Reads and writes clipboard text, URLs, and images, plus a clipboard-change listener.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
"solid-js": ">=1.9.0",
|
|
81
81
|
"svelte": ">=5.56.0",
|
|
82
82
|
"vue": ">=3.5.0",
|
|
83
|
-
"@symbiote-native/angular": "^3.
|
|
84
|
-
"@symbiote-native/engine": "^1.
|
|
85
|
-
"@symbiote-native/react": "^3.0.
|
|
86
|
-
"@symbiote-native/solid": "^3.0.
|
|
87
|
-
"@symbiote-native/svelte": "^3.0.
|
|
88
|
-
"@symbiote-native/vue": "^3.0.
|
|
83
|
+
"@symbiote-native/angular": "^3.1.1",
|
|
84
|
+
"@symbiote-native/engine": "^1.3.0",
|
|
85
|
+
"@symbiote-native/react": "^3.0.3",
|
|
86
|
+
"@symbiote-native/solid": "^3.0.3",
|
|
87
|
+
"@symbiote-native/svelte": "^3.0.3",
|
|
88
|
+
"@symbiote-native/vue": "^3.0.3"
|
|
89
89
|
},
|
|
90
90
|
"peerDependenciesMeta": {
|
|
91
91
|
"@symbiote-native/angular": {
|
|
@@ -133,13 +133,13 @@
|
|
|
133
133
|
"solid-js": "^1.9.14",
|
|
134
134
|
"svelte": "^5.56.0",
|
|
135
135
|
"typescript": "~6.0.0",
|
|
136
|
-
"@symbiote-native/angular": "3.
|
|
137
|
-
"@symbiote-native/engine": "1.
|
|
138
|
-
"@symbiote-native/react": "3.0.
|
|
139
|
-
"@symbiote-native/solid": "3.0.
|
|
140
|
-
"@symbiote-native/svelte": "3.0.
|
|
141
|
-
"@symbiote-native/test-utils": "0.3
|
|
142
|
-
"@symbiote-native/vue": "3.0.
|
|
136
|
+
"@symbiote-native/angular": "3.1.1",
|
|
137
|
+
"@symbiote-native/engine": "1.3.0",
|
|
138
|
+
"@symbiote-native/react": "3.0.3",
|
|
139
|
+
"@symbiote-native/solid": "3.0.3",
|
|
140
|
+
"@symbiote-native/svelte": "3.0.3",
|
|
141
|
+
"@symbiote-native/test-utils": "0.4.3",
|
|
142
|
+
"@symbiote-native/vue": "3.0.3"
|
|
143
143
|
},
|
|
144
144
|
"scripts": {
|
|
145
145
|
"typecheck": "tsc --build",
|