Skip to content

Commit ea9caef

Browse files
authored
Update for Fastify v5 (#171)
* upgrade for fastify 5 * fixed typo
1 parent 838be32 commit ea9caef

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
jobs:
1919
test:
20-
uses: fastify/workflows/.github/workflows/plugins-ci-postgres.yml@v3
20+
uses: fastify/workflows/.github/workflows/plugins-ci-postgres.yml@v4.1.0
2121
with:
2222
license-check: true
2323
lint: true

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
"load-data": "docker exec -it fastify-postgres psql -c 'CREATE TABLE users(id serial PRIMARY KEY, username VARCHAR (50) NOT NULL);' -U postgres -d postgres",
1313
"postgres": "docker run -p 5432:5432 --name fastify-postgres -e POSTGRES_PASSWORD=postgres -d postgres:11-alpine",
1414
"test": "npm run test:unit && npm run test:typescript",
15-
"test:unit": "tap -J test/*.test.js",
16-
"test:report": "standard && tap -J --coverage-report=html test/*.test.js",
15+
"test:unit": "tap test/*.test.js",
16+
"test:report": "standard && tap --coverage-report=html test/*.test.js",
1717
"test:typescript": "tsd",
18-
"test:verbose": "standard && tap -J test/*.test.js -Rspec"
18+
"test:verbose": "standard && tap test/*.test.js -Rspec"
1919
},
2020
"repository": {
2121
"type": "git",
@@ -36,18 +36,18 @@
3636
},
3737
"homepage": "https://github.com/fastify/fastify-postgres#readme",
3838
"dependencies": {
39-
"fastify-plugin": "^4.0.0"
39+
"fastify-plugin": "^4.5.1"
4040
},
4141
"devDependencies": {
42-
"@tsconfig/node10": "^1.0.8",
43-
"@types/pg": "^8.6.1",
44-
"fastify": "^4.0.0-rc.2",
45-
"pg": "^8.7.1",
46-
"pg-native": "^3.0.0",
47-
"standard": "^17.0.0",
48-
"tap": "^16.0.0",
49-
"tsd": "^0.30.0",
50-
"typescript": "^5.0.2"
42+
"@tsconfig/node10": "^1.0.9",
43+
"@types/pg": "^8.11.4",
44+
"fastify": "^4.26.2",
45+
"pg": "^8.11.3",
46+
"pg-native": "^3.0.1",
47+
"standard": "^17.1.0",
48+
"tap": "^18.7.1",
49+
"tsd": "^0.30.7",
50+
"typescript": "^5.4.3"
5151
},
5252
"peerDependencies": {
5353
"pg": ">=6.0.0"

0 commit comments

Comments
 (0)