diff --git a/bun.lockb b/bun.lockb index 284db28..aba13ea 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 7ec626a..cfd6cb9 100644 --- a/package.json +++ b/package.json @@ -1,43 +1,46 @@ { - "name": "@gramio/contexts", - "version": "0.0.20", - "main": "dist/index.js", - "keywords": [ - "gramio", - "contexts", - "updates", - "events", - "telegram", - "telegram-bot", - "telegram-bot-api", - "bot" - ], - "files": [ - "dist" - ], - "devDependencies": { - "@biomejs/biome": "1.7.3", - "@gramio/types": "^7.7.0", - "@types/bun": "^1.1.6", - "common-tags": "^1.8.2", - "inspectable": "^3.0.2", - "madge": "^7.0.0", - "tsup": "^8.1.0", - "typescript": "^5.5.3" - }, - "peerDependencies": { - "inspectable": "^3.0.1" - }, - "description": "Contexts for GramIO framework", - "scripts": { - "type": "tsc --noEmit", - "lint": "bunx @biomejs/biome check ./src", - "lint:fix": "bun lint --apply", - "prepublishOnly": "tsc && bunx tsc-alias", - "circular": "bunx madge --circular ./src --extensions=ts", - "generate": "bun scripts/generate.ts", - "jsr": "bun scripts/release-jsr.ts" - }, - "type": "commonjs", - "types": "dist/index.d.ts" + "name": "@gramio/contexts", + "version": "0.0.20", + "main": "dist/index.js", + "keywords": [ + "gramio", + "contexts", + "updates", + "events", + "telegram", + "telegram-bot", + "telegram-bot-api", + "bot" + ], + "files": [ + "dist" + ], + "devDependencies": { + "@biomejs/biome": "1.7.3", + "@gramio/types": "^7.7.0", + "@types/bun": "^1.1.6", + "common-tags": "^1.8.2", + "inspectable": "^3.0.2", + "madge": "^7.0.0", + "tsup": "^8.1.0", + "typescript": "^5.5.3" + }, + "peerDependencies": { + "inspectable": "^3.0.1" + }, + "description": "Contexts for GramIO framework", + "scripts": { + "type": "tsc --noEmit", + "lint": "bunx @biomejs/biome check ./src", + "lint:fix": "bun lint --apply", + "prepublishOnly": "tsc && bunx tsc-alias", + "circular": "bunx madge --circular ./src --extensions=ts", + "generate": "bun scripts/generate.ts", + "jsr": "bun scripts/release-jsr.ts" + }, + "type": "commonjs", + "types": "dist/index.d.ts", + "dependencies": { + "tslib": "^2.6.3" + } } diff --git a/tsconfig.json b/tsconfig.json index 396792d..515bc85 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,8 @@ "forceConsistentCasingInFileNames": true, "baseUrl": "./src", "rootDir": "./src", - "outDir": "./dist" + "outDir": "./dist", + "importHelpers": true }, "include": ["src/**/*.ts"] }