Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
with:
run_install: false
- uses: actions/setup-node@v6
- uses: actions/setup-node@v7
with:
node-version: lts/*
cache: pnpm
Expand All @@ -28,11 +28,11 @@ jobs:
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
with:
run_install: false
- uses: actions/setup-node@v6
- uses: actions/setup-node@v7
with:
node-version: lts/*
cache: pnpm
Expand All @@ -43,11 +43,11 @@ jobs:
name: Spec is reproducible
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
with:
run_install: false
- uses: actions/setup-node@v6
- uses: actions/setup-node@v7
with:
node-version: lts/*
cache: pnpm
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v6
with:
run_install: false
- uses: actions/setup-node@v6
- uses: actions/setup-node@v7
with:
node-version: lts/*
cache: pnpm
Expand All @@ -36,7 +36,7 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- run: npx jsr publish --allow-slow-types
Expand All @@ -46,10 +46,10 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-node@v6
- uses: actions/setup-node@v7
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ Descriptions are copied verbatim from the official [Bot API documentation][bot-a
The spec is generated from the [Bot API documentation][bot-api] into
`src/*.gen.ts`, which are committed and never edited by hand.

Builds and type checks use TypeScript 7 through the `@typescript/native` npm
alias. The `typescript` dependency aliases `@typescript/typescript6` to provide
the compiler API required by typescript-eslint, following the
[TypeScript migration guidance](https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/#running-side-by-side-with-typescript-6.0).

```sh
pnpm gen:fetch # refresh spec/upstream/ from the documentation
pnpm gen:check # report what needs a decision
Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@grom.js/bot-api-spec",
"type": "module",
"version": "0.12.0",
"packageManager": "pnpm@10.25.0",
"packageManager": "pnpm@12.16.1",
"description": "Telegram Bot API specification as a collection of JavaScript objects in a custom format.",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -40,17 +40,18 @@
"release": "bumpp"
},
"devDependencies": {
"@antfu/eslint-config": "7.7.3",
"@types/node": "22.19.21",
"@antfu/eslint-config": "10.0.0",
"@types/node": "26.6.6",
"@types/turndown": "5.0.6",
"bumpp": "11.1.0",
"@typescript/native": "npm:typescript@7.0.2",
"bumpp": "12.3.0",
"cheerio": "1.2.0",
"domhandler": "6.0.1",
"eslint": "9.39.4",
"eslint": "10.14.0",
"eslint-plugin-format": "2.0.1",
"taze": "19.14.1",
"taze": "21.3.0",
"turndown": "7.2.4",
"typescript": "6.0.3",
"zod": "4.4.3"
"typescript": "npm:@typescript/typescript6@6.0.2",
"zod": "4.6.7"
}
}
Loading
Loading