contensis-cli 1.6.1-beta.8 → 1.7.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 +39 -0
- package/LICENSE +674 -0
- package/dist/index.js +58362 -11
- package/dist/index.js.map +4 -4
- package/dist/shell.js +58100 -52
- package/dist/shell.js.map +4 -4
- package/docs/copy_field_templates.md +112 -0
- package/esbuild.config.js +8 -13
- package/package.json +3 -3
- package/src/commands/create.ts +48 -0
- package/src/commands/dev.ts +6 -0
- package/src/commands/push.ts +38 -6
- package/src/commands/set.ts +70 -1
- package/src/factories/RequestHandlerFactory.ts +6 -3
- package/src/localisation/en-GB.ts +12 -0
- package/src/mappers/DevRequests-to-RequestHanderCliArgs.ts +3 -0
- package/src/models/CliService.d.ts +5 -1
- package/src/providers/GitHubCliModuleProvider.ts +8 -8
- package/src/services/ContensisCliService.ts +189 -7
- package/src/shell.ts +6 -1
- package/src/util/logger.ts +3 -4
- package/src/util/os.ts +5 -3
- package/src/version.ts +1 -1
- package/dist/commands/connect.js +0 -44
- package/dist/commands/connect.js.map +0 -7
- package/dist/commands/copy.js +0 -78
- package/dist/commands/copy.js.map +0 -7
- package/dist/commands/create.js +0 -170
- package/dist/commands/create.js.map +0 -7
- package/dist/commands/dev.js +0 -81
- package/dist/commands/dev.js.map +0 -7
- package/dist/commands/diff.js +0 -57
- package/dist/commands/diff.js.map +0 -7
- package/dist/commands/execute.js +0 -103
- package/dist/commands/execute.js.map +0 -7
- package/dist/commands/get.js +0 -330
- package/dist/commands/get.js.map +0 -7
- package/dist/commands/globalOptions.js +0 -252
- package/dist/commands/globalOptions.js.map +0 -7
- package/dist/commands/import.js +0 -256
- package/dist/commands/import.js.map +0 -7
- package/dist/commands/index.js +0 -107
- package/dist/commands/index.js.map +0 -7
- package/dist/commands/list.js +0 -195
- package/dist/commands/list.js.map +0 -7
- package/dist/commands/login.js +0 -55
- package/dist/commands/login.js.map +0 -7
- package/dist/commands/push.js +0 -234
- package/dist/commands/push.js.map +0 -7
- package/dist/commands/remove.js +0 -193
- package/dist/commands/remove.js.map +0 -7
- package/dist/commands/set.js +0 -180
- package/dist/commands/set.js.map +0 -7
- package/dist/commands/update.js +0 -70
- package/dist/commands/update.js.map +0 -7
- package/dist/factories/RequestHandlerFactory.js +0 -227
- package/dist/factories/RequestHandlerFactory.js.map +0 -7
- package/dist/localisation/en-GB.js +0 -559
- package/dist/localisation/en-GB.js.map +0 -7
- package/dist/mappers/ContensisCliService-to-RequestHanderSiteConfigYaml.js +0 -56
- package/dist/mappers/ContensisCliService-to-RequestHanderSiteConfigYaml.js.map +0 -7
- package/dist/mappers/DevInit-to-CIWorkflow.js +0 -409
- package/dist/mappers/DevInit-to-CIWorkflow.js.map +0 -7
- package/dist/mappers/DevInit-to-RolePermissions.js +0 -56
- package/dist/mappers/DevInit-to-RolePermissions.js.map +0 -7
- package/dist/mappers/DevRequests-to-RequestHanderCliArgs.js +0 -168
- package/dist/mappers/DevRequests-to-RequestHanderCliArgs.js.map +0 -7
- package/dist/mappers/MixedFileData.js +0 -83
- package/dist/mappers/MixedFileData.js.map +0 -7
- package/dist/models/AppError.d.js +0 -2
- package/dist/models/AppError.d.js.map +0 -7
- package/dist/models/Cache.d.js +0 -2
- package/dist/models/Cache.d.js.map +0 -7
- package/dist/models/CliService.d.js +0 -17
- package/dist/models/CliService.d.js.map +0 -7
- package/dist/models/DevService.d.js +0 -17
- package/dist/models/DevService.d.js.map +0 -7
- package/dist/models/JsModules.d.js +0 -2
- package/dist/models/JsModules.d.js.map +0 -7
- package/dist/providers/CredentialProvider.js +0 -126
- package/dist/providers/CredentialProvider.js.map +0 -7
- package/dist/providers/GitHubCliModuleProvider.js +0 -115
- package/dist/providers/GitHubCliModuleProvider.js.map +0 -7
- package/dist/providers/HttpProvider.js +0 -73
- package/dist/providers/HttpProvider.js.map +0 -7
- package/dist/providers/ManifestProvider.js +0 -50
- package/dist/providers/ManifestProvider.js.map +0 -7
- package/dist/providers/SessionCacheProvider.js +0 -132
- package/dist/providers/SessionCacheProvider.js.map +0 -7
- package/dist/providers/file-provider.js +0 -177
- package/dist/providers/file-provider.js.map +0 -7
- package/dist/services/ContensisAuthService.js +0 -88
- package/dist/services/ContensisAuthService.js.map +0 -7
- package/dist/services/ContensisCliService.js +0 -2661
- package/dist/services/ContensisCliService.js.map +0 -7
- package/dist/services/ContensisDevService.js +0 -435
- package/dist/services/ContensisDevService.js.map +0 -7
- package/dist/services/ContensisRoleService.js +0 -112
- package/dist/services/ContensisRoleService.js.map +0 -7
- package/dist/util/api-ids.js +0 -110
- package/dist/util/api-ids.js.map +0 -7
- package/dist/util/assert.js +0 -62
- package/dist/util/assert.js.map +0 -7
- package/dist/util/console.printer.js +0 -461
- package/dist/util/console.printer.js.map +0 -7
- package/dist/util/csv.formatter.js +0 -118
- package/dist/util/csv.formatter.js.map +0 -7
- package/dist/util/debug.js +0 -29
- package/dist/util/debug.js.map +0 -7
- package/dist/util/diff.js +0 -118
- package/dist/util/diff.js.map +0 -7
- package/dist/util/dotenv.js +0 -56
- package/dist/util/dotenv.js.map +0 -7
- package/dist/util/error.js +0 -36
- package/dist/util/error.js.map +0 -7
- package/dist/util/fetch.js +0 -69
- package/dist/util/fetch.js.map +0 -7
- package/dist/util/find.js +0 -39
- package/dist/util/find.js.map +0 -7
- package/dist/util/git.js +0 -145
- package/dist/util/git.js.map +0 -7
- package/dist/util/gitignore.js +0 -61
- package/dist/util/gitignore.js.map +0 -7
- package/dist/util/html.formatter.js +0 -70
- package/dist/util/html.formatter.js.map +0 -7
- package/dist/util/index.js +0 -68
- package/dist/util/index.js.map +0 -7
- package/dist/util/json.formatter.js +0 -66
- package/dist/util/json.formatter.js.map +0 -7
- package/dist/util/logger.js +0 -304
- package/dist/util/logger.js.map +0 -7
- package/dist/util/os.js +0 -46
- package/dist/util/os.js.map +0 -7
- package/dist/util/timers.js +0 -49
- package/dist/util/timers.js.map +0 -7
- package/dist/util/xml.formatter.js +0 -62
- package/dist/util/xml.formatter.js.map +0 -7
- package/dist/util/yaml.js +0 -44
- package/dist/util/yaml.js.map +0 -7
- package/dist/version.js +0 -29
- 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
|
|