Skip to content

Commit

Permalink
build(dicom): bump typescript for itk-wasm 1.0.0-b.154
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Nov 9, 2023
1 parent f3d016c commit cefe3a8
Show file tree
Hide file tree
Showing 22 changed files with 173 additions and 623 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.0.0"
__version__ = "5.0.0"

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords = [
"itkwasm",
Expand All @@ -31,7 +32,7 @@ keywords = [

requires-python = ">=3.8"
dependencies = [
"itkwasm >= 1.0.b131",
"itkwasm >= 1.0.b145",
]

[tool.hatch.version]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.0.0"
__version__ = "5.0.0"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.0.0"
__version__ = "5.0.0"
51 changes: 0 additions & 51 deletions packages/dicom/typescript/build/rollup.browser.config.js

This file was deleted.

32 changes: 0 additions & 32 deletions packages/dicom/typescript/build/rollup.node.config.js

This file was deleted.

7 changes: 7 additions & 0 deletions packages/dicom/typescript/build/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,18 @@ export default defineConfig({
outDir: '../../../demo-app',
emptyOutDir: true,
},
worker: {
format: 'es'
},
optimizeDeps: {
exclude: ['itk-wasm', '@itk-wasm/image-io']
},
plugins: [
// put lazy loaded JavaScript and Wasm bundles in dist directory
viteStaticCopy({
targets: [
{ src: '../../../dist/pipelines/*', dest: 'pipelines' },
{ src: '../../../node_modules/@itk-wasm/image-io/dist/pipelines/*.{js,wasm,wasm.zst}', dest: 'pipelines' },
],
})
],
Expand Down
39 changes: 14 additions & 25 deletions packages/dicom/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@itk-wasm/dicom",
"version": "4.0.0",
"version": "5.0.0",
"description": "Read files and images related to DICOM file format.",
"type": "module",
"module": "./dist/bundles/dicom.js",
"types": "./dist/src/index.d.ts",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"browser": "./dist/bundles/dicom.js",
"node": "./dist/bundles/dicom-node.js",
"default": "./dist/bundles/dicom.js"
"types": "./dist/index.d.ts",
"browser": "./dist/index.js",
"node": "./dist/index-node.js",
"default": "./dist/index.js"
}
},
"scripts": {
Expand All @@ -25,9 +25,9 @@
"cypress:open": "npx cypress open",
"cypress:runChrome": "npx cypress run --browser chrome",
"cypress:runFirefox": "npx cypress run --browser firefox",
"build": "npm run build:tsc && npm run build:node && npm run build:browser && npm run build:demo",
"build:node": "rollup -c ./build/rollup.node.config.js",
"build:browser": "rollup -c ./build/rollup.browser.config.js",
"build": "npm run build:tsc && npm run build:browser:workerEmbedded && npm run build:browser:workerEmbeddedMin && npm run build:demo",
"build:browser:workerEmbedded": "esbuild --loader:.worker.js=dataurl --bundle --format=esm --outfile=./dist/bundle/index-worker-embedded.js ./src/index-worker-embedded.ts",
"build:browser:workerEmbeddedMin": "esbuild --minify --loader:.worker.js=dataurl --bundle --format=esm --outfile=./dist/bundle/index-worker-embedded.min.js ./src/index-worker-embedded.min.ts",
"build:tsc": "tsc --pretty",
"build:demo": "npm run copyShoelaceAssets && vite -c build/vite.config.js build"
},
Expand All @@ -39,30 +39,19 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"itk-wasm": "^1.0.0-b.149"
"itk-wasm": "^1.0.0-b.154"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.1.1",
"@itk-wasm/image-io": "^0.4.0",
"@shoelace-style/shoelace": "^2.5.2",
"@types/node": "^20.2.5",
"ava": "^5.1.0",
"cypress": "^12.17.2",
"itk-image-io": "^1.0.0-b.149",
"rollup": "^3.9.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-ignore": "^1.0.10",
"rollup-plugin-polyfill-node": "^0.12.0",
"shx": "^0.3.4",
"start-server-and-test": "^2.0.0",
"supports-color": "^9.3.1",
"tslib": "^2.5.2",
"typescript": "^5.1.6",
"vite": "^4.1.5",
"vite-plugin-static-copy": "^0.14.0"
"vite": "^4.4.11",
"vite-plugin-static-copy": "^0.17.0"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit cefe3a8

Please sign in to comment.