@guanghechen/kit-repo 0.4.0 → 0.4.2

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/lib/esm/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { CompletionCommand } from '@guanghechen/commander';
3
3
  import { Reporter } from '@guanghechen/reporter';
4
- import { C as COMMAND_NAME, R as RepoCommand } from './command-BTJtZxT3.mjs';
4
+ import { C as COMMAND_NAME, R as RepoCommand } from './command-vdRaaYxc.mjs';
5
5
  import 'node:module';
6
6
  import 'node:fs';
7
7
  import 'node:os';
@@ -288,6 +288,7 @@ function loadConfig(configPaths) {
288
288
  allRepos.push(repo);
289
289
  }
290
290
  }
291
+ allRepos.sort((a, b) => a.name.localeCompare(b.name));
291
292
  return { repos: allRepos };
292
293
  }
293
294
  function getBranchConfig(branches, branchName) {
package/lib/esm/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { R as default } from './command-BTJtZxT3.mjs';
1
+ export { R as default } from './command-vdRaaYxc.mjs';
2
2
  import '@guanghechen/commander';
3
3
  import 'node:module';
4
4
  import 'node:fs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanghechen/kit-repo",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Git repository sync tool based on worktree mode",
5
5
  "type": "module",
6
6
  "exports": {
@@ -43,11 +43,11 @@
43
43
  ],
44
44
  "license": "MIT",
45
45
  "dependencies": {
46
- "@guanghechen/commander": "^4.4.0",
46
+ "@guanghechen/commander": "^4.4.1",
47
47
  "@guanghechen/reporter": "^3.3.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@guanghechen/commander": "^4.4.0"
50
+ "@guanghechen/commander": "^4.4.1"
51
51
  },
52
52
  "peerDependenciesMeta": {
53
53
  "@guanghechen/commander": {