Skip to content

@quanthea/create-plugin 0.1.0

Choose a tag to compare

@jboix jboix released this 02 Oct 11:12
· 243 commits to main since this release
Immutable release. Only release title and notes can be modified.
9d73a70

The first version of the quanthea plugin generator.

npm create @quanthea/plugin

It asks for the package name, the connector kind's identifier and display name, its query language and, for SQL, the dialect and its styles. Then it writes a project that builds, passes the kit's static checks and installs into quanthea:

  • a connector kind whose connection answers with empty results, ready for your source;
  • its conformance test, with the live checks off until CI has a source to query;
  • Biome, tsc, the CI and Publish workflows, Dependabot and a README;
  • @quanthea/plugin-kit at the newest version on npm.

Every question has a flag, and --yes takes the defaults for the rest:

npm create @quanthea/plugin -- --name quanthea-plugin-duckdb --language sql --dialect ansi --yes

--help lists them. The generator runs on Node; the generated project uses Bun.

See Publishing a plugin and the SQLite example for a complete plugin.