cht-conf 5.5.0 → 5.6.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [5.6.0](https://github.com/medic/cht-conf/compare/v5.5.0...v5.6.0) (2025-12-15)
2
+
3
+
4
+ ### Features
5
+
6
+ * **#772:** allow multiple sms recipients ([3647c7c](https://github.com/medic/cht-conf/commit/3647c7c18003280e7c461b63eac6466221e2474e)), closes [#772](https://github.com/medic/cht-conf/issues/772)
7
+
1
8
  # [5.5.0](https://github.com/medic/cht-conf/compare/v5.4.0...v5.5.0) (2025-10-08)
2
9
 
3
10
 
package/README.md CHANGED
@@ -1,5 +1,11 @@
1
- # CHT App Configurer
2
- This content has been moved to the [CHT App Configurer](https://docs.communityhealthtoolkit.org/community/contributing/code/cht-conf/) docs site.
1
+ # CHT Conf
2
+ ![GitHub license](https://img.shields.io/github/license/medic/cht-conf)
3
+ ![GitHub release](https://img.shields.io/github/v/release/medic/cht-conf)
4
+ [![Discourse](https://img.shields.io/badge/discourse-join-blue)](https://forum.communityhealthtoolkit.org/)
5
+
6
+ CHT Conf is a command-line interface tool to manage and configure apps built using the [CHT Core Framework](https://github.com/medic/cht-core).
7
+
8
+ Instructions on how to use this tool can be found on [the CHT documentation site](https://docs.communityhealthtoolkit.org/community/contributing/code/cht-conf/).
3
9
 
4
10
  ## Copyright
5
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cht-conf",
3
- "version": "5.5.0",
3
+ "version": "5.6.0",
4
4
  "description": "Configure CHT deployments",
5
5
  "main": "./src/lib/main.js",
6
6
  "engines": {
@@ -37,13 +37,13 @@
37
37
  "@xmldom/xmldom": "^0.8.10",
38
38
  "async-retry": "^1.3.3",
39
39
  "canonical-json": "0.0.4",
40
- "csv-parse": "^5.6.0",
40
+ "csv-parse": "^6.1.0",
41
41
  "dom-compare": "^0.6.0",
42
42
  "eslint": "^8.57.1",
43
43
  "eslint-webpack-plugin": "^4.2.0",
44
44
  "googleapis": "^144.0.0",
45
45
  "iso-639-1": "^3.1.5",
46
- "joi": "^17.13.3",
46
+ "joi": "^18.0.1",
47
47
  "json-diff": "^1.0.6",
48
48
  "json-stringify-safe": "^5.0.1",
49
49
  "json2csv": "^5.0.7",
@@ -63,11 +63,11 @@
63
63
  "redact-basic-auth": "^1.0.1",
64
64
  "request": "^2.88.2",
65
65
  "request-promise-native": "^1.0.9",
66
- "semver": "^7.7.1",
67
- "svgo": "^3.3.2",
66
+ "semver": "^7.7.3",
67
+ "svgo": "^4.0.0",
68
68
  "terser-webpack-plugin": "^5.3.11",
69
69
  "uuid": "^11.1.0",
70
- "webpack": "^5.98.0",
70
+ "webpack": "^5.102.1",
71
71
  "xpath": "0.0.34"
72
72
  },
73
73
  "devDependencies": {
@@ -82,16 +82,16 @@
82
82
  "chai-exclude": "^2.1.1",
83
83
  "chai-shallow-deep-equal": "^1.4.6",
84
84
  "chai-xml": "^0.4.1",
85
- "eslint-plugin-n": "^17.15.1",
85
+ "eslint-plugin-n": "^17.23.1",
86
86
  "express": "^4.21.2",
87
87
  "express-pouchdb": "^4.2.0",
88
- "fs-extra": "11.3.0",
88
+ "fs-extra": "11.3.2",
89
89
  "husky": "^9.1.7",
90
- "mocha": "^11.1.0",
90
+ "mocha": "^11.7.5",
91
91
  "nyc": "^17.1.0",
92
92
  "pouchdb-adapter-memory": "^9.0.0",
93
- "rewire": "^8.0.0",
94
- "semantic-release": "^24.2.4",
93
+ "rewire": "^9.0.1",
94
+ "semantic-release": "^25.0.2",
95
95
  "sinon": "^21.0.0"
96
96
  }
97
97
  }
@@ -58,7 +58,7 @@ const ScheduleSchema = joi.array().items(
58
58
  offset: joi.string().required(),
59
59
  send_day: joi.string().allow(''),
60
60
  send_time: joi.string().allow(''),
61
- recipient: joi.string()
61
+ recipient: joi.alternatives().try(joi.string(), joi.array())
62
62
  })
63
63
  ).required()
64
64
  })