stage-tui 1.0.7 → 1.0.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/README.md CHANGED
@@ -48,14 +48,14 @@ stage --dev # use local checkout at STAGE_DEV_PATH
48
48
 
49
49
  Config file path:
50
50
 
51
- - `${XDG_CONFIG_HOME:-~/.config}/stage-manager/config.toml`
51
+ - `${XDG_CONFIG_HOME:-~/.config}/stage/config.toml`
52
52
 
53
53
  Stage creates this file on first launch.
54
54
 
55
55
  Optional overrides:
56
56
 
57
57
  - `STAGE_CONFIG=/path/to/config.toml`
58
- - `./.stage-manager.toml` (repo-local)
58
+ - `./.stage.toml` (repo-local)
59
59
 
60
60
  Theme behavior:
61
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stage-tui",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Minimalist TUI Git client",
5
5
  "author": "jenslys",
6
6
  "repository": {
package/src/config.ts CHANGED
@@ -71,7 +71,7 @@ export async function loadStageConfig(cwd: string): Promise<ResolvedStageConfig>
71
71
  }
72
72
  }
73
73
 
74
- const localPath = resolve(cwd, ".stage-manager.toml")
74
+ const localPath = resolve(cwd, ".stage.toml")
75
75
  const localFile = Bun.file(localPath)
76
76
  if (await localFile.exists()) {
77
77
  const raw = await localFile.text()
@@ -102,7 +102,7 @@ export async function loadStageConfig(cwd: string): Promise<ResolvedStageConfig>
102
102
  export function getUserConfigPath(): string {
103
103
  const xdg = process.env.XDG_CONFIG_HOME?.trim()
104
104
  const configRoot = xdg ? xdg : join(homedir(), ".config")
105
- return join(configRoot, "stage-manager", "config.toml")
105
+ return join(configRoot, "stage", "config.toml")
106
106
  }
107
107
 
108
108
  function parseStageConfigToml(raw: string, sourcePath: string): StageConfig {