@geode/opengeodeweb-front 10.11.0 → 10.11.1-rc.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.
package/.oxlintrc.json CHANGED
@@ -122,7 +122,8 @@
122
122
  "max-statements": "off",
123
123
  "vitest/prefer-to-be-truthy": "off",
124
124
  "vitest/prefer-to-be-falsy": "off",
125
- "vitest/require-test-timeout": "warn"
125
+ "vitest/require-test-timeout": "warn",
126
+ "vitest/prefer-importing-vitest-globals": "off"
126
127
  }
127
128
  },
128
129
  {
@@ -14,8 +14,8 @@ const toggle_loading = useToggle(loading);
14
14
  async function get_inspection_results() {
15
15
  toggle_loading();
16
16
  const params = {
17
- geode_object_type: geode_object_type,
18
- filename: filename,
17
+ geode_object_type,
18
+ filename,
19
19
  };
20
20
  const geodeStore = useGeodeStore();
21
21
 
@@ -27,7 +27,7 @@ onMounted(() => {
27
27
  function getTextureCoordinates() {
28
28
  geodeStore.request(
29
29
  back_schemas.opengeodeweb_back.texture_coordinates,
30
- { id: id },
30
+ { id },
31
31
  {
32
32
  response_function: (response) => {
33
33
  texture_coordinates.value = response.texture_coordinates;
@@ -16,7 +16,7 @@ async function upload_file(
16
16
 
17
17
  const request_options = {
18
18
  method: "PUT",
19
- body: body,
19
+ body,
20
20
  };
21
21
  microservice.start_request();
22
22
  return await $fetch(route, {
package/nuxt.config.js CHANGED
@@ -1,11 +1,10 @@
1
1
  // Node imports
2
- import path, { dirname } from "node:path";
3
- import { fileURLToPath } from "node:url";
2
+ import path from "node:path";
4
3
 
5
4
  // Local imports
6
5
  import package_json from "./package.json";
7
6
 
8
- const __dirname = dirname(fileURLToPath(import.meta.url));
7
+ const __dirname = import.meta.dirname;
9
8
 
10
9
  export default defineNuxtConfig({
11
10
  runtimeConfig: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-front",
3
- "version": "10.11.0",
3
+ "version": "10.11.1-rc.1",
4
4
  "description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
5
5
  "homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Front",
6
6
  "bugs": {
@@ -34,8 +34,8 @@
34
34
  "build": ""
35
35
  },
36
36
  "dependencies": {
37
- "@geode/opengeodeweb-back": "latest",
38
- "@geode/opengeodeweb-viewer": "latest",
37
+ "@geode/opengeodeweb-back": "next",
38
+ "@geode/opengeodeweb-viewer": "next",
39
39
  "@kitware/vtk.js": "33.3.0",
40
40
  "@mdi/font": "7.4.47",
41
41
  "@pinia/nuxt": "0.11.3",
@@ -70,17 +70,9 @@
70
70
  "@pinia/testing": "1.0.3",
71
71
  "@vitejs/plugin-vue": "6.0.4",
72
72
  "@vue/test-utils": "2.4.6",
73
- "eslint": "9.26.0",
74
- "eslint-plugin-import": "2.31.0",
75
- "eslint-plugin-nuxt": "4.0.0",
76
- "eslint-plugin-prettier": "5.4.0",
77
- "eslint-plugin-prettier-vue": "5.0.0",
78
- "eslint-plugin-vue": "10.1.0",
79
- "eslint-plugin-vuetify": "2.5.2",
80
73
  "happy-dom": "20.0.11",
81
74
  "msw": "2.11.1",
82
75
  "playwright-core": "1.52.0",
83
- "prettier": "3.3.3",
84
76
  "resize-observer-polyfill": "1.5.1",
85
77
  "unplugin-auto-import": "20.0.0",
86
78
  "vite": "7.3.1",
@@ -85,7 +85,7 @@ describe(FileSelector, () => {
85
85
  },
86
86
  props: {
87
87
  multiple: false,
88
- files: files,
88
+ files,
89
89
  auto_upload: true,
90
90
  },
91
91
  });
@@ -107,7 +107,7 @@ describe(FileSelector, () => {
107
107
  },
108
108
  props: {
109
109
  multiple: false,
110
- files: files,
110
+ files,
111
111
  auto_upload: false,
112
112
  },
113
113
  });
@@ -1,9 +1,8 @@
1
1
  import { defineConfig } from "vitest/config";
2
2
  import { defineVitestProject } from "@nuxt/test-utils/config";
3
- import { fileURLToPath } from "node:url";
4
3
  import path from "node:path";
5
4
 
6
- const __dirname = path.dirname(fileURLToPath(import.meta.url));
5
+ const __dirname = import.meta.dirname;
7
6
 
8
7
  const RETRIES = 3;
9
8
  const DEFAULT_RETRY = 0;
@@ -22,14 +21,13 @@ export default defineConfig({
22
21
  },
23
22
  },
24
23
  test: {
25
- globals: false,
26
24
  setupFiles: [path.resolve(__dirname, "./setup_indexeddb.js")],
27
25
  projects: [
28
26
  await defineVitestProject({
29
27
  test: {
30
28
  name: "unit",
31
- globals: false,
32
29
  include: ["tests/unit/**/*.test.js"],
30
+ globals: true,
33
31
  environment: "nuxt",
34
32
  testTimeout: TIMEOUTS.unit,
35
33
  setupFiles: [path.resolve(__dirname, "./setup_indexeddb.js")],
@@ -44,8 +42,8 @@ export default defineConfig({
44
42
  await defineVitestProject({
45
43
  test: {
46
44
  name: "integration",
47
- globals: false,
48
45
  include: ["tests/integration/**/*.test.js"],
46
+ globals: true,
49
47
  environment: "nuxt",
50
48
  fileParallelism: false,
51
49
  testTimeout: TIMEOUTS.integration,
package/.eslintrc.cjs DELETED
@@ -1,15 +0,0 @@
1
- // oxlint-disable-next-line import/no-commonjs
2
- module.exports = {
3
- root: true,
4
- env: {
5
- node: true,
6
- browser: true,
7
- es2021: true,
8
- },
9
- extends: [
10
- "eslint:recommended",
11
- "plugin:vue/recommended",
12
- "plugin:vuetify/recommended",
13
- "plugin:nuxt/recommended",
14
- ],
15
- };
package/eslint.config.js DELETED
@@ -1,28 +0,0 @@
1
- import nuxt from "eslint-plugin-nuxt";
2
- import vue from "eslint-plugin-vue";
3
- import vuetify from "eslint-plugin-vuetify";
4
-
5
- // oxlint-disable-next-line import/no-anonymous-default-export
6
- export default [
7
- {
8
- files: ["**/*.{js,ts,vue}"],
9
- languageOptions: {
10
- ecmaVersion: 2021,
11
- sourceType: "module",
12
- globals: {
13
- window: "readonly",
14
- document: "readonly",
15
- },
16
- },
17
- plugins: {
18
- vue,
19
- vuetify,
20
- nuxt,
21
- },
22
- rules: {
23
- ...vue.configs.recommended.rules,
24
- ...vuetify.configs.recommended.rules,
25
- ...nuxt.configs.recommended.rules,
26
- },
27
- },
28
- ];