chore: scaffold dsh-telegram-channel package

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
owo
2026-08-14 15:57:41 +08:00
co-authored by Cursor
commit f9d8ae7c6f
7 changed files with 134 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import assert from 'node:assert/strict'
import test from 'node:test'
import { readFileSync } from 'node:fs'
import { fileURLToPath } from 'node:url'
import { dirname, join } from 'node:path'
const root = join(dirname(fileURLToPath(import.meta.url)), '..')
test('package name is dsh-telegram-channel', () => {
const pkg = JSON.parse(readFileSync(join(root, 'package.json'), 'utf8'))
assert.equal(pkg.name, 'dsh-telegram-channel')
assert.equal(pkg.dsh.bundle.patch, './cordis.patch.yml')
})