( stackName: string = DEFAULT_STACK_NAME, cwd: string = process.cwd(), )
| 35 | export const DEFAULT_STACK_NAME = "hyperframes-default"; |
| 36 | |
| 37 | export function stateFilePath( |
| 38 | stackName: string = DEFAULT_STACK_NAME, |
| 39 | cwd: string = process.cwd(), |
| 40 | ): string { |
| 41 | return join(cwd, STATE_DIR_NAME, `${STATE_FILE_PREFIX}${stackName}.json`); |
| 42 | } |
| 43 | |
| 44 | export function writeStackOutputs(outputs: StackOutputs, cwd: string = process.cwd()): string { |
| 45 | const path = stateFilePath(outputs.stackName, cwd); |
no outgoing calls
no test coverage detected