Luigit
repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by admin

plugins/example-typescript/README.md

Raw
Rendered preview

TypeScript plugin example

cargo x bootstrap installs Jco 1.32.1, TypeScript 6.0.3, and wasm-tools 1.258.0 below target/tools/. cargo x check builds, normalizes, validates, loads, and fixture-tests this package. smith plugin build plugins/example-typescript writes target/plugin.wasm without npm scripts or global tools. Jco receives --disable all; build-time WAT normalization pins every emitted core memory maximum to its initial limit before host validation.

# TypeScript plugin example

`cargo x bootstrap` installs Jco 1.32.1, TypeScript 6.0.3, and wasm-tools 1.258.0 below `target/tools/`.
`cargo x check` builds, normalizes, validates, loads, and fixture-tests this package.
`smith plugin build plugins/example-typescript` writes `target/plugin.wasm` without npm scripts or global tools.
Jco receives `--disable all`; build-time WAT normalization pins every emitted core memory maximum to its initial limit before host validation.