@done-coding/cli-git 0.5.2 → 0.5.3

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/es/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import { c as m } from "./index-28211c2f.js";
2
+ import { c as m } from "./index-09d0fca6.js";
3
3
  import "@done-coding/cli-utils";
4
- import "./clone-abdbb8f3.js";
4
+ import "./clone-986047c3.js";
5
5
  import "@done-coding/request-axios";
6
6
  import "axios";
7
7
  import "node:fs";
@@ -61,7 +61,7 @@ const w = 3e4, h = Math.random(), G = {
61
61
  }
62
62
  }), N = {
63
63
  name: "@done-coding/cli-git",
64
- version: "0.5.2",
64
+ version: "0.5.3",
65
65
  description: "git跨平台操作命令行工具",
66
66
  cliConfig: {
67
67
  namespaceDir: ".done-coding",
package/es/helpers.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { xPrompts as t } from "@done-coding/cli-utils";
3
- import { g as s, G as n, a, c as m } from "./clone-abdbb8f3.js";
3
+ import { g as s, G as n, a, c as m } from "./clone-986047c3.js";
4
4
  import "@done-coding/request-axios";
5
5
  import "axios";
6
6
  import "node:fs";
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { getRootDirOptions as p, xPrompts as e, log as C, _curry as r, createSubcommand as c, createMainCommand as f } from "@done-coding/cli-utils";
3
- import { g, a as I, b, s as h, S as t, c as N, d as O, e as w, i as T } from "./clone-abdbb8f3.js";
3
+ import { g, a as I, b, s as h, S as t, c as N, d as O, e as w, i as T } from "./clone-986047c3.js";
4
4
  import $ from "node:os";
5
5
  const y = () => p($.homedir()), E = async (o) => {
6
6
  const { rootDir: n } = o, { platform: s } = await e(g()), { username: l } = await e(I()), { accessToken: u } = await e(b);
package/es/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { a as s, h as c } from "./index-28211c2f.js";
3
- import { c as l, f } from "./clone-abdbb8f3.js";
2
+ import { a as s, h as c } from "./index-09d0fca6.js";
3
+ import { c as l, f } from "./clone-986047c3.js";
4
4
  import "@done-coding/cli-utils";
5
5
  import "node:os";
6
6
  import "@done-coding/request-axios";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@done-coding/cli-git",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "git跨平台操作命令行工具",
5
5
  "private": false,
6
6
  "module": "es/index.mjs",
@@ -51,7 +51,7 @@
51
51
  "license": "MIT",
52
52
  "sideEffects": false,
53
53
  "devDependencies": {
54
- "@done-coding/cli-inject": "^0.5.4",
54
+ "@done-coding/cli-inject": "^0.5.5",
55
55
  "@types/node": "^18.0.0",
56
56
  "@types/yargs": "^17.0.28",
57
57
  "rimraf": "^6.0.1",
@@ -63,9 +63,9 @@
63
63
  "node": ">=18.0.0"
64
64
  },
65
65
  "dependencies": {
66
- "@done-coding/cli-utils": "^0.3.4",
66
+ "@done-coding/cli-utils": "^0.3.5",
67
67
  "@done-coding/request-axios": "^1.1.1",
68
68
  "axios": "^1.8.4"
69
69
  },
70
- "gitHead": "be4aa1f92952e9c6e2f7a9b2fe8c28e74a3c7d64"
70
+ "gitHead": "eccf973ebc52fc3b06d26391d371e8d2d1629a61"
71
71
  }
@@ -1,2 +1,2 @@
1
1
  /** 克隆done-coding系列项目 */
2
- export declare const cloneDoneCodingSeries: (projectName: string) => Promise<void>;
2
+ export declare const cloneDoneCodingSeries: (projectName?: string) => Promise<void>;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "@done-coding/cli-git",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "git跨平台操作命令行工具",
5
5
  "cliConfig": {
6
6
  "namespaceDir": ".done-coding",