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 🙏

© 2024 – Pkg Stats / Ryan Hefner

project-pub

v0.0.116

Published

打包并将结果上传至oss

Downloads

9

Readme

npm i -g project-pub

在项目中执行 pub 会自动执行 npm run build,并将打包后的文件上传至 oss。

首次执行 根据代码提示生成 .osskey 文件,并自动添加到 .gitignore。 accessKeyId 与 accessKeySecret 会加密保存在本地。 如果可以上传至项目,可以自己从 .gitignore 中删除。

// osskey的内容示例
// region  oss-cn-hangzhou
// accessKeyId  accessKeyId
// accessKeySecret  accessKeySecret
// bucket  bucketName
// onlyBranch false 是否只包含版本号,否的话,上传其中的路径是 daily/x.x.x或者 feature/x.x.x,如果设置为true,则上传其中的版本路径为x.x.x
// uploadPath bucket下的地址
// buildDir 构建的目录 dist | build

可以带参数发布,比如 pub d、pub o,就会生成对应的 .osskey-* 的文件,执行命令会寻找对应的文件,不存在则会创建。

##版本更新时间 0.0.9: 2022-08-22 16:15:49 更新内容: 代码自动提交,遇到冲突自动暂停 0.0.10: 2022-08-22 19:36:50 更新内容: 代码重构,使用 module 格式。 0.0.12: 2022-08-23 09:31:09 更新内容: 去掉了默认值的空括号 0.0.17: 2022-08-23 17:08:33 更新内容: 增加keyworks

更新备注

0.0.111 ---------- 2023-02-21 11:11:34
更新内容: 提交内容可以不写前缀,会自动增加 update: 的前缀
0.0.113 ---------- 2023-03-22 17:30:00
更新内容: 增加onlyBranch字段
0.0.116 ---------- 9/27/2024, 2:58:13 PM
更新内容: 可以选择不提交代码,直接发布