create-fungi-app 0.0.36 → 0.0.38
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/package.json +2 -2
- package/template/README.md +5 -16
- package/template/package.json +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-fungi-app",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.38",
|
|
4
4
|
"description": "Create a Caps and Agar App that runs on a standalone Oyster",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@fungi.computer/lantern": "0.4.2",
|
|
29
29
|
"zod": "4.4.3",
|
|
30
|
-
"@fungi.computer/oyster": "0.19.
|
|
30
|
+
"@fungi.computer/oyster": "0.19.28",
|
|
31
31
|
"@fungi.computer/puffball": "0.5.5",
|
|
32
32
|
"effect": "4.0.2",
|
|
33
33
|
"validate-npm-package-name": "7.0.2",
|
package/template/README.md
CHANGED
|
@@ -57,9 +57,9 @@ use the ordinary Oyster CLI:
|
|
|
57
57
|
```sh
|
|
58
58
|
export OYSTER_URL=https://your-oyster.example
|
|
59
59
|
export OYSTER_OWNER_KEY='<your owner key>'
|
|
60
|
-
npx oyster install ./dist --installation-id my-app
|
|
60
|
+
npx @fungi.computer/oyster install ./dist --installation-id my-app
|
|
61
61
|
# The manifest path is also accepted:
|
|
62
|
-
npx oyster install ./dist/release.json --installation-id my-app
|
|
62
|
+
npx @fungi.computer/oyster install ./dist/release.json --installation-id my-app
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
Both forms use `installRelease` from `@fungi.computer/oyster/pack`: artifacts
|
|
@@ -77,21 +77,10 @@ any previous Release running. Local-only Computers return `no_backend`.
|
|
|
77
77
|
The same Release format is used by Fungi. Building creates the Release locally;
|
|
78
78
|
it does not install or publish it.
|
|
79
79
|
|
|
80
|
-
##
|
|
80
|
+
## Assets
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
`models` and `searchModels(models, query)` to find candidates, then
|
|
85
|
-
`requireModel(models, id)` to pin a catalog ID rather than guessing filenames.
|
|
86
|
-
|
|
87
|
-
Load the selected asset with `modelLoader()` from
|
|
88
|
-
`@fungi.computer/art-library/three` and its `loadAsync(modelUrl)` method. This
|
|
89
|
-
loader wires the Meshopt decoder needed by compressed models; a bare
|
|
90
|
-
`GLTFLoader` does not.
|
|
91
|
-
|
|
92
|
-
Include the chosen model (and any referenced buffers/textures) in the Release's
|
|
93
|
-
built assets and use the emitted asset URL; the catalog row's `file` is not a
|
|
94
|
-
public Oyster URL. Keep `fungi.build.assetBase` as `"./"` and URLs
|
|
82
|
+
Include assets and their referenced files in the Release's built assets and use
|
|
83
|
+
the emitted asset URL. Keep `fungi.build.assetBase` as `"./"` and URLs
|
|
95
84
|
release-scoped under `/ui/<installation>/<release>/`. Resolve emitted relative
|
|
96
85
|
paths against the App document base, for example
|
|
97
86
|
`new URL("./assets/mascot.glb", document.baseURI).href` if that is the emitted
|
package/template/package.json
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
"zod": "4.4.3"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"create-fungi-app": "0.0.
|
|
11
|
-
"@fungi.computer/oyster": "0.19.
|
|
10
|
+
"create-fungi-app": "0.0.38",
|
|
11
|
+
"@fungi.computer/oyster": "0.19.28",
|
|
12
12
|
"typescript": "5.9.3",
|
|
13
13
|
"@types/react": "18.3.3",
|
|
14
14
|
"@types/react-dom": "18.3.0",
|
|
15
|
-
"@cloudflare/workers-types": "5.
|
|
15
|
+
"@cloudflare/workers-types": "5.20261102.1",
|
|
16
16
|
"wrangler": "4.156.2",
|
|
17
17
|
"vite": "8.2.2",
|
|
18
18
|
"@vitejs/plugin-react": "6.1.1"
|