TypeScript is pinned to 7.1.0-dev.20261011.1: its native compiler uses Go
1.27.2. The stable 7.0.2 compiler bundles Go 1.26.4, which is affected by
GO-2026-6604 and GO-2026-6612. Keep the compiler pin until a stable TypeScript
release includes the patched Go runtime.
All the development dependencies you need.
- Extremely light-weight & performant
- Release helper tooling
- Docs generator
- Code linting & formatting
- Git linting
- Changelog generator
- Automated dependency updates
- Powerful configuration loading & management
bun add -d better-dx
npm install -D better-dxAnd this sets up your project!
import { getConfig } from 'better-dx/config'
import type { DXConfig } from 'better-dx/types'
const config: DXConfig = await getConfig()
console.log(config.verbose)The root better-dx entry exports the same configuration API and shares its cached configuration with better-dx/config.
bun test
bun run build
bun run test:sdkThe SDK check packs the built package, checks normal and fresh frozen installs, and verifies runtime subpaths, strict typed consumers and the bundled release/declaration tools.
To verify a published package, set BETTER_DX_SDK_PUBLIC_PACKAGE to its HTTPS package URL and BETTER_DX_SDK_EXPECTED_ARCHIVE to the original final CI archive. The check compares every original member's name, bytes and mode, then installs from the public URL without repacking it.
Please see our releases page for more information on what has changed recently.
Please see CONTRIBUTING for details.
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using this package:
Join the Stacks Discord Server
“Software that is free, but hopes for a postcard.” We love receiving postcards from around the world showing where Stacks is being used! We showcase them on our website too.
Our address: Stacks.js, 12665 Village Ln #2306, Playa Vista, CA 90094, United States 🌎
We would like to extend our thanks to the following sponsors for funding Stacks development. If you are interested in becoming a sponsor, please reach out to us.
The MIT License (MIT). Please see LICENSE for more information.
Made with 💙
