@springfield/ham-radio-utils 4.12.4 → 4.13.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.
@@ -105,6 +105,15 @@
105
105
  "enum": ["integer", "select", "switch", "text", "number"]
106
106
  },
107
107
  "description": { "type": "string" },
108
+ "menu": {
109
+ "type": "object",
110
+ "required": ["number"],
111
+ "properties": {
112
+ "number": { "type": "integer", "minimum": 0 },
113
+ "code": { "type": "string", "minLength": 1 }
114
+ },
115
+ "additionalProperties": false
116
+ },
108
117
  "writable": { "type": "boolean" },
109
118
  "order": { "type": "integer" }
110
119
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@springfield/ham-radio-utils",
3
- "version": "4.12.4",
3
+ "version": "4.13.0",
4
4
  "author": "Bryan Hunt",
5
5
  "license": "MIT",
6
6
  "readme": "README.md",
@@ -25,9 +25,9 @@
25
25
  "lint": "oxlint",
26
26
  "lint:fix": "oxlint --fix --fix-suggestions",
27
27
  "release": "semantic-release",
28
- "prepare": "husky",
28
+ "prepare": "husky && yarn build",
29
29
  "test": "yarn test:unit",
30
- "test:unit": "tsx --test test/unit/**/*.test.ts"
30
+ "test:unit": "vitest run test/unit"
31
31
  },
32
32
  "dependencies": {
33
33
  "@springfield/ham-radio-api": "^17.10.0",
@@ -44,16 +44,15 @@
44
44
  "@semantic-release/git": "11.0.1",
45
45
  "@semantic-release/github": "12.0.9",
46
46
  "@semantic-release/npm": "13.1.5",
47
- "@types/chai": "5.2.3",
48
47
  "@types/node": "26.5.1",
49
48
  "@types/sprintf-js": "1.1.4",
50
- "chai": "6.2.2",
51
49
  "husky": "9.1.7",
52
50
  "oxfmt": "^0.67.0",
53
51
  "oxlint": "1.82.0",
54
52
  "semantic-release": "25.0.9",
55
- "tsx": "4.23.13",
56
- "typescript": "7.0.2"
53
+ "typescript": "7.0.2",
54
+ "vite": "^8.3.0",
55
+ "vitest": "^5.0.1"
57
56
  },
58
57
  "resolutions": {
59
58
  "conventional-changelog-conventionalcommits": "9.3.1"
@@ -105,6 +105,15 @@
105
105
  "enum": ["integer", "select", "switch", "text", "number"]
106
106
  },
107
107
  "description": { "type": "string" },
108
+ "menu": {
109
+ "type": "object",
110
+ "required": ["number"],
111
+ "properties": {
112
+ "number": { "type": "integer", "minimum": 0 },
113
+ "code": { "type": "string", "minLength": 1 }
114
+ },
115
+ "additionalProperties": false
116
+ },
108
117
  "writable": { "type": "boolean" },
109
118
  "order": { "type": "integer" }
110
119
  },