mirror of
https://github.com/lockin-bot/react-telegram.git
synced 2026-01-12 15:13:56 +08:00
- Add CI workflow for testing, type checking, and building - Add publish workflow for npm releases - Add automated release workflow with changesets - Add PR checks for changesets and formatting - Add security scanning workflow - Add documentation validation workflow - Configure changesets for version management - Add Prettier for code formatting - Add unit tests for core and adapter packages - Add contributing guidelines and release documentation - Configure Dependabot for dependency updates - Update README with CI badges This establishes a complete CI/CD pipeline for automated testing, versioning, and publishing of the React Telegram packages. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
954 B
JSON
30 lines
954 B
JSON
{
|
|
"name": "react-telegram-monorepo",
|
|
"type": "module",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "bun run build:core && bun run build:adapter",
|
|
"build:core": "cd packages/core && bun run build",
|
|
"build:adapter": "cd packages/mtcute-adapter && bun run build",
|
|
"test": "bun test",
|
|
"test:watch": "bun test --watch",
|
|
"type-check": "tsc --noEmit",
|
|
"lint": "echo 'Add ESLint when configured'",
|
|
"format": "prettier --write \"packages/*/src/**/*.{ts,tsx}\"",
|
|
"example": "cd packages/examples && bun run start",
|
|
"changeset": "changeset",
|
|
"version": "changeset version && bun install --no-frozen-lockfile",
|
|
"release": "bun run build && changeset publish",
|
|
"clean": "rm -rf packages/*/dist packages/*/tsconfig.tsbuildinfo"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.27.1",
|
|
"@types/bun": "latest",
|
|
"prettier": "^3.2.5",
|
|
"typescript": "^5"
|
|
}
|
|
}
|