-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
欧如栋
committed
Jul 3, 2023
1 parent
64ab389
commit 16eca8f
Showing
5 changed files
with
594 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"env": { | ||
"node": true, | ||
"commonjs": true, | ||
"es2021": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"ecmaVersion": "latest" | ||
}, | ||
"rules": { | ||
"no-unused-vars": "warn" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,11 @@ npm install coding-generic -g | |
|
||
## 使用 | ||
|
||
- 推送单个制品 | ||
```shell | ||
coding-generic --username=<USERNAME>[:password] --path=<FILE.EXT> --registry=<REGISTRY> | ||
``` | ||
- 推送文件夹(仅 1.2.7 及以上版本支持) | ||
```shell | ||
coding-generic [email protected] --dir --path=<LOCAL_FOLDER_NAME> --registry=<REGISTRY> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "coding-generic", | ||
"version": "1.2.7", | ||
"version": "1.2.8", | ||
"description": "", | ||
"main": "index.js", | ||
"bin": { | ||
|
@@ -26,5 +26,8 @@ | |
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:Coding/coding-generic.git" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^8.44.0" | ||
} | ||
} |
Oops, something went wrong.