Skip to content

Commit

Permalink
chore: change temporary cache dir
Browse files Browse the repository at this point in the history
BREAKING CHANGE: change temporary cache dir from .takomo-cache to .takomo/cache
  • Loading branch information
hmeltaus committed Mar 13, 2023
1 parent 25dbe75 commit d8a61d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/takomo-config-repository-fs/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export const CONFIG_SETS_DIR = "config-sets"
export const DEFAULT_DEPLOYMENT_CONFIG_FILE = "targets.yml"
export const STACK_GROUP_CONFIG_FILE_NAME = "config.yml"
export const TAKOMO_PROJECT_CONFIG_FILE_NAME = "takomo.yml"
export const CACHE_DIR = ".takomo-cache"
export const CACHE_DIR = "cache"
export const TMP_DIR = ".takomo"

export interface ProjectFilePaths {
readonly projectDir: FilePath
Expand Down Expand Up @@ -56,5 +57,5 @@ export const createProjectFilePaths = (
defaultDeploymentConfigFileName: DEFAULT_DEPLOYMENT_CONFIG_FILE,
deploymentDir: path.join(projectDir, DEPLOYMENT_DIR),
configSetsDir: path.join(projectDir, CONFIG_SETS_DIR),
cacheDir: path.join(projectDir, CACHE_DIR),
cacheDir: path.join(projectDir, TMP_DIR, CACHE_DIR),
})

0 comments on commit d8a61d8

Please sign in to comment.