@abi-software/scaffoldvuer 1.18.1 → 1.19.1

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.
@@ -0,0 +1,23 @@
1
+ import js from "@eslint/js";
2
+ import vue from "eslint-plugin-vue";
3
+ import globals from "globals";
4
+
5
+ export default [
6
+ {
7
+ ignores: ["dist/**", "docs/.vitepress/**", "docs/components/**"],
8
+ },
9
+ js.configs.recommended,
10
+ ...vue.configs["flat/essential"],
11
+ {
12
+ files: ["**/*.{js,vue}"],
13
+ languageOptions: {
14
+ ecmaVersion: "latest",
15
+ sourceType: "module",
16
+ globals: {
17
+ ...globals.node,
18
+ ...globals.browser,
19
+ },
20
+ },
21
+ rules: {},
22
+ },
23
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/scaffoldvuer",
3
- "version": "1.18.1",
3
+ "version": "1.19.1",
4
4
  "license": "Apache-2.0",
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -13,6 +13,7 @@
13
13
  "serve": "vite --host --force",
14
14
  "build-bundle": "vite build",
15
15
  "build-static": "vite build -c vite.static-build.js",
16
+ "lint": "eslint .",
16
17
  "vuese-gen": "node vuese-generator.js",
17
18
  "vuese-watch": "node vuese-generator.js watch",
18
19
  "changelog": "auto-changelog -p --output CHANGELOG.md --template keepachangelog",
@@ -44,54 +45,44 @@
44
45
  "*.js"
45
46
  ],
46
47
  "dependencies": {
47
- "@abi-software/map-utilities": "1.9.0",
48
+ "@abi-software/map-utilities": "1.10.0",
48
49
  "@abi-software/sparc-annotation": "^0.3.2",
49
- "@abi-software/svg-sprite": "1.1.0",
50
- "@element-plus/icons-vue": "^2.3.1",
51
- "core-js": "^3.22.5",
52
- "element-plus": "2.8.4",
53
- "minisearch": "^6.0.1",
54
- "pinia": "^2.1.7",
50
+ "@abi-software/svg-sprite": "1.2.0",
51
+ "@element-plus/icons-vue": "^2.3.2",
52
+ "core-js": "^3.50.0",
53
+ "element-plus": "^2.14.5",
54
+ "minisearch": "^7.2.0",
55
+ "pinia": "^4.0.3",
55
56
  "simple-dropzone": "^0.8.3",
56
- "unplugin-vue-components": "^0.26.0",
57
- "vue": "^3.4.21",
58
- "vue-router": "^4.2.5",
59
- "zincjs": "^2.1.1"
57
+ "vue": "^3.5.41",
58
+ "vue-router": "^5.2.0",
59
+ "zincjs": "^2.2.1"
60
60
  },
61
61
  "devDependencies": {
62
- "@babel/eslint-parser": "^7.28.0",
63
- "@vitejs/plugin-vue": "^4.6.2",
62
+ "@eslint/js": "^10.0.1",
63
+ "@babel/eslint-parser": "^8.0.1",
64
+ "@vitejs/plugin-vue": "^6.0.8",
65
+ "unplugin-vue-components": "^32.1.0",
64
66
  "@vuese/markdown-render": "^2.11.3",
65
- "auto-changelog": "^2.4.0",
67
+ "auto-changelog": "^2.6.0",
66
68
  "babel-plugin-component": "^1.1.1",
67
- "chokidar": "^3.6.0",
68
- "concurrently": "^8.2.2",
69
- "eslint": "^9.34.0",
70
- "eslint-plugin-vue": "^9.19.2",
71
- "sass": "^1.69.5",
72
- "vite": "^5.0.10",
73
- "vite-plugin-node-polyfills": "^0.21.0",
74
- "vitepress": "^1.0.0-rc.42",
69
+ "chokidar": "^5.0.0",
70
+ "concurrently": "^9.2.4",
71
+ "eslint": "^10.9.1",
72
+ "eslint-plugin-vue": "^10.10.0",
73
+ "globals": "^17.11.0",
74
+ "sass": "^1.103.1",
75
+ "vite": "^8.2.1",
76
+ "vite-plugin-node-polyfills": "^0.28.0",
77
+ "vitepress": "^1.6.4",
75
78
  "vue-docgen-api": "^4.79.2"
76
79
  },
77
80
  "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
