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

scmf-cli

v1.3.4

Published

业管管理系统脚手架工具

Downloads

2

Readme

scmf-cli 工具

使用说明

初始化

当前模块根目录运行以下命令

# 当前项目目录运行, 映射全局命令
npm link
# 命令行变更时
npm unlink
# 全局映射后, 直接使用
scmf-cli

运行 scmf-cli -h 查看相关功能描述

Options:
  -v,-V, --version                    scmf-cli 版本号
  -i, --init                          快速安装项目组代码库, 功能建设中...
  -h, --help                          display help for command

Commands:
  syncFile [prjectName] [env] [同步文件]  同步业管关联项目资源文件

静态资源同步命令 syncFile

# 运行命令 参数为 项目名称 及 同步环境
scmf-cli syncFile PageByTs STG

项目目录说明

|-- scmf-cli
    |-- _temp // 项目缓存
    |   |-- cache.json // 业管系统登陆缓存
    |   |-- wirazd.json // 神兵用户信息

v1.x 待完善功能

  • [x] 新增全局配置文件, cli 名称 和 版本号, 从 package.json 文件中读取
  • [x] 初始化, 检测有没有本地配置, 如果没有本地配置, 提示更新本地配置, 并新增本地配置文件设置/读取公共方法
  • [x] 复制生产的 资源包 id
  • [ ] 打印带有链接的文件路径 和 外部网址

后续版本待完善功能

  • [ ] 新增项目 git 包克隆功能
  • [ ] 新增报错信息收集及生成报错日志文件(至系统临时文件夹)功能

更新日志

1.3.4

fix some bug

1.3.3

新增 clean 清空缓存操作 清理默认配置

1.3.1

新增 初始化 代码注释模板 新增 set 自定义配置 优化 windows / mac 类型判断 及 对应设备的 chrom/vscode 路径的适配 新增 文档生成模块, 代码提取功能,并调整文档生成模板 (art-template 渲染纯内容会进行转义,使用# {{#line}} 让内容不转义) 优化 配置文件 scmfclirc.js 内容

1.3.0

新增 gm 命令 查看神兵提交信息 新增 set命令 设置脚手架配置 新增 get命令 获取脚手架配置 新增 inti命令 初始化项目配置文件 调整命令行代码

1.2.0

新增 远程推包功能

1.1.0

新增 文档提取功能

1.0.1

  1. 修复全局项目名读取 bug
  2. 新增 同步生产环境时确认操作

1.0.0

  1. 脚手架项目结构搭建
  2. 同步业管静态资源功能完成

0.0.1

  1. 项目初始化
  2. 脚手架相关扩展资源引入 新增命令行交互 新增命令行美化工具 新增工具衍生命令行 -v -h 新增脚手架 logo
  3. node 端相关功能初始化
    1. 封装请求相关方法(request 及 fetch-node)两种方式
    2. 封装业管请求及登录逻辑设置
  4. 静态资源上传功能开发

0.0.2

  1. 优化调用 syncFile 方法, 转 commander 进行封装
  2. 优化 serve 登陆及缓存方式
  3. 优化配置文件及缓存设置方式
  4. 优化项目目录读取方式, 修改用户输入为自动读取
  5. 修复 mac 与 window 文件不兼容的 bug

0.0.3

  1. 修改 PscbVue3 及 PageByTs 项目的打包生成方式
    1. 去除打包文件的 hash 后缀
    2. 设置公共打包提取目录
  2. 测试有效的命令调用方式