Skip to content

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.

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).


optional prefix?: string

Defined in: cli/datapad/src/with-config-sandbox/with-config-sandbox.type.ts:14

Prefix for the sandbox directory’s name.


optional root?: 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.