From 5b86f3e9a0489290f2db270d6e0b08ac8aed514f Mon Sep 17 00:00:00 2001 From: jukaifeng Date: Mon, 16 Jan 2023 15:46:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E6=B4=81=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + .npmignore | 1 + LICENSE | 2 +- test/deploy.config.js | 34 ---------------------------------- test/dist/1.txt | 0 5 files changed, 3 insertions(+), 35 deletions(-) delete mode 100644 test/deploy.config.js delete mode 100644 test/dist/1.txt diff --git a/.gitignore b/.gitignore index 9daa824..a638839 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .DS_Store node_modules +test diff --git a/.npmignore b/.npmignore index 507ab1b..ad91ae0 100644 --- a/.npmignore +++ b/.npmignore @@ -73,3 +73,4 @@ fabric.properties .idea/caches/build_file_checksums.ser .idea .idea/* +test \ No newline at end of file diff --git a/LICENSE b/LICENSE index e0a55fd..8775cf0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ ISC License (ISC) -Copyright 2020 bgwd666;Modified Copyright 2020 Keifer Ju +Copyright 2023 Keifer Ju Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. diff --git a/test/deploy.config.js b/test/deploy.config.js deleted file mode 100644 index cc8a64d..0000000 --- a/test/deploy.config.js +++ /dev/null @@ -1,34 +0,0 @@ -module.exports = Object.freeze({ - development: {//测试 - SERVER_HOST: 'dllcnx.com', // ssh地址 服务器地址 - USER: 'jukaifeng', // ssh 用户名 - //方式一 用秘钥登录服务器(推荐), private 本机私钥文件地址(需要在服务器用户目录 一般是 /root/.ssh/authorized_keys 配置公钥 并该文件权限为 600, (.ssh文件夹一般默认隐藏) - // PRIVATE_KEY: 'C:/Users/Html5/.ssh/id_rsa', - PASSWORD: '9BfvGRhZ1PW2JHa+YJc9vg==', //方式二 用密码连接服务器 - REMOTE_ROOT: '/web/test/', // 需要上传的服务器目录地址 如 /usr/local/nginx/html - LOCAL_PATH: "dist", // 需要上传文件夹路径,默认dist - PORT: 5521, - TYPE: "ftp", // ftp,sftp,ssh 模认ssh - FTP_CONFIG:{ - DELETE_REMOTE: true, - - } - }, - production: {//正式 - SERVER_HOST: '172.17.13.31', - USER: 'root', - //方式一 用秘钥登录服务器(推荐), private 本机私钥文件地址(需要在服务器用户目录 一般是 /root/.ssh/authorized_keys 配置公钥 并该文件权限为 600, (.ssh文件夹一般默认隐藏) - // PRIVATE_KEY: 'C:/Users/Html5/.ssh/id_rsa', - PASSWORD: 'PR84ODUE3d1w1pTkqmJRog==', - REMOTE_ROOT: '/var/local/llcn', // 需要上传的服务器目录地址 如 /usr/local/nginx/html - LOCAL_PATH: './dist/', // 需要上传文件夹路径,默认dist - PORT: 22, - SSH_CONFIG: { - BACKUP: true, - BUILD_SHELL: "npm run build", - DELETE_LOCAL_PACKAGE: true, - EXTENDS: ['cd /var/local', 'mkdir ex'] - } - - } -}) \ No newline at end of file diff --git a/test/dist/1.txt b/test/dist/1.txt deleted file mode 100644 index e69de29..0000000