Skip to content

Commit a0f5668

Browse files
committed
updated readme
1 parent 7ad50b5 commit a0f5668

3 files changed

Lines changed: 9 additions & 55 deletions

File tree

.github/workflows/compatibility.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,17 @@ jobs:
2929
pnpm install --frozen-lockfile
3030
pnpm build
3131
32+
- name: Pack local package
33+
run: |
34+
mkdir -p /tmp/agecheck-pack
35+
pnpm pack --pack-destination /tmp/agecheck-pack
36+
ls -la /tmp/agecheck-pack
37+
3238
- name: Validate adapter compatibility against latest frameworks
3339
shell: bash
3440
run: |
3541
set -euo pipefail
36-
WORKSPACE="${GITHUB_WORKSPACE}"
37-
NODE_TYPES="${WORKSPACE}/dist/index.d.ts"
38-
CORE_TYPES="${WORKSPACE}/node_modules/@agecheck/core/dist/index.d.ts"
42+
PKG_TGZ="$(ls /tmp/agecheck-pack/*.tgz | head -n1)"
3943
4044
check_project() {
4145
local name="$1"
@@ -54,6 +58,7 @@ jobs:
5458
"typecheck": "tsc --noEmit"
5559
},
5660
"dependencies": {
61+
"@agecheck/node": "file:${PKG_TGZ}",
5762
${deps_json}
5863
},
5964
"devDependencies": {
@@ -73,11 +78,6 @@ jobs:
7378
"skipLibCheck": true,
7479
"exactOptionalPropertyTypes": true,
7580
"noUncheckedIndexedAccess": true,
76-
"baseUrl": ".",
77-
"paths": {
78-
"@agecheck/node": ["${NODE_TYPES}"],
79-
"@agecheck/core": ["${CORE_TYPES}"]
80-
},
8181
"types": ["node"]
8282
},
8383
"include": ["index.ts"]

.github/workflows/publish.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
[![CI](https://github.com/agecheck/agecheck-node/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/agecheck/agecheck-node/actions/workflows/ci.yml)
44
[![Compatibility](https://github.com/agecheck/agecheck-node/actions/workflows/compatibility.yml/badge.svg?branch=main)](https://github.com/agecheck/agecheck-node/actions/workflows/compatibility.yml)
5-
[![Publish](https://github.com/agecheck/agecheck-node/actions/workflows/publish.yml/badge.svg)](https://github.com/agecheck/agecheck-node/actions/workflows/publish.yml)
65
[![npm](https://img.shields.io/npm/v/%40agecheck%2Fnode?label=npm)](https://www.npmjs.com/package/@agecheck/node)
76

8-
Production-grade server SDK for AgeCheck age-gate policy, JWT verification, and stateless signed verification cookies.
7+
TypeScript server SDK for age verification, designed to help websites implement compliant age-assurance flows across jurisdictions.
98

109
## What this package is for
1110

0 commit comments

Comments
 (0)