@s2script/sdk 0.13.0 → 0.15.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 CHANGED
@@ -34,6 +34,13 @@ per-capability subpaths (`@s2script/sdk/entity`, `@s2script/sdk/timers`, `@s2scr
34
34
  game-specific schema types ship separately in
35
35
  [`@s2script/cs2`](https://www.npmjs.com/package/@s2script/cs2).
36
36
 
37
+ Not every package is a plugin: `npx @s2script/sdk create --library` scaffolds a **library** —
38
+ build-time TypeScript a plugin bundles *into* its own `.s2sp` rather than something the host
39
+ loads on its own. Add a published one to a plugin with `npx @s2script/sdk add <name>`, which
40
+ vendors its code and types rather than adding an npm dependency (see
41
+ [`examples/library-package`](../../examples/library-package) +
42
+ [`library-consumer`](../../examples/library-consumer)).
43
+
37
44
  ## Workspaces
38
45
 
39
46
  A directory whose root `package.json` carries an `s2script.workspace.plugins` glob list — next to