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

@brickjs-fe/brick-cli

v0.0.9

Published

BrickJs CLI - 基于 pnpm + turbo 的现代化前端工程化脚手架工具

Readme

@brickjs-fe/brick-cli

BrickJs CLI - 基于 pnpm + turbo 的现代化前端工程化脚手架工具

📦 安装

# 全局安装
npm install -g @brickjs-fe/brick-cli

# 或使用 pnpm
pnpm add -g @brickjs-fe/brick-cli

# 或使用 yarn
yarn global add @brickjs-fe/brick-cli

🚀 使用

基本命令

# 查看帮助
brick --help

# 查看版本
brick --version

创建项目

# 创建 Vue3 项目
brick create my-project

# 创建 React 项目
brick create my-project --template react

# 创建 Node.js 项目
brick create my-project --template node

# 创建库项目
brick create my-project --template library

# 跳过确认提示
brick create my-project --yes

发布配置包

# 发布所有配置包
brick release

# 发布指定包
brick release --package @brickjs-fe/eslint-config

# 模拟发布(不实际发布)
brick release --dry-run

# 跳过构建步骤
brick release --skip-build

版本管理

# 查看当前版本
brick version

# 更新指定包版本
brick version --package @brickjs-fe/eslint-config --patch

# 主版本号升级
brick version --major

# 次版本号升级
brick version --minor

# 补丁版本号升级
brick version --patch

# 预发布版本
brick version --pre alpha

📁 项目结构

brick-cli/
├── src/
│   ├── index.ts              # 主入口文件
│   └── commands/             # 命令目录
│       ├── create.ts         # 创建项目命令
│       ├── release.ts        # 发布命令
│       └── version.ts        # 版本管理命令
├── dist/                     # 构建输出
├── package.json
├── tsconfig.json
├── tsup.config.ts
└── README.md

🔧 开发

# 安装依赖
pnpm install

# 开发模式
pnpm dev

# 构建
pnpm build

# 代码检查
pnpm lint

# 代码格式化
pnpm format

📝 命令详解

create 命令

创建新的 BrickJs 项目,支持多种模板:

  • vue3: Vue3 + TypeScript + Vite 项目
  • react: React + TypeScript + Vite 项目
  • node: Node.js + TypeScript 项目
  • library: TypeScript 库项目

release 命令

发布配置包到 npm,支持:

  • 自动检测配置包
  • 检查 npm 登录状态
  • 构建包(如果需要)
  • 发布到 npm
  • 模拟发布模式

version 命令

管理包版本,支持:

  • 查看当前版本
  • 版本号升级(major/minor/patch)
  • 预发布版本(alpha/beta/rc)
  • 批量更新所有包

🎯 特性

  • 🚀 快速创建: 一键创建各种类型的项目
  • 📦 智能发布: 自动检测和发布配置包
  • 🔄 版本管理: 便捷的版本号管理
  • 🎨 美观输出: 彩色终端输出和进度提示
  • 高性能: 基于现代 Node.js 和 TypeScript
  • 🔧 可扩展: 易于添加新命令和功能

📄 许可证

MIT License

🤝 贡献

欢迎提交 Issue 和 Pull Request!

📞 支持

如有问题,请通过以下方式联系: