Skip to content

Commit

Permalink
refact add publishconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodolfo committed Nov 15, 2023
1 parent 8de11f7 commit 3682785
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
8 changes: 7 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@
"packages/nifti-volume-loader",
"packages/dicomImageLoader"
],
"npmClient": "yarn"
"npmClient": "yarn",
"command": {
"publish": {
"registry": "https://hostname/artifactory/api/npm/npm-repo",
"verifyAccess": false
}
}
}
3 changes: 3 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"url": "https://github.com/RadicalImaging/MCornerstone3D.git",
"directory": "packages/core"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/",
"src/"
Expand Down
4 changes: 3 additions & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"name": "docs",
"version": "1.27.4",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/RadicalImaging/MCornerstone3D.git",
"directory": "packages/docs"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"preinstall": "node preinstall.js",
"build:docs": "cross-env NODE_OPTIONS=--max_old_space_size=16384 yarn run prep-examples && docusaurus build",
Expand Down
3 changes: 3 additions & 0 deletions packages/streaming-image-volume-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"url": "https://github.com/RadicalImaging/MCornerstone3D.git",
"directory": "packages/streaming-image-volume-loader"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/",
"src/"
Expand Down

0 comments on commit 3682785

Please sign in to comment.