Skip to content

Commit 59bfd32

Browse files
committed
feat!: migrate to obug, drop node < 22.18
1 parent fb68676 commit 59bfd32

5 files changed

Lines changed: 10 additions & 26 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest, windows-latest]
17-
node-version: [18, 20, 22]
17+
node-version: [22, 24, 26]
1818

1919
runs-on: ${{ matrix.os }}
2020

‎package.json‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@
6161
"bundle-require": "^5.1.0",
6262
"cac": "^7.1.0",
6363
"chokidar": "^4.0.3",
64-
"consola": "^3.4.0",
65-
"debug": "^4.4.0",
64+
"consola": "^3.4.2",
6665
"esbuild": "^0.27.0",
6766
"fix-dts-default-cjs-exports": "^1.0.1",
6867
"joycon": "^3.1.1",
68+
"obug": "^3.0.0",
6969
"picocolors": "^1.1.1",
7070
"postcss-load-config": "^6.0.1",
7171
"resolve-from": "^5.0.0",
@@ -80,7 +80,6 @@
8080
"@microsoft/api-extractor": "^7.59.4",
8181
"@rollup/plugin-json": "6.1.0",
8282
"@swc/core": "1.16.18",
83-
"@types/debug": "4.1.12",
8483
"@types/node": "26.6.5",
8584
"@types/resolve": "1.20.6",
8685
"bumpp": "^12.3.0",
@@ -102,6 +101,6 @@
102101
"wait-for-expect": "3.0.2"
103102
},
104103
"engines": {
105-
"node": ">=18"
104+
"node": "^22.18.0 || ^24.11.0 || >=26.0.0"
106105
}
107106
}

‎pnpm-lock.yaml‎

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

‎src/rollup/ts-resolve.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import fs from 'node:fs'
22
import path from 'node:path'
33
import { builtinModules } from 'node:module'
44
import _resolve from 'resolve'
5-
import createDebug from 'debug'
5+
import { createDebug } from 'obug'
66
import type { PluginImpl } from 'rollup'
77

88
const debug = createDebug('tsup:ts-resolve')

‎tsconfig.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"lib": ["es2022"],
55
"moduleDetection": "force",
66
"module": "esnext",
7-
"moduleResolution": "node",
7+
"moduleResolution": "bundler",
88
"resolveJsonModule": true,
99
"types": ["node"],
1010
"strict": true,

0 commit comments

Comments
 (0)