From c01f9a23ba2dca45f6350a3f7062ea591c0cd303 Mon Sep 17 00:00:00 2001 From: Christoffer Artmann Date: Tue, 2 Dec 2025 11:46:50 +0100 Subject: [PATCH 1/2] chore: Require Node 22. --- .github/workflows/cd.yml | 2 +- .github/workflows/publish.yaml | 4 ++-- .github/workflows/test.yaml | 2 +- packages/server/package.json | 2 +- packages/sql-parser/package.json | 2 +- packages/sqlint/package.json | 3 +++ 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ff15886f..cff9d4ee 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -43,7 +43,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: - node-version: '18' + node-version: '22' cache: 'yarn' registry-url: 'https://registry.npmjs.org/' diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 840a92c0..183f351f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 22.x cache: 'yarn' - run: yarn install @@ -56,7 +56,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 22.x cache: 'yarn' - name: Set package version from git tag diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 514b3a24..943d9dc1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x - uses: actions/setup-python@v2 with: python-version: 3.8.12 diff --git a/packages/server/package.json b/packages/server/package.json index e0d23fc3..9e465465 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -21,7 +21,7 @@ ], "license": "MIT", "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" }, "scripts": { "compile:cli": "esbuild bin/cli.ts --bundle --platform=node --external:pg-native --external:aws-sdk --external:mock-aws-s3 --external:nock --external:ssh2 --external:cpu-features --outfile=dist/cli.js", diff --git a/packages/sql-parser/package.json b/packages/sql-parser/package.json index 0e7b3670..2d4c8ae7 100644 --- a/packages/sql-parser/package.json +++ b/packages/sql-parser/package.json @@ -18,7 +18,7 @@ "LICENSE" ], "engines": { - "node": ">=0.8.0" + "node": ">=22.0.0" }, "devDependencies": { "jest": "^26.0.1" diff --git a/packages/sqlint/package.json b/packages/sqlint/package.json index f213e90a..44537a85 100644 --- a/packages/sqlint/package.json +++ b/packages/sqlint/package.json @@ -21,6 +21,9 @@ "autofix", "beautify" ], + "engines": { + "node": ">=22.0.0" + }, "bugs": { "url": "https://github.com/joe-re/sql-language-server/issues" }, From b541c527311d027dbc795cfd2ef4f411644b1c9b Mon Sep 17 00:00:00 2001 From: Christoffer Artmann Date: Tue, 2 Dec 2025 11:51:36 +0100 Subject: [PATCH 2/2] chore: bump package versions to 3.0.0 --- packages/server/package.json | 6 +++--- packages/sql-parser/package.json | 2 +- packages/sqlint/package.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index 9e465465..8958c198 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@deepnote/sql-language-server", - "version": "2.0.3", + "version": "3.0.0", "main": "dist/src/index.js", "bin": { "sql-language-server": "./npm_bin/cli.js" @@ -42,8 +42,8 @@ "LICENSE" ], "dependencies": { - "@deepnote/sql-parser": "^2.0.0", - "@deepnote/sqlint": "^2.0.0", + "@deepnote/sql-parser": "^3.0.0", + "@deepnote/sqlint": "^3.0.0", "@google-cloud/bigquery": "^8.1.1", "@types/pg": "^8.6.6", "@types/yargs": "^17.0.8", diff --git a/packages/sql-parser/package.json b/packages/sql-parser/package.json index 2d4c8ae7..d125e838 100644 --- a/packages/sql-parser/package.json +++ b/packages/sql-parser/package.json @@ -2,7 +2,7 @@ "author": "joe-re", "name": "@deepnote/sql-parser", "description": "sql parser for nodejs", - "version": "2.0.0", + "version": "3.0.0", "typings": "index.d.ts", "scripts": { "test": "jest", diff --git a/packages/sqlint/package.json b/packages/sqlint/package.json index 44537a85..f0c53f3d 100644 --- a/packages/sqlint/package.json +++ b/packages/sqlint/package.json @@ -1,6 +1,6 @@ { "name": "@deepnote/sqlint", - "version": "2.0.1", + "version": "3.0.0", "main": "dist/src/index", "bin": "bin/cli.js", "author": "joe-re", @@ -35,7 +35,7 @@ ], "types": "./dist/src", "dependencies": { - "@deepnote/sql-parser": "^2.0.0", + "@deepnote/sql-parser": "^3.0.0", "ajv": "^6.12.2", "chalk": "^4.0.0", "js-yaml": "^4.1.1",