@abi-software/scaffoldvuer 1.17.1-beta.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "name": "@abi-software/scaffoldvuer",
3
- "version": "1.17.1-beta.0",
3
+ "version": "1.18.0",
4
4
  "license": "Apache-2.0",
5
+ "engines": {
6
+ "node": ">=20"
7
+ },
5
8
  "repository": {
6
9
  "type": "git",
7
10
  "url": "https://github.com/ABI-Software/scaffoldvuer.git"
@@ -41,9 +44,9 @@
41
44
  "*.js"
42
45
  ],
43
46
  "dependencies": {
44
- "@abi-software/map-utilities": "1.8.3",
47
+ "@abi-software/map-utilities": "1.9.0",
45
48
  "@abi-software/sparc-annotation": "^0.3.2",
46
- "@abi-software/svg-sprite": "1.0.3",
49
+ "@abi-software/svg-sprite": "1.1.0",
47
50
  "@element-plus/icons-vue": "^2.3.1",
48
51
  "core-js": "^3.22.5",
49
52
  "element-plus": "2.8.4",
@@ -53,7 +56,7 @@
53
56
  "unplugin-vue-components": "^0.26.0",
54
57
  "vue": "^3.4.21",
55
58
  "vue-router": "^4.2.5",
56
- "zincjs": "^2.0.0"
59
+ "zincjs": "^2.0.1"
57
60
  },
58
61
  "devDependencies": {
59
62
  "@babel/eslint-parser": "^7.28.0",
@@ -71,6 +74,11 @@
71
74
  "vitepress": "^1.0.0-rc.42",
72
75
  "vue-docgen-api": "^4.79.2"
73
76
  },
77
+ "optionalDependencies": {
78
+ "@rollup/rollup-darwin-arm64": "4.62.3",
79
+ "@rollup/rollup-linux-x64-gnu": "4.62.3",
80
+ "@rollup/rollup-win32-x64-msvc": "4.62.3"
81
+ },
74
82
  "eslintConfig": {
75
83
  "root": true,
76
84
  "env": {
@@ -139,4 +139,4 @@ const createURLFromFiles = async (flatarray) => {
139
139
  }
140
140
  }
141
141
 
142
- export { createNiftiURL, createURLFromFiles }
142
+ export { createNiftiURL, createURLFromFiles }
@@ -1,5 +1,5 @@
1
1
  //import * as nifti from 'nifti-reader-js';
2
- import { createPrimitivesFromNIFTI } from "zincjs/src/loaders/niftiReader.js";
2
+ import { createPrimitivesFromNIFTI } from "zincjs";
3
3
 
4
4
  const readNIFTIFromSource = async (url, useHeaderInfo, maskURL, settings, options) => {
5
5
  const images = await createPrimitivesFromNIFTI(url, useHeaderInfo, maskURL, settings, options);
package/vite.config.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import path from "path";
2
- const pathSrc = path.resolve(__dirname, "./src");
3
2
  import { defineConfig } from 'vite'
4
3
  import vue from '@vitejs/plugin-vue'
5
4
  import Components from 'unplugin-vue-components/vite'
@@ -12,7 +11,7 @@ export default defineConfig(({ command, mode }) => {
12
11
  css: {
13
12
  preprocessorOptions: {
14
13
  scss: {
15
- additionalData: `@use '${pathSrc}/assets/styles' as *;`
14
+ additionalData: `@use './src/assets/styles' as *;`
16
15
  },
17
16
  },
18
17
  },
@@ -30,7 +29,7 @@ export default defineConfig(({ command, mode }) => {
30
29
  ],
31
30
  dts: 'src/components.d.ts',
32
31
  }),
33
-
32
+
34
33
  // https://github.com/antfu/unocss
35
34
  // see unocss.config.ts for config
36
35
  ],