Skip to content
Merged
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/build-wasm-no-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Setup Node.js 🌐
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x

- name: Setup pnpm 📦
uses: pnpm/action-setup@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup Node.js 🌐
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'

- name: Setup pnpm 📦
uses: pnpm/action-setup@v2
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup Node.js 🌐
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'

- name: Setup pnpm 📦
uses: pnpm/action-setup@v2
Expand Down Expand Up @@ -62,11 +62,11 @@ jobs:
retention-days: 1

test:
name: Test ${{ matrix.package.name }} on ${{ matrix.os }}${{ matrix.node == '22.x' && ' Node 22' || '' }} ${{ matrix.os == 'ubuntu-latest' && '🐧' || matrix.os == 'macos-latest' && '🍎' || '🪟' }}
name: Test ${{ matrix.package.name }} on ${{ matrix.os }}${{ matrix.node == '24.x' && ' Node 24' || '' }} ${{ matrix.os == 'ubuntu-latest' && '🐧' || matrix.os == 'macos-latest' && '🍎' || '🪟' }}
needs: build-wasm
strategy:
matrix:
node: ['20.x']
node: ['22.x']
os: [ubuntu-latest, macos-latest, windows-latest]
package:
- { name: 'v13', path: 'versions/13', version: '13' }
Expand All @@ -76,7 +76,7 @@ jobs:
- { name: 'v17', path: 'versions/17', version: '17' }
- { name: 'v18', path: 'versions/18', version: '18' }
include:
- { os: ubuntu-latest, node: '22.x', package: { name: 'v18', path: 'versions/18', version: '18' } }
- { os: ubuntu-latest, node: '24.x', package: { name: 'v18', path: 'versions/18', version: '18' } }
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
- name: Setup Node.js 🌐
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'

- name: Setup pnpm 📦
uses: pnpm/action-setup@v2
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
- name: Setup Node.js 🌐
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'

- name: Setup pnpm 📦
uses: pnpm/action-setup@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ This package uses a **WASM-only build system** for true cross-platform compatibi

### Prerequisites

- Node.js (version 16 or higher recommended)
- Node.js (version 22 or higher)
- [pnpm](https://pnpm.io/) (v8+ recommended)

### Building WASM Artifacts
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"private": true,
"description": "PostgreSQL query parser monorepo",
"packageManager": "pnpm@8.15.0",
"engines": {
"node": ">=22"
},
"scripts": {
"policy": "pnpm-policy generate --builds-key onlyBuiltDependencies",
"policy:check": "pnpm-policy check --builds-key onlyBuiltDependencies",
Expand Down
3 changes: 3 additions & 0 deletions parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"main": "./wasm/index.cjs",
"module": "./wasm/index.js",
"types": "./wasm/index.d.ts",
"engines": {
"node": ">=22"
},
"exports": {
".": {
"import": "./wasm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion versions/18/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ WASM_STACK_SIZE ?= 33554432
# byte-for-byte. Set in package.json `x-publish` and applied by copy:templates.
LIBPG_QUERY_REPO := https://github.com/constructive-io/libpg_query.git
LIBPG_QUERY_TAG := 18-constructive
LIBPG_QUERY_COMMIT := 91d254f764b270a02f8445d3b49030eb4fda0302
LIBPG_QUERY_COMMIT := 4fcb78670865e86f01ddd8c045572c287882022a

CACHE_DIR := .cache

Expand Down
2 changes: 1 addition & 1 deletion versions/18/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ This package uses a **WASM-only build system** for true cross-platform compatibi

### Prerequisites

- Node.js (version 16 or higher recommended)
- Node.js (version 22 or higher)
- [pnpm](https://pnpm.io/) (v8+ recommended)

### Building WASM Artifacts
Expand Down
5 changes: 4 additions & 1 deletion versions/18/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"main": "./wasm/index.cjs",
"module": "./wasm/index.js",
"typings": "./wasm/index.d.ts",
"engines": {
"node": ">=22"
},
"publishConfig": {
"access": "public"
},
Expand All @@ -15,7 +18,7 @@
"distTag": "pg18",
"libpgQueryRepo": "https://github.com/constructive-io/libpg_query.git",
"libpgQueryTag": "18-constructive",
"libpgQueryCommit": "91d254f764b270a02f8445d3b49030eb4fda0302",
"libpgQueryCommit": "4fcb78670865e86f01ddd8c045572c287882022a",
"fullApi": true
},
"files": [
Expand Down
Loading