fix(extension-dicom-microscopy): bump microscopy and ohif-core deps, scope package name (#513)

This commit is contained in:
Biharck Araujo 2019-06-04 03:54:02 -03:00 committed by Erik Ziegler
parent bd2fa615cc
commit 9c58ea8f55
6 changed files with 226 additions and 5706 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "ohif-dicom-microscopy-extension", "name": "@ohif/extension-dicom-microscopy",
"version": "0.0.5", "version": "0.0.6",
"description": "OHIF extension for Dicom Microscopy", "description": "OHIF extension for Dicom Microscopy",
"author": "OHIF", "author": "OHIF",
"license": "MIT", "license": "MIT",
@ -21,7 +21,7 @@
"peerDependencies": { "peerDependencies": {
"react": "^15.0.0 || ^16.0.0", "react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0", "react-dom": "^15.0.0 || ^16.0.0",
"ohif-core": "^0.2.6" "ohif-core": "^0.4.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.2.2", "@babel/core": "^7.2.2",
@ -75,9 +75,12 @@
"files": [ "files": [
"dist" "dist"
], ],
"publishConfig": {
"access": "public"
},
"dependencies": { "dependencies": {
"@babel/runtime": "^7.2.0", "@babel/runtime": "^7.2.0",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"dicom-microscopy-viewer": "^0.2.0" "dicom-microscopy-viewer": "^0.4.3"
} }
} }

View File

@ -1,18 +1,18 @@
import babel from 'rollup-plugin-babel' import babel from 'rollup-plugin-babel';
import commonjs from 'rollup-plugin-commonjs' import commonjs from 'rollup-plugin-commonjs';
import external from 'rollup-plugin-peer-deps-external' import external from 'rollup-plugin-peer-deps-external';
import postcss from 'rollup-plugin-postcss' import postcss from 'rollup-plugin-postcss';
import resolve from 'rollup-plugin-node-resolve' import resolve from 'rollup-plugin-node-resolve';
import url from 'rollup-plugin-url' import url from 'rollup-plugin-url';
import pkg from './package.json' import pkg from './package.json';
// Deal with https://github.com/rollup/rollup-plugin-commonjs/issues/297 // Deal with https://github.com/rollup/rollup-plugin-commonjs/issues/297
import builtins from 'rollup-plugin-node-builtins'; import builtins from 'rollup-plugin-node-builtins';
const globals = { const globals = {
'react': 'React', react: 'React',
'react-dom': 'ReactDOM', 'react-dom': 'ReactDOM',
'ohif-core': 'OHIF' 'ohif-core': 'OHIF'
} };
export default { export default {
input: 'src/index.js', input: 'src/index.js',
@ -40,19 +40,21 @@ export default {
url(), url(),
babel({ babel({
exclude: 'node_modules/**', exclude: 'node_modules/**',
plugins: [ '@babel/external-helpers' ], plugins: ['@babel/external-helpers'],
externalHelpers: true, externalHelpers: true,
runtimeHelpers: true runtimeHelpers: true
}), }),
resolve(), resolve(),
commonjs({ commonjs({
include: 'node_modules/**',
namedExports: { namedExports: {
'node_modules/dicom-microscopy-viewer/build/dicom-microscopy-viewer.js': [ 'node_modules/dicom-microscopy-viewer/build/dicom-microscopy-viewer.js': [
'api' 'api'
] ],
'.yalc/dicom-microscopy-viewer/build/dicom-microscopy-viewer.js': [
'api'
]
} }
}) })
], ],
external: Object.keys(pkg.peerDependencies || {}), external: Object.keys(pkg.peerDependencies || {})
} };

File diff suppressed because it is too large Load Diff

View File

@ -67,6 +67,7 @@
"@babel/polyfill": "^7.2.5", "@babel/polyfill": "^7.2.5",
"@babel/runtime": "^7.2.0", "@babel/runtime": "^7.2.0",
"@ohif/extension-cornerstone": "0.0.34", "@ohif/extension-cornerstone": "0.0.34",
"@ohif/extension-dicom-microscopy": "0.0.6",
"@ohif/extension-vtk": "0.0.2", "@ohif/extension-vtk": "0.0.2",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"cornerstone-core": "^2.2.8", "cornerstone-core": "^2.2.8",
@ -81,7 +82,6 @@
"moment": "^2.24.0", "moment": "^2.24.0",
"ohif-core": "0.5.5", "ohif-core": "0.5.5",
"ohif-dicom-html-extension": "^0.0.2", "ohif-dicom-html-extension": "^0.0.2",
"ohif-dicom-microscopy-extension": "^0.0.5",
"ohif-dicom-pdf-extension": "^0.0.6", "ohif-dicom-pdf-extension": "^0.0.6",
"oidc-client": "1.7.x", "oidc-client": "1.7.x",
"prop-types": "^15.6.2", "prop-types": "^15.6.2",

View File

@ -13,7 +13,7 @@ import ConnectedToolContextMenu from './connectedComponents/ConnectedToolContext
import OHIF from 'ohif-core'; import OHIF from 'ohif-core';
import OHIFCornerstoneExtension from '@ohif/extension-cornerstone'; import OHIFCornerstoneExtension from '@ohif/extension-cornerstone';
import OHIFDicomHtmlExtension from 'ohif-dicom-html-extension'; import OHIFDicomHtmlExtension from 'ohif-dicom-html-extension';
import OHIFDicomMicroscopyExtension from 'ohif-dicom-microscopy-extension'; import OHIFDicomMicroscopyExtension from '@ohif/extension-dicom-microscopy';
import OHIFDicomPDFExtension from 'ohif-dicom-pdf-extension'; import OHIFDicomPDFExtension from 'ohif-dicom-pdf-extension';
import OHIFStandaloneViewer from './OHIFStandaloneViewer'; import OHIFStandaloneViewer from './OHIFStandaloneViewer';
import OHIFVTKExtension from '@ohif/extension-vtk'; import OHIFVTKExtension from '@ohif/extension-vtk';

View File

