chore: add missing typings
This commit is contained in:
+11
-6
@@ -15,11 +15,11 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": "DIYgod",
|
||||
"type": "module",
|
||||
"main": "lib/pkg.ts",
|
||||
"files": [
|
||||
"lib"
|
||||
],
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsx scripts/workflow/build-routes.ts",
|
||||
"build:docs": "tsx scripts/workflow/build-docs.ts",
|
||||
@@ -28,15 +28,15 @@
|
||||
"format": "eslint --cache --fix \"**/*.{ts,tsx,js,yml}\" && prettier \"**/*.{ts,tsx,js,json}\" --write",
|
||||
"format:check": "eslint --cache \"**/*.{ts,tsx,js,yml}\" && prettier \"**/*.{ts,tsx,js,json}\" --check",
|
||||
"format:staged": "lint-staged",
|
||||
"vitest": "cross-env NODE_ENV=test vitest",
|
||||
"vitest:fullroutes": "cross-env NODE_ENV=test FULL_ROUTES_TEST=true vitest --reporter=json --reporter=default --outputFile=\"./assets/build/test-full-routes.json\" routes",
|
||||
"vitest:coverage": "cross-env NODE_ENV=test vitest --coverage.enabled --reporter=junit",
|
||||
"vitest:watch": "cross-env NODE_ENV=test vitest --watch",
|
||||
"lint": "eslint --cache .",
|
||||
"prepare": "husky || true",
|
||||
"profiling": "cross-env NODE_ENV=production tsx --prof lib/index.ts",
|
||||
"start": "cross-env NODE_ENV=production tsx lib/index.ts",
|
||||
"test": "npm run format:check && npm run vitest:coverage"
|
||||
"test": "npm run format:check && npm run vitest:coverage",
|
||||
"vitest": "cross-env NODE_ENV=test vitest",
|
||||
"vitest:coverage": "cross-env NODE_ENV=test vitest --coverage.enabled --reporter=junit",
|
||||
"vitest:fullroutes": "cross-env NODE_ENV=test FULL_ROUTES_TEST=true vitest --reporter=json --reporter=default --outputFile=\"./assets/build/test-full-routes.json\" routes",
|
||||
"vitest:watch": "cross-env NODE_ENV=test vitest --watch"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.js": [
|
||||
@@ -129,6 +129,7 @@
|
||||
"@microsoft/eslint-formatter-sarif": "3.1.0",
|
||||
"@stylistic/eslint-plugin": "1.7.0",
|
||||
"@types/aes-js": "3.1.4",
|
||||
"@types/babel__preset-env": "7.9.6",
|
||||
"@types/crypto-js": "4.2.2",
|
||||
"@types/eslint": "8.56.7",
|
||||
"@types/eslint-config-prettier": "6.11.3",
|
||||
@@ -137,8 +138,10 @@
|
||||
"@types/git-rev-sync": "2.0.2",
|
||||
"@types/html-to-text": "9.0.4",
|
||||
"@types/imapflow": "1.0.18",
|
||||
"@types/js-beautify": "1.14.3",
|
||||
"@types/jsdom": "21.1.6",
|
||||
"@types/json-bigint": "1.0.4",
|
||||
"@types/jsrsasign": "10.5.13",
|
||||
"@types/lint-staged": "13.3.0",
|
||||
"@types/mailparser": "3.4.4",
|
||||
"@types/markdown-it": "14.0.0",
|
||||
@@ -148,7 +151,9 @@
|
||||
"@types/sanitize-html": "2.11.0",
|
||||
"@types/supertest": "6.0.2",
|
||||
"@types/tiny-async-pool": "2.0.3",
|
||||
"@types/title": "3.4.3",
|
||||
"@types/tough-cookie": "4.0.5",
|
||||
"@types/uuid": "9.0.8",
|
||||
"@typescript-eslint/eslint-plugin": "7.6.0",
|
||||
"@typescript-eslint/parser": "7.6.0",
|
||||
"@vercel/nft": "0.26.4",
|
||||
|
||||
Generated
+35
@@ -238,6 +238,9 @@ devDependencies:
|
||||
'@types/aes-js':
|
||||
specifier: 3.1.4
|
||||
version: 3.1.4
|
||||
'@types/babel__preset-env':
|
||||
specifier: 7.9.6
|
||||
version: 7.9.6
|
||||
'@types/crypto-js':
|
||||
specifier: 4.2.2
|
||||
version: 4.2.2
|
||||
@@ -262,12 +265,18 @@ devDependencies:
|
||||
'@types/imapflow':
|
||||
specifier: 1.0.18
|
||||
version: 1.0.18
|
||||
'@types/js-beautify':
|
||||
specifier: 1.14.3
|
||||
version: 1.14.3
|
||||
'@types/jsdom':
|
||||
specifier: 21.1.6
|
||||
version: 21.1.6
|
||||
'@types/json-bigint':
|
||||
specifier: 1.0.4
|
||||
version: 1.0.4
|
||||
'@types/jsrsasign':
|
||||
specifier: 10.5.13
|
||||
version: 10.5.13
|
||||
'@types/lint-staged':
|
||||
specifier: 13.3.0
|
||||
version: 13.3.0
|
||||
@@ -295,9 +304,15 @@ devDependencies:
|
||||
'@types/tiny-async-pool':
|
||||
specifier: 2.0.3
|
||||
version: 2.0.3
|
||||
'@types/title':
|
||||
specifier: 3.4.3
|
||||
version: 3.4.3
|
||||
'@types/tough-cookie':
|
||||
specifier: 4.0.5
|
||||
version: 4.0.5
|
||||
'@types/uuid':
|
||||
specifier: 9.0.8
|
||||
version: 9.0.8
|
||||
'@typescript-eslint/eslint-plugin':
|
||||
specifier: 7.6.0
|
||||
version: 7.6.0(@typescript-eslint/parser@7.6.0)(eslint@8.57.0)(typescript@5.4.5)
|
||||
@@ -2550,6 +2565,10 @@ packages:
|
||||
resolution: {integrity: sha512-v3D66IptpUqh+pHKVNRxY8yvp2ESSZXe0rTzsGdzUhEwag7ljVfgCllkWv2YgiYXDhWFBrEywll4A5JToyTNFA==}
|
||||
dev: true
|
||||
|
||||
/@types/babel__preset-env@7.9.6:
|
||||
resolution: {integrity: sha512-PaOA2V4J3CZZopQaTGT1e8WEWCqHWc1k12zLlci4T9eR2lQIlA/GbnVbloFDqYVFr1BNiCXnotH32Up8WdgTxQ==}
|
||||
dev: true
|
||||
|
||||
/@types/bluebird@3.5.42:
|
||||
resolution: {integrity: sha512-Jhy+MWRlro6UjVi578V/4ZGNfeCOcNCp0YaFNIUGFKlImowqwb1O/22wDVk3FDGMLqxdpOV3qQHD5fPEH4hK6A==}
|
||||
dev: false
|
||||
@@ -2623,6 +2642,10 @@ packages:
|
||||
'@types/node': 20.12.7
|
||||
dev: true
|
||||
|
||||
/@types/js-beautify@1.14.3:
|
||||
resolution: {integrity: sha512-FMbQHz+qd9DoGvgLHxeqqVPaNRffpIu5ZjozwV8hf9JAGpIOzuAf4wGbRSo8LNITHqGjmmVjaMggTT5P4v4IHg==}
|
||||
dev: true
|
||||
|
||||
/@types/jsdom@21.1.6:
|
||||
resolution: {integrity: sha512-/7kkMsC+/kMs7gAYmmBR9P0vGTnOoLhQhyhQJSlXGI5bzTHp6xdo0TtKWQAsz6pmSAeVqKSbqeyP6hytqr9FDw==}
|
||||
dependencies:
|
||||
@@ -2645,6 +2668,10 @@ packages:
|
||||
'@types/node': 20.12.7
|
||||
dev: true
|
||||
|
||||
/@types/jsrsasign@10.5.13:
|
||||
resolution: {integrity: sha512-vvVHLrXxoUZgBWTcJnTMSC4FAQcG2loK7N1Uy20I3nr/aUhetbGdfuwSzXkrMoll2RoYKW0IcMIN0I0bwMwVMQ==}
|
||||
dev: true
|
||||
|
||||
/@types/linkify-it@3.0.5:
|
||||
resolution: {integrity: sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw==}
|
||||
dev: true
|
||||
@@ -2764,6 +2791,10 @@ packages:
|
||||
resolution: {integrity: sha512-n3l1s538tKo9RBoHs4I3DG/VmD3VYhF5mHcgu1sU4Lq7JCNBtxnpBy3OkWSbZsp5r5QOuplh2UkXXXwufoAuNQ==}
|
||||
dev: true
|
||||
|
||||
/@types/title@3.4.3:
|
||||
resolution: {integrity: sha512-mjupLOb4kwUuoUFokkacy/VMRVBH2qtqZ5AX7K7iha6+iKIkX80n/Y4EoNVEVRmer8dYJU/ry+fppUaDFVQh7Q==}
|
||||
dev: true
|
||||
|
||||
/@types/tough-cookie@4.0.5:
|
||||
resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==}
|
||||
|
||||
@@ -2775,6 +2806,10 @@ packages:
|
||||
resolution: {integrity: sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==}
|
||||
dev: true
|
||||
|
||||
/@types/uuid@9.0.8:
|
||||
resolution: {integrity: sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==}
|
||||
dev: true
|
||||
|
||||
/@types/wrap-ansi@3.0.0:
|
||||
resolution: {integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==}
|
||||
dev: true
|
||||
|
||||
Reference in New Issue
Block a user