Skip to content

@ts-safeql/sql-tag@0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 May 20:30
· 8 commits to main since this release
d02cae7

Minor Changes

  • 9c8ead2: This release introduces a lot of (internal) changes, but to be honest, I'm too lazy to write them all down so I'll mention the highlights:

    SafeQL supports Flat Config! 馃帀

    You can now use SafeQL with the new ESLint Flat Config API:

    // eslint.config.js
    
    import safeql from "@ts-safeql/eslint-plugin/config";
    import tseslint from "typescript-eslint";
    
    export default tseslint.config(
      // ...
      safeql.configs.connections({
        // ...
      }),
    );

    SafeQL is now built for both ESM and CJS

    Up until now, I built SafeQL using only TSC (targeting CJS). In order to support both ESM and CJS, I had to use a different build system. I chose to use unbuild because it's awesome.