From a387a5f044dd5ee37fe92083a365819e72c6b192 Mon Sep 17 00:00:00 2001 From: Adam Shaw Date: Sun, 7 Jan 2024 04:59:35 -0500 Subject: [PATCH] protect against public publishing --- packages/temporal-polyfill/package.json | 1 + packages/temporal-polyfill/scripts/pkg-json.js | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/temporal-polyfill/package.json b/packages/temporal-polyfill/package.json index 794f74bd..fcf954dc 100644 --- a/packages/temporal-polyfill/package.json +++ b/packages/temporal-polyfill/package.json @@ -1,4 +1,5 @@ { + "private": true, "name": "temporal-polyfill", "version": "0.2.0", "title": "Temporal Polyfill", diff --git a/packages/temporal-polyfill/scripts/pkg-json.js b/packages/temporal-polyfill/scripts/pkg-json.js index 08dc69fd..c85ce8d7 100755 --- a/packages/temporal-polyfill/scripts/pkg-json.js +++ b/packages/temporal-polyfill/scripts/pkg-json.js @@ -34,6 +34,7 @@ async function writePkgJson(pkgDir) { distPkgJson.unpkg = distPkgJson.jsdelivr = './global.min.js' distPkgJson.exports = distExportMap + delete distPkgJson.private delete distPkgJson.scripts delete distPkgJson.buildConfig delete distPkgJson.publishConfig