diff --git a/packages/cli/src/lib/config.ts b/packages/cli/src/lib/config.ts index a9e2f63d..7a650bb3 100644 --- a/packages/cli/src/lib/config.ts +++ b/packages/cli/src/lib/config.ts @@ -23,7 +23,7 @@ import {existsSync} from 'fs'; import {promises as fsPromises} from 'fs'; const DEFAULT_CONFIG_FOLDER = join(homedir(), '.bubblewrap'); -const DEFAULT_CONFIG_NAME = 'bubblewrap-config.json'; +const DEFAULT_CONFIG_NAME = 'config.json'; const DEFAULT_CONFIG_FILE_PATH = join(DEFAULT_CONFIG_FOLDER, DEFAULT_CONFIG_NAME); const LEGACY_CONFIG_FOLDER = join(homedir(), '.llama-pack'); const LEGACY_CONFIG_NAME = 'llama-pack-config.json'; diff --git a/packages/cli/src/spec/configSpec.ts b/packages/cli/src/spec/configSpec.ts index 9e6e951b..e49a2334 100644 --- a/packages/cli/src/spec/configSpec.ts +++ b/packages/cli/src/spec/configSpec.ts @@ -23,7 +23,7 @@ import * as mock from 'mock-fs'; import * as inquirer from 'inquirer'; const DEFAULT_CONFIG_FOLDER = join(homedir(), '.bubblewrap'); -const DEFAULT_CONFIG_NAME = 'bubblewrap-config.json'; +const DEFAULT_CONFIG_NAME = 'config.json'; const DEFAULT_CONFIG_FILE_PATH = join(DEFAULT_CONFIG_FOLDER, DEFAULT_CONFIG_NAME); const LEGACY_CONFIG_FOLDER = join(homedir(), '.llama-pack'); const LEGACY_CONFIG_NAME = 'llama-pack-config.json'; @@ -91,7 +91,7 @@ describe('config', () => { 'llama-pack-config.json': '{"content":"some old content"}', }, [DEFAULT_CONFIG_FOLDER]: { - 'bubblewrap-config.json': '{"content":"some new content"}', + 'config.json': '{"content":"some new content"}', }}); await loadOrCreateConfig(); // Checks if both of the files exists.