Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules/
package-lock.json
yarn.lock
dist/
dist/
.vscode/settings.json
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.vscode/
.husky/
.github/
10 changes: 6 additions & 4 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

A **file downloader** based on [Git][1] CLI

[![CI & CD](https://github.com/idea2app/get-git-folder/actions/workflows/main.yml/badge.svg)][2]
[![NPM Dependency](https://img.shields.io/librariesio/github/idea2app/get-git-folder.svg)][2]
[![CI & CD](https://github.com/idea2app/get-git-folder/actions/workflows/main.yml/badge.svg)][3]

[![NPM](https://nodei.co/npm/get-git-folder.png?downloads=true&downloadRank=true&stars=true)][3]
[![NPM](https://nodei.co/npm/get-git-folder.png?downloads=true&downloadRank=true&stars=true)][4]

## Usage

Expand All @@ -15,5 +16,6 @@ get-git-folder https://github.com/your-org/your-repo main your-folder
```

[1]: https://git-scm.com/
[2]: https://github.com/idea2app/get-git-folder/actions/workflows/main.yml
[3]: https://nodei.co/npm/get-git-folder/
[2]: https://libraries.io/npm/get-git-folder
[3]: https://github.com/idea2app/get-git-folder/actions/workflows/main.yml
[4]: https://nodei.co/npm/get-git-folder/
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "get-git-folder",
"version": "0.1.0",
"version": "0.1.2",
"license": "LGPL-3.0",
"author": "shiy2008@gmail.com",
"description": "A file downloader based on Git CLI",
Expand All @@ -21,13 +21,14 @@
"type": "module",
"bin": "dist/index.js",
"dependencies": {
"zx": "^7.2.2"
"commander-jsx": "^0.6.9",
"zx": "^7.2.3"
},
"devDependencies": {
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"typescript": "^5.1.3"
"lint-staged": "^14.0.0",
"prettier": "^3.0.2",
"typescript": "~5.1.6"
},
"prettier": {
"tabWidth": 4,
Expand Down
Loading