contensis-cli 1.6.1-beta.9 → 1.7.1-beta.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.
Files changed (138) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/LICENSE +674 -0
  3. package/dist/index.js +58362 -11
  4. package/dist/index.js.map +4 -4
  5. package/dist/shell.js +58100 -52
  6. package/dist/shell.js.map +4 -4
  7. package/docs/copy_field_templates.md +112 -0
  8. package/esbuild.config.js +15 -13
  9. package/package.json +3 -4
  10. package/src/commands/create.ts +48 -0
  11. package/src/commands/dev.ts +6 -0
  12. package/src/commands/push.ts +38 -6
  13. package/src/commands/set.ts +70 -1
  14. package/src/localisation/en-GB.ts +12 -0
  15. package/src/mappers/DevRequests-to-RequestHanderCliArgs.ts +3 -0
  16. package/src/models/CliService.d.ts +5 -1
  17. package/src/services/ContensisCliService.ts +189 -7
  18. package/src/shell.ts +6 -1
  19. package/src/util/logger.ts +3 -4
  20. package/src/version.ts +1 -1
  21. package/dist/commands/connect.js +0 -44
  22. package/dist/commands/connect.js.map +0 -7
  23. package/dist/commands/copy.js +0 -78
  24. package/dist/commands/copy.js.map +0 -7
  25. package/dist/commands/create.js +0 -170
  26. package/dist/commands/create.js.map +0 -7
  27. package/dist/commands/dev.js +0 -81
  28. package/dist/commands/dev.js.map +0 -7
  29. package/dist/commands/diff.js +0 -57
  30. package/dist/commands/diff.js.map +0 -7
  31. package/dist/commands/execute.js +0 -103
  32. package/dist/commands/execute.js.map +0 -7
  33. package/dist/commands/get.js +0 -330
  34. package/dist/commands/get.js.map +0 -7
  35. package/dist/commands/globalOptions.js +0 -252
  36. package/dist/commands/globalOptions.js.map +0 -7
  37. package/dist/commands/import.js +0 -256
  38. package/dist/commands/import.js.map +0 -7
  39. package/dist/commands/index.js +0 -107
  40. package/dist/commands/index.js.map +0 -7
  41. package/dist/commands/list.js +0 -195
  42. package/dist/commands/list.js.map +0 -7
  43. package/dist/commands/login.js +0 -55
  44. package/dist/commands/login.js.map +0 -7
  45. package/dist/commands/push.js +0 -234
  46. package/dist/commands/push.js.map +0 -7
  47. package/dist/commands/remove.js +0 -193
  48. package/dist/commands/remove.js.map +0 -7
  49. package/dist/commands/set.js +0 -180
  50. package/dist/commands/set.js.map +0 -7
  51. package/dist/commands/update.js +0 -70
  52. package/dist/commands/update.js.map +0 -7
  53. package/dist/factories/RequestHandlerFactory.js +0 -230
  54. package/dist/factories/RequestHandlerFactory.js.map +0 -7
  55. package/dist/localisation/en-GB.js +0 -559
  56. package/dist/localisation/en-GB.js.map +0 -7
  57. package/dist/mappers/ContensisCliService-to-RequestHanderSiteConfigYaml.js +0 -56
  58. package/dist/mappers/ContensisCliService-to-RequestHanderSiteConfigYaml.js.map +0 -7
  59. package/dist/mappers/DevInit-to-CIWorkflow.js +0 -409
  60. package/dist/mappers/DevInit-to-CIWorkflow.js.map +0 -7
  61. package/dist/mappers/DevInit-to-RolePermissions.js +0 -56
  62. package/dist/mappers/DevInit-to-RolePermissions.js.map +0 -7
  63. package/dist/mappers/DevRequests-to-RequestHanderCliArgs.js +0 -168
  64. package/dist/mappers/DevRequests-to-RequestHanderCliArgs.js.map +0 -7
  65. package/dist/mappers/MixedFileData.js +0 -83
  66. package/dist/mappers/MixedFileData.js.map +0 -7
  67. package/dist/models/AppError.d.js +0 -2
  68. package/dist/models/AppError.d.js.map +0 -7
  69. package/dist/models/Cache.d.js +0 -2
  70. package/dist/models/Cache.d.js.map +0 -7
  71. package/dist/models/CliService.d.js +0 -17
  72. package/dist/models/CliService.d.js.map +0 -7
  73. package/dist/models/DevService.d.js +0 -17
  74. package/dist/models/DevService.d.js.map +0 -7
  75. package/dist/models/JsModules.d.js +0 -2
  76. package/dist/models/JsModules.d.js.map +0 -7
  77. package/dist/providers/CredentialProvider.js +0 -126
  78. package/dist/providers/CredentialProvider.js.map +0 -7
  79. package/dist/providers/GitHubCliModuleProvider.js +0 -115
  80. package/dist/providers/GitHubCliModuleProvider.js.map +0 -7
  81. package/dist/providers/HttpProvider.js +0 -73
  82. package/dist/providers/HttpProvider.js.map +0 -7
  83. package/dist/providers/ManifestProvider.js +0 -50
  84. package/dist/providers/ManifestProvider.js.map +0 -7
  85. package/dist/providers/SessionCacheProvider.js +0 -132
  86. package/dist/providers/SessionCacheProvider.js.map +0 -7
  87. package/dist/providers/file-provider.js +0 -177
  88. package/dist/providers/file-provider.js.map +0 -7
  89. package/dist/services/ContensisAuthService.js +0 -88
  90. package/dist/services/ContensisAuthService.js.map +0 -7
  91. package/dist/services/ContensisCliService.js +0 -2661
  92. package/dist/services/ContensisCliService.js.map +0 -7
  93. package/dist/services/ContensisDevService.js +0 -435
  94. package/dist/services/ContensisDevService.js.map +0 -7
  95. package/dist/services/ContensisRoleService.js +0 -112
  96. package/dist/services/ContensisRoleService.js.map +0 -7
  97. package/dist/util/api-ids.js +0 -110
  98. package/dist/util/api-ids.js.map +0 -7
  99. package/dist/util/assert.js +0 -62
  100. package/dist/util/assert.js.map +0 -7
  101. package/dist/util/console.printer.js +0 -461
  102. package/dist/util/console.printer.js.map +0 -7
  103. package/dist/util/csv.formatter.js +0 -118
  104. package/dist/util/csv.formatter.js.map +0 -7
  105. package/dist/util/debug.js +0 -29
  106. package/dist/util/debug.js.map +0 -7
  107. package/dist/util/diff.js +0 -118
  108. package/dist/util/diff.js.map +0 -7
  109. package/dist/util/dotenv.js +0 -56
  110. package/dist/util/dotenv.js.map +0 -7
  111. package/dist/util/error.js +0 -36
  112. package/dist/util/error.js.map +0 -7
  113. package/dist/util/fetch.js +0 -69
  114. package/dist/util/fetch.js.map +0 -7
  115. package/dist/util/find.js +0 -39
  116. package/dist/util/find.js.map +0 -7
  117. package/dist/util/git.js +0 -145
  118. package/dist/util/git.js.map +0 -7
  119. package/dist/util/gitignore.js +0 -61
  120. package/dist/util/gitignore.js.map +0 -7
  121. package/dist/util/html.formatter.js +0 -70
  122. package/dist/util/html.formatter.js.map +0 -7
  123. package/dist/util/index.js +0 -68
  124. package/dist/util/index.js.map +0 -7
  125. package/dist/util/json.formatter.js +0 -66
  126. package/dist/util/json.formatter.js.map +0 -7
  127. package/dist/util/logger.js +0 -304
  128. package/dist/util/logger.js.map +0 -7
  129. package/dist/util/os.js +0 -49
  130. package/dist/util/os.js.map +0 -7
  131. package/dist/util/timers.js +0 -49
  132. package/dist/util/timers.js.map +0 -7
  133. package/dist/util/xml.formatter.js +0 -62
  134. package/dist/util/xml.formatter.js.map +0 -7
  135. package/dist/util/yaml.js +0 -44
  136. package/dist/util/yaml.js.map +0 -7
  137. package/dist/version.js +0 -29
  138. package/dist/version.js.map +0 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.7.0](https://github.com/contensis/cli/compare/contensis-cli-v1.6.0...contensis-cli-v1.7.0) (2026-09-24)
4
+
5
+
6
+ ### Features
7
+
8
+ * add `--log-level` option to dev requests command ([b7e1209](https://github.com/contensis/cli/commit/b7e1209fa61e93b6fc5b791ab6e2fe47042cacc1))
9
+ * add `--makeLive` option to push block command ([73425fc](https://github.com/contensis/cli/commit/73425fc068c7a8acf40dba600655d104cb899e22))
10
+ * add `--override` option to dev requests command to support configuration for specific blocks ([9e64d82](https://github.com/contensis/cli/commit/9e64d82b4becd19adae39e2bc839a059f94188a3))
11
+ * added `--block-actions` option in `set role permissions` command ([9549cd4](https://github.com/contensis/cli/commit/9549cd40107540f2f97df0e3eae57d70acccabac))
12
+ * added `create node` command ([c7aaadf](https://github.com/contensis/cli/commit/c7aaadfce58d280ea475f4aff48ee7818ce5be12))
13
+ * added `set node entry` and `set node renderer` commands ([5a726f8](https://github.com/contensis/cli/commit/5a726f8b817faea7f9361e954a4dfe752f7d5b76))
14
+ * added support for arm64 ([4a08aef](https://github.com/contensis/cli/commit/4a08aef1be53753f643f7ce218c6deb282270e4f))
15
+ * import child nodes to a specified depth with new `--depth` option in import nodes ([5e70cef](https://github.com/contensis/cli/commit/5e70cef060989e9283b28aed1bad66ffe8ee5ad3))
16
+ * import webhooks command ([47dae7d](https://github.com/contensis/cli/commit/47dae7d984639fa8460c2344042e2fef91643bfb))
17
+ * support new `html_to_canvas` custom filter in liquid templates ([ad55d6c](https://github.com/contensis/cli/commit/ad55d6ca7c68e2a400f49eeb338c081571238a3f))
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * `ERR_INVALID_ARG_TYPE` when downloading releases in dev requests command ([9c076d6](https://github.com/contensis/cli/commit/9c076d6b8a618e4bc32837908da92fdd7d759635))
23
+ * allow commit message as environment var in `push block` command ([4b821ee](https://github.com/contensis/cli/commit/4b821ee8af5b7350f3685b00d7a43a8377e1916e))
24
+ * better highlight enabled status in list webhooks command ([47dae7d](https://github.com/contensis/cli/commit/47dae7d984639fa8460c2344042e2fef91643bfb))
25
+ * component field data inside canvas fields not mapped when allowing all types to be used in a "kitchen sink" canvas field configuration ([86ee6e1](https://github.com/contensis/cli/commit/86ee6e1ddda6dadbbde830f68840732c185fc843))
26
+ * do not fetch children of nodes that were resolved as dependents of entries ([614bf79](https://github.com/contensis/cli/commit/614bf795d1d23b0a7e75ec32f8ca0868c2a0414b))
27
+ * erroneous exit codes ([5b13e2d](https://github.com/contensis/cli/commit/5b13e2d12f6e7a31bd8954ca15734adb5a15b55c))
28
+ * fallback to the first block branch if no overrides or default branch exists for a block in dev requests command ([9e64d82](https://github.com/contensis/cli/commit/9e64d82b4becd19adae39e2bc839a059f94188a3))
29
+ * falsely detecting changes to existing nodes when a partial node is supplied in the payload ([614bf79](https://github.com/contensis/cli/commit/614bf795d1d23b0a7e75ec32f8ca0868c2a0414b))
30
+ * handle missing binary when launching local request handler module with dev requests command ([c1502e3](https://github.com/contensis/cli/commit/c1502e3fe8be619ec4fc18fcb7fba38a30bd4178))
31
+ * ignore errors generated when building default nodes for models migrations ([614bf79](https://github.com/contensis/cli/commit/614bf795d1d23b0a7e75ec32f8ca0868c2a0414b))
32
+ * inaccurate console output when migrating a mix of assets with `import entries` and no entries have been updated ([24a0a90](https://github.com/contensis/cli/commit/24a0a903365144bd253d0d1514e814da10637125))
33
+ * log fetch errors when hydrating source and target repositories ([614bf79](https://github.com/contensis/cli/commit/614bf795d1d23b0a7e75ec32f8ca0868c2a0414b))
34
+ * map `CONTENSIS_*` environment vars in `push block` command for use in CI workflows ([629f844](https://github.com/contensis/cli/commit/629f844accaa336922592c62beb953fea5f08398))
35
+ * potential hang when running `import nodes` command in a non-interactive terminal such as Docker in CI ([5ba5620](https://github.com/contensis/cli/commit/5ba56204b67a47b929827947bac14d92c4603fe7))
36
+ * small formatting issue in push block payload with github docker changes as of today ([9db7cd7](https://github.com/contensis/cli/commit/9db7cd7a21391c398c63b3a5189d0fa3c11c0856))
37
+ * supply a renderer by its friendly id or name in `set node renderer` ([1630d12](https://github.com/contensis/cli/commit/1630d1292a398679e4b73f42d5e200cbad501b51))
38
+ * typo in help for import entries ([9d477db](https://github.com/contensis/cli/commit/9d477db30351985f353f3d5b89ef2fb90b149915))
39
+ * validate image dimensions against the resolved asset instead of the value from the link field in the parent entry removing false warnings in entries migrations ([614bf79](https://github.com/contensis/cli/commit/614bf795d1d23b0a7e75ec32f8ca0868c2a0414b))
40
+ * Windows executables built with older versions of pkg and Node, exe build is now consistent across all platforms ([47981c9](https://github.com/contensis/cli/commit/47981c9a4e75384ee5bbf6e0d598793cb7ad8094))
41
+
3
42
  ## [1.6.0](https://github.com/contensis/cli/compare/contensis-cli-v1.5.0...contensis-cli-v1.6.0) (2025-12-11)
4
43
 
5
44