From 8b66f91abc95f79e140079142d994af017c8f515 Mon Sep 17 00:00:00 2001 From: Jim Hamill Date: Mon, 13 Jan 2025 02:59:35 +0000 Subject: [PATCH] Specify package is public during publish --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9a57226..1c09282 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,7 @@ publish:development: # Publish Primitives # NOTE: The "sed" command will append the JOB_ID version to the current package.json. # TODO: Simplify this in future or use Lerna's "publish" command. - - (cd ./packages/primitives && sed -i -r "/version/s/([0-9\.]+)/\1-${NPM_TAG}.${CI_JOB_ID}/g" package.json && npm publish --tag ${NPM_TAG}) + - (cd ./packages/primitives && sed -i -r "/version/s/([0-9\.]+)/\1-${NPM_TAG}.${CI_JOB_ID}/g" package.json && npm publish --access public --tag ${NPM_TAG}) only: - development