Skip to content

nguyenphutrong/txtension

Repository files navigation

Txtension

A modern monorepo containing utilities and libraries to support contemporary frontend/backend development.

Overview

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.

Packages

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

Installation

This monorepo uses Bun as the primary package manager (recommended):

bun install

Alternatively, you can use pnpm or npm:

pnpm install
# or
npm install

Development

Build All Packages

bunx nx run-many -t build

Test All Packages

bunx nx run-many -t test

Lint All Packages

bunx nx run-many -t lint

Working with Individual Packages

# 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-factory

Publishing

This monorepo uses Nx release for version management and publishing:

Version and Release

# 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

Prerequisites for Publishing

  • Set NPM_TOKEN environment variable with your NPM access token
  • Ensure you have publish permissions for the @txtension scope
  • All packages must pass build and tests before publishing

License

MIT - See LICENSE.md for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors