cht-conf 3.21.1 → 3.21.3
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 +14 -0
- package/package.json +1 -1
- package/src/fn/upload-app-settings.js +2 -2
- package/src/lib/get-api-version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [3.21.3](https://github.com/medic/cht-conf/compare/v3.21.2...v3.21.3) (2024-01-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **#599:** support node 20 ([ddd3064](https://github.com/medic/cht-conf/commit/ddd3064c9fba4f0f21f4e65fb1ed14dffc96f33f)), closes [#599](https://github.com/medic/cht-conf/issues/599)
|
|
7
|
+
|
|
8
|
+
## [3.21.2](https://github.com/medic/cht-conf/compare/v3.21.1...v3.21.2) (2024-01-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **#596:** fix issue with semver in latest cht versions ([86a9954](https://github.com/medic/cht-conf/commit/86a9954c861dd4ea57bcd37361c85d8dfe7edad6))
|
|
14
|
+
|
|
1
15
|
## [3.21.1](https://github.com/medic/cht-conf/compare/v3.21.0...v3.21.1) (2023-12-14)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -38,8 +38,8 @@ async function augmentDeclarativeWithNoolsBoilerplate(appSettings) {
|
|
|
38
38
|
return;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
const actualCoreVersion = await getValidApiVersion(
|
|
42
|
-
const addNoolsBoilerplate = semver.lt(actualCoreVersion, '4.2.0-dev');
|
|
41
|
+
const actualCoreVersion = await getValidApiVersion();
|
|
42
|
+
const addNoolsBoilerplate = actualCoreVersion && semver.lt(actualCoreVersion, '4.2.0-dev');
|
|
43
43
|
if (addNoolsBoilerplate) {
|
|
44
44
|
appSettings.tasks.rules = nools.addBoilerplateToCode(appSettings.tasks.rules);
|
|
45
45
|
|