@ -1024,6 +1024,15 @@
lodash.throttle "^4.1.1" lodash.throttle "^4.1.1"
react-cornerstone-viewport "0.1.29" react-cornerstone-viewport "0.1.29"
"@ohif/extension-dicom-microscopy@0.0.6":
version "0.0.6"
resolved "https://registry.yarnpkg.com/@ohif/extension-dicom-microscopy/-/extension-dicom-microscopy-0.0.6.tgz#18e0c128689695a7af505bc3dd7ede97df7f8be2"
integrity sha512-5On3GdZgeyMse2CKI0sbxJJ269IqlFXZ0Wi+8+D9lsp0Wdt2AOx15ZmmFA9MJ6GGluMHNrrTY2gZBwLyLUZyRw==
dependencies:
"@babel/runtime" "^7.2.0"
classnames "^2.2.6"
dicom-microscopy-viewer "^0.4.3"
"@ohif/extension-vtk@0.0.2": "@ohif/extension-vtk@0.0.2":
version "0.0.2" version "0.0.2"
resolved "https://registry.yarnpkg.com/@ohif/extension-vtk/-/extension-vtk-0.0.2.tgz#99f0ea796ddae14d7e64cff958c0656b5d964f4e" resolved "https://registry.yarnpkg.com/@ohif/extension-vtk/-/extension-vtk-0.0.2.tgz#99f0ea796ddae14d7e64cff958c0656b5d964f4e"
@ -4187,12 +4196,12 @@ dezalgo@^1.0.0, dezalgo@~1.0.3:
asap "^2.0.0" asap "^2.0.0"
wrappy "1" wrappy "1"
dicom-microscopy-viewer@^0.2.0: dicom-microscopy-viewer@^0.4.3:
version "0.2.0" version "0.4.3"
resolved "https://registry.yarnpkg.com/dicom-microscopy-viewer/-/dicom-microscopy-viewer-0.2.0.tgz#3281fccdab99eb96e7f19e18adddf567a8c15b06" resolved "https://registry.yarnpkg.com/dicom-microscopy-viewer/-/dicom-microscopy-viewer-0.4.3.tgz#defaa821026765bcd109b97258742df72a9b92bb"
integrity sha512-niNZBUy7S6bk5AJ/8D02xFi3YFt579P5i9wBE6NVcP7GIAIzM+gceG1dwyj0/VxG9K0wqKE/t12SxDuhSzxPRA== integrity sha512-PjT3qH0hv6dKOQzXFIHw4w/d8QCbiUOJOGZHvAkkRvnjeNRP7/ri8vbFvcSev+nYxKskNb1Tn0xd1+dsDpPGNw==
dependencies: dependencies:
dicomweb-client "^0.4.0" dicomweb-client "^0.4.2"
ol "^5.3.0" ol "^5.3.0"
dicom-parser@^1.8.1, dicom-parser@^1.8.3: dicom-parser@^1.8.1, dicom-parser@^1.8.3:
@ -4200,7 +4209,7 @@ dicom-parser@^1.8.1, dicom-parser@^1.8.3:
resolved "https://registry.yarnpkg.com/dicom-parser/-/dicom-parser-1.8.3.tgz#6e4b862898112304db30143147562011c1ce6a4d" resolved "https://registry.yarnpkg.com/dicom-parser/-/dicom-parser-1.8.3.tgz#6e4b862898112304db30143147562011c1ce6a4d"
integrity sha512-CMeUr+jea7Ml70N+/Z5Pd2MYtvLp6IU+TnvdLe6VRVKzZuTeYLYyuAQa9R+sFK4v4N39hig+hKHN+Wfi9sQ6GA== integrity sha512-CMeUr+jea7Ml70N+/Z5Pd2MYtvLp6IU+TnvdLe6VRVKzZuTeYLYyuAQa9R+sFK4v4N39hig+hKHN+Wfi9sQ6GA==
dicomweb-client@^0.4.0, dicomweb-client@^0.4.2: dicomweb-client@^0.4.2:
version "0.4.2" version "0.4.2"
resolved "https://registry.yarnpkg.com/dicomweb-client/-/dicomweb-client-0.4.2.tgz#f1f5167d935810423ad2599e5160306bde2458ed" resolved "https://registry.yarnpkg.com/dicomweb-client/-/dicomweb-client-0.4.2.tgz#f1f5167d935810423ad2599e5160306bde2458ed"
integrity sha512-Raf2SVjWDrNaVIVt4CmfXWdKVacyEX5ux+pY2Qop0mhluG+OiCkbnESljz4PjglFRnprETEk6C0ELGDru0haew== integrity sha512-Raf2SVjWDrNaVIVt4CmfXWdKVacyEX5ux+pY2Qop0mhluG+OiCkbnESljz4PjglFRnprETEk6C0ELGDru0haew==
@ -9714,15 +9723,6 @@ ohif-dicom-html-extension@^0.0.2:
dependencies: dependencies:
"@babel/runtime" "^7.2.0" "@babel/runtime" "^7.2.0"
ohif-dicom-microscopy-extension@^0.0.5:
version "0.0.5"
resolved "https://registry.yarnpkg.com/ohif-dicom-microscopy-extension/-/ohif-dicom-microscopy-extension-0.0.5.tgz#c61ca7ae9bfae25de8c964a436ea95187ec98de8"
integrity sha512-FyqeS+Vt0P+W7VX0wrlEzkDqVXC1NTM/U4xJz+b3Cuv4MJEAZCqlE3zGnpxRIOxq/VzfjKrtVxHr8jEUlb9GwQ==
dependencies:
"@babel/runtime" "^7.2.0"
classnames "^2.2.6"
dicom-microscopy-viewer "^0.2.0"
ohif-dicom-pdf-extension@^0.0.6: ohif-dicom-pdf-extension@^0.0.6:
version "0.0.6" version "0.0.6"
resolved "https://registry.yarnpkg.com/ohif-dicom-pdf-extension/-/ohif-dicom-pdf-extension-0.0.6.tgz#5c1c1bf955d160dda01c36c4ed899d8e65384d63" resolved "https://registry.yarnpkg.com/ohif-dicom-pdf-extension/-/ohif-dicom-pdf-extension-0.0.6.tgz#5c1c1bf955d160dda01c36c4ed899d8e65384d63"