From 20d34b998e4faf15f68c398ed0e89c8ebde61b4f Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sun, 23 Jun 2024 13:26:51 +0200 Subject: [PATCH] fix(core): update --- package.json | 9 +- pnpm-lock.yaml | 545 ++++++++++++++++++++++---------- ts/00_commitinfo_data.ts | 2 +- ts/mod_commit/index.ts | 28 +- ts/mod_commit/mod.plugins.ts | 5 +- ts/mod_format/format.license.ts | 5 + ts/mod_format/format.readme.ts | 56 +--- ts/mod_format/index.ts | 2 +- 8 files changed, 437 insertions(+), 215 deletions(-) diff --git a/package.json b/package.json index 7818ec3..116a2e5 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "gzone": "./cli.js" }, "scripts": { - "test": "(npm run clean && npm run prepareTest && npm run testCli && npm run testCommit && npm run testDeprecate && npm run testVersion && npm run testReadme && npm run testFormat && npm run testUpdate && npm run testTemplateNpm && npm run testTemplateLit) && rm -rf test", + "test": "(npm run clean && npm run prepareTest && npm run testCli && npm run testFormat && npm run testCommit && npm run testDeprecate && npm run testVersion && npm run testReadme && npm run testUpdate && npm run testTemplateNpm && npm run testTemplateLit) && rm -rf test", "build": "(tsbuild --web --allowimplicitany)", "clean": "(rm -rf test/)", "prepareTest": "(git clone https://gitlab.com/sandboxzone/sandbox-npmts.git test/)", @@ -48,17 +48,18 @@ "author": "Task Venture Capital GmbH", "license": "MIT", "bugs": { - "url": "https://gitlab.com/gitzone/private/gitzone/issues" + "url": "https://code.foss.global/git.zone/cli/issues" }, "homepage": "https://pages.foss.global/git.zone/cli", "devDependencies": { "@git.zone/tsbuild": "^2.1.80", "@git.zone/tsrun": "^1.2.46", "@git.zone/tstest": "^1.0.90", - "@types/node": "^20.14.7" + "@types/node": "^20.14.8" }, "dependencies": { - "@push.rocks/commitinfo": "^1.0.11", + "@git.zone/tsdoc": "^1.1.40", + "@push.rocks/commitinfo": "^1.0.12", "@push.rocks/early": "^4.0.4", "@push.rocks/gulp-function": "^3.0.7", "@push.rocks/lik": "^6.0.15", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8ea778b..031fc1c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,9 +8,12 @@ importers: .: dependencies: + '@git.zone/tsdoc': + specifier: ^1.1.40 + version: 1.1.40 '@push.rocks/commitinfo': - specifier: ^1.0.11 - version: 1.0.11 + specifier: ^1.0.12 + version: 1.0.12 '@push.rocks/early': specifier: ^4.0.4 version: 4.0.4 @@ -104,16 +107,19 @@ importers: version: 2.1.80 '@git.zone/tsrun': specifier: ^1.2.46 - version: 1.2.46(@types/node@20.14.7) + version: 1.2.46(@types/node@20.14.8) '@git.zone/tstest': specifier: ^1.0.90 - version: 1.0.90(@types/node@20.14.7) + version: 1.0.90(@types/node@20.14.8) '@types/node': - specifier: ^20.14.7 - version: 20.14.7 + specifier: ^20.14.8 + version: 20.14.8 packages: + '@anthropic-ai/sdk@0.21.1': + resolution: {integrity: sha512-fqdt74RTdplnaFOYhwNjjK/Ec09Dqv9ekYr7PuC6GdhV1RWkziqbpJBewn42CYYqCr92JeX6g+IXVgXmq9l7XQ==} + '@api.global/typedrequest-interfaces@2.0.2': resolution: {integrity: sha512-D+mkr4IiUZ/eUgrdp5jXjBKOW/iuMcl0z2ZLQsLLypKX/psFGD3viZJ58FNRa+/1OSM38JS5wFyoWl8oPEFLrw==} @@ -314,6 +320,10 @@ packages: resolution: {integrity: sha512-ZrPkScaBQ7hHx6BUchRFfPB9tvb7RlNXwjk9qjkp6AcBcF38JgLcu/UDKDqRsuaFJpkK9oclyhA5bDA7SjXWZg==} hasBin: true + '@git.zone/tsdoc@1.1.40': + resolution: {integrity: sha512-lYkHYGZNAPLvr5BIAZ6pHPnYNBLmic4cFdWk7KRxuK+e38JQO22TCdMeUiBOBd+iRQ9P/ZiuOPoU68aS5nJLIA==} + hasBin: true + '@git.zone/tsrun@1.2.46': resolution: {integrity: sha512-8miFVBle9Mnjx+uPGI/P+EuWcIOXWjBAkdjN5IYbdp5Ytt4xQODCLh4JSnC9h56UeU1nUxCAxZeJs2e9TXrivA==} hasBin: true @@ -414,8 +424,8 @@ packages: resolution: {integrity: sha512-UA91GwWPhFExt3IizW6bOeY/pQ0BkuNwKjk9iQW9KqxluGCrg4VenZ0/L+2Y0+ZOtme72EVvg6v0zo3AMQRCeA==} engines: {node: '>=12'} - '@push.rocks/commitinfo@1.0.11': - resolution: {integrity: sha512-xERmtzWN6po7DrWlk1xZVSyaD5m0YrJUqlaevQ+/PdH2gsbasguEuYfSdEiozgGI3f87jU/0jhx2GjlRRUG61g==} + '@push.rocks/commitinfo@1.0.12': + resolution: {integrity: sha512-Zi2ZYZLPJ7mDcxWnzLoUzTu7YWFmTlYSc835T6yJ6dDzLL5qTjBsC65BWn30MTcnvZxjK5viBKgTvN+txDLfHg==} '@push.rocks/consolecolor@2.0.2': resolution: {integrity: sha512-IBwxCLX+YF3f5wB2N4LfuvFqm9WPlBMiEeSAfjN8YQCyYec6u1hlrR3EIj8vT300pppjeGrybJHK+GyjdGXZJw==} @@ -450,9 +460,15 @@ packages: '@push.rocks/qenv@6.0.5': resolution: {integrity: sha512-Id/eSKKqSDUGe+0Cp5HEJ58J1iVv1jQseLUMs9kFTPYwG+NJSETUCRsJV50w5cPv8bRFcSkSU+xVbUbOc1p29A==} + '@push.rocks/smartai@0.0.17': + resolution: {integrity: sha512-go9mdyGb7Ze00ieoXwMj5LxsqE1dzx648bRyqolrzMeQOTbSDyXczGs0he/3EOT9MGhQvTzZ8wIT1G1ZhfJrXg==} + '@push.rocks/smartarchive@3.0.8': resolution: {integrity: sha512-1jPmR0b7hXmjYQoRiTlRXrIbZcdcFmSdGOfznufjcDpGPe86Km0d8TBnzqghTx4dTihzKC67IxAaz/DM3lvxpA==} + '@push.rocks/smartarray@1.0.8': + resolution: {integrity: sha512-N97EZmbXzA4y8L14bXthzjevpxRneGKZf4bWwoivrrNHOM0qTB3fs7YGLU3+AvGKl/IqyERT75JHxgxScHAFkw==} + '@push.rocks/smartbrowser@2.0.6': resolution: {integrity: sha512-Ne+KCVhV/DROc1rHRRw59K6h0+LpQAK9fdOUtgDZ7laLPmB/tmnbUh3IuRDNcIY1iVA9pydoobwjnTjVgio9eQ==} @@ -501,6 +517,9 @@ packages: '@push.rocks/smartfm@2.0.4': resolution: {integrity: sha512-5cDSW/+85mI+9lVkiivQKfq+HHdbXz+Vv8rKYX6/4yNpyJup+0YDlrtqnCXSp683cJd/gfGLVX/eNN9LIGe4Nw==} + '@push.rocks/smartgit@3.0.4': + resolution: {integrity: sha512-6uYifD4rGjTp6KO8kdaVenXeef0uZOfQSTuLuG3+ubpMXwZNSp0iQWx+XgS5pQipzG0+3p4ddnQ7/R8gm7LWOg==} + '@push.rocks/smartguard@3.0.2': resolution: {integrity: sha512-9TuYPSRxNj0DS84d5ZvSARXRehVCqVq7nC85o/p58kb3aeRtY0A6Hz9dtSdFjEvprEBCqEEzdmiFlNsNYBpwbQ==} @@ -677,10 +696,6 @@ packages: resolution: {integrity: sha512-jO85PCb4gULfZbLoVpXb9HIR9Wgoigq6Zjcp1JqHOgM4KB38IZrU+HPWPWWMErAOOQmmYvVCdl4gkrkO/Rzn4w==} deprecated: This package has been deprecated in favour of the new package at @push.rocks/lik - '@pushrocks/projectinfo@5.0.1': - resolution: {integrity: sha512-kJyjOJGEWdV6n+mC2hB9MlPlivDOLv7a6KlENLvPgW2pBiTskF7BvsAOeZqdE2xrHSW7Y5NX0lqWYOrkDyxa5g==} - deprecated: This package has been deprecated in favour of the new package at @push.rocks/projectinfo - '@pushrocks/smartdelay@2.0.13': resolution: {integrity: sha512-s6Wh0BHWMfZ5VYONQwpxOYX1JeC9RKA0O9TxEzfZ6FCw2oNQb2QUPCixT9rsceKwva4+atKRw/RfU+Z7aJDmsA==} deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartdelay @@ -709,22 +724,10 @@ packages: resolution: {integrity: sha512-JAbsVHXCkBoqI+GHN/gnbXji8hztCVlPrri63HQAdx4lS9OyDCdXN2CSbEIBXQIsXFx9ITzx5LZiPq0owbcDpQ==} deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartfile - '@pushrocks/smartfile@9.0.6': - resolution: {integrity: sha512-mXFrnHpM3Eq0MLokGP6DDRTk+v/HDlQwnNq4HFuCqs8YW6uTU/FoRJDnrCAf+spSzkDm0m1ajz/4rke8Dk9l6A==} - deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartfile - - '@pushrocks/smarthash@2.1.10': - resolution: {integrity: sha512-f6lnQPa2lmkSQOMvWwZ6R6wcNvbDWuXH5OhQNvwmog8af3hBEmOEXxjauj6XU+l7ICJ6qxr3wsvpt4y7Ogyc9A==} - deprecated: This package has been deprecated in favour of the new package at @push.rocks/smarthash - '@pushrocks/smarthash@3.0.2': resolution: {integrity: sha512-jXW4f8k6iqOQRvkCmXMID1C+qXyNvUMKm7apPETxnO+L172VlzxP1dml0Ey1+vjfpU2luKCteJWX7W95sOdLDg==} deprecated: This package has been deprecated in favour of the new package at @push.rocks/smarthash - '@pushrocks/smartjson@4.0.6': - resolution: {integrity: sha512-lykr068RSDHs0+EXCvIDVxjKnDtRQ2M7EXOo5jVrUU6/OEdfRl9ErM1K/oPafiEi47/PtTrwLlp1KdSgqkRjmg==} - deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartjson - '@pushrocks/smartjson@5.0.6': resolution: {integrity: sha512-9OJbnRgLTaCRQz+pqu5tB3ZCqRs5Zh0hnBe7t7URE+TgwIZ8aiELUIbWRkgn4mSGVzHyL6pqTyIowP6AjUCG3w==} deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartjson @@ -741,10 +744,6 @@ packages: resolution: {integrity: sha512-FCRg5p5NFTyZnPsvy2sbheVGz67Zeno7VoZARrcP0O+hFtVPnQKnJ73ze11G+MKZ3dVCmYCh1Li+73R6Lx8XJA==} deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartmime - '@pushrocks/smartpath@4.0.3': - resolution: {integrity: sha512-KWz4DWOrB0sPfk6L4i+CPOo+UK5HXNaLI7ZAaqJe1nEWoDrpyeds1dNDaqVAmSgX4riLGxVpslKH5MnABCPsPg==} - deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartpath - '@pushrocks/smartpath@5.0.5': resolution: {integrity: sha512-t2lXXGMpKnPlwubIcYGD6cGi2CUJxJ3t2yftVt8tHfjX68jELA5sJhFMtyD3AeFZVxePFZOCiHwWEbWkSDNnmw==} deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartpath @@ -761,10 +760,6 @@ packages: resolution: {integrity: sha512-bqorOaGXPOuiOSV81luTKrTghg4O4NBRD0zyv7TIqmrMGf4a0uoozaUMp1X8vQdZW+y0gTzUJP9wkzAE6Cci0g==} deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartpromise - '@pushrocks/smartrequest@1.1.56': - resolution: {integrity: sha512-iF6bApmTgd3ZvRK8OHa77UFg8nVZxS1Y6iL8VfHpWOXdSlQZcXo/WbvwxYtu0+wkERAfFtCTGrrLAPGsFm9lhw==} - deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartrequest - '@pushrocks/smartrequest@2.0.15': resolution: {integrity: sha512-QDXXKhOwAIp+TNFrDglApBpbCTClHrf8pUM3w81q5+VtrMbqUrLINHhInXt3ZUSgTS7RD9HtJSIVSqAukcJo5A==} deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartrequest @@ -797,21 +792,16 @@ packages: resolution: {integrity: sha512-5SpUqD3X/2IZCTezCpk48Ss7cDc9QOuQAkeAYnJrRjDL4UCLakA3lBeHXRD/rsIB7S1smtXlayQ/vizfYzdbfw==} deprecated: This package has been deprecated in favour of the new package at @push.rocks/smarttime - '@pushrocks/smarturl@2.0.1': - resolution: {integrity: sha512-6KGnf2vHR7hW4mQpAD7gkDVL3QVML3jb/No/Uw+qCqvs0TaQr60Yjm+CXoLxJNCKwmrL+I1yx8mhAHBHfYJiJA==} - deprecated: This package has been deprecated in favour of the new package at @push.rocks/smarturl - '@pushrocks/smarturl@3.0.6': resolution: {integrity: sha512-YHWnYE1mm8WIJk1usSXg+kNM7s7ByM+PKApO9cgl0T/oGybjzAJiO3clGNDro4ysP0TD+WuvJuiVue02bErEBQ==} deprecated: This package has been deprecated in favour of the new package at @push.rocks/smarturl - '@pushrocks/smartversion@3.0.2': - resolution: {integrity: sha512-6JxwbNzzyy+bdQW+u0Ux5NpBFffvsbfXMlwqTuce6wC+k6+WQTr0tJyHhZ4oAkybNUSFdzV6gvqMlB67+UAZeQ==} - deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartversion - '@pushrocks/streamfunction@4.0.4': resolution: {integrity: sha512-qnGs9cNkUq7nnluQCuX4te+NeB3RoikNNs+kbSCZCSnwYQWvoHXMeobkK8GXAC1bE3kWKAd68ja8cuLvaDebBg==} + '@shikijs/core@1.9.0': + resolution: {integrity: sha512-cbSoY8P/jgGByG8UOl3jnP/CWg/Qk+1q+eAKWtcrU3pNoILF8wTsLB0jT44qUBV8Ce1SvA9uqcM9Xf+u3fJFBw==} + '@sindresorhus/is@5.6.0': resolution: {integrity: sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==} engines: {node: '>=14.16'} @@ -901,28 +891,21 @@ packages: '@types/default-gateway@3.0.1': resolution: {integrity: sha512-tpu0hp+AOIzwdAHyZPzLE5pCf9uT0pb+xZ76T4S7MrY2YTVq918Q7Q2VQ3KCVQqYxM7nxuCK/SL3X97jBEIeKQ==} + '@types/diff@5.2.1': + resolution: {integrity: sha512-uxpcuwWJGhe2AR1g8hD9F5OYGCqjqWnBUQFD8gMZsDbv8oPHzxJF6iMO6n8Tk0AdzlxoaaoQhOYlIg/PukVU8g==} + '@types/express-serve-static-core@4.19.5': resolution: {integrity: sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg==} '@types/express@4.17.21': resolution: {integrity: sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==} - '@types/fast-json-stable-stringify@2.1.0': - resolution: {integrity: sha512-IyNhGHu71jH1jCXTHmafuoAAdsbBON3kDh7u/UUhLmjYgN5TYB54e1R8ckTCiIevl2UuZaCsi9XRxineY5yUjw==} - deprecated: This is a stub types definition. fast-json-stable-stringify provides its own type definitions, so you do not need this installed. - '@types/from2@2.3.5': resolution: {integrity: sha512-giavnjf3kNlJnE+HpZA1CQ3UKHxgehzsTuIMGda8pGMbOiLYGVNADEskey44OZcADHm/HOoBany8IV+0x28XFw==} '@types/fs-extra@11.0.4': resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} - '@types/fs-extra@9.0.13': - resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} - - '@types/glob@7.2.0': - resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} - '@types/glob@8.1.0': resolution: {integrity: sha512-IO+MJPVhoqz+28h1qLAcBEH2+xHMK6MTyHJc7MTnnYb6wsoLR29POVGJ7LycmVXIqyy/4/2ShP5sUwTXuOwb/w==} @@ -996,8 +979,14 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - '@types/node@20.14.7': - resolution: {integrity: sha512-uTr2m2IbJJucF3KUxgnGOZvYbN0QgkGyWxG6973HCpMYFy2KfcgYuIwkJQMQkt1VbBMlvWRbpshFTLxnxCZjKQ==} + '@types/node-fetch@2.6.11': + resolution: {integrity: sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==} + + '@types/node@18.19.39': + resolution: {integrity: sha512-nPwTRDKUctxw3di5b4TfT3I0sWDiWoPQCZjXhvdkINntwr8lcoVCKsTgnXeRubKIlfnV+eN/HYk6Jb40tbcEAQ==} + + '@types/node@20.14.8': + resolution: {integrity: sha512-DO+2/jZinXfROG7j7WKFn/3C6nFwxy2lLpgLjEXJz+0XKphZlTLJ14mo8Vfg8X5BWN6XjyESXq+LcYdT7tR3bA==} '@types/parse5@6.0.3': resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==} @@ -1103,6 +1092,10 @@ packages: '@zxing/text-encoding@0.9.0': resolution: {integrity: sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==} + abort-controller@3.0.0: + resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} + engines: {node: '>=6.5'} + accepts@1.3.8: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} engines: {node: '>= 0.6'} @@ -1186,6 +1179,9 @@ packages: resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} engines: {node: '>=8'} + async-lock@1.4.1: + resolution: {integrity: sha512-Az2ZTpuytrtqENulXwO3GGv1Bztugx6TT37NIo7imr/Qo0gsYiGtSdBa2B6fsXhTpVZDNfu1Qn3pk531e3q+nQ==} + async@3.2.5: resolution: {integrity: sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==} @@ -1343,6 +1339,9 @@ packages: resolution: {integrity: sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A==} engines: {node: '>= 4.0'} + clean-git-ref@2.0.1: + resolution: {integrity: sha512-bLSptAy2P0s6hU4PzuIMKmMJJSE6gLXGH1cntDu7bWJUksvuM+7ReOK61mozULErYvP6a15rnYl0zFDef+pyPw==} + clean-stack@1.3.0: resolution: {integrity: sha1-noIVAa6XmYbEax1m0tQy2y/UrjE=} engines: {node: '>=4'} @@ -1441,6 +1440,11 @@ packages: resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} engines: {node: '>= 0.10'} + crc-32@1.2.2: + resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==} + engines: {node: '>=0.8'} + hasBin: true + create-require@1.1.1: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} @@ -1582,10 +1586,17 @@ packages: devtools-protocol@0.0.1019158: resolution: {integrity: sha512-wvq+KscQ7/6spEV7czhnZc9RM/woz1AY+/Vpd8/h2HFMwJSdTliu7f/yr1A6vDdJfKICZsShqsYpEQbdhg8AFQ==} + diff3@0.0.3: + resolution: {integrity: sha1-1OXDpM305f4SEatC5pP8tDIVgPw=} + diff@4.0.2: resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} engines: {node: '>=0.3.1'} + diff@5.2.0: + resolution: {integrity: sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==} + engines: {node: '>=0.3.1'} + dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} @@ -1688,6 +1699,10 @@ packages: resolution: {integrity: sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=} engines: {node: '>= 0.6'} + event-target-shim@5.0.1: + resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} + engines: {node: '>=6'} + eventemitter3@4.0.7: resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==} @@ -1787,6 +1802,9 @@ packages: resolution: {integrity: sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==} engines: {node: '>=14'} + form-data-encoder@1.7.2: + resolution: {integrity: sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==} + form-data-encoder@2.1.4: resolution: {integrity: sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==} engines: {node: '>= 14.17'} @@ -1799,6 +1817,10 @@ packages: resolution: {integrity: sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs=} engines: {node: '>=0.4.x'} + formdata-node@4.4.1: + resolution: {integrity: sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==} + engines: {node: '>= 12.20'} + forwarded@0.2.0: resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} engines: {node: '>= 0.6'} @@ -1813,10 +1835,6 @@ packages: fs-constants@1.0.0: resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} - fs-extra@10.1.0: - resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} - engines: {node: '>=12'} - fs-extra@11.2.0: resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==} engines: {node: '>=14.14'} @@ -2157,6 +2175,11 @@ packages: resolution: {integrity: sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==} engines: {node: '>=16'} + isomorphic-git@1.26.1: + resolution: {integrity: sha512-bBZCORcyVf3yLCI10iDwpVnzTaXsMSHZ7m2DnhDLMa40SCiyuRpU7TqdYSdGpaAmxmcOL4zMmZWDxfWZOjK1yg==} + engines: {node: '>=12'} + hasBin: true + isopen@1.3.0: resolution: {integrity: sha512-AN6Q9J0UlqHFl1fN/2xJCHCBLCBCFDjZhpGBO1gh3wzgRPsFSFBUL36I2Lbfd9qkuoj58axmE7j83iejTQsk8Q==} @@ -2232,6 +2255,9 @@ packages: resolution: {integrity: sha512-j/8tY9j5t+GVMLeioLaxweJiKUayFhlGqNTzf2ZGwL0ZCQijd2RLHK0SLW5Tsko8YyyqCZC2cojIb0/s62qTAg==} engines: {node: ^4.8.4 || ^6.10.1 || ^7.10.1 || >= 8.1.4} + linkify-it@5.0.0: + resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==} + lit-element@3.3.3: resolution: {integrity: sha512-XbeRxmTHubXENkV4h8RIPyr8lXc+Ff28rkcQzw3G6up2xg5E8Zu1IgOWIwBLEQsu3cOVFqdYwiVi0hv0SlpqUA==} @@ -2322,6 +2348,9 @@ packages: resolution: {integrity: sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==} engines: {node: '>=16.14'} + lunr@2.3.9: + resolution: {integrity: sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==} + make-dir@3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} @@ -2336,6 +2365,10 @@ packages: make-error@1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + markdown-it@14.1.0: + resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==} + hasBin: true + markdown-table@3.0.3: resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==} @@ -2389,6 +2422,9 @@ packages: mdast-util-to-string@4.0.0: resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} + mdurl@2.0.0: + resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==} + media-typer@0.3.0: resolution: {integrity: sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=} engines: {node: '>= 0.6'} @@ -2539,6 +2575,9 @@ packages: minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + minimisted@2.0.1: + resolution: {integrity: sha512-1oPjfuLQa2caorJUM8HV8lGgWCc0qqAO1MNv/k05G4qslmsndV/5WdNZrqCiyqiz3wohia2Ij2B7w2Dr7/IyrA==} + minio@7.1.3: resolution: {integrity: sha512-xPrLjWkTT5E7H7VnzOjF//xBp9I40jYB4aWhb2xTFopXXfw+Wo82DDWngdUju7Doy3Wk7R8C4LAgwhLHHnf0wA==} engines: {node: ^16 || ^18 || >=20} @@ -2603,6 +2642,10 @@ packages: no-case@2.3.2: resolution: {integrity: sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==} + node-domexception@1.0.0: + resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} + engines: {node: '>=10.5.0'} + node-fetch@2.6.7: resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} engines: {node: 4.x || >=6.0.0} @@ -2669,6 +2712,10 @@ packages: resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} engines: {node: '>=12'} + openai@4.52.0: + resolution: {integrity: sha512-xmiNcdA9QJ5wffHpZDpIsge6AsPTETJ6h5iqDNuFQ7qGSNtonHn8Qe0VHy4UwLE8rBWiSqh4j+iSvuYZSeKkPg==} + hasBin: true + ora@5.4.1: resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} engines: {node: '>=10'} @@ -2796,6 +2843,10 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + pify@4.0.1: + resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} + engines: {node: '>=6'} + ping@0.4.4: resolution: {integrity: sha512-56ZMC0j7SCsMMLdOoUg12VZCfj/+ZO+yfOSjaNCRrmZZr6GLbN2X/Ui56T15dI8NhiHckaw5X2pvyfAomanwqQ==} engines: {node: '>=4.0.0'} @@ -2857,6 +2908,10 @@ packages: pumpify@1.5.1: resolution: {integrity: sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==} + punycode.js@2.3.1: + resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==} + engines: {node: '>=6'} + punycode@1.4.1: resolution: {integrity: sha1-wNWmOycYgArY4esPpSachN1BhF4=} @@ -3037,6 +3092,10 @@ packages: setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} + sha.js@2.4.11: + resolution: {integrity: sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==} + hasBin: true + shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} engines: {node: '>=8'} @@ -3045,6 +3104,9 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} + shiki@1.9.0: + resolution: {integrity: sha512-i6//Lqgn7+7nZA0qVjoYH0085YdNk4MC+tJV4bo+HgjgRMJ0JmkLZzFAuvVioJqLkcGDK5GAMpghZEZkCnwxpQ==} + side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} engines: {node: '>= 0.4'} @@ -3056,6 +3118,12 @@ packages: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} + simple-concat@1.0.1: + resolution: {integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==} + + simple-get@4.0.1: + resolution: {integrity: sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==} + slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} @@ -3300,6 +3368,13 @@ packages: resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} engines: {node: '>= 0.6'} + typedoc@0.26.1: + resolution: {integrity: sha512-APsVXqh93jTlpkLuw6+/IORx7n5LN8hzJV8nvMIrYYaIva0VCq0CoDN7Z3hsRThEYVExI/qoFHnAAxrhG+Wd7Q==} + engines: {node: '>= 18'} + hasBin: true + peerDependencies: + typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x + typescript@5.1.6: resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==} engines: {node: '>=14.17'} @@ -3315,6 +3390,11 @@ packages: engines: {node: '>=14.17'} hasBin: true + typescript@5.5.2: + resolution: {integrity: sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==} + engines: {node: '>=14.17'} + hasBin: true + typeson-registry@1.0.0-alpha.39: resolution: {integrity: sha512-NeGDEquhw+yfwNhguLPcZ9Oj0fzbADiX4R0WxvoY8nGhy98IbzQy1sezjoEFWOywOboj/DWehI+/aUlRVrJnnw==} engines: {node: '>=10.0.0'} @@ -3323,6 +3403,9 @@ packages: resolution: {integrity: sha512-6FTtyGr8ldU0pfbvW/eOZrEtEkczHRUtduBnA90Jh9kMPCiFNnXIon3vF41N0S4tV1HHQt4Hk1j4srpESziCaA==} engines: {node: '>=0.1.14'} + uc.micro@2.1.0: + resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==} + uglify-js@3.18.0: resolution: {integrity: sha512-SyVVbcNBCk0dzr9XL/R/ySrmYf0s372K6/hFklzgcp2lBFyXtw4I7BOdDjlLhE1aVqaI/SHWXWmYdlZxuyF38A==} engines: {node: '>=0.8.0'} @@ -3412,6 +3495,14 @@ packages: web-namespaces@2.0.1: resolution: {integrity: sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==} + web-streams-polyfill@3.3.3: + resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} + engines: {node: '>= 8'} + + web-streams-polyfill@4.0.0-beta.3: + resolution: {integrity: sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==} + engines: {node: '>= 14'} + webidl-conversions@3.0.1: resolution: {integrity: sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=} @@ -3554,6 +3645,11 @@ packages: yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + yaml@2.4.5: + resolution: {integrity: sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==} + engines: {node: '>= 14'} + hasBin: true + yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} @@ -3574,6 +3670,19 @@ packages: snapshots: + '@anthropic-ai/sdk@0.21.1': + dependencies: + '@types/node': 18.19.39 + '@types/node-fetch': 2.6.11 + abort-controller: 3.0.0 + agentkeepalive: 4.5.0 + form-data-encoder: 1.7.2 + formdata-node: 4.4.1 + node-fetch: 2.7.0 + web-streams-polyfill: 3.3.3 + transitivePeerDependencies: + - encoding + '@api.global/typedrequest-interfaces@2.0.2': {} '@api.global/typedrequest-interfaces@3.0.19': {} @@ -3819,22 +3928,45 @@ snapshots: transitivePeerDependencies: - supports-color - '@git.zone/tsrun@1.2.46(@types/node@20.14.7)': + '@git.zone/tsdoc@1.1.40': + dependencies: + '@push.rocks/early': 4.0.4 + '@push.rocks/npmextra': 5.0.23 + '@push.rocks/qenv': 6.0.5 + '@push.rocks/smartai': 0.0.17 + '@push.rocks/smartcli': 4.0.11 + '@push.rocks/smartdelay': 3.0.5 + '@push.rocks/smartfile': 11.0.20 + '@push.rocks/smartgit': 3.0.4 + '@push.rocks/smartinteract': 2.0.15 + '@push.rocks/smartlog': 3.0.7 + '@push.rocks/smartlog-destination-local': 9.0.2 + '@push.rocks/smartpath': 5.0.18 + '@push.rocks/smartshell': 3.0.5 + typedoc: 0.26.1(typescript@5.5.2) + typescript: 5.5.2 + transitivePeerDependencies: + - bufferutil + - encoding + - supports-color + - utf-8-validate + + '@git.zone/tsrun@1.2.46(@types/node@20.14.8)': dependencies: '@push.rocks/smartfile': 10.0.41 '@push.rocks/smartshell': 3.0.5 - ts-node: 10.9.2(@types/node@20.14.7)(typescript@5.1.6) + ts-node: 10.9.2(@types/node@20.14.8)(typescript@5.1.6) typescript: 5.1.6 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' - '@types/node' - '@git.zone/tstest@1.0.90(@types/node@20.14.7)': + '@git.zone/tstest@1.0.90(@types/node@20.14.8)': dependencies: '@api.global/typedserver': 3.0.50 '@git.zone/tsbundle': 2.0.15 - '@git.zone/tsrun': 1.2.46(@types/node@20.14.7) + '@git.zone/tsrun': 1.2.46(@types/node@20.14.8) '@push.rocks/consolecolor': 2.0.2 '@push.rocks/smartbrowser': 2.0.6 '@push.rocks/smartdelay': 3.0.5 @@ -3971,11 +4103,11 @@ snapshots: '@pnpm/network.ca-file': 1.0.2 config-chain: 1.1.13 - '@push.rocks/commitinfo@1.0.11': + '@push.rocks/commitinfo@1.0.12': dependencies: - '@pushrocks/projectinfo': 5.0.1 - '@pushrocks/smartfile': 9.0.6 - '@pushrocks/smartversion': 3.0.2 + '@push.rocks/projectinfo': 5.0.2 + '@push.rocks/smartfile': 10.0.41 + '@push.rocks/smartversion': 3.0.5 '@push.rocks/consolecolor@2.0.2': dependencies: @@ -4061,6 +4193,23 @@ snapshots: '@push.rocks/smartlog': 3.0.7 '@push.rocks/smartpath': 5.0.18 + '@push.rocks/smartai@0.0.17': + dependencies: + '@anthropic-ai/sdk': 0.21.1 + '@push.rocks/smartarray': 1.0.8 + '@push.rocks/smartfile': 11.0.20 + '@push.rocks/smartpath': 5.0.18 + '@push.rocks/smartpdf': 3.1.6 + '@push.rocks/smartpromise': 4.0.3 + '@push.rocks/smartrequest': 2.0.22 + '@push.rocks/webstream': 1.0.10 + openai: 4.52.0 + transitivePeerDependencies: + - bufferutil + - encoding + - supports-color + - utf-8-validate + '@push.rocks/smartarchive@3.0.8': dependencies: '@push.rocks/smartfile': 10.0.41 @@ -4076,6 +4225,8 @@ snapshots: tar: 6.2.1 tar-stream: 3.1.7 + '@push.rocks/smartarray@1.0.8': {} + '@push.rocks/smartbrowser@2.0.6': dependencies: '@push.rocks/smartdelay': 3.0.5 @@ -4202,6 +4353,19 @@ snapshots: dependencies: gray-matter: 4.0.3 + '@push.rocks/smartgit@3.0.4': + dependencies: + '@push.rocks/smartenv': 5.0.12 + '@push.rocks/smartfile': 11.0.20 + '@push.rocks/smartpath': 5.0.18 + '@push.rocks/smartpromise': 4.0.3 + '@push.rocks/smartshell': 3.0.5 + '@push.rocks/smartstring': 4.0.15 + '@types/diff': 5.2.1 + '@types/minimatch': 5.1.2 + diff: 5.2.0 + isomorphic-git: 1.26.1 + '@push.rocks/smartguard@3.0.2': dependencies: '@push.rocks/smartpromise': 4.0.3 @@ -4643,13 +4807,6 @@ snapshots: '@types/symbol-tree': 3.2.5 symbol-tree: 3.2.4 - '@pushrocks/projectinfo@5.0.1': - dependencies: - '@pushrocks/smartfile': 9.0.6 - '@pushrocks/smartpath': 5.0.5 - '@pushrocks/smartpromise': 3.1.10 - '@pushrocks/smartstring': 4.0.7 - '@pushrocks/smartdelay@2.0.13': dependencies: '@pushrocks/smartpromise': 3.1.10 @@ -4694,31 +4851,6 @@ snapshots: glob: 10.4.2 js-yaml: 4.1.0 - '@pushrocks/smartfile@9.0.6': - dependencies: - '@pushrocks/lik': 5.0.7 - '@pushrocks/smartdelay': 2.0.13 - '@pushrocks/smartfile-interfaces': 1.0.7 - '@pushrocks/smarthash': 2.1.10 - '@pushrocks/smartjson': 4.0.6 - '@pushrocks/smartmime': 1.0.5 - '@pushrocks/smartpath': 4.0.3 - '@pushrocks/smartpromise': 3.1.10 - '@pushrocks/smartrequest': 1.1.56 - '@types/fs-extra': 9.0.13 - '@types/glob': 7.2.0 - '@types/js-yaml': 4.0.9 - fs-extra: 10.1.0 - glob: 7.2.3 - js-yaml: 4.1.0 - - '@pushrocks/smarthash@2.1.10': - dependencies: - '@pushrocks/smartjson': 4.0.6 - '@pushrocks/smartpromise': 3.1.10 - '@types/through2': 2.0.41 - through2: 4.0.2 - '@pushrocks/smarthash@3.0.2': dependencies: '@pushrocks/smartjson': 5.0.6 @@ -4726,14 +4858,6 @@ snapshots: '@types/through2': 2.0.41 through2: 4.0.2 - '@pushrocks/smartjson@4.0.6': - dependencies: - '@types/buffer-json': 2.0.3 - '@types/fast-json-stable-stringify': 2.1.0 - buffer-json: 2.0.0 - fast-json-stable-stringify: 2.1.0 - lodash.clonedeep: 4.5.0 - '@pushrocks/smartjson@5.0.6': dependencies: '@pushrocks/smartstring': 4.0.7 @@ -4755,8 +4879,6 @@ snapshots: '@types/mime-types': 2.1.4 mime-types: 2.1.35 - '@pushrocks/smartpath@4.0.3': {} - '@pushrocks/smartpath@5.0.5': {} '@pushrocks/smartping@1.0.8': @@ -4768,13 +4890,6 @@ snapshots: '@pushrocks/smartpromise@4.0.2': {} - '@pushrocks/smartrequest@1.1.56': - dependencies: - '@pushrocks/smartpromise': 3.1.10 - '@pushrocks/smarturl': 2.0.1 - agentkeepalive: 4.5.0 - form-data: 4.0.0 - '@pushrocks/smartrequest@2.0.15': dependencies: '@pushrocks/smartpromise': 4.0.2 @@ -4843,15 +4958,8 @@ snapshots: is-nan: 1.3.2 pretty-ms: 8.0.0 - '@pushrocks/smarturl@2.0.1': {} - '@pushrocks/smarturl@3.0.6': {} - '@pushrocks/smartversion@3.0.2': - dependencies: - '@types/semver': 7.5.8 - semver: 7.6.2 - '@pushrocks/streamfunction@4.0.4': dependencies: '@pushrocks/smartpromise': 3.1.10 @@ -4861,6 +4969,8 @@ snapshots: from2: 2.3.0 through2: 4.0.2 + '@shikijs/core@1.9.0': {} + '@sindresorhus/is@5.6.0': {} '@socket.io/component-emitter@3.1.2': {} @@ -4895,14 +5005,14 @@ snapshots: '@types/accepts@1.3.7': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/babel__code-frame@7.0.6': {} '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/buffer-json@2.0.3': {} @@ -4914,17 +5024,17 @@ snapshots: '@types/clean-css@4.2.11': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 source-map: 0.6.1 '@types/co-body@6.1.3': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/qs': 6.9.15 '@types/connect@3.4.38': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/content-disposition@0.5.8': {} @@ -4937,11 +5047,11 @@ snapshots: '@types/connect': 3.4.38 '@types/express': 4.17.21 '@types/keygrip': 1.0.6 - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/cors@2.8.17': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/debounce@1.2.4': {} @@ -4951,9 +5061,11 @@ snapshots: '@types/default-gateway@3.0.1': {} + '@types/diff@5.2.1': {} + '@types/express-serve-static-core@4.19.5': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/qs': 6.9.15 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -4965,36 +5077,23 @@ snapshots: '@types/qs': 6.9.15 '@types/serve-static': 1.15.7 - '@types/fast-json-stable-stringify@2.1.0': - dependencies: - fast-json-stable-stringify: 2.1.0 - '@types/from2@2.3.5': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/fs-extra@11.0.4': dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 20.14.7 - - '@types/fs-extra@9.0.13': - dependencies: - '@types/node': 20.14.7 - - '@types/glob@7.2.0': - dependencies: - '@types/minimatch': 5.1.2 - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/glob@8.1.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/gunzip-maybe@1.4.2': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/hast@3.0.4': dependencies: @@ -5033,7 +5132,7 @@ snapshots: '@types/jsonfile@6.1.4': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/keygrip@1.0.6': {} @@ -5050,7 +5149,7 @@ snapshots: '@types/http-errors': 2.0.4 '@types/keygrip': 1.0.6 '@types/koa-compose': 3.2.8 - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/mdast@4.0.4': dependencies: @@ -5070,7 +5169,16 @@ snapshots: '@types/ms@0.7.34': {} - '@types/node@20.14.7': + '@types/node-fetch@2.6.11': + dependencies: + '@types/node': 20.14.8 + form-data: 4.0.0 + + '@types/node@18.19.39': + dependencies: + undici-types: 5.26.5 + + '@types/node@20.14.8': dependencies: undici-types: 5.26.5 @@ -5091,12 +5199,12 @@ snapshots: '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/serve-static@1.15.7': dependencies: '@types/http-errors': 2.0.4 - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/send': 0.17.4 '@types/sinon-chai@3.2.12': @@ -5114,15 +5222,15 @@ snapshots: '@types/tar-stream@2.2.3': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/through2@2.0.41': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/through@0.0.33': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/trusted-types@2.0.7': {} @@ -5142,15 +5250,15 @@ snapshots: '@types/ws@7.4.7': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/ws@8.5.10': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 '@types/yauzl@2.10.3': dependencies: - '@types/node': 20.14.7 + '@types/node': 20.14.8 optional: true '@ungap/structured-clone@1.2.0': {} @@ -5234,6 +5342,10 @@ snapshots: '@zxing/text-encoding@0.9.0': optional: true + abort-controller@3.0.0: + dependencies: + event-target-shim: 5.0.1 + accepts@1.3.8: dependencies: mime-types: 2.1.35 @@ -5303,6 +5415,8 @@ snapshots: astral-regex@2.0.0: {} + async-lock@1.4.1: {} + async@3.2.5: {} asynckit@0.4.0: {} @@ -5480,6 +5594,8 @@ snapshots: dependencies: source-map: 0.6.1 + clean-git-ref@2.0.1: {} + clean-stack@1.3.0: {} clean-stack@4.2.0: @@ -5561,6 +5677,8 @@ snapshots: object-assign: 4.1.1 vary: 1.1.2 + crc-32@1.2.2: {} + create-require@1.1.1: {} croner@4.4.1: {} @@ -5666,8 +5784,12 @@ snapshots: devtools-protocol@0.0.1019158: {} + diff3@0.0.3: {} + diff@4.0.2: {} + diff@5.2.0: {} + dir-glob@3.0.1: dependencies: path-type: 4.0.0 @@ -5723,7 +5845,7 @@ snapshots: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.17 - '@types/node': 20.14.7 + '@types/node': 20.14.8 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 @@ -5790,6 +5912,8 @@ snapshots: etag@1.8.1: {} + event-target-shim@5.0.1: {} + eventemitter3@4.0.7: {} express-force-ssl@0.3.2: @@ -5941,6 +6065,8 @@ snapshots: cross-spawn: 7.0.3 signal-exit: 4.1.0 + form-data-encoder@1.7.2: {} + form-data-encoder@2.1.4: {} form-data@4.0.0: @@ -5951,6 +6077,11 @@ snapshots: format@0.2.2: {} + formdata-node@4.4.1: + dependencies: + node-domexception: 1.0.0 + web-streams-polyfill: 4.0.0-beta.3 + forwarded@0.2.0: {} fresh@0.5.2: {} @@ -5962,12 +6093,6 @@ snapshots: fs-constants@1.0.0: {} - fs-extra@10.1.0: - dependencies: - graceful-fs: 4.2.11 - jsonfile: 6.1.0 - universalify: 2.0.1 - fs-extra@11.2.0: dependencies: graceful-fs: 4.2.11 @@ -6381,6 +6506,20 @@ snapshots: isexe@3.1.1: {} + isomorphic-git@1.26.1: + dependencies: + async-lock: 1.4.1 + clean-git-ref: 2.0.1 + crc-32: 1.2.2 + diff3: 0.0.3 + ignore: 5.3.1 + minimisted: 2.0.1 + pako: 1.0.11 + pify: 4.0.1 + readable-stream: 3.6.2 + sha.js: 2.4.11 + simple-get: 4.0.1 + isopen@1.3.0: {} istanbul-lib-coverage@3.2.2: {} @@ -6489,6 +6628,10 @@ snapshots: transitivePeerDependencies: - supports-color + linkify-it@5.0.0: + dependencies: + uc.micro: 2.1.0 + lit-element@3.3.3: dependencies: '@lit-labs/ssr-dom-shim': 1.2.0 @@ -6593,6 +6736,8 @@ snapshots: lru-cache@8.0.5: {} + lunr@2.3.9: {} + make-dir@3.1.0: dependencies: semver: 6.3.1 @@ -6607,6 +6752,15 @@ snapshots: make-error@1.3.6: {} + markdown-it@14.1.0: + dependencies: + argparse: 2.0.1 + entities: 4.5.0 + linkify-it: 5.0.0 + mdurl: 2.0.0 + punycode.js: 2.3.1 + uc.micro: 2.1.0 + markdown-table@3.0.3: {} matcher@3.0.0: @@ -6743,6 +6897,8 @@ snapshots: dependencies: '@types/mdast': 4.0.4 + mdurl@2.0.0: {} + media-typer@0.3.0: {} merge-descriptors@1.0.1: {} @@ -6982,6 +7138,10 @@ snapshots: minimist@1.2.8: {} + minimisted@2.0.1: + dependencies: + minimist: 1.2.8 + minio@7.1.3: dependencies: async: 3.2.5 @@ -7038,6 +7198,8 @@ snapshots: dependencies: lower-case: 1.1.4 + node-domexception@1.0.0: {} + node-fetch@2.6.7: dependencies: whatwg-url: 5.0.0 @@ -7084,6 +7246,19 @@ snapshots: is-docker: 2.2.1 is-wsl: 2.2.0 + openai@4.52.0: + dependencies: + '@types/node': 18.19.39 + '@types/node-fetch': 2.6.11 + abort-controller: 3.0.0 + agentkeepalive: 4.5.0 + form-data-encoder: 1.7.2 + formdata-node: 4.4.1 + node-fetch: 2.7.0 + web-streams-polyfill: 3.3.3 + transitivePeerDependencies: + - encoding + ora@5.4.1: dependencies: bl: 4.1.0 @@ -7196,6 +7371,8 @@ snapshots: picomatch@2.3.1: {} + pify@4.0.1: {} + ping@0.4.4: {} pkg-dir@4.2.0: @@ -7254,6 +7431,8 @@ snapshots: inherits: 2.0.4 pump: 2.0.1 + punycode.js@2.3.1: {} + punycode@1.4.1: {} punycode@2.3.1: {} @@ -7502,12 +7681,21 @@ snapshots: setprototypeof@1.2.0: {} + sha.js@2.4.11: + dependencies: + inherits: 2.0.4 + safe-buffer: 5.2.1 + shebang-command@2.0.0: dependencies: shebang-regex: 3.0.0 shebang-regex@3.0.0: {} + shiki@1.9.0: + dependencies: + '@shikijs/core': 1.9.0 + side-channel@1.0.6: dependencies: call-bind: 1.0.7 @@ -7519,6 +7707,14 @@ snapshots: signal-exit@4.1.0: {} + simple-concat@1.0.1: {} + + simple-get@4.0.1: + dependencies: + decompress-response: 6.0.0 + once: 1.4.0 + simple-concat: 1.0.1 + slash@3.0.0: {} slice-ansi@4.0.0: @@ -7759,14 +7955,14 @@ snapshots: trough@2.2.0: {} - ts-node@10.9.2(@types/node@20.14.7)(typescript@5.1.6): + ts-node@10.9.2(@types/node@20.14.8)(typescript@5.1.6): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.14.7 + '@types/node': 20.14.8 acorn: 8.12.0 acorn-walk: 8.3.3 arg: 4.1.3 @@ -7800,12 +7996,23 @@ snapshots: media-typer: 0.3.0 mime-types: 2.1.35 + typedoc@0.26.1(typescript@5.5.2): + dependencies: + lunr: 2.3.9 + markdown-it: 14.1.0 + minimatch: 9.0.4 + shiki: 1.9.0 + typescript: 5.5.2 + yaml: 2.4.5 + typescript@5.1.6: {} typescript@5.3.3: {} typescript@5.4.5: {} + typescript@5.5.2: {} + typeson-registry@1.0.0-alpha.39: dependencies: base64-arraybuffer-es6: 0.7.0 @@ -7814,6 +8021,8 @@ snapshots: typeson@6.1.0: {} + uc.micro@2.1.0: {} + uglify-js@3.18.0: {} uint8array-extras@1.1.0: {} @@ -7917,6 +8126,10 @@ snapshots: web-namespaces@2.0.1: {} + web-streams-polyfill@3.3.3: {} + + web-streams-polyfill@4.0.0-beta.3: {} + webidl-conversions@3.0.1: {} webidl-conversions@4.0.2: {} @@ -8013,6 +8226,8 @@ snapshots: yallist@4.0.0: {} + yaml@2.4.5: {} + yargs-parser@21.1.1: {} yauzl@2.10.0: diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 4db9554..a91db26 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.9.98', + version: '1.9.99', description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.' } diff --git a/ts/mod_commit/index.ts b/ts/mod_commit/index.ts index 166e588..c2ac628 100644 --- a/ts/mod_commit/index.ts +++ b/ts/mod_commit/index.ts @@ -5,6 +5,19 @@ import * as paths from '../paths.js'; import { logger } from '../gitzone.logging.js'; export const run = async (argvArg: any) => { + logger.log('info', `gathering facts...`); + const aidoc = new plugins.tsdoc.AiDoc(); + await aidoc.start(); + + const nextCommitObject = await aidoc.buildNextCommitObject(paths.cwd); + + logger.log('info', `--------- + Next recommended commit would be: + =========== + -> ${nextCommitObject.recommendedNextVersion}: + -> ${nextCommitObject.recommendedNextVersionLevel}(${nextCommitObject.recommendedNextVersionScope}): ${nextCommitObject.recommendedNextVersionMessage} + =========== + `); const commitInteract = new plugins.smartinteract.SmartInteract(); commitInteract.addQuestions([ { @@ -12,19 +25,19 @@ export const run = async (argvArg: any) => { name: `commitType`, message: `Choose TYPE of the commit:`, choices: [`fix`, `feat`, `BREAKING CHANGE`], - default: `fix`, + default: nextCommitObject.recommendedNextVersionLevel, }, { type: 'input', name: `commitScope`, message: `What is the SCOPE of the commit:`, - default: `core`, + default: nextCommitObject.recommendedNextVersionScope, }, { type: `input`, name: `commitDescription`, message: `What is the DESCRIPTION of the commit?`, - default: `update`, + default: nextCommitObject.recommendedNextVersionMessage, }, { type: 'confirm', @@ -52,10 +65,17 @@ export const run = async (argvArg: any) => { sourceFilePaths: [], }); - logger.log('info', `Baking commitinfo into code`); + logger.log('info', `Baking commitinfo into code ...`); const commitInfo = new plugins.commitinfo.CommitInfo(paths.cwd, commitVersionType); await commitInfo.writeIntoPotentialDirs(); + logger.log('info', `Writing changelog.md ...`); + const changelog = nextCommitObject.changelog; + changelog.replaceAll('{{nextVersion}}', (await commitInfo.getNextPlannedVersion()).versionString); + changelog.replaceAll('{{nextVersionMessage}}', commitString); + + await plugins.smartfile.memory.toFs(changelog, plugins.path.join(paths.cwd, `changelog.md`)); + logger.log('info', `Staging files for commit:`); await smartshellInstance.exec(`git add -A`); await smartshellInstance.exec(`git commit -m "${commitString}"`); diff --git a/ts/mod_commit/mod.plugins.ts b/ts/mod_commit/mod.plugins.ts index 001b40f..7a40e6b 100644 --- a/ts/mod_commit/mod.plugins.ts +++ b/ts/mod_commit/mod.plugins.ts @@ -1,7 +1,10 @@ export * from '../plugins.js'; import * as commitinfo from '@push.rocks/commitinfo'; +import * as smartfile from '@push.rocks/smartfile'; import * as smartinteract from '@push.rocks/smartinteract'; import * as smartshell from '@push.rocks/smartshell'; -export { commitinfo, smartinteract, smartshell }; +import * as tsdoc from '@git.zone/tsdoc'; + +export { commitinfo, smartfile, smartinteract, smartshell, tsdoc }; diff --git a/ts/mod_format/format.license.ts b/ts/mod_format/format.license.ts index 410529a..d13ea25 100644 --- a/ts/mod_format/format.license.ts +++ b/ts/mod_format/format.license.ts @@ -11,6 +11,11 @@ const incompatibleLicenses: string[] = [ ]; export const run = async (projectArg: Project) => { + const nodeModulesInstalled = await plugins.smartfile.fs.isDirectory(plugins.path.join(paths.cwd, 'node_modules')); + if (!nodeModulesInstalled) { + logger.log('warn', 'No node_modules found. Skipping license check'); + return; + } const licenseChecker = await plugins.smartlegal.createLicenseChecker(); const licenseCheckResult = await licenseChecker.excludeLicenseWithinPath(paths.cwd, incompatibleLicenses); if (licenseCheckResult.failingModules.length === 0) { diff --git a/ts/mod_format/format.readme.ts b/ts/mod_format/format.readme.ts index f7a4e0b..c628da8 100644 --- a/ts/mod_format/format.readme.ts +++ b/ts/mod_format/format.readme.ts @@ -1,47 +1,25 @@ import * as plugins from './mod.plugins.js'; import * as paths from '../paths.js'; -import { GitzoneConfig } from '../classes.gitzoneconfig.js'; -import { Project } from '../classes.project.js'; -export const run = async (projectArg: Project) => { +export const run = async () => { const readmePath = plugins.path.join(paths.cwd, 'readme.md'); - const readmeFile = await plugins.smartfile.SmartFile.fromFilePath(readmePath); + const readmeHintsPath = plugins.path.join(paths.cwd, 'readme.hints.md'); - // lets do our transformation - - let usageInfo: string = ''; - const gitzoneConfig = await GitzoneConfig.fromCwd(); - - if (readmeFile) { - const readmeFileString = readmeFile.contentBuffer.toString(); - const stringArray1 = readmeFileString.split('## Usage\n'); - if (stringArray1[1]) { - const stringArray2 = stringArray1[1].split( - '\nFor further information read the linked docs at the top of this readme.' - ); - const stringArray3 = stringArray2[0].split('\n\n## Contribution'); - usageInfo = stringArray3[0]; - } + // Check and initialize readme.md if it doesn't exist + const readmeExists = await plugins.smartfile.fs.fileExists(readmePath); + if (!readmeExists) { + await plugins.smartfile.fs.toFs('# Project Readme\n\nThis is the initial readme file.', readmePath); + console.log('Initialized readme.md'); + } else { + console.log('readme.md already exists'); } - if (gitzoneConfig.data.module && gitzoneConfig.data.module.license === 'MIT') { - usageInfo += - '\n\n## Contribution\n\n' + - 'We are always happy for code contributions. If you are not the code contributing type that is ok. ' + - 'Still, maintaining Open Source repositories takes considerable time and thought. ' + - 'If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: ' + - 'You can [contribute one time](https://lossless.link/contribute-onetime) or [contribute monthly](https://lossless.link/contribute). :)\n'; + // Check and initialize readme.hints.md if it doesn't exist + const readmeHintsExists = await plugins.smartfile.fs.fileExists(readmeHintsPath); + if (!readmeHintsExists) { + await plugins.smartfile.fs.toFs('# Project Readme Hints\n\nThis is the initial readme hints file.', readmeHintsPath); + console.log('Initialized readme.hints.md'); + } else { + console.log('readme.hints.md already exists'); } - - const templateModule = await import('../mod_template/index.js'); - const readmeTemplate = await templateModule.getTemplate('readme'); - console.log(gitzoneConfig.data); - await readmeTemplate.supplyVariables({ - module: { - ...gitzoneConfig.data.module, - }, - usageInfo, - }); - await readmeTemplate.askCliForMissingVariables(); - await readmeTemplate.writeToDisk(paths.cwd); -}; +}; \ No newline at end of file diff --git a/ts/mod_format/index.ts b/ts/mod_format/index.ts index bed6305..daf57b0 100644 --- a/ts/mod_format/index.ts +++ b/ts/mod_format/index.ts @@ -34,5 +34,5 @@ export let run = async (write: boolean = true): Promise => { // format readme.md const formatReadme = await import('./format.readme.js'); - // await formatReadme.run(); + await formatReadme.run(); };