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 🙏

© 2025 – Pkg Stats / Ryan Hefner

z-web-scaffold

v1.1.0

Published

一款自定义前端脚手架App/Monorepo工程

Readme

z-web-scaffold

自定义前端脚手架 App/Monorepo 工程

使用

安装

// 全局安装
npm i z-web-scaffold -g
// or npx
npx z-web-scaffold

// or 需全局安装后才能使用
npx zcap

预制模版

该 cli 所有template 都含有eslint + prettier + commitlint

独立应用

该模版基于vite + react进行运用创建。

微前端应用

该模版待开发建设。目前不可用

基础架构

该模版只有基准的 eslint 等工具,没有集成任意前端框架。

开发&发包事项

1、 日常迭代,请切单独分支

git checkout -b fix/xxxx

2、 开发完成后确保通过测试后,提交 MR✅。

3、 MR 完成后,切回主分支并更新到最新代码,执行发版流程 更新版本

不要忘记 git pull,确保本地是最新的代码及 git 信息完整,而且生成版本号及 CHANGELOG.md 的内容也是根据 git 的 tag 及 commit 生成的。 不然 npm run r 可能会出现非预期的情况

# 此时你需要在主分支main上
git pull

# 注意该命令会自动生成changelog&版本控制
npm run r

4、发布到 npm

npm run p

注意

1、当你运行 npm run r 生成changelog,该命令会自动根据提交的commit来决定是 patch 还是 minor

你可以参考standard-version来添加特定的参数进行版本控制

# 首次发版 不会更新version
npm run r -- --first-release
# patch / minor / major
npm run r -- --release-as patch|minor|major

2、当你使用本脚手架进行项目创建,请注意查看当前运行目录下是否存在与你项目名相同的文件夹,可能会清空你原有文件夹内容