grammyjs / storages

Storage adapters for grammY sessions.
51 stars 29 forks source link

grammY storages

This is monorepo of session adapters for grammY.

Storages

Each package is 100 % TypeScript, well tested, and focused on supporting Deno and Node.js.

Contributing

Bug reports and pull requests are welcome.

Commit rules

<type>(<scope>?): <short summary>
  │       │             │
  │       │             └─⫸ Summary in present tense. Not capitalized. No period at the end.
  │       │
  │       └─⫸ Commit Scope: utils|file|mongodb|psql|redis|typeorm|supabase|free|firestore|deta|denodb|denokv|cloudflare
  │                          
  │                          
  │                          
  │
  └─⫸ Commit Type: docs|feat|fix|perf|refactor|test|chore|release

This is inspired by https://www.conventionalcommits.org

Development

  1. Fork this repository to your own GitHub account and then clone it to your local device.

  2. Install pnpm:

    npm i -g pnpm
  3. Install the dependencies with:

    pnpm install

Release

  1. Run command to bump version of packages

    pnpm lerna version --force-publish [major|minor|patch]

    --force-publish used for bump all packages version here.

  2. Release

    pnpm publish -r

Building

pnpm build

Testing

pnpm test

Linting

pnpm lint