@botpress/api

v0.40.0

build

pnpm run build:type && pnpm run build:impl

openapi

es-node openapi/generator.ts && pnpm run build

build:impl

esbuild --bundle --platform=node --outfile=dist/index.js src/index.ts

build:type

tsc -p tsconfig.package.json --emitDeclarationOnly

check:type

tsc --noEmit

openapi:lint

spectral lint --fail-severity warn --ruleset ../../.spectral.yaml src/gen/openapi.json

build:types-by-section

esbuild --bundle --platform=node --outfile=dist/generate-types-by-section.js openapi/generate-types-by-section.ts && node dist/generate-types-by-section.js
npm i @botpress/[email protected]

Metadata

Downloads