Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit 25e602e

Browse files
committed
add more info to README
1 parent d474a14 commit 25e602e

File tree

5 files changed

+193
-159
lines changed

5 files changed

+193
-159
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
node-version: [10.x, 12.x]
8+
node-version: [10.x, 12.x, 14.x]
99

1010
steps:
1111
- name: Begin CI...
@@ -17,7 +17,7 @@ jobs:
1717
node-version: ${{ matrix.node-version }}
1818

1919
- name: Use cached node_modules
20-
uses: actions/cache@v1
20+
uses: actions/cache@v2
2121
with:
2222
path: node_modules
2323
key: nodeModules-${{ hashFiles('**/yarn.lock') }}
@@ -26,20 +26,12 @@ jobs:
2626
2727
- name: Install dependencies
2828
run: yarn install --frozen-lockfile
29-
env:
30-
CI: true
3129

3230
- name: Lint
3331
run: yarn lint
34-
env:
35-
CI: true
3632

3733
- name: Test
3834
run: yarn test --ci --coverage --maxWorkers=2
39-
env:
40-
CI: true
4135

4236
- name: Build
4337
run: yarn build
44-
env:
45-
CI: true

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn lint-staged

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Prisma binding argument transform
22

3+
Converting Prisma 1 arguments to Prisma 2 to make it compatible. More info on how to use this while migrating from Prisma 1 to Prisma 2 in our [docs](https://www.prisma.io/docs/guides/upgrade-guides/upgrade-from-prisma-1/upgrading-prisma-binding-to-sdl-first#implementing-the-users-resolver-with-prisma-client).
4+
35
![Build status](https://github.com/prisma/prisma-binding-argument-transform/workflows/CI/badge.svg)
46

57
## Installation and Usage

package.json

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.3.1",
2+
"version": "0.4.1",
33
"license": "MIT",
44
"main": "dist/index.js",
55
"typings": "dist/index.d.ts",
@@ -31,18 +31,13 @@
3131
},
3232
"devDependencies": {
3333
"@types/lodash": "^4.14.152",
34-
"eslint-plugin-prettier": "^3.1.3",
35-
"husky": "^4.2.5",
36-
"lint-staged": ">=10",
37-
"prettier": "^2.0.5",
34+
"eslint-plugin-prettier": "^3.4.0",
35+
"husky": "^7.0.1",
36+
"lint-staged": ">=11.1.1",
37+
"prettier": "^2.3.2",
3838
"tsdx": "^0.13.2",
3939
"tslib": "^2.0.0",
40-
"typescript": "^3.9.3"
41-
},
42-
"husky": {
43-
"hooks": {
44-
"pre-commit": "lint-staged"
45-
}
40+
"typescript": "^4.3.5"
4641
},
4742
"lint-staged": {
4843
"*.{js,ts}": "tsdx lint",

0 commit comments

Comments
 (0)