productionFile

tcmts.studio.productionFile · #iomx2ddo · term · runs on the server

uses node:path

Where the studio keeps production's address and traces token (.tcm/studio/production.json, only its user reads it), and when its traces were last fetched.

import type { Codebase } from "#codebase/tcmts/cli/codebase";
import path from "node:path";

export const productionFile = (cb: Codebase): string =>
  path.join(cb.lay.tcmDir, "studio", "production.json")

uses

used by