A modern monorepo containing utilities and libraries to support contemporary frontend/backend development.
Txtension is a monorepo that houses multiple packages built with cutting-edge technologies:
- Nx 21 - Advanced build system and monorepo management
- Bun - Ultra-fast JavaScript runtime and package manager
- SWC - Fast TypeScript/JavaScript compiler
- TypeScript Strict Mode - Type-safe development with strict compiler settings
The repository provides high-quality, well-tested utilities and libraries for modern web development.
| Package | Version | Description | Path |
|---|---|---|---|
| @txtension/query-key-factory | 0.0.5 | Type-safe, declarative API for managing TanStack Query queryKeys at scale | packages/query-key-factory |
This monorepo uses Bun as the primary package manager (recommended):
bun installAlternatively, you can use pnpm or npm:
pnpm install
# or
npm installbunx nx run-many -t buildbunx nx run-many -t testbunx nx run-many -t lint# Build a specific package
bunx nx build query-key-factory
# Test a specific package
bunx nx test query-key-factory
# Lint a specific package
bunx nx lint query-key-factoryThis monorepo uses Nx release for version management and publishing:
# Dry run to see what would be published
bunx nx release --dry-run
# Version packages
bunx nx release version
# Publish to NPM (requires NPM_TOKEN environment variable)
bunx nx release publish- Set
NPM_TOKENenvironment variable with your NPM access token - Ensure you have publish permissions for the
@txtensionscope - All packages must pass build and tests before publishing
MIT - See LICENSE.md for details.