Skip to content

Instantly share code, notes, and snippets.

View timgremore's full-sized avatar

Tim Gremore timgremore

View GitHub Profile
const { spawn } = require('child_process');
const path = require('path');
const fs = require('fs').promises;
const fsSync = require('fs');
const util = require('util');
const exec = util.promisify(require('child_process').exec);
/**
* @typedef {Object} PublishResult
* @property {string} packageName - Name of the package