@hey-api/openapi-ts

v0.45.1
Turn your OpenAPI specification into a beautiful TypeScript client
angular axios codegen fetch generator javascript json node openapi and 5 more...

dev

rimraf dist && pnpm build-bundle --watch

test

vitest run --config vitest.config.unit.ts

build

pnpm clean && pnpm build-bundle && pnpm build-types

clean

rimraf dist test/generated test/e2e/generated coverage node_modules/.cache

test:e2e

vitest run --config vitest.config.e2e.ts

typecheck

tsc --noEmit

test:watch

vitest watch --config vitest.config.unit.ts

build-types

pnpm build-types-temp && pnpm build-types-roll && pnpm build-types-check

test:sample

node test/sample.cjs

test:update

vitest watch --config vitest.config.unit.ts --update

build-bundle

rollup --config rollup.config.ts --configPlugin typescript

test:coverage

vitest run --config vitest.config.unit.ts --coverage

build-types-roll

rollup --config rollup.dts.config.ts --configPlugin typescript && rimraf temp

build-types-temp

tsc --emitDeclarationOnly --outDir temp -p src/node

build-types-check

tsc --project tsconfig.check.json
npm i @hey-api/[email protected]

Metadata

  • MIT
  • ^18.0.0 || >=20.0.0
  • Unknown
  • released 5/16/2024

Downloads

Maintainers