prisma-extension-kysely 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +7 -4
package/README.md CHANGED
@@ -5,6 +5,7 @@
5
5
  [![GitHub license](https://img.shields.io/github/license/eoin-obrien/prisma-extension-kysely.svg)](https://www.npmjs.com/package/prisma-extension-kysely)
6
6
  [![Node.js CI](https://github.com/eoin-obrien/prisma-extension-kysely/actions/workflows/node.js.yml/badge.svg)](https://github.com/eoin-obrien/prisma-extension-kysely/actions/workflows/node.js.yml)
7
7
  [![Node.js Package](https://github.com/eoin-obrien/prisma-extension-kysely/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/eoin-obrien/prisma-extension-kysely/actions/workflows/npm-publish.yml)
8
+ [![codecov](https://codecov.io/gh/eoin-obrien/prisma-extension-kysely/graph/badge.svg?token=C18C7BGISJ)](https://codecov.io/gh/eoin-obrien/prisma-extension-kysely)
8
9
 
9
10
  Writing and maintaining raw SQL queries for Prisma can be a tedious and error-prone task. The moment you need to write a query that is not supported out-of-the-box by Prisma, you lose all of that type-safety and autocompletion. This is where `prisma-extension-kysely` comes in! It allows you to easily write raw SQL queries in a type-safe manner with [`kysely`](https://kysely.dev/) and integrate them seamlessly with Prisma.
10
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prisma-extension-kysely",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "author": {
5
5
  "name": "Eoin O'Brien",
6
6
  "url": "https://eoin.ai",
@@ -31,7 +31,10 @@
31
31
  "dist"
32
32
  ],
33
33
  "scripts": {
34
- "test": "prisma generate && prisma db push && jest",
34
+ "pretest": "npm run build && prisma db push",
35
+ "test": "jest",
36
+ "test:watch": "jest --watch",
37
+ "test:coverage": "jest --coverage",
35
38
  "clean": "rm -rf ./dist",
36
39
  "build": "tsc",
37
40
  "prepack": "npm run clean && npm run build",
@@ -64,8 +67,8 @@
64
67
  "inquirer": "^8.2.6",
65
68
  "jest": "^29.7.0",
66
69
  "jest-mock-extended": "^3.0.5",
67
- "kysely": "^0.26.3",
68
- "prettier": "3.1.0",
70
+ "kysely": "^0.27.0",
71
+ "prettier": "3.1.1",
69
72
  "prisma": "latest",
70
73
  "prisma-kysely": "^1.7.1",
71
74
  "ts-jest": "^29.1.1",