Compare commits

...

2 commits

Author SHA1 Message Date
8faac75d00
fix(convert): expose gramjs storesession utils
All checks were successful
Tests / test-deno (push) Successful in 1m46s
Tests / test-bun (push) Successful in 1m53s
Tests / test-node (node22) (push) Successful in 1m59s
Tests / test-node (node20) (push) Successful in 2m5s
Tests / test-node (node18) (push) Successful in 2m7s
Tests / test-web (chromium) (push) Successful in 1m59s
Tests / test-web (firefox) (push) Successful in 1m13s
Docs / build (push) Successful in 6m42s
Tests / lint (push) Successful in 7m25s
Tests / e2e-deno (push) Successful in 51s
Tests / e2e (push) Successful in 3m1s
closes #82 (fr now)
2025-01-08 03:17:25 +03:00
46a2b51df2
build: generate latest-versions.json 2025-01-08 03:16:45 +03:00
3 changed files with 37 additions and 0 deletions

View file

@ -1,3 +1,7 @@
import { writeFile } from 'node:fs/promises'
import { fileURLToPath } from 'node:url'
import { asNonNull } from '@fuman/utils'
/** @type {import('@fuman/build').RootConfig} */
export default {
jsr: {
@ -49,6 +53,18 @@ export default {
'typedoc.cjs',
'{scripts,dist,tests,private}/**',
],
beforeReleaseCommit: async (packages) => {
const OUT_FILE = fileURLToPath(new URL('./latest-versions.json', import.meta.url))
const versions = {}
for (const { json, root } of packages) {
if (root) continue
versions[asNonNull(json.name)] = asNonNull(json.version)
}
await writeFile(OUT_FILE, JSON.stringify(versions, null, 4))
},
},
typedoc: {
excludePackages: [

View file

@ -1,4 +1,5 @@
export * from './convert.js'
export * from './parse.js'
export * from './serialize.js'
export * from './store-session.js'
export * from './types.js'

View file

@ -0,0 +1,20 @@
{
"@mtcute/bun": "0.19.3",
"@mtcute/convert": "0.19.3",
"@mtcute/core": "0.19.3",
"@mtcute/create-bot": "0.19.0",
"@mtcute/crypto-node": "0.19.0",
"@mtcute/dispatcher": "0.19.1",
"@mtcute/deno": "0.19.3",
"@mtcute/file-id": "0.19.0",
"@mtcute/html-parser": "0.19.0",
"@mtcute/i18n": "0.19.0",
"@mtcute/markdown-parser": "0.19.0",
"@mtcute/node": "0.19.3",
"@mtcute/test": "0.19.3",
"@mtcute/tl-utils": "0.19.0",
"@mtcute/tl-runtime": "0.19.0",
"@mtcute/tl": "196.0.0",
"@mtcute/wasm": "0.19.0",
"@mtcute/web": "0.19.3"
}