Skip to content

Commit

Permalink
feat rename package name to be in conformance to ghp. Updated build c…
Browse files Browse the repository at this point in the history
…onfiguration
  • Loading branch information
Rodolfo committed Nov 16, 2023
1 parent ef30d98 commit 22bf086
Show file tree
Hide file tree
Showing 11 changed files with 6,854 additions and 6,094 deletions.
8 changes: 7 additions & 1 deletion .webpack/webpack.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ module.exports = (env, argv, { DIST_DIR }) => {
extensions: ['.ts', '.tsx', '.js', '.jsx'],
alias: {
'@cornerstonejs/dicom-image-loader':
'@cornerstonejs/dicom-image-loader/dist/dynamic-import/cornerstoneDICOMImageLoader.min.js',
'@radicalimaging/mcornerstone3d-dicom-image-loader/dist/dynamic-import/cornerstoneDICOMImageLoader.min.js',
'@cornerstonejs/adapters': "@radicalimaging/mcornerstone3d-adapters",
'@cornerstonejs/core': "@radicalimaging/mcornerstone3d-core",
'@cornerstonejs/tools': "@radicalimaging/mcornerstone3d-tools",
'@cornerstonejs/streaming-image-volume-loader': "@radicalimaging/mcornerstone3d-streaming-image-volume-loader",
'@cornerstonejs/nifti-volume-loader': "@radicalimaging/mcornerstone3d-nifti-volume-loader"

},
fallback: {
fs: false,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@cornerstonejs/root",
"name": "@radicalimaging/mcornerstone-root",
"version": "1.0.0",
"description": "Cornerstone.js Monorepo Root",
"private": true,
Expand Down
13 changes: 5 additions & 8 deletions packages/adapters/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@radicalimaging/adapters",
"name": "@radicalimaging/mcornerstone3d-adapters",
"version": "1.27.4",
"description": "Adapters for Cornerstone3D to/from formats including DICOM SR and others",
"src": "src/index.ts",
"main": "./dist/@cornerstonejs/adapters.es.js",
"main": "./dist/adapters.es.js",
"module": "src/index.ts",
"files": [
"dist"
Expand All @@ -16,9 +16,6 @@
"import": "./dist/adapters.es.js"
},
"types": "./dist/types/index.d.ts",
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "jest --testTimeout 60000",
"build": "rollup -c rollup.config.mjs",
Expand Down Expand Up @@ -51,8 +48,8 @@
"ndarray": "^1.0.19"
},
"devDependencies": {
"@cornerstonejs/core": "^1.27.4",
"@cornerstonejs/streaming-image-volume-loader": "^1.27.4",
"@cornerstonejs/tools": "^1.27.4"
"@radicalimaging/mcornerstone3d-core": "^1.27.4",
"@radicalimaging/mcornerstone3d-streaming-image-volume-loader": "^1.27.4",
"@radicalimaging/mcornerstone3d-tools": "^1.27.4"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@cornerstonejs/core",
"name": "@radicalimaging/mcornerstone3d-core",
"version": "1.27.4",
"description": "",
"main": "src/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/dicomImageLoader/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@cornerstonejs/dicom-image-loader",
"name": "@radicalimaging/mcornerstone3d-dicom-image-loader",
"version": "1.27.4",
"description": "Cornerstone Image Loader for DICOM WADO-URI and WADO-RS and Local file",
"keywords": [
Expand Down Expand Up @@ -66,7 +66,7 @@
"@cornerstonejs/codec-libjpeg-turbo-8bit": "^1.2.2",
"@cornerstonejs/codec-openjpeg": "^1.2.2",
"@cornerstonejs/codec-openjph": "^2.4.2",
"@cornerstonejs/core": "^1.27.4",
"@radicalimaging/mcornerstone3d-core": "^1.27.4",
"dicom-parser": "^1.8.9",
"pako": "^2.0.4",
"uuid": "^9.0.0"
Expand Down
12 changes: 6 additions & 6 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@cornerstonejs/adapters": "^1.27.4",
"@cornerstonejs/core": "^1.27.4",
"@cornerstonejs/dicom-image-loader": "^1.27.4",
"@cornerstonejs/nifti-volume-loader": "^1.27.4",
"@cornerstonejs/streaming-image-volume-loader": "^1.27.4",
"@cornerstonejs/tools": "^1.27.4",
"@radicalimaging/mcornerstone3d-adapters": "^1.27.4",
"@radicalimaging/mcornerstone3d-core": "^1.27.4",
"@radicalimaging/mcornerstone3d-dicom-image-loader": "^1.27.4",
"@radicalimaging/mcornerstone3d-nifti-volume-loader": "^1.27.4",
"@radicalimaging/mcornerstone3d-streaming-image-volume-loader": "^1.27.4",
"@radicalimaging/mcornerstone3d-tools": "^1.27.4",
"@docusaurus/core": "2.3.1",
"@docusaurus/module-type-aliases": "2.3.1",
"@docusaurus/plugin-google-gtag": "2.3.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/nifti-volume-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@cornerstonejs/nifti-volume-loader",
"name": "@radicalimaging/mcornerstone3d-nifti-volume-loader",
"version": "1.27.4",
"description": "",
"main": "dist/umd/index.js",
Expand Down Expand Up @@ -33,7 +33,7 @@
"webpack:watch": "webpack --mode development --progress --watch --config ./.webpack/webpack.dev.js"
},
"dependencies": {
"@cornerstonejs/core": "^1.27.4",
"@radicalimaging/mcornerstone3d-core": "^1.27.4",
"nifti-reader-js": "^0.6.6"
},
"contributors": [
Expand Down
4 changes: 2 additions & 2 deletions packages/streaming-image-volume-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@cornerstonejs/streaming-image-volume-loader",
"name": "@radicalimaging/mcornerstone3d-streaming-image-volume-loader",
"version": "1.27.4",
"description": "",
"main": "src/index.ts",
Expand Down Expand Up @@ -35,7 +35,7 @@
"webpack:watch": "webpack --mode development --progress --watch --config ./.webpack/webpack.dev.js"
},
"dependencies": {
"@cornerstonejs/core": "^1.27.4"
"@radicalimaging/mcornerstone3d-core": "^1.27.4"
},
"contributors": [
{
Expand Down
4 changes: 2 additions & 2 deletions packages/tools/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@cornerstonejs/tools",
"name": "@radicalimaging/mcornerstone3d-tools",
"version": "1.27.4",
"description": "Cornerstone3D Tools",
"main": "src/index.ts",
Expand Down Expand Up @@ -33,7 +33,7 @@
"webpack:watch": "webpack --mode development --progress --watch --config ./.webpack/webpack.dev.js"
},
"dependencies": {
"@cornerstonejs/core": "^1.27.4",
"@radicalimaging/mcornerstone3d-core": "^1.27.4",
"lodash.clonedeep": "4.5.0",
"lodash.get": "^4.4.2"
},
Expand Down
10 changes: 9 additions & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@
"strictNullChecks": false,
"target": "es5", // esnext | es5
"downlevelIteration": true,
"resolveJsonModule": true
"traceResolution": true,
"paths": {
"@cornerstonejs/adapters": ["./packages/adapters/"],
"@cornerstonejs/core": ["./packages/core/"],
"@cornerstonejs/tools": ["./packages/tools/"],
"@cornerstonejs/dicomImageLoader": ["./packages/dicomImageLoader/"],
"@cornerstonejs/nifti-volume-loader": ["./packages/nifti-volume-loader/"],
"@cornerstonejs/streaming-image-volume-loader": ["./packages/streaming-image-volume-loader/"],
}
},
"exclude": [
"node_modules",
Expand Down
Loading

0 comments on commit 22bf086

Please sign in to comment.