ConfigSandboxOptions
Defined in: cli/datapad/src/with-config-sandbox/with-config-sandbox.type.ts:2
Options for the temporary directory a config is loaded in.
Properties
Section titled “Properties”nodeModules
Section titled “nodeModules”nodeModules:
string
Defined in: cli/datapad/src/with-config-sandbox/with-config-sandbox.type.ts:10
A real node_modules directory to make visible from the sandbox. A config
that does import { defineConfig } from "@theholocron/cli" only resolves
if the directory it sits in has that package reachable by Node’s upward
node_modules search, so the sandbox gets a symlink to this one (not a
copy — nothing is duplicated).
prefix?
Section titled “prefix?”
optionalprefix?:string
Defined in: cli/datapad/src/with-config-sandbox/with-config-sandbox.type.ts:14
Prefix for the sandbox directory’s name.
optionalroot?:string
Defined in: cli/datapad/src/with-config-sandbox/with-config-sandbox.type.ts:12
Where to create the sandbox. Defaults to the OS temp dir.