Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: drop node v18 support #1264

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [18, 20]
node_version: [20, 22]
fail-fast: false
timeout-minutes: 10

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/postgres-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [18, 20]
node_version: [20, 22]
postgres_version: [12.18, 13.14, 14.11, 15.6, 16.2]
fail-fast: false
timeout-minutes: 10
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Started by [Theo Ephraim](https://github.com/theoephraim/), then handed over to

## Preconditions

- Node.js 18 or higher
- Node.js 20.11 or higher
- PostgreSQL 12.8 or higher (lower versions may work but are not supported officially)

If you don't already have the [`pg`](https://node-postgres.com/) library installed, you will need to add pg as either a direct or dev dependency
Expand Down
2 changes: 1 addition & 1 deletion docs/src/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Preconditions

- Node.js 18 or higher
- Node.js 20.11 or higher
- PostgreSQL 12.8 or higher (lower versions may work but are not supported officially)

If you don't already have the [`pg`](https://node-postgres.com/) library installed, you will need to add pg as either a direct or dev dependency
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"@eslint-types/typescript-eslint": "7.5.0",
"@eslint-types/unicorn": "52.0.0",
"@types/config": "3.3.4",
"@types/node": "18.19.47",
"@types/node": "20.16.2",
"@types/pg": "8.11.8",
"@types/yargs": "17.0.33",
"@typescript-eslint/eslint-plugin": "7.18.0",
Expand Down Expand Up @@ -146,6 +146,6 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.19.0"
"node": ">=20.11.0"
}
}
66 changes: 33 additions & 33 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"compilerOptions": {
"target": "ES2022",
"target": "ES2023",
"module": "CommonJS",
"moduleResolution": "Node",
"lib": ["ES2022", "DOM"],
"lib": ["ES2023", "DOM"],
"noEmit": true,
"resolveJsonModule": true,
"esModuleInterop": true,
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.lint.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"compilerOptions": {
"target": "ES2020",
"target": "ES2023",
"moduleResolution": "Node",
"module": "CommonJS",
"strict": true,
"noEmit": true,
"lib": ["ES2020"],
"lib": ["ES2023"],
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": true,
Expand Down
2 changes: 1 addition & 1 deletion tsup-bin.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
outDir: 'bin',
clean: false,
format: ['esm', 'cjs'],
target: ['es2022', 'node18'],
target: ['es2022', 'node20'],
dts: false,
minify: false,
sourcemap: false,
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineConfig([
outDir: 'dist/esm',
clean: true,
format: 'esm',
target: ['es2022', 'node18'],
target: ['es2022', 'node20'],
dts: false,
minify: false,
sourcemap: false,
Expand Down