From 25c0162c390359fd4d1aed05aa44f5bcaece76e1 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Tue, 15 Apr 2025 22:16:16 +0000 Subject: [PATCH] fix(deps): update dependency versions and improve website template variable handling --- changelog.md | 7 ++ package.json | 8 +- pnpm-lock.yaml | 167 +++++++++++++++--------------- ts/00_commitinfo_data.ts | 2 +- ts/mod_format/format.templates.ts | 6 +- 5 files changed, 102 insertions(+), 88 deletions(-) diff --git a/changelog.md b/changelog.md index 91b06b0..71ca8f1 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,12 @@ # Changelog +## 2025-04-15 - 1.15.3 - fix(deps) +update dependency versions and improve website template variable handling + +- Bumped @git.zone/tsbuild from ^2.2.1 to ^2.3.2 and @types/node to ^22.14.1 +- Upgraded @push.rocks/smartscaf from ^4.0.15 to ^4.0.16 and prettier from ^3.5.2 to ^3.5.3 +- Refactored website template update to correctly supply variables with added logging + ## 2025-04-15 - 1.15.2 - fix(website_update) Await supplyVariables call in website update template diff --git a/package.json b/package.json index 4e456dd..9946c04 100644 --- a/package.json +++ b/package.json @@ -57,10 +57,10 @@ }, "homepage": "https://gitlab.com/gitzone/private/gitzone#readme", "devDependencies": { - "@git.zone/tsbuild": "^2.2.1", + "@git.zone/tsbuild": "^2.3.2", "@git.zone/tsrun": "^1.3.3", "@git.zone/tstest": "^1.0.96", - "@types/node": "^22.13.5" + "@types/node": "^22.14.1" }, "dependencies": { "@git.zone/tsdoc": "^1.4.4", @@ -87,13 +87,13 @@ "@push.rocks/smartopen": "^2.0.0", "@push.rocks/smartpath": "^5.0.18", "@push.rocks/smartpromise": "^4.2.3", - "@push.rocks/smartscaf": "^4.0.15", + "@push.rocks/smartscaf": "^4.0.16", "@push.rocks/smartshell": "^3.2.3", "@push.rocks/smartstream": "^3.2.5", "@push.rocks/smartunique": "^3.0.9", "@push.rocks/smartupdate": "^2.0.6", "@types/through2": "^2.0.41", - "prettier": "^3.5.2", + "prettier": "^3.5.3", "through2": "^4.0.2" }, "files": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a8d1c12..753e9d6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -84,8 +84,8 @@ importers: specifier: ^4.2.3 version: 4.2.3 '@push.rocks/smartscaf': - specifier: ^4.0.15 - version: 4.0.15 + specifier: ^4.0.16 + version: 4.0.16 '@push.rocks/smartshell': specifier: ^3.2.3 version: 3.2.3 @@ -102,15 +102,15 @@ importers: specifier: ^2.0.41 version: 2.0.41 prettier: - specifier: ^3.5.2 - version: 3.5.2 + specifier: ^3.5.3 + version: 3.5.3 through2: specifier: ^4.0.2 version: 4.0.2 devDependencies: '@git.zone/tsbuild': - specifier: ^2.2.1 - version: 2.2.1 + specifier: ^2.3.2 + version: 2.3.2 '@git.zone/tsrun': specifier: ^1.3.3 version: 1.3.3 @@ -118,8 +118,8 @@ importers: specifier: ^1.0.96 version: 1.0.96(@aws-sdk/credential-providers@3.750.0)(socks@2.8.4)(typescript@5.7.3) '@types/node': - specifier: ^22.13.5 - version: 22.13.5 + specifier: ^22.14.1 + version: 22.14.1 packages: @@ -638,8 +638,8 @@ packages: '@gerrit0/mini-shiki@1.27.2': resolution: {integrity: sha512-GeWyHz8ao2gBiUW4OJnQDxXQnFgZQwwQk05t/CVVgNBN7/rK8XZ7xY6YhLVv9tH3VppWWmr9DCl3MwemB/i+Og==} - '@git.zone/tsbuild@2.2.1': - resolution: {integrity: sha512-qvyhpRDBm+ZtRJjpx9zgmSBNgdvjkbJ66TxjmFGm0kjT9i/QK2nvfwJXf0CwRfuRQwHhZbl/wYO/dChYkwi0fA==} + '@git.zone/tsbuild@2.3.2': + resolution: {integrity: sha512-PG7N39/MkpIKGgRvT2MC7eyLHMcoofaQJQgUlJzicp62Wfk2W9qbnI8Xexb52uy7zvmndao/G4xZ391exJAj+A==} hasBin: true '@git.zone/tsbundle@2.2.5': @@ -932,8 +932,8 @@ packages: '@push.rocks/smartfile@11.2.0': resolution: {integrity: sha512-0Gw6DvCQ2D/BXNN6airSC7hoSBut0p/uNWf2+rqO+D6VLhIJ/QUBvF6xm/LnpPI/zcF8YlDn/GEriInB5DUtEw==} - '@push.rocks/smartfm@2.0.4': - resolution: {integrity: sha512-5cDSW/+85mI+9lVkiivQKfq+HHdbXz+Vv8rKYX6/4yNpyJup+0YDlrtqnCXSp683cJd/gfGLVX/eNN9LIGe4Nw==} + '@push.rocks/smartfm@2.2.2': + resolution: {integrity: sha512-kLrBv/vWXJmB558LI5C79fWXLKOnno998vnp3opfB+uyznT2E6LkcpKsxdjwe1V/r+Z5GlhXPOWmGgHPCzUR6w==} '@push.rocks/smartgit@3.1.1': resolution: {integrity: sha512-ANUzouwWO/ZZFP038cTbr+SdJSHX0mX6R7t8rNv68FRJMwuViuY/5Oop+el4d80HtQD25vQyfoWU7Mb8eACIwA==} @@ -1007,10 +1007,6 @@ packages: '@push.rocks/smartopen@2.0.0': resolution: {integrity: sha512-eVT0GhtQ2drb95j/kktYst/Toh1zCwCqjTJFYtaYFUnnBnBUajPtBZDFnPQo01DN8JxoeCTo8jggq+PCvzcfww==} - '@push.rocks/smartparam@1.1.10': - resolution: {integrity: sha512-2WDAUtc7GH+E0QszsiuXRdLPnJ/edlS2zPtFgfNpA0LJ8tJ5J9lyx6zhM39k4rKzKtK7bnjWHDb2tHE9zaOBYw==} - deprecated: deprecated in favour of @push.rocks/smartobject - '@push.rocks/smartpath@5.0.18': resolution: {integrity: sha512-kIyRTlOoeEth5b4Qp8KPUxNOGNdvhb2aD0hbHfF3oGTQ0xnDdgB1l03/4bIoapHG48OrTgh4uQ5tUorykgdOzw==} @@ -1041,8 +1037,8 @@ packages: '@push.rocks/smarts3@2.2.5': resolution: {integrity: sha512-OZjD0jBCUTJCLnwraxBcyZ3he5buXf2OEM1zipiTBChA2EcKUZWKk/a6KR5WT+NlFCIIuB23UG+U+cxsIWM91Q==} - '@push.rocks/smartscaf@4.0.15': - resolution: {integrity: sha512-bkCCTMyo+d8fsma83yG8aMSTTdE4l3pT1DVZTAQHtvdE94RRwul9flZoX6cEEv96kPn9s6yUqULdWKXPMkvcrA==} + '@push.rocks/smartscaf@4.0.16': + resolution: {integrity: sha512-TvB0FsVt/xY1GMApDNK4YjiZHO3w0CMS63AdrcwUeV6b/y56JdTVdgHvGRx5eZJDds4ca62dNRChwuZcjGVr6w==} '@push.rocks/smartshell@3.2.3': resolution: {integrity: sha512-BWA/DH1H9lG7Er23d4uYgirfYaya5dX4g/WpWm2la7mOzuL9o2FnPIhel52DQUKIh7ty3Ql305ApV8YaAb4+/w==} @@ -1092,6 +1088,9 @@ packages: '@push.rocks/smartyaml@2.0.5': resolution: {integrity: sha512-tBcf+HaOIfeEsTMwgUZDtZERCxXQyRsWO8Ar5DjBdiSRchbhVGZQEBzXswMS0W5ZoRenjgPK+4tPW3JQGRTfbg==} + '@push.rocks/smartyaml@3.0.4': + resolution: {integrity: sha512-1JRt+hnoc2zHw3AW+vXKlCdSVwqOmY/01fu+2HBviS0UDjoZCa+/rp6E3GaQb5lEEafKi8ENbffAfjXXp3N2xQ==} + '@push.rocks/tapbundle@5.5.6': resolution: {integrity: sha512-V6u+nZwt4fNccxbm3ztZgHr/QAj/uKhaaOUFgtaae0jzYdds4jNEI+mXLpfXuNMgm7Nx93Lk5XUxWKTI8drjNw==} @@ -1667,11 +1666,11 @@ packages: '@types/node-forge@1.3.11': resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} - '@types/node@18.19.76': - resolution: {integrity: sha512-yvR7Q9LdPz2vGpmpJX5LolrgRdWvB67MJKDPSgIIzpFbaf9a1j/f5DnLp5VDyHGMR0QZHlTr1afsD87QCXFHKw==} + '@types/node@18.19.86': + resolution: {integrity: sha512-fifKayi175wLyKyc5qUfyENhQ1dCNI1UNjp653d8kuYcPQN5JhX3dGuP/XmvPTg/xRBn1VTLpbmi+H/Mr7tLfQ==} - '@types/node@22.13.5': - resolution: {integrity: sha512-+lTU0PxZXn0Dr1NBtC7Y8cR21AJr87dLLU953CWA6pMxxv/UDc7jYAY90upcrie1nRcD6XNG5HOYEDtgW5TxAg==} + '@types/node@22.14.1': + resolution: {integrity: sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==} '@types/parse5@6.0.3': resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==} @@ -3968,8 +3967,8 @@ packages: resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==} engines: {node: '>= 0.4'} - prettier@3.5.2: - resolution: {integrity: sha512-lc6npv5PH7hVqozBR7lkBNOGXV9vMwROAPlumdBkX0wTbbzPu/U1hk5yL8p2pt4Xoc+2mkT8t/sow2YrV/M5qg==} + prettier@3.5.3: + resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==} engines: {node: '>=14'} hasBin: true @@ -4610,8 +4609,8 @@ packages: undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - undici-types@6.20.0: - resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} + undici-types@6.21.0: + resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} unified@11.0.5: resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==} @@ -4833,6 +4832,11 @@ packages: engines: {node: '>= 14'} hasBin: true + yaml@2.7.1: + resolution: {integrity: sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==} + engines: {node: '>= 14'} + hasBin: true + yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} @@ -4862,7 +4866,7 @@ snapshots: '@anthropic-ai/sdk@0.37.0': dependencies: - '@types/node': 18.19.76 + '@types/node': 18.19.86 '@types/node-fetch': 2.6.12 abort-controller: 3.0.0 agentkeepalive: 4.6.0 @@ -5714,7 +5718,7 @@ snapshots: '@shikijs/types': 1.29.2 '@shikijs/vscode-textmate': 10.0.2 - '@git.zone/tsbuild@2.2.1': + '@git.zone/tsbuild@2.3.2': dependencies: '@git.zone/tspublish': 1.9.1 '@push.rocks/early': 4.0.4 @@ -5846,7 +5850,7 @@ snapshots: '@inquirer/figures': 1.0.7 '@inquirer/type': 2.0.0 '@types/mute-stream': 0.0.4 - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/wrap-ansi': 3.0.0 ansi-escapes: 4.3.2 cli-width: 4.1.0 @@ -5946,7 +5950,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/yargs': 17.0.33 chalk: 4.1.2 @@ -6382,7 +6386,7 @@ snapshots: glob: 11.0.1 js-yaml: 4.1.0 - '@push.rocks/smartfm@2.0.4': + '@push.rocks/smartfm@2.2.2': dependencies: gray-matter: 4.0.3 @@ -6570,11 +6574,6 @@ snapshots: dependencies: open: 8.4.2 - '@push.rocks/smartparam@1.1.10': - dependencies: - '@push.rocks/smartpromise': 4.2.3 - minimatch: 9.0.5 - '@push.rocks/smartpath@5.0.18': {} '@push.rocks/smartpdf@3.2.2(typescript@5.7.3)': @@ -6655,17 +6654,17 @@ snapshots: - aws-crt - supports-color - '@push.rocks/smartscaf@4.0.15': + '@push.rocks/smartscaf@4.0.16': dependencies: '@push.rocks/lik': 6.1.0 - '@push.rocks/smartfile': 10.0.41 - '@push.rocks/smartfm': 2.0.4 + '@push.rocks/smartfile': 11.2.0 + '@push.rocks/smartfm': 2.2.2 '@push.rocks/smarthbs': 3.0.3 '@push.rocks/smartinteract': 2.0.16 - '@push.rocks/smartparam': 1.1.10 + '@push.rocks/smartobject': 1.0.12 '@push.rocks/smartpromise': 4.2.3 '@push.rocks/smartshell': 3.2.3 - '@push.rocks/smartyaml': 2.0.5 + '@push.rocks/smartyaml': 3.0.4 '@push.rocks/smartshell@3.2.3': dependencies: @@ -6807,6 +6806,10 @@ snapshots: '@types/js-yaml': 3.12.10 js-yaml: 3.14.1 + '@push.rocks/smartyaml@3.0.4': + dependencies: + yaml: 2.7.1 + '@push.rocks/tapbundle@5.5.6(@aws-sdk/credential-providers@3.750.0)(socks@2.8.4)': dependencies: '@open-wc/testing': 4.0.0 @@ -6936,7 +6939,7 @@ snapshots: '@types/fs-extra': 11.0.4 '@types/glob': 8.1.0 '@types/js-yaml': 4.0.9 - fs-extra: 11.2.0 + fs-extra: 11.3.0 glob: 10.4.5 js-yaml: 4.1.0 @@ -7025,8 +7028,8 @@ snapshots: dependencies: '@pushrocks/smartpromise': 4.0.2 '@pushrocks/smarturl': 3.0.6 - agentkeepalive: 4.5.0 - form-data: 4.0.1 + agentkeepalive: 4.6.0 + form-data: 4.0.2 '@pushrocks/smartrx@2.0.27': dependencies: @@ -7472,14 +7475,14 @@ snapshots: '@types/accepts@1.3.7': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/babel__code-frame@7.0.6': {} '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/buffer-json@2.0.3': {} @@ -7495,17 +7498,17 @@ snapshots: '@types/clean-css@4.2.11': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 source-map: 0.6.1 '@types/co-body@6.1.3': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/qs': 6.9.18 '@types/connect@3.4.38': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/content-disposition@0.5.8': {} @@ -7518,11 +7521,11 @@ snapshots: '@types/connect': 3.4.38 '@types/express': 5.0.0 '@types/keygrip': 1.0.6 - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/cors@2.8.17': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/debounce@1.2.4': {} @@ -7538,14 +7541,14 @@ snapshots: '@types/express-serve-static-core@4.19.6': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/qs': 6.9.18 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 '@types/express-serve-static-core@5.0.6': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/qs': 6.9.18 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -7570,30 +7573,30 @@ snapshots: '@types/from2@2.3.5': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/fs-extra@11.0.4': dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/fs-extra@9.0.13': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/glob@7.2.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/glob@8.1.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/gunzip-maybe@1.4.2': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/hast@3.0.4': dependencies: @@ -7627,7 +7630,7 @@ snapshots: '@types/jsonfile@6.1.4': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/keygrip@1.0.6': {} @@ -7644,7 +7647,7 @@ snapshots: '@types/http-errors': 2.0.4 '@types/keygrip': 1.0.6 '@types/koa-compose': 3.2.8 - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/mdast@4.0.4': dependencies: @@ -7666,24 +7669,24 @@ snapshots: '@types/mute-stream@0.0.4': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/node-fetch@2.6.12': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 form-data: 4.0.2 '@types/node-forge@1.3.11': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 - '@types/node@18.19.76': + '@types/node@18.19.86': dependencies: undici-types: 5.26.5 - '@types/node@22.13.5': + '@types/node@22.14.1': dependencies: - undici-types: 6.20.0 + undici-types: 6.21.0 '@types/parse5@6.0.3': {} @@ -7699,19 +7702,19 @@ snapshots: '@types/s3rver@3.7.4': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/semver@7.5.8': {} '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/serve-static@1.15.7': dependencies: '@types/http-errors': 2.0.4 - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/send': 0.17.4 '@types/sinon-chai@3.2.12': @@ -7731,11 +7734,11 @@ snapshots: '@types/tar-stream@2.2.3': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/through2@2.0.41': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/triple-beam@1.3.5': {} @@ -7759,7 +7762,7 @@ snapshots: '@types/whatwg-url@8.2.2': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/webidl-conversions': 7.0.3 '@types/which@3.0.4': {} @@ -7768,11 +7771,11 @@ snapshots: '@types/ws@7.4.7': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/ws@8.5.14': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 '@types/yargs-parser@21.0.3': {} @@ -7782,7 +7785,7 @@ snapshots: '@types/yauzl@2.10.3': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.14.1 optional: true '@ungap/structured-clone@1.2.0': {} @@ -8456,7 +8459,7 @@ snapshots: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.17 - '@types/node': 22.13.5 + '@types/node': 22.14.1 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 @@ -9354,7 +9357,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 22.13.5 + '@types/node': 22.14.1 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -10158,7 +10161,7 @@ snapshots: openai@4.85.4(ws@8.18.1)(zod@3.24.2): dependencies: - '@types/node': 18.19.76 + '@types/node': 18.19.86 '@types/node-fetch': 2.6.12 abort-controller: 3.0.0 agentkeepalive: 4.6.0 @@ -10317,7 +10320,7 @@ snapshots: possible-typed-array-names@1.0.0: {} - prettier@3.5.2: {} + prettier@3.5.3: {} pretty-format@29.7.0: dependencies: @@ -11079,7 +11082,7 @@ snapshots: undici-types@5.26.5: {} - undici-types@6.20.0: {} + undici-types@6.21.0: {} unified@11.0.5: dependencies: @@ -11280,6 +11283,8 @@ snapshots: yaml@2.7.0: {} + yaml@2.7.1: {} + yargs-parser@21.1.1: {} yargs@17.7.2: diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index d9af2f0..071eaa8 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/cli', - version: '1.15.2', + version: '1.15.3', description: 'A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.' } diff --git a/ts/mod_format/format.templates.ts b/ts/mod_format/format.templates.ts index 4a1f05d..00e570a 100644 --- a/ts/mod_format/format.templates.ts +++ b/ts/mod_format/format.templates.ts @@ -57,10 +57,12 @@ export const run = async (project: Project) => { // update html if (project.gitzoneConfig.data.projectType === 'website') { const websiteUpdateTemplate = await templateModule.getTemplate('website_update'); - await websiteUpdateTemplate.supplyVariables({ + const variables ={ assetbrokerUrl: project.gitzoneConfig.data.module.assetbrokerUrl, legalUrl: project.gitzoneConfig.data.module.legalUrl, - }) + }; + console.log('updating website template with variables\n', JSON.stringify(variables, null, 2)); + websiteUpdateTemplate.supplyVariables(variables); await websiteUpdateTemplate.writeToDisk(paths.cwd); logger.log('info', `Updated html for website!`); } else if (project.gitzoneConfig.data.projectType === 'service') {