feat(FN-1644): rename default global data directory from ~/.pi/fusion to ~/.fusion

- Change default global directory from ~/.pi/fusion to ~/.fusion
- Add migration logic to copy existing data from old directory to new location
- Update all core packages (store, settings, central-core, central-db) to use new default path
- Update all documentation references from ~/.pi/fusion to ~/.fusion
- Add test for ~/.pi/fusion migration path with updated mock paths
- Include changeset for @gsxdsm/fusion minor version bump
This commit is contained in:
Fusion
2026-04-15 13:33:27 -07:00
committed by gsxdsm
parent d6681d0dc8
commit e874a3ca06
24 changed files with 107 additions and 48 deletions

View File

@@ -16,7 +16,7 @@ Use multi-project mode when you need to:
Multi-project metadata is stored in:
`~/.pi/fusion/fusion-central.db`
`~/.fusion/fusion-central.db`
Core tables:
@@ -86,7 +86,7 @@ Migration is idempotent and designed to avoid repeated re-registration.
If central registry behavior needs to be reverted:
1. Delete `~/.pi/fusion/fusion-central.db`
1. Delete `~/.fusion/fusion-central.db`
2. Keep using per-project `.fusion/fusion.db` data
3. Fusion falls back to legacy/single-project behavior
4. Re-register projects later with `fn init` / `fn project add`