@nullplatform/workflow-kit
v0.1.0
Published
Author, validate, test and publish nullplatform workflows locally: CLI + the same E2E test harness the platform's own workflow suites use.
Readme
@nullplatform/workflow-kit
Author, validate, test and publish nullplatform workflows locally.
npx np-workflow validate <yaml>— parse/normalize/schema + dual graph validation (create-time knowledge AND the hosted runtime's knowledge).npx np-workflow publish <yaml> --alias live/run <id> --inputs '{}'.import { runWorkflowE2E } from '@nullplatform/workflow-kit/test'— the same E2E harness the platform's own suites use (local executor, plugin-level stubs).
Build: node build.mjs (bundles the workspace dist, minified, no
sourcemaps; hosted-only modules stubbed; no-disclosure post-pass). Pack:
npm run pack:local. See nullplatform/workflows for the executable
corpus this package powers.
Releasing
Publishing is tag-driven (.github/workflows/publish-kit.yml), target:
PUBLIC npm (registry.npmjs.org, org nullplatform, secret NPM_TOKEN).
- PR bumping
packages/kit/package.jsonversion→ merge to main. git tag kit-v<version> && git push origin kit-v<version>- The action: version==tag guard → workspace build → kit bundle (the
no-disclosure post-pass FAILS the build on any hosted-vendor string) →
CLI smoke →
npm publish --access public→ release gate: clonesnullplatform/workflows, installs the JUST-published version from the registry and runs the corpus's full E2E suite +validateagainst it. A red gate means the published version broke the corpus — publish a patch; npm versions are immutable (never re-tag).
Release checklist (before tagging): corpus tests green against the branch
tarball (npm run pack:local + npm i --no-save <tgz> in the corpus),
np-workflow skill and corpus docs updated if behavior changed.
