Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
c2c6c99
fix: ellipse ROI stats (#2368)
m00n620 Oct 6, 2025
2c6dde8
chore(version): version.json [skip ci]
Oct 6, 2025
be47490
chore(version): Update package versions [skip ci]
Oct 6, 2025
e9db49c
chore: update generated version file [skip ci]
Oct 6, 2025
690ec6e
feat(BrushTool): segmentation brush interpolation (#2374)
pedrokohler Oct 7, 2025
3e4f2c3
chore(version): version.json [skip ci]
Oct 7, 2025
d2af0de
chore(version): Update package versions [skip ci]
Oct 7, 2025
b678e3f
chore: update generated version file [skip ci]
Oct 7, 2025
969369a
fix(segmentation): For contour segmentation logical operators, avoid …
jbocce Oct 7, 2025
8698558
chore(version): version.json [skip ci]
Oct 7, 2025
f81b751
chore(version): Update package versions [skip ci]
Oct 7, 2025
d6f57a4
chore: update generated version file [skip ci]
Oct 7, 2025
1850916
fix: limit pan off viewport (#2375)
m00n620 Oct 7, 2025
a10bb48
chore(version): version.json [skip ci]
Oct 7, 2025
eb7a50b
chore(version): Update package versions [skip ci]
Oct 7, 2025
586ad50
chore: update generated version file [skip ci]
Oct 7, 2025
563fc6c
fix(segmentation): Added SEGMENTATION_REPRESENTATION_MODIFIED event l…
jbocce Oct 8, 2025
598f8f4
chore(version): version.json [skip ci]
Oct 8, 2025
378731f
chore(version): Update package versions [skip ci]
Oct 8, 2025
cd5898d
chore: update generated version file [skip ci]
Oct 8, 2025
cfc232c
fix: clear preview segmentation when AI tools are disabled (#2373)
devin-ai-integration[bot] Oct 8, 2025
4e945e4
chore(version): version.json [skip ci]
Oct 8, 2025
721d219
chore(version): Update package versions [skip ci]
Oct 8, 2025
d6c75a3
chore: update generated version file [skip ci]
Oct 8, 2025
7d61b2c
fix(interpolation): Fixed contour segmentation interpolation for spli…
jbocce Oct 9, 2025
fbb2dd7
chore(version): version.json [skip ci]
Oct 9, 2025
362bc5e
chore(version): Update package versions [skip ci]
Oct 9, 2025
81069bb
chore: update generated version file [skip ci]
Oct 9, 2025
89a8db5
fix: Updated BasicStatsCalculator to change from private to protecte…
Devu-trenser Oct 10, 2025
5d4da10
chore(version): version.json [skip ci]
Oct 10, 2025
7fa76e8
chore(version): Update package versions [skip ci]
Oct 10, 2025
4f634db
chore: update generated version file [skip ci]
Oct 10, 2025
222e3a8
fix(bun): Use bun version 1.2.23. (#2390)
jbocce Oct 14, 2025
687983c
chore(version): version.json [skip ci]
Oct 14, 2025
aa51a15
chore(version): Update package versions [skip ci]
Oct 14, 2025
a9b4a8c
chore: update generated version file [skip ci]
Oct 14, 2025
90ed2e9
Fixed issue:- The segments are not removed from the viewport when the…
nithin-trenser Oct 15, 2025
8665941
chore(version): version.json [skip ci]
Oct 15, 2025
c1f3f15
chore(version): Update package versions [skip ci]
Oct 15, 2025
8534f86
chore: update generated version file [skip ci]
Oct 15, 2025
662a8b3
fix: update toLowHighRange function to handle SIGMOID function bounds…
julianlinaress Oct 15, 2025
1d45a46
chore(version): version.json [skip ci]
Oct 15, 2025
594d1be
chore(version): Update package versions [skip ci]
Oct 15, 2025
4a7c39f
chore: update generated version file [skip ci]
Oct 15, 2025
a13fce2
fix(MagnifyTool): Fix MagnifyTool freeze when pressing right click (#…
Celian-abd Oct 16, 2025
3aec54d
chore(version): version.json [skip ci]
Oct 16, 2025
ac07652
chore(version): Update package versions [skip ci]
Oct 16, 2025
6a800e1
chore: update generated version file [skip ci]
Oct 16, 2025
83b4092
fix(segmentation): Lock contour annotations when segment is locked. (…
jbocce Oct 16, 2025
63ec69f
chore(version): version.json [skip ci]
Oct 16, 2025
14c2042
chore(version): Update package versions [skip ci]
Oct 16, 2025
5ce420b
chore: update generated version file [skip ci]
Oct 16, 2025
aa1f6aa
implemented grouping of annotate annotation for undo/redo (#2312)
abhijith-trenser Oct 16, 2025
eedb844
chore(version): version.json [skip ci]
Oct 16, 2025
d5012f6
chore(version): Update package versions [skip ci]
Oct 16, 2025
9d272a9
chore: update generated version file [skip ci]
Oct 16, 2025
15cfdd9
fix(segmentation): Lock added contour annotations when segment is loc…
jbocce Oct 16, 2025
e7257ac
chore(version): version.json [skip ci]
Oct 16, 2025
6afdee7
chore(version): Update package versions [skip ci]
Oct 16, 2025
d1ba756
chore: update generated version file [skip ci]
Oct 16, 2025
d0ea9fd
fix(dicomImageLoader): :bug: set usingDefaultValues in ImagePlane met…
jmannau Oct 16, 2025
2e0e099
chore(version): version.json [skip ci]
Oct 16, 2025
f425bf2
chore(version): Update package versions [skip ci]
Oct 16, 2025
9a1b802
chore: update generated version file [skip ci]
Oct 16, 2025
a47b125
fix: set volume id on creation (#2345) (#2396)
Serhii-Kozik Oct 16, 2025
e49b74d
chore(version): version.json [skip ci]
Oct 16, 2025
e7032c8
chore(version): Update package versions [skip ci]
Oct 16, 2025
881c6bc
chore: update generated version file [skip ci]
Oct 16, 2025
4028207
fix(CrosshairTool): Fix "setToolCenter" to apply the modification to …
Celian-abd Oct 17, 2025
3e34616
chore(version): version.json [skip ci]
Oct 17, 2025
12ec92d
chore(version): Update package versions [skip ci]
Oct 17, 2025
77c3c65
chore: update generated version file [skip ci]
Oct 17, 2025
d3b607c
fix: planar freehand roi perimeter calculation (#2341)
arul-trenser Oct 18, 2025
5a0882c
chore(version): version.json [skip ci]
Oct 18, 2025
c610987
chore(version): Update package versions [skip ci]
Oct 18, 2025
a00e6ed
chore: update generated version file [skip ci]
Oct 18, 2025
ae84d0f
test(dicomImageLoader): Adds unit tests for Wado-URI and Wado-RS Imag…
jmannau Oct 18, 2025
7becd95
chore(version): version.json [skip ci]
Oct 18, 2025
160f630
chore(version): Update package versions [skip ci]
Oct 18, 2025
b4f2778
chore: update generated version file [skip ci]
Oct 18, 2025
1a84852
fix: Wrong position on rehydrate annotation (#2404)
wayfarer3130 Oct 18, 2025
e2292d1
chore(version): version.json [skip ci]
Oct 18, 2025
eac8f1c
chore(version): Update package versions [skip ci]
Oct 18, 2025
b9646c3
chore: update generated version file [skip ci]
Oct 18, 2025
832e0d4
feat: initial version of LengthToolZoom
mcfly3001 Oct 4, 2025
a26413d
feat: abuse volumeAnnoationTools for testing LengthToolZoom
mcfly3001 Oct 4, 2025
4464502
feat: drag handles for placing two points separately
mcfly3001 Oct 4, 2025
c560c33
feat: style idle line
mcfly3001 Oct 4, 2025
e7b15ee
feat: allow groups in SVG drawings
mcfly3001 Oct 5, 2025
85aa525
feat: finalize correct drawing of lines
mcfly3001 Oct 5, 2025
61a8403
feat: place textbox above/below first point
mcfly3001 Oct 5, 2025
2b2ba4f
feat: style textbox
mcfly3001 Oct 5, 2025
95b6134
feat: deselect all annotations on click
mcfly3001 Oct 5, 2025
f9514e7
fix: calculating orange color
mcfly3001 Oct 5, 2025
43d97f5
feat: add border to textbox
mcfly3001 Oct 5, 2025
66b60ac
feat: allow moving textbox without selecting line
mcfly3001 Oct 5, 2025
6c3a3a8
feat: style dashed link line
mcfly3001 Oct 5, 2025
d98b1c9
feat: blue background when moving textbox
mcfly3001 Oct 5, 2025
95e6a11
fix: resolve several linter errors
mcfly3001 Oct 5, 2025
6c0a444
feat: detach textbox when dragging
mcfly3001 Oct 5, 2025
cfb51c4
docs: add notes how to link this repo locally to another project
mcfly3001 Oct 6, 2025
9051888
feat: detach textbox after a certain threshold distance
mcfly3001 Oct 6, 2025
6878857
fix: compile error
mcfly3001 Oct 6, 2025
d9a9fdd
fix: render lines in Safari
mcfly3001 Oct 6, 2025
17deb54
feat: add magnifier lens to LengthToolZoom
mcfly3001 Oct 7, 2025
3a9ecd6
feat: deselect on touch devices
mcfly3001 Oct 7, 2025
9db20d0
fix: lines moving when zooming in or out
mcfly3001 Oct 7, 2025
1fa2925
fix: distortion and wrong centering in magnifier
mcfly3001 Oct 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,13 @@ defaults: &defaults
commands:
install_bun:
steps:
- restore_cache:
keys:
- bun-cache-v2-{{ arch }}-latest
- run:
name: Install Bun
command: |
if [ ! -d "$HOME/.bun" ]; then
curl -fsSL https://bun.sh/install | bash
fi
curl -fsSL https://bun.sh/install | bash -s "bun-v1.2.23"
echo 'export BUN_INSTALL="$HOME/.bun"' >> $BASH_ENV
echo 'export PATH="$BUN_INSTALL/bin:$PATH"' >> $BASH_ENV
source $BASH_ENV
- save_cache:
key: bun-cache-v2-{{ arch }}-latest
paths:
- ~/.bun

jobs:
CHECKOUT:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.2.23
- uses: actions/setup-node@v4
with:
node-version: 20 # Or your desired Node version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docusaurus-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
bun-version: 1.2.23

- name: Install root dependencies
run: bun install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
bun-version: 1.2.23

- name: Install dependencies
run: bun install
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.2.23
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest # Or pin to a specific version like '1.1.18'
bun-version: 1.2.23

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down
120 changes: 120 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,126 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [4.5.19](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.18...v4.5.19) (2025-10-18)

### Bug Fixes

- Wrong position on rehydrate annotation ([#2404](https://github.com/cornerstonejs/cornerstone3D/issues/2404)) ([1a84852](https://github.com/cornerstonejs/cornerstone3D/commit/1a84852e1448bed31925a623c2dbd09f0cab23fb))

## [4.5.18](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.17...v4.5.18) (2025-10-18)

**Note:** Version bump only for package root

## [4.5.17](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.16...v4.5.17) (2025-10-18)

### Bug Fixes

- planar freehand roi perimeter calculation ([#2341](https://github.com/cornerstonejs/cornerstone3D/issues/2341)) ([d3b607c](https://github.com/cornerstonejs/cornerstone3D/commit/d3b607c2596aec33d93cb7f2834c01ca2783b412))

## [4.5.16](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.15...v4.5.16) (2025-10-17)

### Bug Fixes

- **CrosshairTool:** Fix "setToolCenter" to apply the modification to the viewports camera ([#2402](https://github.com/cornerstonejs/cornerstone3D/issues/2402)) ([4028207](https://github.com/cornerstonejs/cornerstone3D/commit/402820739678f8b9db0b2bddd8c03dc447fabc85))

## [4.5.15](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.14...v4.5.15) (2025-10-16)

### Bug Fixes

- set volume id on creation ([#2345](https://github.com/cornerstonejs/cornerstone3D/issues/2345)) ([#2396](https://github.com/cornerstonejs/cornerstone3D/issues/2396)) ([a47b125](https://github.com/cornerstonejs/cornerstone3D/commit/a47b125193743290c8c412cea85c990738c339ab))

## [4.5.14](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.13...v4.5.14) (2025-10-16)

### Bug Fixes

- **dicomImageLoader:** :bug: set usingDefaultValues in ImagePlane metadata module in the WadoUri loader ([#2391](https://github.com/cornerstonejs/cornerstone3D/issues/2391)) ([d0ea9fd](https://github.com/cornerstonejs/cornerstone3D/commit/d0ea9fdbd3af2df8dc538a5bba15ea8a241dfb0e))

## [4.5.13](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.12...v4.5.13) (2025-10-16)

### Bug Fixes

- **segmentation:** Lock added contour annotations when segment is locked ([#2399](https://github.com/cornerstonejs/cornerstone3D/issues/2399)) ([15cfdd9](https://github.com/cornerstonejs/cornerstone3D/commit/15cfdd93ffdc55dfa70f15bec8cb1be15d1290df))

## [4.5.12](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.11...v4.5.12) (2025-10-16)

**Note:** Version bump only for package root

## [4.5.11](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.10...v4.5.11) (2025-10-16)

### Bug Fixes

- **segmentation:** Lock contour annotations when segment is locked. ([#2395](https://github.com/cornerstonejs/cornerstone3D/issues/2395)) ([83b4092](https://github.com/cornerstonejs/cornerstone3D/commit/83b4092d76c6e115adfd12a50d399e96483622a4))

## [4.5.10](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.9...v4.5.10) (2025-10-16)

### Bug Fixes

- **MagnifyTool:** Fix MagnifyTool freeze when pressing right click ([#2388](https://github.com/cornerstonejs/cornerstone3D/issues/2388)) ([a13fce2](https://github.com/cornerstonejs/cornerstone3D/commit/a13fce2d65aa1d5b8de849ddf6255e3d42dc841a))

## [4.5.9](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.8...v4.5.9) (2025-10-15)

### Bug Fixes

- update toLowHighRange function to handle SIGMOID function bounds as a temporary fix ([#2394](https://github.com/cornerstonejs/cornerstone3D/issues/2394)) ([662a8b3](https://github.com/cornerstonejs/cornerstone3D/commit/662a8b3c7b3268557e9787fd6abc67e923ab731b))

## [4.5.8](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.7...v4.5.8) (2025-10-15)

**Note:** Version bump only for package root

## [4.5.7](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.6...v4.5.7) (2025-10-14)

### Bug Fixes

- **bun:** Use bun version 1.2.23. ([#2390](https://github.com/cornerstonejs/cornerstone3D/issues/2390)) ([222e3a8](https://github.com/cornerstonejs/cornerstone3D/commit/222e3a8d7ea0297a4be327df03510d0ab77d938f))

## [4.5.6](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.5...v4.5.6) (2025-10-10)

### Bug Fixes

- Updated BasicStatsCalculator to change from private to protected ([#2382](https://github.com/cornerstonejs/cornerstone3D/issues/2382)) ([89a8db5](https://github.com/cornerstonejs/cornerstone3D/commit/89a8db54bec5b96a61624dcca65464982d5e40b3))

## [4.5.5](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.4...v4.5.5) (2025-10-09)

### Bug Fixes

- **interpolation:** Fixed contour segmentation interpolation for spline contours. ([#2381](https://github.com/cornerstonejs/cornerstone3D/issues/2381)) ([7d61b2c](https://github.com/cornerstonejs/cornerstone3D/commit/7d61b2c7cd1627c34b0547967c5616d01fc29f96))

## [4.5.4](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.3...v4.5.4) (2025-10-08)

### Bug Fixes

- clear preview segmentation when AI tools are disabled ([#2373](https://github.com/cornerstonejs/cornerstone3D/issues/2373)) ([cfc232c](https://github.com/cornerstonejs/cornerstone3D/commit/cfc232c0472aa89eba859d2e2da97af58ca50bfc))

## [4.5.3](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.2...v4.5.3) (2025-10-08)

### Bug Fixes

- **segmentation:** Added SEGMENTATION_REPRESENTATION_MODIFIED event listener to LabelmapEditWithContour tool to ensure a contour representation is added for the tool. ([#2377](https://github.com/cornerstonejs/cornerstone3D/issues/2377)) ([563fc6c](https://github.com/cornerstonejs/cornerstone3D/commit/563fc6c6b8edf987b115b540d4069a2238b88fee))

## [4.5.2](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.1...v4.5.2) (2025-10-07)

### Bug Fixes

- limit pan off viewport ([#2375](https://github.com/cornerstonejs/cornerstone3D/issues/2375)) ([1850916](https://github.com/cornerstonejs/cornerstone3D/commit/18509162c91b4c2be08c61d95ce75dbeeb4329f2))

## [4.5.1](https://github.com/cornerstonejs/cornerstone3D/compare/v4.5.0...v4.5.1) (2025-10-07)

### Bug Fixes

- **segmentation:** For contour segmentation logical operators, avoid updating segment color and label when they are not defined/specified. ([#2376](https://github.com/cornerstonejs/cornerstone3D/issues/2376)) ([969369a](https://github.com/cornerstonejs/cornerstone3D/commit/969369a623ea39ba9740e547fb94867183ec396b))

# [4.5.0](https://github.com/cornerstonejs/cornerstone3D/compare/v4.4.2...v4.5.0) (2025-10-07)

### Features

- **BrushTool:** segmentation brush interpolation ([#2374](https://github.com/cornerstonejs/cornerstone3D/issues/2374)) ([690ec6e](https://github.com/cornerstonejs/cornerstone3D/commit/690ec6e90499b24364c06ad404fd0d2b0c521134))

## [4.4.2](https://github.com/cornerstonejs/cornerstone3D/compare/v4.4.1...v4.4.2) (2025-10-06)

### Bug Fixes

- ellipse ROI stats ([#2368](https://github.com/cornerstonejs/cornerstone3D/issues/2368)) ([c2c6c99](https://github.com/cornerstonejs/cornerstone3D/commit/c2c6c99fc7846677ad28a36f7697fce7744080e8))

## [4.4.1](https://github.com/cornerstonejs/cornerstone3D/compare/v4.4.0...v4.4.1) (2025-10-03)

### Bug Fixes
Expand Down
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,28 @@ Read our guide on [How-to Contribute](https://cornerstonejs.org/docs/category/co
### License

Cornerstone is [MIT licensed](./LICENSE).


## Development notes

For developing locally and instantly testing with another test project, we need
to link this repository to the other project. This can be done as follows:

- In this project:

```
yarn install
yarn build
```

- In the test project: `npm install /path/to/this/repository`
- In this project: `npm link`
- In the test project: `npm link cornerstone-core`


To immediately reload the test project when something changes here (e.g. in the
tools package), run the build server as follow:

```
yarn workspace @cornerstonejs/tools build:esm:watch
```
2 changes: 1 addition & 1 deletion commit.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d859a20051ed92b625d6e71b92d44c2ef9ced79e
1a84852e1448bed31925a623c2dbd09f0cab23fb
59 changes: 58 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@
// @ts-check
const path = require('path');
const os = require('os');

process.env.CHROME_BIN = require('puppeteer').executablePath();

/**
*
* Tests for the dicomImageLoaders require support for Web Workers and loading
* wasm files required for image decoding.
*
* In order to support this, the karma config requires some customisation. This
* is based on
* https://github.com/codymikol/karma-webpack/issues/498#issuecomment-790040818
*
* The changes are:
* - Define a custom output path for webpack to emit files to
* - Serve the output path via a `files` entry in the karma config
*
* Without this, webpack correctly bundles and outputs the worker and wasm
* files, but they can't be loaded by the tests. Trying to load the worker or
* wasm files returns a 404.
*
* Manually create an output path. This is the same as the default
* karma-webpack config
* https://github.com/codymikol/karma-webpack?tab=readme-ov-file#default-webpack-configuration
*/
const outputPath = path.join(os.tmpdir(), '_karma_webpack_') + Math.floor(Math.random() * 1000000)

/** @param {import('karma').Config} config */
module.exports = function (config) {
config.set({
reporters: ['junit', 'coverage', 'spec'],
Expand Down Expand Up @@ -54,7 +80,28 @@ module.exports = function (config) {
files: [
'packages/core/test/**/*_test.js',
'packages/tools/test/**/*_test.js',
// Serve dicomImageLoad test images
{
pattern: 'packages/dicomImageLoader/testImages/**/*',
watched: false,
included: false,
served: true
},
/**
* Required to allow karma to load wasm and worker files built via webpack.
* See the comment at the top of this file for more details.
*/
{
pattern: `${outputPath}/**/*`,
included: false,
served: true,
watched: false
}
],
proxies: {
// Simplified path to access test images in tests
'/testImages/': '/base/packages/dicomImageLoader/testImages/',
},
preprocessors: {
'packages/core/test/**/*_test.js': ['webpack'],
'packages/tools/test/**/*_test.js': ['webpack'],
Expand All @@ -73,6 +120,15 @@ module.exports = function (config) {
webpack: {
devtool: 'eval-source-map',
mode: 'development',
output: {
/**
* Override default karma-webpack output path with the one we defined
* above this allows webpack generated files including wasm and workers
* to be served by karma without this, the default config won't allow
* tests to load web workers or wasm files.
*/
path: outputPath,
},
module: {
rules: [
{
Expand Down Expand Up @@ -115,7 +171,7 @@ module.exports = function (config) {
],
},
experiments: {
asyncWebAssembly: true,
asyncWebAssembly: true
},
resolve: {
extensions: ['.ts', '.tsx', '.js', '.jsx'],
Expand All @@ -126,6 +182,7 @@ module.exports = function (config) {
alias: {
'@cornerstonejs/core': path.resolve('packages/core/src/index'),
'@cornerstonejs/tools': path.resolve('packages/tools/src/index'),
'@cornerstonejs/dicom-image-loader': path.resolve('packages/dicomImageLoader/src/index'),
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "4.4.1",
"version": "4.5.19",
"packages": [
"packages/core",
"packages/tools",
Expand Down
Loading
Loading