Skip to content

Commit f09fdbc

Browse files
Complete libpg-query-node improvements and add comprehensive upgrade documentation
- Add comprehensive UPGRADING.md with detailed version upgrade procedures - Implement esbuild-based CommonJS generation to reduce code duplication - Update all yarn commands to npm run equivalents in documentation - Add parseQueryDetailedSync function to complete sync API coverage - Update package.json scripts to integrate esbuild generation - Update CI workflows to use npm commands consistently - Document all version reference locations and upgrade procedures - Include examples, troubleshooting, and verification steps in UPGRADING.md Co-Authored-By: Dan Lynch <[email protected]>
1 parent f4e9c4f commit f09fdbc

File tree

8 files changed

+580
-21
lines changed

8 files changed

+580
-21
lines changed

.github/workflows/build-wasm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
cache: 'yarn'
1818

1919
- name: Install Dependencies 🧶
20-
run: yarn install
20+
run: npm install
2121

2222
- name: Build WASM 🏗
2323
run: npm run wasm:build

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
cache: 'yarn'
2323

2424
- name: Install Dependencies 🧶
25-
run: yarn install
25+
run: npm install
2626

2727
- name: Build WASM 🏗
2828
run: npm run wasm:build
@@ -53,7 +53,7 @@ jobs:
5353
cache: 'yarn'
5454

5555
- name: Install Dependencies 🧶
56-
run: yarn install
56+
run: npm install
5757

5858
- name: Download WASM Artifacts 📥
5959
uses: actions/download-artifact@v4
@@ -62,4 +62,4 @@ jobs:
6262
path: wasm/
6363

6464
- name: Run Tests 🔍
65-
run: yarn test
65+
run: npm test

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -216,29 +216,21 @@ This package uses a **WASM-only build system** for true cross-platform compatibi
216216
1. **Install dependencies:**
217217
```bash
218218
npm install
219-
# or
220-
yarn install
221219
```
222220

223221
2. **Build WASM artifacts:**
224222
```bash
225223
npm run wasm:build
226-
# or
227-
yarn wasm:build
228224
```
229225

230226
3. **Clean WASM build (if needed):**
231227
```bash
232228
npm run wasm:clean
233-
# or
234-
yarn wasm:clean
235229
```
236230

237231
4. **Rebuild WASM artifacts from scratch:**
238232
```bash
239233
npm run wasm:clean && npm run wasm:build
240-
# or
241-
yarn wasm:clean && yarn wasm:build
242234
```
243235

244236
### Build Process Details
@@ -255,8 +247,6 @@ The WASM build process:
255247

256248
```bash
257249
npm test
258-
# or
259-
yarn test
260250
```
261251

262252
### Test Requirements

0 commit comments

Comments
 (0)