githits 0.4.6 → 0.4.8

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/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  version
3
- } from "./shared/chunk-a1hzwt2m.js";
3
+ } from "./shared/chunk-wyphcypv.js";
4
4
  export {
5
5
  version
6
6
  };
@@ -4,8 +4,8 @@ import {
4
4
  createAuthStatusDependencies,
5
5
  createContainer,
6
6
  loadAutoLoginAuthSessionMetadata
7
- } from "./chunk-f16s86ze.js";
8
- import"./chunk-a1hzwt2m.js";
7
+ } from "./chunk-6hq1gf0g.js";
8
+ import"./chunk-wyphcypv.js";
9
9
  export {
10
10
  loadAutoLoginAuthSessionMetadata,
11
11
  createContainer,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __require,
3
3
  version
4
- } from "./chunk-a1hzwt2m.js";
4
+ } from "./chunk-wyphcypv.js";
5
5
 
6
6
  // src/services/app-config-paths.ts
7
7
  var APP_DIR = "githits";
@@ -6136,6 +6136,9 @@ function parseVersionList(raw) {
6136
6136
  import { checkbox, select } from "@inquirer/prompts";
6137
6137
 
6138
6138
  class PromptServiceImpl {
6139
+ async select(message, choices, defaultValue) {
6140
+ return select({ message, choices, default: defaultValue });
6141
+ }
6139
6142
  async checkbox(message, choices) {
6140
6143
  return checkbox({ message, choices });
6141
6144
  }
@@ -1,6 +1,6 @@
1
1
  import { createRequire } from "node:module";
2
2
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
3
3
  // package.json
4
- var version = "0.4.6";
4
+ var version = "0.4.8";
5
5
 
6
6
  export { __require, version };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "githits",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
4
4
  "description": "Code examples from global open source for developers and AI assistants.",
5
5
  "mcpServers": {
6
6
  "githits": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "githits",
3
3
  "description": "CLI companion for GitHits - code examples from global open source for developers and AI assistants",
4
- "version": "0.4.6",
4
+ "version": "0.4.8",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
@@ -69,7 +69,7 @@
69
69
  "url": "https://github.com/githits-com/githits-cli/issues"
70
70
  },
71
71
  "engines": {
72
- "node": ">=24"
72
+ "node": "^20.12.0 || >=22.13.0"
73
73
  },
74
74
  "publishConfig": {
75
75
  "access": "public"
@@ -83,6 +83,7 @@
83
83
  "open": "^11.0.0",
84
84
  "semver": "^7.8.0",
85
85
  "smol-toml": "^1.6.1",
86
+ "yaml": "^2.9.0",
86
87
  "zod": "^4.4.3"
87
88
  },
88
89
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "githits",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
4
4
  "description": "Code examples from global open source for developers and AI assistants",
5
5
  "author": {
6
6
  "name": "GitHits"