From 54c46cdae7723afadac34ef493c0114e9babeea0 Mon Sep 17 00:00:00 2001 From: xlei1123 <983171730@qq.com> Date: Thu, 26 Sep 2024 13:22:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=89=88=E6=9C=AC=E4=BF=AE=E6=94=B9=20?= =?UTF-8?q?=E6=89=93=E5=8C=85=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmignore | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ lib/dgit.js | 2 +- package.json | 2 +- 3 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..92681d5 --- /dev/null +++ b/.npmignore @@ -0,0 +1,67 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +mochawesome-report + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env + +# next.js build output +.next + +yarn.lock + +src/ \ No newline at end of file diff --git a/lib/dgit.js b/lib/dgit.js index 1bc3603..cb065b0 100644 --- a/lib/dgit.js +++ b/lib/dgit.js @@ -8,7 +8,7 @@ const repo_1 = require("./repo"); const log_1 = require("./log"); const request_1 = require("./request"); const utils_1 = require("./cmd/utils"); -const UserAgent = '@limu/dgit'; +const UserAgent = '@limu-x/dgit'; const DEFAULT_PARALLEL_LIMIT = 10; const MAX_PARALLEL_LIMIT = 100; const JSON_STRINGIFY_PADDING = 2; diff --git a/package.json b/package.json index edf1298..32cd147 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@limu-x/dgit", - "version": "0.0.12", + "version": "0.0.1", "description": "@limu-x/dgit download gitrepo file", "bin": { "dgit": "./bin/cmd.js"