Skip to content

createNodeSyncDependencies

Creates the sync’s outside world: commands run with spawnSync, JSON fetched with fetch, output to stdout. GITHUB_TOKEN, when set, is sent to the GitHub API and nowhere else.

Import:

import { createNodeSyncDependencies } from '@mnaoumov/typescript-dev-toolkit/upstream-sync-cli';

Signature:

function createNodeSyncDependencies(): SyncDependencies

Returns: SyncDependencies — The dependencies.