@frockbot/applet-sdk 0.3.16 → 0.3.17

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.
Files changed (2) hide show
  1. package/README.md +8 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -32,12 +32,14 @@ applet dev # Miniflare on a local port; prints a URL, opens nothi
32
32
  kernel asks the facet before it admits a generation, so the manifest cannot
33
33
  disagree with the code.
34
34
 
35
- **The CLI runs under Bun.** Every entry point in this package is TypeScript and
36
- resolves sibling modules through `.js` specifiers, which Bun and esbuild handle
37
- and plain Node does not. The `applets` provisioning phase on the Computer
38
- (lane C1) must therefore put Bun on the image, or this package must gain a
39
- prepublish step that bundles `src/cli/bin.ts` to `dist/cli.mjs` and points `bin`
40
- there. Nothing else in the SDK depends on which of those is chosen.
35
+ **The published CLI runs under Node.** `prepublishOnly` bundles
36
+ `src/cli/main.ts` to `dist/cli.mjs`, and the package's `bin` points there. The
37
+ Computer's `applets` provisioning phase installs this package and its runtime
38
+ once under the shared Computer runtime; an in-place runtime update repairs that
39
+ installation when it is missing. An Applet project deliberately has no
40
+ `node_modules` of its own. The checker and bundler resolve SDK, React, and
41
+ TanStack imports from the shared installation, while project dependency trees
42
+ remain reproducible scratch and never enter the durable-root sync.
41
43
 
42
44
  ## What runs where
43
45
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frockbot/applet-sdk",
3
- "version": "0.3.16",
3
+ "version": "0.3.17",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Authoring SDK for FrockBot Applets: schema-first Durable Object server, TanStack DB client, component kit, linter, and the `applet` CLI.",