checkPublishConfig = (publishConfig) => {
    if (!publishConfig || publishConfig.access !== "public") {
        console.error("ERROR: Missing a \"publishConfig\": {\"access\": \"public\"} section.");
        process.exit(1);
    }
}
Pre-publish checks to verify that our publish will go smoothly.