Skip to content

Commit 3cc15bb

Browse files
committed
build: TypeScript 6
The declarations it emits are byte-identical to 5.9's across all 3596 of them, so nothing a consumer sees moves. What moves is the test config: baseUrl is an error in 6.0 and gone in 7.0, and paths resolve against the config's own directory without it. Not 7.0, though it is what npm calls latest: typedoc's peer range ends at 6.0.x and typescript-eslint's below 6.1.0, at the newest version either has published.
1 parent 5cd11ef commit 3cc15bb

4 files changed

Lines changed: 77 additions & 71 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
"tslib": "^2.8.1",
222222
"tsx": "^4.23.5",
223223
"typedoc": "^0.28.20",
224-
"typescript": "^5.9.3",
224+
"typescript": "^6.0.3",
225225
"typescript-eslint": "^8.66.0",
226226
"vite": "^8.2.0",
227227
"vitepress": "^1.6.4",

pnpm-lock.yaml

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

src/core/createClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ export function createClient(config: ClientConfig | Client): Client {
434434
const challenge = response.headers.get('x-authentication-denied-reason');
435435
const { text, detail } = await readBody(response);
436436
const advice = challenge
437-
? `The credentials may well be correct: Jira is refusing the sign-in until a challenge is answered `
437+
? 'The credentials may well be correct: Jira is refusing the sign-in until a challenge is answered '
438438
+ `(${challenge}).`
439439
: 'The API token or password may be expired, revoked or mistyped.';
440440
const anonymously = response.ok ? ' and answered as an anonymous user' : '';

tests/tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@
66
"declaration": false,
77
"declarationMap": false,
88
"sourceMap": false,
9-
"baseUrl": ".",
109
"paths": {
1110
"@jirajs": ["../src"],
1211
"@jirajs/*": ["../src/*"],
13-
"@tests": ["."],
14-
"@tests/*": ["*"],
12+
"@tests": ["./"],
13+
"@tests/*": ["./*"],
1514
"#/*": ["../src/*"]
1615
}
1716
},

0 commit comments

Comments
 (0)