From 6d90f49ce57576f7aebff14370a5ca2818f46386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erdem=20K=C3=B6=C5=9Fk?= Date: Sun, 19 Nov 2023 03:07:42 +0300 Subject: [PATCH] [hotfix] Changed file paths --- lib/command/CommandInvoker.ts | 2 +- lib/command/commandTypes/CompareCommand.ts | 2 +- lib/command/commandTypes/LsCommand.ts | 2 +- lib/command/commandTypes/RestoreCommand.ts | 2 +- lib/command/commandTypes/RevertCommand.ts | 2 +- lib/command/commandTypes/SyncCommand.ts | 2 +- lib/command/commandTypes/UpdateAllCommand.ts | 2 +- lib/command/commandTypes/UpdateCommand.ts | 2 +- lib/command/index.ts | 18 +++++++++--------- package-lock.json | 4 ++-- 10 files changed, 19 insertions(+), 19 deletions(-) diff --git a/lib/command/CommandInvoker.ts b/lib/command/CommandInvoker.ts index 04a0d72..5660a53 100644 --- a/lib/command/CommandInvoker.ts +++ b/lib/command/CommandInvoker.ts @@ -1,4 +1,4 @@ -import { type Command } from './command' +import { type Command } from './Command' // eslint-disable-next-line @typescript-eslint/no-extraneous-class export class CommandInvoker { diff --git a/lib/command/commandTypes/CompareCommand.ts b/lib/command/commandTypes/CompareCommand.ts index 90fba8a..d79f9db 100644 --- a/lib/command/commandTypes/CompareCommand.ts +++ b/lib/command/commandTypes/CompareCommand.ts @@ -1,4 +1,4 @@ -import { Command } from '../command' +import { Command } from '../Command' import { compareEnvFiles } from '../../handler/envHandler' import { getEnvFilesRecursively } from '../../handler/fileHandler' import Table from 'cli-table3' diff --git a/lib/command/commandTypes/LsCommand.ts b/lib/command/commandTypes/LsCommand.ts index e2a8ba0..afd0f6b 100644 --- a/lib/command/commandTypes/LsCommand.ts +++ b/lib/command/commandTypes/LsCommand.ts @@ -1,4 +1,4 @@ -import { Command } from '../command' +import { Command } from '../Command' import { getValuesInEnv } from '../../handler/envHandler' import { getEnvFilesRecursively } from '../../handler/fileHandler' import Table from 'cli-table3' diff --git a/lib/command/commandTypes/RestoreCommand.ts b/lib/command/commandTypes/RestoreCommand.ts index bad7711..a93f6d7 100644 --- a/lib/command/commandTypes/RestoreCommand.ts +++ b/lib/command/commandTypes/RestoreCommand.ts @@ -1,4 +1,4 @@ -import { Command } from '../command' +import { Command } from '../Command' import { restoreEnvFile } from '../../handler/envHandler' import chalk from 'chalk' diff --git a/lib/command/commandTypes/RevertCommand.ts b/lib/command/commandTypes/RevertCommand.ts index b86eb6e..ea1bab4 100644 --- a/lib/command/commandTypes/RevertCommand.ts +++ b/lib/command/commandTypes/RevertCommand.ts @@ -1,4 +1,4 @@ -import { Command } from '../command' +import { Command } from '../Command' import { updateEnvFile, getUniqueEnvNames } from '../../handler/envHandler' import { getEnvFilesRecursively } from '../../handler/fileHandler' import { getEnvVersions } from '../../handler/historyHandler' diff --git a/lib/command/commandTypes/SyncCommand.ts b/lib/command/commandTypes/SyncCommand.ts index 0b002d6..9636a22 100644 --- a/lib/command/commandTypes/SyncCommand.ts +++ b/lib/command/commandTypes/SyncCommand.ts @@ -1,4 +1,4 @@ -import { Command } from '../command' +import { Command } from '../Command' import { syncEnvFile } from '../../handler/envHandler' import chalk from 'chalk' diff --git a/lib/command/commandTypes/UpdateAllCommand.ts b/lib/command/commandTypes/UpdateAllCommand.ts index f967d95..6f03506 100644 --- a/lib/command/commandTypes/UpdateAllCommand.ts +++ b/lib/command/commandTypes/UpdateAllCommand.ts @@ -1,4 +1,4 @@ -import { Command } from '../command' +import { Command } from '../Command' import { updateAllEnvFile, promptForEnvVariable } from '../../handler/envHandler' import chalk from 'chalk' import inquirer from 'inquirer' diff --git a/lib/command/commandTypes/UpdateCommand.ts b/lib/command/commandTypes/UpdateCommand.ts index 007395c..feed3c8 100644 --- a/lib/command/commandTypes/UpdateCommand.ts +++ b/lib/command/commandTypes/UpdateCommand.ts @@ -1,4 +1,4 @@ -import { Command } from '../command' +import { Command } from '../Command' import { getUniqueEnvNames, updateEnvFile } from '../../handler/envHandler' import { getEnvFilesRecursively } from '../../handler/fileHandler' import chalk from 'chalk' diff --git a/lib/command/index.ts b/lib/command/index.ts index 6d38c84..660085f 100644 --- a/lib/command/index.ts +++ b/lib/command/index.ts @@ -1,10 +1,10 @@ -export * from './commandTypes/lsCommand' -export * from './commandTypes/syncCommand' -export * from './commandTypes/updateAllCommand' -export * from './commandTypes/updateCommand' -export * from './commandTypes/compareCommand' -export * from './commandTypes/revertCommand' -export * from './commandTypes/restoreCommand' -export * from './commandInvoker' -export * from './command' +export * from './commandTypes/LsCommand' +export * from './commandTypes/SyncCommand' +export * from './commandTypes/UpdateAllCommand' +export * from './commandTypes/UpdateCommand' +export * from './commandTypes/CompareCommand' +export * from './commandTypes/RevertCommand' +export * from './commandTypes/RestoreCommand' +export * from './CommandInvoker' +export * from './Command' export * from './commandFactory' diff --git a/package-lock.json b/package-lock.json index 3015777..1580344 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "envolve", - "version": "1.1.2", + "version": "1.1.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "envolve", - "version": "1.1.2", + "version": "1.1.3", "license": "ISC", "dependencies": { "chalk": "4.0.0",