File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+
8+ jobs :
9+ check :
10+ runs-on : ubuntu-latest
11+ strategy :
12+ matrix :
13+ node-version : [24]
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-node@v4
17+ with :
18+ node-version : ${{ matrix.node-version }}
19+ - uses : oven-sh/setup-bun@v2
20+ - run : bun install --frozen-lockfile
21+ - run : bun run check
Original file line number Diff line number Diff line change @@ -47,5 +47,7 @@ The package ships TypeScript source on npm as `@corbits/oauth-core`:
4747` exports ` points at ` src/index.ts ` , there is no build step and no ` dist/ ` .
4848Consumers install the published package (` bun add @corbits/oauth-core ` or
4949` npm install @corbits/oauth-core ` ) on Bun >= 1.2, which runs the source
50- as-is. A release is a version bump followed by
51- ` npm publish --access public ` with no other preparation.
50+ as-is. Node.js >= 24 is the engines floor for published-dist consumers;
51+ native Node does not load this extensionless TypeScript source. A release
52+ is a version bump followed by ` npm publish --access public ` with no other
53+ preparation.
Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ bun add @corbits/oauth-core
1717npm install @corbits/oauth-core
1818```
1919
20- The package ships TypeScript source and needs no build step. It requires
21- Bun >= 1.2, which consumes the TypeScript source directly.
20+ The package ships TypeScript source and needs no build step. Bun >= 1.2
21+ consumes the TypeScript source directly. Node.js >= 24 is the engines
22+ floor for published-dist consumers — native Node does not load this
23+ extensionless TypeScript source as-is.
2224
2325## Usage
2426
Original file line number Diff line number Diff line change 4646 "typescript-eslint" : " 8.42.0"
4747 },
4848 "engines" : {
49- "bun" : " >=1.2.0"
49+ "bun" : " >=1.2.0" ,
50+ "node" : " >=24"
5051 },
5152 "repository" : {
5253 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments