Skip to content

Commit 947f430

Browse files
authored
Merge pull request #10 from alexasomba/codex/sdk-downstream-release
chore: release SDK 1.10.9 with standalone quality gates
2 parents b75a130 + d308f0f commit 947f430

17 files changed

Lines changed: 1446 additions & 511 deletions

‎.github/workflows/ci.yml‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: SDK Quality
2+
on:
3+
pull_request:
4+
push:
5+
branches: [main]
6+
permissions:
7+
contents: read
8+
jobs:
9+
validate:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v6
13+
- uses: pnpm/action-setup@v6
14+
with:
15+
version: 11.26.0
16+
- uses: actions/setup-node@v6
17+
with:
18+
node-version: "24.x"
19+
package-manager-cache: false
20+
- run: pnpm install --frozen-lockfile
21+
- run: pnpm build
22+
- run: pnpm exec vp check
23+
- run: pnpm test
24+
- run: pnpm run lint:package
25+
- run: pnpm run lint:types

‎.github/workflows/publish-npm.yml‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup pnpm
2525
uses: pnpm/action-setup@v6
2626
with:
27-
version: 10
27+
version: 11.26.0
2828

2929
- name: Setup Node
3030
uses: actions/setup-node@v6
@@ -42,6 +42,21 @@ jobs:
4242
- name: Build
4343
run: pnpm build
4444

45+
- name: Test
46+
run: pnpm test
47+
48+
- name: Lint package metadata
49+
run: pnpm run lint:package
50+
51+
- name: Install npm with trusted publishing support
52+
run: npm install --global npm@11.18.0
53+
54+
- name: Verify release tag
55+
if: startsWith(github.ref, 'refs/tags/')
56+
env:
57+
RELEASE_TAG: ${{ github.ref_name }}
58+
run: node -e 'if (process.env.RELEASE_TAG !== `v${JSON.parse(require("node:fs").readFileSync("package.json", "utf8")).version}`) process.exit(1)'
59+
4560
- name: Check published version
4661
id: published
4762
shell: bash

‎CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 1.10.9
4+
5+
- Align standalone SDK installs with the source workspace catalog and patched dependencies.
6+
- Verify tests and package metadata before release.
7+
38
## [1.10.7](https://github.com/alexasomba/paystack-node/compare/v1.10.6...v1.10.7) (2026-06-01)
49

510
### Bug Fixes

‎README.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,7 @@ const total = result.response.headers.get("x-total-count");
193193
```ts
194194
import { toPaystackApiError } from "@alexasomba/paystack-node";
195195

196-
const result = await paystack.transaction_initialize({
197-
/* ... */
198-
});
196+
const result = await paystack.transaction_initialize({/* ... */});
199197
const error = toPaystackApiError(result);
200198

201199
if (error) {

‎node_modules/.bin/openapi-typescript‎

Lines changed: 42 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎node_modules/.bin/tsc‎

Lines changed: 42 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎node_modules/.bin/tsserver‎

Lines changed: 42 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎node_modules/.bin/yaml‎

Lines changed: 42 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alexasomba/paystack-node",
3-
"version": "1.10.8",
3+
"version": "1.10.9",
44
"description": "The most comprehensive Node.js SDK for Paystack - Complete, Type-safe, and Spec-compliant with full OpenAPI coverage and webhook verification.",
55
"keywords": [
66
"africa",
@@ -85,18 +85,19 @@
8585
"openapi-fetch": "^0.17.0"
8686
},
8787
"devDependencies": {
88-
"@arethetypeswrong/cli": "^0.18.2",
88+
"@arethetypeswrong/cli": "^0.18.5",
8989
"@tanstack/intent": "^0.0.41",
9090
"@types/node": "^24.12.3",
9191
"openapi-typescript": "^7.13.0",
9292
"publint": "^0.3.20",
9393
"typescript": "^5.9.3",
94-
"vite": "npm:@voidzero-dev/vite-plus-core@^0.1.20",
95-
"vite-plus": "^0.1.20",
96-
"vitest": "npm:@voidzero-dev/vite-plus-test@^0.1.20",
94+
"vite": "catalog:",
95+
"vite-plus": "catalog:",
96+
"vitest": "catalog:",
9797
"yaml": "^2.8.4"
9898
},
9999
"engines": {
100100
"node": ">=22.0.0"
101-
}
101+
},
102+
"packageManager": "pnpm@11.26.0"
102103
}

0 commit comments

Comments
 (0)