From 36944eb7719d276328f7c2572a5a915dd4d1c816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Chalk?= Date: Wed, 2 Oct 2024 11:16:01 +0200 Subject: [PATCH] chore: ensure public access is configured for published packages --- esbuild.config.js | 1 + packages/nx-plugin/package.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/esbuild.config.js b/esbuild.config.js index ad7f3ad4d..0f98eaf15 100644 --- a/esbuild.config.js +++ b/esbuild.config.js @@ -108,6 +108,7 @@ module.exports = { directory: project.data.root, }; packageJson.contributors = rootPackageJson.contributors; + packageJson.publishConfig = { access: 'public' }; packageJson.type = 'module'; packageJson.main = './index.js'; packageJson.types = './src/index.d.ts'; diff --git a/packages/nx-plugin/package.json b/packages/nx-plugin/package.json index 864f5cb37..7e6da5246 100644 --- a/packages/nx-plugin/package.json +++ b/packages/nx-plugin/package.json @@ -3,6 +3,9 @@ "version": "0.51.0", "license": "MIT", "description": "Nx plugin to integrate the Code PushUp CLI into your workspace 🛠️", + "publishConfig": { + "access": "public" + }, "homepage": "code-pushup.dev", "bugs": { "url": "https://github.com/code-pushup/cli/issues"