From ea9caef724dddd3befc070ae1036680eff753df5 Mon Sep 17 00:00:00 2001 From: Cristian Barlutiu Date: Thu, 21 Mar 2024 19:09:35 +0100 Subject: [PATCH 1/3] Update for Fastify v5 (#171) * upgrade for fastify 5 * fixed typo --- .github/workflows/ci.yml | 2 +- package.json | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ed9c7e..d3c718d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ on: jobs: test: - uses: fastify/workflows/.github/workflows/plugins-ci-postgres.yml@v3 + uses: fastify/workflows/.github/workflows/plugins-ci-postgres.yml@v4.1.0 with: license-check: true lint: true diff --git a/package.json b/package.json index d9cae34..d37202c 100644 --- a/package.json +++ b/package.json @@ -12,10 +12,10 @@ "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", "postgres": "docker run -p 5432:5432 --name fastify-postgres -e POSTGRES_PASSWORD=postgres -d postgres:11-alpine", "test": "npm run test:unit && npm run test:typescript", - "test:unit": "tap -J test/*.test.js", - "test:report": "standard && tap -J --coverage-report=html test/*.test.js", + "test:unit": "tap test/*.test.js", + "test:report": "standard && tap --coverage-report=html test/*.test.js", "test:typescript": "tsd", - "test:verbose": "standard && tap -J test/*.test.js -Rspec" + "test:verbose": "standard && tap test/*.test.js -Rspec" }, "repository": { "type": "git", @@ -36,18 +36,18 @@ }, "homepage": "https://github.com/fastify/fastify-postgres#readme", "dependencies": { - "fastify-plugin": "^4.0.0" + "fastify-plugin": "^4.5.1" }, "devDependencies": { - "@tsconfig/node10": "^1.0.8", - "@types/pg": "^8.6.1", - "fastify": "^4.0.0-rc.2", - "pg": "^8.7.1", - "pg-native": "^3.0.0", - "standard": "^17.0.0", - "tap": "^16.0.0", - "tsd": "^0.30.0", - "typescript": "^5.0.2" + "@tsconfig/node10": "^1.0.9", + "@types/pg": "^8.11.4", + "fastify": "^4.26.2", + "pg": "^8.11.3", + "pg-native": "^3.0.1", + "standard": "^17.1.0", + "tap": "^18.7.1", + "tsd": "^0.30.7", + "typescript": "^5.4.3" }, "peerDependencies": { "pg": ">=6.0.0" From ec01ec7ffa51086eb3c2a7b6d68450faff1aee4b Mon Sep 17 00:00:00 2001 From: Cristian Barlutiu Date: Thu, 21 Mar 2024 19:09:35 +0100 Subject: [PATCH 2/3] Update for Fastify v5 (#171) * upgrade for fastify 5 * fixed typo --- .github/workflows/ci.yml | 2 +- package.json | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ed9c7e..d3c718d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ on: jobs: test: - uses: fastify/workflows/.github/workflows/plugins-ci-postgres.yml@v3 + uses: fastify/workflows/.github/workflows/plugins-ci-postgres.yml@v4.1.0 with: license-check: true lint: true diff --git a/package.json b/package.json index 08f44d5..d37202c 100644 --- a/package.json +++ b/package.json @@ -12,10 +12,10 @@ "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", "postgres": "docker run -p 5432:5432 --name fastify-postgres -e POSTGRES_PASSWORD=postgres -d postgres:11-alpine", "test": "npm run test:unit && npm run test:typescript", - "test:unit": "tap -J test/*.test.js", - "test:report": "standard && tap -J --coverage-report=html test/*.test.js", + "test:unit": "tap test/*.test.js", + "test:report": "standard && tap --coverage-report=html test/*.test.js", "test:typescript": "tsd", - "test:verbose": "standard && tap -J test/*.test.js -Rspec" + "test:verbose": "standard && tap test/*.test.js -Rspec" }, "repository": { "type": "git", @@ -36,18 +36,18 @@ }, "homepage": "https://github.com/fastify/fastify-postgres#readme", "dependencies": { - "fastify-plugin": "^4.0.0" + "fastify-plugin": "^4.5.1" }, "devDependencies": { - "@tsconfig/node10": "^1.0.8", - "@types/pg": "^8.6.1", - "fastify": "^4.0.0-rc.2", - "pg": "^8.7.1", - "pg-native": "^3.0.0", - "standard": "^17.0.0", - "tap": "^16.0.0", - "tsd": "^0.31.0", - "typescript": "^5.0.2" + "@tsconfig/node10": "^1.0.9", + "@types/pg": "^8.11.4", + "fastify": "^4.26.2", + "pg": "^8.11.3", + "pg-native": "^3.0.1", + "standard": "^17.1.0", + "tap": "^18.7.1", + "tsd": "^0.30.7", + "typescript": "^5.4.3" }, "peerDependencies": { "pg": ">=6.0.0" From 48d7d9e860808ec6df3cfe4ac2faa63f5c0634e8 Mon Sep 17 00:00:00 2001 From: James Sumners Date: Fri, 28 Jun 2024 06:20:12 -0400 Subject: [PATCH 3/3] update deps --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d37202c..848c34a 100644 --- a/package.json +++ b/package.json @@ -36,12 +36,12 @@ }, "homepage": "https://github.com/fastify/fastify-postgres#readme", "dependencies": { - "fastify-plugin": "^4.5.1" + "fastify-plugin": "^5.0.0-pre.fv5.1" }, "devDependencies": { "@tsconfig/node10": "^1.0.9", "@types/pg": "^8.11.4", - "fastify": "^4.26.2", + "fastify": "^5.0.0-alpha.3", "pg": "^8.11.3", "pg-native": "^3.0.1", "standard": "^17.1.0",