npm.io
1.5.0 • Published 1 week ago

@padosoft/utilities

Licence
Version
1.5.0
Deps
0
Size
26 kB
Vulns
0
Weekly
0

ts-support

A monorepo of TypeScript support packages for padosoft projects: shared configurations, typed utilities, a modular logger, React hooks, and typed OpenAPI client helpers.

Packages

Package Version Description
@padosoft/config npm Shared TypeScript, Biome, and tsdown configurations
@padosoft/utilities npm Typed query helpers, Configuration store, Zod utils, and type helpers
@padosoft/react npm React hooks and HOC utilities (useConfig, composeHOCs, …)
@padosoft/logger npm Modular logger with transports, plugins, and framework adapters
@padosoft/openapi-client npm Typed base client for openapi-fetch with middleware support
@padosoft/zod-to-openapi-client npm Convert zod-to-openapi route collections into typed openapi-fetch Paths

Requirements

  • Bun >= 1.2.20
  • Node >= 22.18.0

Development

# Install dependencies
bun install

# Build all packages
bun run build

# Type-check all packages
bun run ts:check

# Lint
bun run lint
bun run lint:fix

Publishing

Releases are managed with Changesets.

# 1. Create a changeset describing what changed
bun changeset

# 2. Version packages and publish to npm
bun run publish-packages

Changeset bump levels: patch for bug fixes, minor for new features, major for breaking changes. See CLAUDE.md for contribution rules.