Skip to content

Commit

Permalink
chore: fixes and improves
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Dec 21, 2024
1 parent 6cfb4cf commit 01a654f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 19 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
fetch-depth: 0

- name: Install Bun
uses: oven-sh/setup-bun@v1
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.34

- id: changelog
name: Generate changelog
Expand All @@ -35,17 +37,10 @@ jobs:
- name: Publish package to JSR
run: bunx jsr publish --allow-dirty --allow-slow-types

- name: Install Node
uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
scope: "@gramio"

- name: Publish package to NPM
run: npm publish --access public
run: bun publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: GitHub Release
uses: ncipollo/release-action@v1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Contexts is a great work of the [puregram](https://github.com/nitreojs/puregram) maintainer! Thank you for many code implementation and ideas. Forked since this [commit](https://github.com/nitreojs/puregram/commit/b431d9303de1696999e7f41f45d7c4d7d264c272). (Jan 28, 2024)

Currently, support [Telegram Bot API 7.8](https://core.telegram.org/bots/api-changelog#july-31-2024).
Currently, support [Telegram Bot API 8.1+](https://core.telegram.org/bots/api-changelog#december-4-2024).

This library used under the hood in the GramIO framework (Please see [documentation](https://gramio.dev/)).

Expand Down
Binary file modified bun.lockb
Binary file not shown.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@
],
"files": ["dist"],
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@types/bun": "^1.1.8",
"@biomejs/biome": "1.9.4",
"@types/bun": "^1.1.14",
"common-tags": "^1.8.2",
"inspectable": "^3.0.2",
"madge": "^8.0.0",
"pkgroll": "^2.4.2",
"tsup": "^8.2.4",
"typescript": "^5.5.4"
"pkgroll": "^2.5.1",
"typescript": "^5.7.2"
},
"peerDependencies": {
"inspectable": "^3.0.1",
Expand Down
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"compilerOptions": {
"lib": ["ESNext"],
"target": "ES2022",
"module": "NodeNext",
"module": "ESNext",
"moduleDetection": "force",

/* Bundler mode */
"moduleResolution": "NodeNext",
"moduleResolution": "bundler",
"declaration": true,
/* Linting */
"skipLibCheck": true,
Expand All @@ -16,7 +16,7 @@
"baseUrl": "./src",
"rootDir": "./src",
"outDir": "./dist",
"importHelpers": true
"noEmit": true
},
"include": ["src/**/*.ts"]
}

0 comments on commit 01a654f

Please sign in to comment.