gitpick 3.20.0-canary.3 → 3.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,28 +16,31 @@ Simply copy the Github URL and run with `npx gitpick <url>`, be that a public or
|
|
|
16
16
|
|
|
17
17
|
## Features
|
|
18
18
|
|
|
19
|
-
Shorthand:
|
|
19
|
+
Shorthand (or use full URL):
|
|
20
20
|
|
|
21
21
|
```sh
|
|
22
22
|
npx gitpick TanStack/router
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Or
|
|
25
|
+
Or clone a repository:
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
28
|
npx gitpick https://github.com/TanStack/router
|
|
29
|
+
# npx gitpick TanStack/router
|
|
29
30
|
```
|
|
30
31
|
|
|
31
32
|
Or clone a specific directory:
|
|
32
33
|
|
|
33
34
|
```sh
|
|
34
35
|
npx gitpick https://github.com/TanStack/router/tree/main/examples
|
|
36
|
+
# npx gitpick TanStack/router/tree/main/examples
|
|
35
37
|
```
|
|
36
38
|
|
|
37
39
|
Or clone a specific file:
|
|
38
40
|
|
|
39
41
|
```sh
|
|
40
42
|
npx gitpick https://github.com/TanStack/router/tree/main/package.json
|
|
43
|
+
# npx gitpick TanStack/router/tree/main/package.json
|
|
41
44
|
```
|
|
42
45
|
|
|
43
46
|
- Clone a file or directory from a GitHub repository.
|
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@ Error:
|
|
|
19
19
|
`):console.error(`
|
|
20
20
|
Unexpected Error:
|
|
21
21
|
`+JSON.stringify(i,null,2)+`
|
|
22
|
-
`),process.exit(1)}};import a from"chalk";import{Command as R}from"commander";var b={name:"gitpick",version:"3.
|
|
22
|
+
`),process.exit(1)}};import a from"chalk";import{Command as R}from"commander";var b={name:"gitpick",version:"3.20.0",description:"With gitpick, you can clone precisely what you need.",keywords:["clone","degit","directory","file","folder","git","github","scaffolding","template","url"],homepage:"https://github.com/nrjdalal/gitpick#readme",bugs:"https://github.com/nrjdalal/gitpick/issues",repository:"nrjdalal/gitpick",funding:"https://github.com/sponsors/nrjdalal",license:"MIT",author:{name:"Neeraj Dalal",email:"admin@nrjdalal.com",url:"https://nrjdalal.com"},type:"module",bin:{degit:"./dist/index.js",gitpick:"./dist/index.js"},files:["dist"],scripts:{build:"tsup",dev:"tsup --watch",prepare:"npx simple-git-hooks",test:"bun run build && node dist/index.js",tests:"bash tests.sh"},"simple-git-hooks":{"pre-commit":"npx lint-staged","commit-msg":"npx commitlint --edit $1"},dependencies:{chalk:"^5.4.1",commander:"^13.1.0",inquirer:"^12.5.0",ora:"^8.2.0","simple-git":"^3.27.0",zod:"^3.24.2","zod-validation-error":"^3.4.0"},devDependencies:{"@commitlint/cli":"^19.8.0","@commitlint/config-conventional":"^19.8.0","@ianvs/prettier-plugin-sort-imports":"^4.4.1","@types/node":"^22.13.13","lint-staged":"^15.5.0",prettier:"^3.5.3","simple-git-hooks":"^2.12.1","sort-package-json":"^2.15.1",tsup:"^8.4.0",typescript:"^5.8.2"}};process.on("SIGINT",()=>process.exit(0));process.on("SIGTERM",()=>process.exit(0));async function B(){let r=new R().name("gitpick").description("With gitpick, you can clone precisely what you need.").version(b.version||"1.0.0","-v, --version","display the version number"),o=process.argv.slice(2),t=["-v","--version","-h","--help","help","clone"];o.length&&!t.includes(o[0])&&process.argv.splice(2,0,"clone"),r.addCommand(x),r.configureHelp({formatHelp:()=>`${a.bold("With gitpick, you can clone precisely what you need.")}
|
|
23
23
|
|
|
24
24
|
\u{1F680} More awesome tools at ${a.cyan("https://github.com/nrjdalal")}
|
|
25
25
|
|