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

clouddreamai-cicd-setup

v1.12.1

Published

CloudDreamAI GitLab CI/CD 自动配置工具 - 支持 NestJS/Vue/React 项目的一键 CI/CD 配置

Readme

CloudDreamAI CI/CD Setup

提供 GitLab Token 和服务器 SSH 密码,一键完成从代码集成到生产部署的全流程自动化。

特色

只需一次配置,全自动完成:

  • CI/CD 流程 - 自动生成 .gitlab-ci.ymlDockerfiledocker-compose.yml,自动上传变量到 GitLab
  • Nginx 反向代理 - 自动配置宝塔 Nginx,支持 WebSocket
  • SSL 证书 - 自动申请 Let's Encrypt 证书,自动续期
  • 数据库 - 自动创建用户和数据库,支持 PostgreSQL / MySQL
  • 数据库迁移 - 自动执行 TypeORM / Prisma 迁移
  • Docker - 服务器无 Docker 时自动安装,部署后自动清理旧镜像
  • 健康检测 - 部署后自动检测服务状态,智能诊断常见错误

支持的框架: NestJS / Vue / React / Next.js / Node.js

命令大全

| 命令 | 说明 | |------|------| | cicd-setup init | 初始化 CI/CD 配置(交互式) | | cicd-setup updateenv | 更新 GitLab 上的环境变量文件 | | cicd-setup update | 更新 cicd-setup 到最新版本 |

updateenv

修改本地 .env.dev / .env.prod 后,同步到 GitLab:

cicd-setup updateenv

# 指定自定义文件路径
cicd-setup updateenv --dev-file .env.development --prod-file .env.production

快速开始

安装

npm install -g clouddreamai-cicd-setup

前置准备

  1. GitLab Token - 创建 Personal Access Token,需要 apiwrite_repository 权限
  2. 服务器 - 已安装宝塔面板,SSH 可用 root 登录
  3. 环境变量文件 - 在项目根目录创建 .env.dev.env.prod

运行

cd your-project
cicd-setup init

按提示填写:

  • GitLab URL 和 Token
  • 项目名称、类型、端口
  • 服务器地址和 SSH 密码
  • 数据库配置(可选)
  • 域名和 SSL(可选)

完成后会自动:

  1. 生成 CI/CD 配置文件
  2. 上传变量到 GitLab
  3. 推送代码后自动触发部署

部署流程

develop 分支推送 → 自动部署到开发环境
main 分支推送 → 手动确认后部署到生产环境

License

MIT