From a3ff99fb17831542c7676930fe5e44e6b8d5a079 Mon Sep 17 00:00:00 2001 From: "luk.lu" Date: Wed, 17 Aug 2022 08:59:35 +0800 Subject: [PATCH] rename libraries 'basend-*' to 'wo-base-*', 'corend-*' to 'wo-core-*', 'usend-*' to 'wo-user-*' --- deploy.js | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy.js b/deploy.js index 54f0e75..d283124 100644 --- a/deploy.js +++ b/deploy.js @@ -3,7 +3,7 @@ const path = require('path') /** ******************* 读取命令行以及配置文件里的参数 ******************** **/ const wo = (global.wo = { - envar: require('basend-envar').merge_envar({ + envar: require('wo-base-envar').merge_envar({ rawEnvar: { commanderOptions: [ // 命令行里可以接受的参数。将传给 commander。每个参数的定义格式是 [参数名,参数键,描述],后两者用于传给 commander,取值后覆盖掉同名变量。 diff --git a/package.json b/package.json index e18bda6..e1724a8 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "basend-deployer", + "name": "wo-base-deployer", "version": "1.0.0", "description": "Deploy files to SSH or GIT servers", "main": "deploy.js", @@ -8,12 +8,12 @@ }, "repository": { "type": "git", - "url": "https://git.faronear.org/npm/basend-deployer" + "url": "https://git.faronear.org/npm/wo-base-deployer" }, "author": "", "license": "ISC", "dependencies": { - "basend-envar": "git+https://git.faronear.org/npm/basend-envar", + "wo-base-envar": "git+https://git.faronear.org/npm/wo-base-envar", "bluebird": "^3.5.5", "chalk": "^2.4.2", "hexo-fs": "^3.1.0",