npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@boltz.one/create-app

v0.1.1

Published

Scaffold một monorepo Turborepo mới cho Boltz One, dùng ESLint/TypeScript config chung từ npm

Downloads

309

Readme

@boltz.one/create-app

CLI scaffold một monorepo Turborepo mới cho Boltz One, dùng ESLint/TypeScript config chung từ npm. CLI viết bằng TypeScript và chạy bằng Bun.

Sử dụng

# Cách khuyến nghị
bun create @boltz.one/app my-app

# Hoặc chạy trực tiếp
bunx @boltz.one/create-app my-app

Bỏ trống tên project, CLI sẽ hỏi tương tác. Sau khi tạo xong:

cd my-app
bun install
bun run dev

Yêu cầu có Bun trên máy (bin dùng shebang #!/usr/bin/env bun).

Tùy chọn:

| Cờ | Ý nghĩa | | --- | --- | | -h, --help | In trợ giúp | | -v, --version | In phiên bản |

Điểm khác biệt: config dùng chung từ npm

Khác với starter Turborepo mặc định (có sẵn 2 package config local packages/eslint-config + packages/typescript-config), template này không chứa package config local. ESLint và TypeScript config được kéo trực tiếp từ npm:

Nhờ vậy mọi app sinh ra luôn dùng đúng một nguồn config chung, nâng cấp tập trung qua việc bump version trên npm thay vì sửa file rải rác trong từng repo.

Cấu trúc project sinh ra

my-app/
├── apps/
│   ├── app/        # TanStack Start (React) app
│   └── api/        # Hono API app
├── packages/
│   └── ui/         # Thư viện React component dùng chung (@repo/ui)
├── package.json    # workspaces: apps/*, packages/*
└── turbo.json

packages/ui minh hoạ cách tiêu thụ config npm:

// packages/ui/package.json
"devDependencies": {
  "@boltz.one/eslint-config": "^0.1.1",
  "@boltz.one/typescript-config": "^0.1.0"
}
// packages/ui/eslint.config.mjs
import { config } from "@boltz.one/eslint-config/react-internal";
export default config;
// packages/ui/tsconfig.json
{ "extends": "@boltz.one/typescript-config/react-library.json" }

Phát triển CLI

bun install            # cài dev deps (@types/bun, typescript)
bun run check-types    # tsc --noEmit
bun bin/create-app.ts <ten-thu-muc>   # chạy thử

Template nằm trong template/. Lưu ý: các file .gitignore được lưu dưới tên gitignore (không dấu chấm) để không bị npm bỏ qua khi publish; CLI tự khôi phục lại tên .gitignore khi scaffold.

Phát hành

Bump version trong package.json rồi đẩy tag v*:

git tag v0.1.0 && git push origin v0.1.0

Workflow .github/workflows/publish-create-app.yml sẽ validate (check-types + smoke test) và publish lên npm (idempotent — bỏ qua nếu version đã tồn tại). Cần secret NPM_TOKEN trên repo.

License

MIT