npm kysely-codegen 0.9.0

latest releases: 0.19.0, 0.18.5, 0.18.4...
2 years ago
  • Added support for passing database connection to generator
  • Added type-only imports and added --type-only-imports CLI option (default: true)
    • The generated code now uses the TypeScript 3.8+ import type syntax to avoid generating unnecessary JavaScript code
  • Fixed SQLite booleans not being parsed as numbers - thanks @valtyr!
  • Made tests platform-agnostic (using the SQLite in-memory database instead of a hard-coded path)
  • Removed obsolete usage of RawBuilder
  • Updated better-sqlite3 peerDependency version to support version 8 - thanks @spa5k!
  • Updated dependencies

Closes #47, #49 and #51.

Don't miss a new kysely-codegen release

NewReleases is sending notifications on new releases.