镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
stacksjsPublic

About

A better Developer Experience. Lightweight & performant.

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Repository files navigation

Social Card of this repo

npm version GitHub Actions Commitizen friendly

better-dx

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.

Features

  • Extremely light-weight & performant
  • Release helper tooling
  • Docs generator
  • Code linting & formatting
  • Git linting
  • Changelog generator
  • Automated dependency updates
  • Powerful configuration loading & management

Installation

bun add -d better-dx
npm install -D better-dx

And this sets up your project!

Configuration

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.

Testing

bun test
bun run build
bun run test:sdk

The 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.

Changelog

Please see our releases page for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discussions on GitHub

For casual chit-chat with others using this package:

Join the Stacks Discord Server

Postcardware

“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 🌎

Sponsors

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.

License

The MIT License (MIT). Please see LICENSE for more information.

Made with 💙

About

A better Developer Experience. Lightweight & performant.

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages