/** * Local npm registry manager. * * Manages a Verdaccio Docker container for publishing and installing * @ory packages locally. Completely ephemeral — the * container is started with `--rm` and all state lives under * `.ory-dev/registry/` on the host, bind-mounted into the container. * * Uses one detached, auto-removed container with idempotent startup and * removal via `docker rm -f`. */ /** * Per-registry npm cache directory. * * Isolating npm's pacote cache here is the only way to keep republishing * the same version reliably — npm caches manifests by URL, so the user's * `~/.npm` would otherwise serve stale "this version exists" answers to * pnpm publish/npm install even after we drop the version from Verdaccio. */ export declare function getLocalRegistryNpmCacheDir(): string; /** * Start the local registry if it isn't already running. */ export declare function ensureRegistryRunning(): Promise; export declare function registryStart(): Promise; export declare function registryStop(): Promise; export declare function registryStatus(): Promise; export declare function registryPublish(): Promise; /** Start the local registry and publish a coherent development package set. */ export declare function registryDev(): Promise; export declare function registryClean(): Promise; export declare function registryNpmrc(): Promise;