Specify package is public during publish

This commit is contained in:
Jim Hamill
2025-01-13 02:59:35 +00:00
parent 0dd62c80a3
commit 8b66f91abc
+1 -1
View File
@@ -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