@dargmuesli/nuxt-vio 11.1.1 → 11.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +11 -11
  2. package/types/api.d.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-vio",
3
- "version": "11.1.1",
3
+ "version": "11.2.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dargmuesli/vio.git"
@@ -38,7 +38,9 @@
38
38
  "@dargmuesli/nuxt-cookie-control": "8.1.2",
39
39
  "@heroicons/vue": "2.1.3",
40
40
  "@http-util/status-i18n": "0.8.1",
41
+ "@intlify/eslint-plugin-vue-i18n": "3.0.0-next.11",
41
42
  "@nuxt/devtools": "1.1.5",
43
+ "@nuxt/eslint": "0.3.7",
42
44
  "@nuxt/image": "1.5.0",
43
45
  "@nuxtjs/color-mode": "3.4.0",
44
46
  "@nuxtjs/html-validator": "1.7.1",
@@ -54,6 +56,12 @@
54
56
  "@vuelidate/validators": "2.0.4",
55
57
  "clipboardy": "4.0.0",
56
58
  "dayjs": "2.0.0-alpha.4",
59
+ "eslint": "9.0.0",
60
+ "eslint-config-prettier": "9.1.0",
61
+ "eslint-plugin-compat": "4.2.0",
62
+ "eslint-plugin-prettier": "5.1.3",
63
+ "eslint-plugin-yml": "1.14.0",
64
+ "globals": "15.0.0",
57
65
  "jose": "5.2.4",
58
66
  "nuxt-gtag": "2.0.5",
59
67
  "nuxt-security": "1.3.2",
@@ -61,8 +69,6 @@
61
69
  },
62
70
  "devDependencies": {
63
71
  "@axe-core/playwright": "4.9.0",
64
- "@intlify/eslint-plugin-vue-i18n": "3.0.0-next.11",
65
- "@nuxt/eslint": "0.3.7",
66
72
  "@playwright/test": "1.43.1",
67
73
  "@unhead/vue": "1.9.5",
68
74
  "@urql/devtools": "2.0.3",
@@ -72,12 +78,6 @@
72
78
  "cookie-es": "1.1.0",
73
79
  "cross-env": "7.0.3",
74
80
  "defu": "6.1.4",
75
- "eslint": "9.0.0",
76
- "eslint-config-prettier": "9.1.0",
77
- "eslint-plugin-compat": "4.2.0",
78
- "eslint-plugin-prettier": "5.1.3",
79
- "eslint-plugin-yml": "1.14.0",
80
- "globals": "15.0.0",
81
81
  "h3": "1.11.1",
82
82
  "jiti": "1.21.0",
83
83
  "lint-staged": "15.2.2",
@@ -85,7 +85,7 @@
85
85
  "nuxt": "3.11.2",
86
86
  "pinia": "2.1.7",
87
87
  "prettier": "3.2.5",
88
- "prettier-plugin-tailwindcss": "0.5.13",
88
+ "prettier-plugin-tailwindcss": "0.5.14",
89
89
  "serve": "14.2.1",
90
90
  "stylelint": "16.3.1",
91
91
  "stylelint-config-recommended-vue": "1.5.0",
@@ -112,7 +112,7 @@
112
112
  "dev": "pnpm run start:dev",
113
113
  "generate": "pnpm run build:static",
114
114
  "lint:fix": "pnpm run lint:js --fix && pnpm run lint:ts --fix && pnpm run lint:style --fix",
115
- "lint:js": "eslint --cache .",
115
+ "lint:js": "eslint --cache",
116
116
  "lint:staged": "lint-staged",
117
117
  "lint:style": "stylelint --cache \"**/*.{vue,css}\" --ignore-path .gitignore",
118
118
  "lint:ts": "nuxt typecheck",
package/types/api.d.ts CHANGED
@@ -6,4 +6,7 @@ export type ApiData = ComputedRef<{
6
6
  isFetching: boolean
7
7
  }>
8
8
 
9
- export type BackendError = CombinedError | { errcode: string; message: string }
9
+ // if an `originalError` property seems to be required, consider https://github.com/maevsi/maevsi/pull/1182/files#diff-3011f5fc2745796b181fe633b2590cfeb2e976aec95b8e94630bba0cc6163c1cL8
10
+ export type BackendError = {
11
+ graphQLErrors: (GraphQLError & { errcode?: string })[]
12
+ } & CombinedError