@rebilly/revel 5.14.5 → 5.15.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/dist/types.d.ts CHANGED
@@ -16,9 +16,15 @@ export interface ValidationState {
16
16
  $error: boolean;
17
17
  $invalid: boolean;
18
18
  }
19
+ interface ApiErrorField {
20
+ field: string;
21
+ message: string;
22
+ }
19
23
  export interface ApiError {
20
24
  status?: number;
21
25
  name?: 'RebillyConflictError' | 'RebillyCanceledError';
22
26
  message?: string;
23
27
  details?: string[];
28
+ invalidFields?: ApiErrorField[];
24
29
  }
30
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/revel",
3
- "version": "5.14.5",
3
+ "version": "5.15.1",
4
4
  "files": [
5
5
  "dist",
6
6
  "CHANGELOG.md"
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "scripts": {
26
26
  "dev": "yarn docs:dev",
27
- "build": "concurrently yarn:format:check yarn:type:check yarn:build:only yarn:docs:build yarn:build:types",
27
+ "build": "concurrently yarn:type:check yarn:build:only yarn:docs:build yarn:build:types",
28
28
  "build:only": "vite build",
29
29
  "build:watch": "vite build --watch",
30
30
  "build:types": "vue-tsc -p tsconfig.build.json",
@@ -36,10 +36,10 @@
36
36
  "playground:dev": "vite serve ./src/playground/ --config vite.config.ts",
37
37
  "cy": "cypress open",
38
38
  "cy:ci": "cypress run --quiet --reporter spec",
39
- "lint:no-fix": "concurrently yarn:type:check yarn:eslint:no-fix",
40
- "lint:fix": "concurrently yarn:type:check yarn:eslint:fix",
41
- "eslint:no-fix": "eslint --ext .js,.ts,.vue .",
42
- "eslint:fix": "eslint --ext .js,.ts,.vue --fix .",
39
+ "lint:no-fix": "concurrently yarn:format:check yarn:type:check yarn:eslint:no-fix",
40
+ "lint": "concurrently yarn:type:check yarn:format yarn:eslint",
41
+ "eslint:no-fix": "eslint --ext .js,.ts,.vue . --max-warnings 0",
42
+ "eslint": "eslint --ext .js,.ts,.vue --fix .",
43
43
  "test:unit": "vitest run",
44
44
  "test:unit:watch": "vitest",
45
45
  "type:check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
@@ -49,6 +49,7 @@
49
49
  "@cypress/vite-dev-server": "^5.0.5",
50
50
  "@cypress/vue": "^5.0.5",
51
51
  "@popperjs/core": "2.4.0",
52
+ "@rebilly/eslint-config": "*",
52
53
  "@testing-library/cypress": "^9.0.0",
53
54
  "@testing-library/user-event": "^14.4.3",
54
55
  "@testing-library/vue": "^7.0.0",
@@ -59,12 +60,9 @@
59
60
  "@types/lodash.kebabcase": "^4.1.7",
60
61
  "@types/lodash.mergewith": "^4.6.7",
61
62
  "@types/node": "^20.4.2",
62
- "@typescript-eslint/eslint-plugin": "^5.59.1",
63
- "@typescript-eslint/parser": "^5.59.1",
64
63
  "@vitejs/plugin-vue": "^4.2.3",
65
64
  "@vue/babel-preset-app": "^5.0.8",
66
65
  "@vue/compiler-sfc": "^3.3.4",
67
- "@vue/eslint-config-typescript": "^12.0.0",
68
66
  "@vue/test-utils": "^2.4.1",
69
67
  "@vue/tsconfig": "^0.1.3",
70
68
  "@vuepress/plugin-register-components": "2.0.0-beta.61",
@@ -72,19 +70,11 @@
72
70
  "approximate-number": "^2.1.0",
73
71
  "autoprefixer": "^10.4.15",
74
72
  "babel-core": "^7.0.0-bridge.0",
75
- "babel-eslint": "^10.1.0",
76
73
  "concurrently": "^8.2.0",
77
74
  "copy-to-clipboard": "^3.3.1",
78
75
  "cypress": "^12.17.4",
79
- "eslint": "^8.51.0",
80
- "eslint-config-airbnb-base": "^15.0.0",
81
- "eslint-config-airbnb-typescript": "^17.0.0",
82
- "eslint-config-prettier": "^9.0.0",
83
76
  "eslint-import-resolver-alias": "^1.1.2",
84
- "eslint-plugin-cypress": "^2.14.0",
85
77
  "eslint-plugin-import": "^2.28.1",
86
- "eslint-plugin-prettier": "^4.2.1",
87
- "eslint-plugin-vue": "^9.12.0",
88
78
  "jsdom": "^21.1.1",
89
79
  "lodash.clonedeep": "^4.5.0",
90
80
  "lodash.debounce": "^4.0.8",
@@ -93,7 +83,6 @@
93
83
  "moment": "^2.29.4",
94
84
  "moment-timezone": "^0.5.35",
95
85
  "nanoid": "^5.0.1",
96
- "prettier": "^2.8.8",
97
86
  "prismjs": "^1.27.0",
98
87
  "style-dictionary": "^3.9.0",
99
88
  "typescript": "^5.0.2",