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:
@@ -458,7 +458,7 @@ vi.mock("@fusion/core", () => ({
|
||||
PluginStore: mocks.pluginStoreCtor,
|
||||
PluginLoader: mocks.pluginLoaderCtor,
|
||||
GlobalSettingsStore: vi.fn().mockImplementation(() => mocks.globalSettingsStoreInstance),
|
||||
resolveGlobalDir: vi.fn().mockReturnValue("/home/user/.pi/fusion"),
|
||||
resolveGlobalDir: vi.fn().mockReturnValue("/home/user/.fusion"),
|
||||
DaemonTokenManager: vi.fn().mockImplementation(() => ({
|
||||
getToken: vi.fn().mockImplementation(() => Promise.resolve(mocks.globalSettingsData.daemonToken as string | undefined)),
|
||||
generateToken: vi.fn().mockImplementation(() => {
|
||||
|
||||
Reference in New Issue
Block a user