@sealpixel/create-plugin
v1.0.0-rc.15
Published
Scaffold a Sealpixel plugin: operations, schema, kernel (JavaScript or Rust WebAssembly), tool and parity test. Run with `npm create @sealpixel/plugin`.
Readme
@sealpixel/create-plugin
pnpm create @sealpixel/plugin my-plugin [--kernel js|wasm-rust] [--id acme.thing] [--dir <path>] [--force] scaffolds a plugin with operations, schema, kernel, tool and a parity test.
The scaffold refuses to write into an existing directory. --force overwrites the template files in it and keeps every other file. The @sealpixel/* ranges in the scaffold's package.json match the release that this version of the scaffolder was built with.
With --kernel wasm-rust, build and test compile the Rust kernel first. They need cargo and the wasm32-unknown-unknown target.