- },
82
- "eslintConfig": {
83
- "root": true,
84
- "env": {
85
- "node": true
86
- },
87
- "extends": [
88
- "plugin:vue/essential",
89
- "eslint:recommended"
90
- ],
91
- "rules": {},
92
- "parserOptions": {
93
- "parser": "babel-eslint"
94
- }
81
+ "@esbuild/darwin-arm64": "0.28.2",
82
+ "@esbuild/linux-x64": "0.28.2",
83
+ "@rollup/rollup-darwin-arm64": "4.63.0",
84
+ "@rollup/rollup-linux-x64-gnu": "4.63.0",
85
+ "@rollup/rollup-win32-x64-msvc": "4.63.0"
95
86
  },
96
87
  "browserslist": [
97
88
  "> 1%",
@@ -1,6 +1,7 @@
1
- @import url('https://fonts.googleapis.com/css?family=Asap:400,400i,500,600,700&display=swap');
1
+ @use '_variables' as *;
2
+ @forward '_variables';
2
3
 
3
- @import '_variables';
4
+ @import url('https://fonts.googleapis.com/css?family=Asap:400,400i,500,600,700&display=swap');
4
5
 
5
6
  /* icon font path, required */
6
7
  $--color-primary: $app-primary-color !default;
@@ -2876,10 +2876,10 @@ export default {
2876
2876
  this._slides = this.$module.scene.addSlicesPrimitive(
2877
2877
  "_helper", ["x-plane", "y-plane", "z-plane"], [0xFF5555, 0x55FF55, 0x5555FF],
2878
2878
  0.5);
2879
- this.calculateBoundingBox();
2880
2879
  //this.$module.scene.createAxisDisplay(false);
2881
2880
  //this.$module.scene.enableAxisDisplay(true, true);
2882
2881
  this.isReady = true;
2882
+ this.calculateBoundingBox();
2883
2883
  //console.log(`found ${foundNerves}`);
2884
2884
  this.$nextTick(() => {
2885
2885
  this.restoreSettings(options);
@@ -1,10 +1,14 @@
1
1
  /* eslint-disable */
2
- /* prettier-ignore */
3
2
  // @ts-nocheck
3
+ // biome-ignore lint: disable
4
+ // oxlint-disable
5
+ // ------
4
6
  // Generated by unplugin-vue-components
5
7
  // Read more: https://github.com/vuejs/core/pull/3399
8
+
6
9
  export {}
7
10
 
11
+ /* prettier-ignore */
8
12
  declare module 'vue' {
9
13
  export interface GlobalComponents {
10
14
  ElButton: typeof import('element-plus/es')['ElButton']
@@ -45,7 +49,7 @@ declare module 'vue' {
45
49
  TextureSlidesControls: typeof import('./components/TextureSlidesControls.vue')['default']
46
50
  TransformationControls: typeof import('./components/TransformationControls.vue')['default']
47
51
  }
48
- export interface ComponentCustomProperties {
52
+ export interface GlobalDirectives {
49
53
  vLoading: typeof import('element-plus/es')['ElLoadingDirective']
50
54
  }
51
55
  }
package/vite.config.js CHANGED
@@ -11,7 +11,8 @@ export default defineConfig(({ command, mode }) => {
11
11
  css: {
12
12
  preprocessorOptions: {
13
13
  scss: {
14
- additionalData: `@use './src/assets/styles' as *;`
14
+ api: 'modern-compiler',
15
+ additionalData: `@use '@/assets/styles' as *;`
15
16
  },
16
17
  },
17
18
  },
@@ -35,12 +36,12 @@ export default defineConfig(({ command, mode }) => {
35
36
  ],
36
37
  resolve: {
37
38
  alias: {
38
- '@': path.resolve(__dirname, './src'),
39
+ '@': path.resolve(import.meta.dirname, './src'),
39
40
  }
40
41
  },
41
42
  build: {
42
43
  lib: {
43
- entry: path.resolve(__dirname, "./src/components/index.js"),
44
+ entry: path.resolve(import.meta.dirname, "./src/components/index.js"),
44
45
  name: "ScaffoldVuer",
45
46
  fileName: 'scaffoldvuer',
46
47
  },
@@ -54,6 +55,11 @@ export default defineConfig(({ command, mode }) => {
54
55
  "@abi-software/map-utilities": "@abi-software/map-utilities",
55
56
  "pinia": "pinia"
56
57
  },
58
+ // keep css output name stable for the "./dist/style.css" export/import paths
59
+ assetFileNames: (assetInfo) =>
60
+ assetInfo.name?.endsWith(".css")
61
+ ? "style.css"
62
+ : "assets/[name][extname]",
57
63
  },
58
64
  },
59
65
  },
package/.eslintrc.js DELETED
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- env: {
3
- node: true,
4
- es2020: true,
5
- },
6
- parser: '@babel/eslint-parser', // Use the modern parser
7
- }
package/babel.config.js DELETED
File without changes