This commit is contained in:
Alex Ant
2024-07-12 16:48:50 +05:00
parent 19430db1a6
commit 92b779f8b2
20 changed files with 12294 additions and 9466 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
# MONOCOOP
Моно-репозиторий компонент Терминала
Моно-репозиторий компонент Цифрового Кооператива.
+4 -1
View File
@@ -40,7 +40,7 @@
"deploy-testnet": "git checkout testnet && git merge main && git push origin testnet && git checkout main",
"deploy-production": "git checkout production && git merge testnet && git push origin production && git checkout main",
"build": "unbuild",
"dev": "unbuild --stub",
"dev": "concurrently -n 'PARSER' -c 'bgBlue.white' \"nodemon --watch src --ext ts,js,env --exec 'esno' src/index.ts\"",
"lint": "eslint .",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
@@ -69,12 +69,15 @@
"@antfu/utils": "^0.7.7",
"@types/node": "^20.12.7",
"bumpp": "^9.4.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"esno": "^4.7.0",
"lint-staged": "^15.2.2",
"nodemon": "^3.1.4",
"pnpm": "^8.15.7",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.11.1",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"unbuild": "^2.0.0",
"vite": "^5.2.10",
+231
View File
@@ -60,6 +60,9 @@ importers:
bumpp:
specifier: ^9.4.0
version: 9.4.0
concurrently:
specifier: ^8.2.2
version: 8.2.2
eslint:
specifier: ^8.57.0
version: 8.57.0
@@ -69,6 +72,9 @@ importers:
lint-staged:
specifier: ^15.2.2
version: 15.2.2
nodemon:
specifier: ^3.1.4
version: 3.1.4
pnpm:
specifier: ^8.15.7
version: 8.15.7
@@ -78,6 +84,9 @@ importers:
simple-git-hooks:
specifier: ^2.11.1
version: 2.11.1
ts-node:
specifier: ^10.9.2
version: 10.9.2(@types/node@20.12.7)(typescript@5.4.5)
typescript:
specifier: ^5.4.5
version: 5.4.5
@@ -225,6 +234,10 @@ packages:
engines: {node: '>=6.0.0'}
hasBin: true
'@babel/runtime@7.24.8':
resolution: {integrity: sha512-5F7SDGs1T72ZczbRwbGO9lQi0NLjQxzl6i4lJxLxfW9U5UluCSyEJeniWvnhl3/euNiqQVbo8zruhsDfid0esA==}
engines: {node: '>=6.9.0'}
'@babel/standalone@7.24.4':
resolution: {integrity: sha512-V4uqWeedadiuiCx5P5OHYJZ1PehdMpcBccNCEptKFGPiZIY3FI5f2ClxUl4r5wZ5U+ohcQ+4KW6jX2K6xXzq4Q==}
engines: {node: '>=6.9.0'}
@@ -258,6 +271,10 @@ packages:
resolution: {integrity: sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==}
engines: {node: '>=0.1.90'}
'@cspotcode/source-map-support@0.8.1':
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
engines: {node: '>=12'}
'@dabh/diagnostics@2.0.3':
resolution: {integrity: sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==}
@@ -602,6 +619,9 @@ packages:
'@jridgewell/trace-mapping@0.3.25':
resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==}
'@jridgewell/trace-mapping@0.3.9':
resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==}
'@jsdevtools/ez-spawn@3.0.4':
resolution: {integrity: sha512-f5DRIOZf7wxogefH03RjMPMdBF7ADTWUMoOs9kaJo06EfwF+aFhMZMDZxHg/Xe12hptN9xoZjGso2fdjapBRIA==}
engines: {node: '>=10'}
@@ -799,6 +819,18 @@ packages:
resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==}
engines: {node: '>=10.13.0'}
'@tsconfig/node10@1.0.11':
resolution: {integrity: sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==}
'@tsconfig/node12@1.0.11':
resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==}
'@tsconfig/node14@1.0.3':
resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==}
'@tsconfig/node16@1.0.4':
resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==}
'@types/body-parser@1.19.5':
resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==}
@@ -1046,6 +1078,9 @@ packages:
resolution: {integrity: sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==}
engines: {node: '>=14'}
arg@4.1.3:
resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==}
argparse@2.0.1:
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
@@ -1264,6 +1299,11 @@ packages:
concat-map@0.0.1:
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
concurrently@8.2.2:
resolution: {integrity: sha512-1dP4gpXFhei8IOtlXRE/T/4H88ElHgTiUzh71YUmtjTEHMSRS2Z/fgOxHSxxusGHogsRfxNq1vyAwxSC+EVyDg==}
engines: {node: ^14.13.0 || >=16.0.0}
hasBin: true
confbox@0.1.7:
resolution: {integrity: sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==}
@@ -1292,6 +1332,9 @@ packages:
core-js-compat@3.37.0:
resolution: {integrity: sha512-vYq4L+T8aS5UuFg4UwDhc7YNRWVeVZwltad9C/jV3R2LgVOpS9BDr7l/WL6BN0dbV3k1XejPTHqqEzJgsa0frA==}
create-require@1.1.1:
resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==}
cross-spawn@7.0.3:
resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}
engines: {node: '>= 8'}
@@ -1348,6 +1391,10 @@ packages:
resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==}
engines: {node: '>= 12'}
date-fns@2.30.0:
resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==}
engines: {node: '>=0.11'}
debug@2.6.9:
resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==}
peerDependencies:
@@ -1414,6 +1461,10 @@ packages:
resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
diff@4.0.2:
resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==}
engines: {node: '>=0.3.1'}
dir-glob@3.0.1:
resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
engines: {node: '>=8'}
@@ -1965,6 +2016,9 @@ packages:
resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
engines: {node: '>=0.10.0'}
ignore-by-default@1.0.1:
resolution: {integrity: sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==}
ignore@5.3.1:
resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==}
engines: {node: '>= 4'}
@@ -2231,6 +2285,9 @@ packages:
magic-string@0.30.10:
resolution: {integrity: sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==}
make-error@1.3.6:
resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==}
marked@4.3.0:
resolution: {integrity: sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==}
engines: {node: '>= 12'}
@@ -2445,6 +2502,11 @@ packages:
node-worker-threads-pool@1.4.3:
resolution: {integrity: sha512-US55ZGzEDQY2oq8Bc33dFVNKGpx4KaCJqThMDomSsUeX8tMdp2eDjQ6OP0yFd1HTEuHuLqxXSTWC4eidEsbXlg==}
nodemon@3.1.4:
resolution: {integrity: sha512-wjPBbFhtpJwmIeY2yP7QF+UKzPfltVGtfce1g/bB15/8vCGZj8uxD62b/b9M9/WVgme0NZudpownKN+c0plXlQ==}
engines: {node: '>=10'}
hasBin: true
normalize-package-data@2.5.0:
resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==}
@@ -2836,6 +2898,9 @@ packages:
resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==}
engines: {node: '>= 0.10'}
pstree.remy@1.1.8:
resolution: {integrity: sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==}
punycode@2.3.1:
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
engines: {node: '>=6'}
@@ -2885,6 +2950,9 @@ packages:
resolution: {integrity: sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==}
engines: {node: '>=4'}
regenerator-runtime@0.14.1:
resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==}
regexp-tree@0.1.27:
resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==}
hasBin: true
@@ -2952,6 +3020,9 @@ packages:
resolution: {integrity: sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==}
engines: {npm: '>=2.0.0'}
rxjs@7.8.1:
resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==}
safe-buffer@5.2.1:
resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
@@ -3001,6 +3072,9 @@ packages:
resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
engines: {node: '>=8'}
shell-quote@1.8.1:
resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==}
shiki@0.14.7:
resolution: {integrity: sha512-dNPAPrxSc87ua2sKJ3H5dQ/6ZaY8RNnaAqK+t0eG7p0Soi2ydiqbGOTaZCqaYvA/uZYfS1LJnemt3Q+mSfcPCg==}
@@ -3025,6 +3099,10 @@ packages:
simple-swizzle@0.2.2:
resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==}
simple-update-notifier@2.0.0:
resolution: {integrity: sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==}
engines: {node: '>=10'}
sisteransi@1.0.5:
resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
@@ -3055,6 +3133,9 @@ packages:
sparse-bitfield@3.0.3:
resolution: {integrity: sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==}
spawn-command@0.0.2:
resolution: {integrity: sha512-zC8zGoGkmc8J9ndvml8Xksr1Amk9qBujgbF0JAIWO7kXr43w0h/0GJNM/Vustixu+YE8N/MTrQ7N31FvHUACxQ==}
spdx-correct@3.2.0:
resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==}
@@ -3142,6 +3223,10 @@ packages:
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
engines: {node: '>=8'}
supports-color@8.1.1:
resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==}
engines: {node: '>=10'}
supports-preserve-symlinks-flag@1.0.0:
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
engines: {node: '>= 0.4'}
@@ -3200,6 +3285,10 @@ packages:
resolution: {integrity: sha512-moYoCvkNUAPCxSW9jmHmRElhm4tVJpHL8ItC/+uYD0EpPSFXbck7yREz9tNdJVTSpHVod8+HoipcpbQ0oE6gsw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
touch@3.1.1:
resolution: {integrity: sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==}
hasBin: true
tr46@0.0.3:
resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
@@ -3207,6 +3296,10 @@ packages:
resolution: {integrity: sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==}
engines: {node: '>=14'}
tree-kill@1.2.2:
resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}
hasBin: true
triple-beam@1.4.1:
resolution: {integrity: sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==}
engines: {node: '>= 14.0.0'}
@@ -3217,6 +3310,20 @@ packages:
peerDependencies:
typescript: '>=4.2.0'
ts-node@10.9.2:
resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==}
hasBin: true
peerDependencies:
'@swc/core': '>=1.2.50'
'@swc/wasm': '>=1.2.50'
'@types/node': '*'
typescript: '>=2.7'
peerDependenciesMeta:
'@swc/core':
optional: true
'@swc/wasm':
optional: true
tslib@1.14.1:
resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
@@ -3282,6 +3389,9 @@ packages:
typescript:
optional: true
undefsafe@2.0.5:
resolution: {integrity: sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==}
undici-types@5.26.5:
resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
@@ -3320,6 +3430,9 @@ packages:
resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==}
engines: {node: '>= 0.4.0'}
v8-compile-cache-lib@3.0.1:
resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==}
validate-npm-package-license@3.0.4:
resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==}
@@ -3499,6 +3612,10 @@ packages:
resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==}
engines: {node: '>=12'}
yn@3.1.1:
resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==}
engines: {node: '>=6'}
yocto-queue@0.1.0:
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
@@ -3665,6 +3782,10 @@ snapshots:
dependencies:
'@babel/types': 7.24.0
'@babel/runtime@7.24.8':
dependencies:
regenerator-runtime: 0.14.1
'@babel/standalone@7.24.4': {}
'@babel/template@7.24.0':
@@ -3726,6 +3847,10 @@ snapshots:
'@colors/colors@1.6.0': {}
'@cspotcode/source-map-support@0.8.1':
dependencies:
'@jridgewell/trace-mapping': 0.3.9
'@dabh/diagnostics@2.0.3':
dependencies:
colorspace: 1.1.4
@@ -3945,6 +4070,11 @@ snapshots:
'@jridgewell/resolve-uri': 3.1.2
'@jridgewell/sourcemap-codec': 1.4.15
'@jridgewell/trace-mapping@0.3.9':
dependencies:
'@jridgewell/resolve-uri': 3.1.2
'@jridgewell/sourcemap-codec': 1.4.15
'@jsdevtools/ez-spawn@3.0.4':
dependencies:
call-me-maybe: 1.0.2
@@ -4122,6 +4252,14 @@ snapshots:
'@trysound/sax@0.2.0': {}
'@tsconfig/node10@1.0.11': {}
'@tsconfig/node12@1.0.11': {}
'@tsconfig/node14@1.0.3': {}
'@tsconfig/node16@1.0.4': {}
'@types/body-parser@1.19.5':
dependencies:
'@types/connect': 3.4.38
@@ -4439,6 +4577,8 @@ snapshots:
are-docs-informative@0.0.2: {}
arg@4.1.3: {}
argparse@2.0.1: {}
array-flatten@1.1.1: {}
@@ -4684,6 +4824,18 @@ snapshots:
concat-map@0.0.1: {}
concurrently@8.2.2:
dependencies:
chalk: 4.1.2
date-fns: 2.30.0
lodash: 4.17.21
rxjs: 7.8.1
shell-quote: 1.8.1
spawn-command: 0.0.2
supports-color: 8.1.1
tree-kill: 1.2.2
yargs: 17.7.2
confbox@0.1.7: {}
consola@3.2.3: {}
@@ -4704,6 +4856,8 @@ snapshots:
dependencies:
browserslist: 4.23.0
create-require@1.1.1: {}
cross-spawn@7.0.3:
dependencies:
path-key: 3.1.1
@@ -4786,6 +4940,10 @@ snapshots:
data-uri-to-buffer@4.0.1: {}
date-fns@2.30.0:
dependencies:
'@babel/runtime': 7.24.8
debug@2.6.9:
dependencies:
ms: 2.0.0
@@ -4798,6 +4956,12 @@ snapshots:
dependencies:
ms: 2.1.2
debug@4.3.4(supports-color@5.5.0):
dependencies:
ms: 2.1.2
optionalDependencies:
supports-color: 5.5.0
deep-eql@4.1.3:
dependencies:
type-detect: 4.0.8
@@ -4826,6 +4990,8 @@ snapshots:
diff-sequences@29.6.3: {}
diff@4.0.2: {}
dir-glob@3.0.1:
dependencies:
path-type: 4.0.0
@@ -5570,6 +5736,8 @@ snapshots:
dependencies:
safer-buffer: 2.1.2
ignore-by-default@1.0.1: {}
ignore@5.3.1: {}
import-fresh@3.3.0:
@@ -5821,6 +5989,8 @@ snapshots:
dependencies:
'@jridgewell/sourcemap-codec': 1.4.15
make-error@1.3.6: {}
marked@4.3.0: {}
mdast-util-from-markdown@0.8.5:
@@ -5984,6 +6154,19 @@ snapshots:
node-worker-threads-pool@1.4.3: {}
nodemon@3.1.4:
dependencies:
chokidar: 3.6.0
debug: 4.3.4(supports-color@5.5.0)
ignore-by-default: 1.0.1
minimatch: 3.1.2
pstree.remy: 1.1.8
semver: 7.6.0
simple-update-notifier: 2.0.0
supports-color: 5.5.0
touch: 3.1.1
undefsafe: 2.0.5
normalize-package-data@2.5.0:
dependencies:
hosted-git-info: 2.8.9
@@ -6343,6 +6526,8 @@ snapshots:
forwarded: 0.2.0
ipaddr.js: 1.9.1
pstree.remy@1.1.8: {}
punycode@2.3.1: {}
qs@6.11.0:
@@ -6396,6 +6581,8 @@ snapshots:
dependencies:
redis-errors: 1.2.0
regenerator-runtime@0.14.1: {}
regexp-tree@0.1.27: {}
regjsparser@0.10.0:
@@ -6473,6 +6660,10 @@ snapshots:
dependencies:
tslib: 1.14.1
rxjs@7.8.1:
dependencies:
tslib: 2.6.2
safe-buffer@5.2.1: {}
safe-stable-stringify@2.4.3: {}
@@ -6533,6 +6724,8 @@ snapshots:
shebang-regex@3.0.0: {}
shell-quote@1.8.1: {}
shiki@0.14.7:
dependencies:
ansi-sequence-parser: 1.1.1
@@ -6559,6 +6752,10 @@ snapshots:
dependencies:
is-arrayish: 0.3.2
simple-update-notifier@2.0.0:
dependencies:
semver: 7.6.0
sisteransi@1.0.5: {}
slash@3.0.0: {}
@@ -6583,6 +6780,8 @@ snapshots:
dependencies:
memory-pager: 1.5.0
spawn-command@0.0.2: {}
spdx-correct@3.2.0:
dependencies:
spdx-expression-parse: 3.0.1
@@ -6670,6 +6869,10 @@ snapshots:
dependencies:
has-flag: 4.0.0
supports-color@8.1.1:
dependencies:
has-flag: 4.0.0
supports-preserve-symlinks-flag@1.0.0: {}
svgo@3.2.0:
@@ -6721,18 +6924,40 @@ snapshots:
dependencies:
eslint-visitor-keys: 3.4.3
touch@3.1.1: {}
tr46@0.0.3: {}
tr46@4.1.1:
dependencies:
punycode: 2.3.1
tree-kill@1.2.2: {}
triple-beam@1.4.1: {}
ts-api-utils@1.3.0(typescript@5.4.5):
dependencies:
typescript: 5.4.5
ts-node@10.9.2(@types/node@20.12.7)(typescript@5.4.5):
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.12.7
acorn: 8.11.3
acorn-walk: 8.3.2
arg: 4.1.3
create-require: 1.1.1
diff: 4.0.2
make-error: 1.3.6
typescript: 5.4.5
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
tslib@1.14.1: {}
tslib@2.6.2: {}
@@ -6810,6 +7035,8 @@ snapshots:
- supports-color
- vue-tsc
undefsafe@2.0.5: {}
undici-types@5.26.5: {}
unicorn-magic@0.1.0: {}
@@ -6848,6 +7075,8 @@ snapshots:
utils-merge@1.0.1: {}
v8-compile-cache-lib@3.0.1: {}
validate-npm-package-license@3.0.4:
dependencies:
spdx-correct: 3.2.0
@@ -7030,6 +7259,8 @@ snapshots:
y18n: 5.0.8
yargs-parser: 21.1.1
yn@3.1.1: {}
yocto-queue@0.1.0: {}
yocto-queue@1.0.0: {}
@@ -16,8 +16,8 @@ export async function BlockParser(db: Database, reader: EosioShipReaderResolved)
blocks$.subscribe(async (block: IBlock) => {
// console.log('new block: ', block)
process.stdout.write('\r') // Возврат каретки в начало строки
process.stdout.write(`Блок: ${block.block_num}`) // Ваш текст
// process.stdout.write('\r') // Возврат каретки в начало строки
// process.stdout.write(`Блок: ${block.block_num}`) // Ваш текст
db.updateCurrentBlock(block.last_irreversible_block_num)
})
+2 -1
View File
@@ -15,7 +15,7 @@
"deploy-testnet": "git checkout testnet && git merge main && git push origin testnet && git checkout main",
"deploy-production": "git checkout production && git merge testnet && git push origin production && git checkout main",
"start": "ts-node src/index.ts",
"dev": "nodemon src/index.ts",
"dev": "concurrently -n 'CONTROLLER' -c 'bgCyan.black' \"nodemon --watch src --ext ts,js,env --exec 'ts-node' src/index.ts\"",
"test": "jest -i --colors --verbose --detectOpenHandles",
"test:watch": "jest -i --watchAll",
"coverage": "jest -i --coverage",
@@ -106,6 +106,7 @@
"devDependencies": {
"@types/express": "^4.17.21",
"@types/node": "^20.11.26",
"concurrently": "^8.2.2",
"coveralls": "^3.0.7",
"eslint": "^7.0.0",
"eslint-config-airbnb-base": "^14.0.0",
+9 -8
View File
@@ -1,6 +1,6 @@
import express from 'express';
import helmet from 'helmet';
import xss from 'xss-clean'
import xss from 'xss-clean';
import mongoSanitize from 'express-mongo-sanitize';
import compression from 'compression';
import cors from 'cors';
@@ -8,20 +8,21 @@ import passport from 'passport';
import httpStatus from 'http-status';
import config from './config/config';
import morgan from './config/morgan';
import jwtStrategy from './config/passport'
import jwtStrategy from './config/passport';
import authLimiter from './middlewares/rateLimiter';
import routes from './routes/v1/index';
import { errorConverter, errorHandler } from './middlewares/error';
import ApiError from './utils/ApiError';
import { connectGenerator } from './services/data.service';
// Подключите генератор
connectGenerator().then(() => {
console.log('Generator connected');
}).catch((error) => {
console.error('Failed to connect generator:', error);
});
connectGenerator()
.then(() => {
console.log('Generator connected');
})
.catch((error) => {
console.error('Failed to connect generator:', error);
});
const app = express();
@@ -169,7 +169,7 @@ export async function createInitialOrder(username: string, data: ICreateInitialP
type: 'registration',
quantity: amount,
};
console.log('amount: ', amount);
order_id = await blockchainService.createOrder(order);
// 4. Обновляешь ордер идентификатором ордера в блокчейне (order_id)
@@ -5,7 +5,7 @@ export default defineBuildConfig({
'src/index',
],
declaration: true,
clean: true,
clean: false,
rollup: {
emitCJS: true,
},
+2 -3
View File
@@ -37,12 +37,10 @@
],
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"dev": "concurrently -n 'GENERATOR' -c 'bgGreen.black' \"nodemon --watch src --exec 'unbuild'\"",
"lint": "eslint .",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
"start": "esno src/index.ts",
"parse": "esno scripts/parse.ts",
"test": "vitest --dir test --testTimeout=120000 --exclude documents --watch=false",
"typecheck": "tsc --noEmit",
"prepare": "simple-git-hooks"
@@ -73,6 +71,7 @@
"@types/node": "^20.12.11",
"@types/nunjucks": "^3.2.6",
"bumpp": "^9.4.1",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"esno": "^4.7.0",
"lint-staged": "^15.2.2",
@@ -1,5 +0,0 @@
packages:
- playground
- docs
- packages/*
- examples/*
+1 -1
View File
@@ -1,4 +1,4 @@
# COOPTYPES.
# COOPTYPES
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
+1 -1
View File
@@ -5,7 +5,7 @@ export default defineBuildConfig({
'src/index',
],
declaration: true,
clean: true,
clean: false,
rollup: {
emitCJS: true,
},
+3 -2
View File
@@ -30,7 +30,6 @@
],
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"lint": "eslint .",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish && pnpm gh-pages --nojekyll -d docs",
@@ -38,7 +37,8 @@
"test": "vitest",
"typecheck": "tsc --noEmit",
"prepare": "simple-git-hooks",
"doc": "typedoc"
"doc": "typedoc",
"dev": "concurrently -n 'TYPES' -c 'bgMagenta.white' \"nodemon --watch src --ext ts --exec 'unbuild'\""
},
"dependencies": {
"@typescript-eslint/parser": "^7.8.0"
@@ -51,6 +51,7 @@
"@types/node": "^20.12.8",
"better-docs": "^2.7.3",
"bumpp": "^9.4.1",
"concurrently": "^8.2.2",
"eslint": "^9.1.1",
"esno": "^4.7.0",
"gh-pages": "^6.1.1",
+2 -1
View File
@@ -37,7 +37,7 @@
"deploy-testnet": "git checkout testnet && git merge main && git push origin testnet && git checkout main",
"deploy-production": "git checkout production && git merge testnet && git push origin production && git checkout main",
"build": "unbuild",
"dev": "unbuild --stub",
"dev": "concurrently -n 'NOTIFICATOR' -c 'bgYellow.black' \"nodemon --watch src --ext ts,js,env --exec 'esno src/index.ts'\"",
"lint": "eslint .",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
@@ -59,6 +59,7 @@
"@antfu/utils": "^0.7.8",
"@types/node": "^20.12.12",
"bumpp": "^9.4.1",
"concurrently": "^8.2.2",
"eslint": "^9.3.0",
"esno": "^4.7.0",
"lint-staged": "^15.2.2",
+2 -1
View File
@@ -11,7 +11,7 @@
"lint": "eslint --ext .js,.ts,.vue ./",
"format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore",
"test": "echo \"No test specified\" && exit 0",
"dev": "quasar dev",
"dev": "concurrently -n 'TERMINAL' -c 'bgRed.white' \"quasar dev\"",
"build": "quasar build"
},
"dependencies": {
@@ -62,6 +62,7 @@
"@typescript-eslint/parser": "^5.10.0",
"@vue/language-plugin-pug": "^1.0.0",
"autoprefixer": "^10.4.2",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-pug": "^1.2.5",
+1 -1
View File
@@ -1,5 +1,5 @@
import { boot } from 'quasar/wrappers';
import axios, { AxiosInstance } from 'axios';
import axios from 'axios';
// declare module '@vue/runtime-core' {
// interface ComponentCustomProperties {
+3 -1
View File
@@ -2,18 +2,20 @@
"name": "monocoop",
"private": true,
"dependencies": {
"lerna": "^8.1.6",
"commitgpt": "^2.0.0",
"coop-notificator": "workspace:*",
"cooparser-ts": "workspace:*",
"coopback": "workspace:*",
"coopdoc-generator-ts": "workspace:*",
"cooptypes": "workspace:*",
"lerna": "^8.1.6",
"terminal": "workspace:*"
},
"devDependencies": {
},
"scripts": {
"dev": "lerna run dev --parallel --scope coopback --scope terminal --scope cooparser-ts --scope coop-notificator",
"dev:types": "lerna run dev --parallel --scope cooptypes",
"gpt-commit": "git add . && commitgpt",
"next": "lerna version",
"testnet": "lerna publish prerelease --message 'chore(release): publish [TESTNET]'",
+12027 -9405
View File
File diff suppressed because it is too large Load Diff
-8
View File
@@ -1,8 +0,0 @@
#!/bin/bash
# Сохраняем изменения в основном репозитории
git stash
# Сохраняем изменения во всех подмодулях
git submodule foreach git stash
-22
View File
@@ -1,22 +0,0 @@
#!/bin/bash
# Получаем текущую дату и время
CURRENT_DATE=$(date "+%Y-%m-%d %H:%M:%S")
# Коммитим и пушим изменения в основном репозитории
git add .
git commit -m "Автоматическое обновление подмодулей - $CURRENT_DATE"
git push origin main
# Проходим по всем подмодулям
git submodule foreach "
git add .
git commit -m 'Автоматическое обновление - $CURRENT_DATE'
git push origin main
"
# Коммитим и пушим обновленные ссылки на подмодули
git add .
git commit -m "Обновление ссылок на подмодули - $CURRENT_DATE"
git push origin main