@domicile-desktop/react 0.0.0-alpha-1c7e183f7bdf → 0.0.0-alpha-22844b34db80
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 +6 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
React for a Domicile shell or app: mount it on the desktop, read the desktop
|
|
4
4
|
from context, and follow its state with hooks. See
|
|
5
|
-
[With React](/docs/WRITING-A-SHELL.md#with-react).
|
|
5
|
+
[With React](/docs/WRITING-A-SHELL.md#with-react). Every hook's full
|
|
6
|
+
signature and docs ship in the package's `.d.ts`, so your editor shows them.
|
|
6
7
|
|
|
7
8
|
## Usage
|
|
8
9
|
|
|
@@ -58,7 +59,10 @@ export const Shell = mount(Focused);
|
|
|
58
59
|
- `@cprussin/option-result` for `watchPresence`'s `Result`.
|
|
59
60
|
- `react` and `react-dom` are peers: the shell's own copies.
|
|
60
61
|
|
|
61
|
-
##
|
|
62
|
+
## Working on this package
|
|
63
|
+
|
|
64
|
+
For contributors to this repository. Shell authors don't need it.
|
|
65
|
+
|
|
62
66
|
|
|
63
67
|
```sh
|
|
64
68
|
bun run turbo test --filter @domicile-desktop/react
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
3
|
"@cprussin/option-result": "^2.0.1",
|
|
4
|
-
"@domicile-desktop/sdk": "0.0.0-alpha-
|
|
4
|
+
"@domicile-desktop/sdk": "0.0.0-alpha-22844b34db80"
|
|
5
5
|
},
|
|
6
6
|
"description": "React for a Domicile shell or app: mount it on the desktop, read the desktop from context, and follow its state with hooks.",
|
|
7
7
|
"devDependencies": {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"test:unit": "bun test"
|
|
101
101
|
},
|
|
102
102
|
"type": "module",
|
|
103
|
-
"version": "0.0.0-alpha-
|
|
103
|
+
"version": "0.0.0-alpha-22844b34db80",
|
|
104
104
|
"repository": {
|
|
105
105
|
"type": "git",
|
|
106
106
|
"url": "git+https://github.com/cprussin/domicile.git",
|