From 76509db5074b0a1337ea430f7b950d415e10bafe Mon Sep 17 00:00:00 2001 From: jukaifeng Date: Tue, 17 Jan 2023 22:39:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +++- ftp/index.js | 2 +- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4c3fae5..4d00c8d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ ### 使用方法: +原项目[@dllcn/auto-deploy](https://www.npmjs.com/package/@dllcn/auto-deploy)的升级版,原账号因为邮箱的问题无法接着迭代发布。 + 1. 下载项目 ``` npm install @dllcn/auto-deploy -D @@ -7,7 +9,7 @@ npm install @dllcn/auto-deploy -D 2. 添加执行命令 ``` - "deploy": "node ./node_modules/@dllcn/auto-deploy" + "deploy": "node ./node_modules/@dllcnx/auto-deploy" ``` 3. 在项目根目录创建`deploy.config.js`文件: diff --git a/ftp/index.js b/ftp/index.js index 2d067ad..e767cd9 100644 --- a/ftp/index.js +++ b/ftp/index.js @@ -1,6 +1,6 @@ const chalk = require('chalk') //命令行颜色 const ora = require('ora') // 加载流程动画 -const spinner_style = require('../spinner_style') //加载动画样式 +const spinner_style = require('../utils/spinner_style') //加载动画样式 const path = require('path') // nodejs内置路径模块 diff --git a/package.json b/package.json index 57d048c..9487732 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dllcnx/auto-deploy", - "version": "2.0.0", + "version": "2.0.1", "description": "自动部署脚本", "main": "index.js", "scripts": {