|
11 | 11 | "watch": "tsc-watch --build --onSuccess \"node start-dev.js\"", |
12 | 12 | "watch-yaml-parse-test": "tsc-watch --build --onSuccess \"node dist/yamlParseTest.js\"", |
13 | 13 | "build": "tsc --build", |
14 | | - "start-bot-dev": "node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9229 dist/index.js", |
15 | | - "start-bot-dev-debug": "DEBUG=true clinic heapprofiler --collect-only --dest .clinic-bot -- node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9229 dist/index.js", |
16 | | - "start-bot-prod": "node --enable-source-maps --stack-trace-limit=30 dist/index.js", |
17 | | - "start-bot-prod-debug": "DEBUG=true clinic heapprofiler --collect-only --dest .clinic-bot -- node --enable-source-maps --stack-trace-limit=30 dist/index.js", |
18 | | - "watch-bot": "tsc-watch --build --onSuccess \"npm run start-bot-dev\"", |
| 14 | + "typecheck": "tsc --noEmit", |
| 15 | + "start-bot-dev": "node --enable-source-maps --stack-trace-limit=30 --trace-warnings --inspect=0.0.0.0:9229 dist/index.js", |
| 16 | + "start-bot-prod": "node --enable-source-maps --stack-trace-limit=30 --trace-warnings dist/index.js", |
| 17 | + "watch-bot": "tsc-watch --build --onSuccess \"pnpm run start-bot-dev\"", |
19 | 18 | "start-api-dev": "node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9239 dist/api/index.js", |
20 | | - "start-api-dev-debug": "DEBUG=true clinic heapprofiler --collect-only --dest .clinic-api -- node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9239 dist/api/index.js", |
21 | 19 | "start-api-prod": "node --enable-source-maps --stack-trace-limit=30 dist/api/index.js", |
22 | | - "start-api-prod-debug": "clinic heapprofiler --collect-only --dest .clinic-api -- node --enable-source-maps --stack-trace-limit=30 dist/api/index.js", |
23 | | - "watch-api": "tsc-watch --build --onSuccess \"npm run start-api-dev\"", |
24 | | - "typeorm": "node ../node_modules/typeorm/cli.js", |
25 | | - "migrate": "npm run typeorm -- migration:run -d dist/data/dataSource.js", |
26 | | - "migrate-prod": "npm run migrate", |
27 | | - "migrate-dev": "npm run build && npm run migrate", |
28 | | - "migrate-rollback": "npm run typeorm -- migration:revert -d dist/data/dataSource.js", |
29 | | - "migrate-rollback-prod": "npm run migrate-rollback", |
30 | | - "migrate-rollback-dev": "npm run build && npm run migrate-rollback", |
| 20 | + "watch-api": "tsc-watch --build --onSuccess \"pnpm run start-api-dev\"", |
| 21 | + "migrate": "pnpm exec typeorm migration:run -d dist/data/dataSource.js", |
| 22 | + "migrate-prod": "pnpm run migrate", |
| 23 | + "migrate-dev": "pnpm run build && pnpm run migrate", |
| 24 | + "migrate-rollback": "pnpm exec typeorm migration:revert -d dist/data/dataSource.js", |
| 25 | + "migrate-rollback-prod": "pnpm run migrate-rollback", |
| 26 | + "migrate-rollback-dev": "pnpm run build && pnpm run migrate-rollback", |
31 | 27 | "validate-active-configs": "node --enable-source-maps dist/validateActiveConfigs.js > ../config-errors.txt", |
32 | 28 | "export-config-json-schema": "node --enable-source-maps dist/exportSchemas.js ../config-checker/public/config-schema.json", |
33 | | - "test": "npm run build && npm run run-tests", |
| 29 | + "test": "pnpm run build && pnpm run run-tests", |
34 | 30 | "run-tests": "ava", |
35 | | - "test-watch": "tsc-watch --build --onSuccess \"npx ava\"" |
| 31 | + "test-watch": "tsc-watch --build --onSuccess \"pnpm exec ava\"" |
36 | 32 | }, |
37 | 33 | "dependencies": { |
38 | 34 | "@silvia-odwyer/photon-node": "^0.3.1", |
| 35 | + "@zeppelinbot/shared": "workspace:*", |
39 | 36 | "bufferutil": "^4.0.3", |
40 | | - "clinic": "^13.0.0", |
41 | 37 | "cors": "^2.8.5", |
42 | 38 | "cross-env": "^7.0.3", |
43 | 39 | "deep-diff": "^1.0.2", |
44 | | - "discord.js": "^14.19.3", |
| 40 | + "discord.js": "*", |
45 | 41 | "emoji-regex": "^8.0.0", |
46 | 42 | "escape-string-regexp": "^1.0.5", |
47 | 43 | "express": "^4.20.0", |
48 | 44 | "fp-ts": "^2.0.1", |
49 | 45 | "humanize-duration": "^3.15.0", |
50 | 46 | "js-yaml": "^4.1.0", |
51 | | - "knub": "^32.0.0-next.25", |
52 | 47 | "knub-command-manager": "^9.1.0", |
53 | 48 | "last-commit-log": "^2.1.0", |
54 | 49 | "lodash-es": "^4.17.21", |
55 | 50 | "moment-timezone": "^0.5.21", |
56 | | - "multer": "^1.4.5-lts.1", |
| 51 | + "multer": "^2.0.2", |
57 | 52 | "mysql2": "^3.9.8", |
58 | 53 | "parse-color": "^1.0.0", |
59 | 54 | "passport": "^0.6.0", |
60 | 55 | "passport-custom": "^1.0.5", |
61 | 56 | "passport-oauth2": "^1.6.1", |
62 | 57 | "pkg-up": "^3.1.0", |
| 58 | + "redis": "^5.9.0", |
63 | 59 | "reflect-metadata": "^0.1.12", |
64 | 60 | "regexp-worker": "^1.1.0", |
65 | 61 | "safe-regex": "^2.0.2", |
66 | 62 | "seedrandom": "^3.0.1", |
67 | 63 | "strip-combining-marks": "^1.0.0", |
68 | 64 | "threads": "^1.7.0", |
69 | 65 | "tlds": "^1.221.1", |
70 | | - "tmp": "0.0.33", |
| 66 | + "tmp": "0.2.5", |
71 | 67 | "tsconfig-paths": "^3.9.0", |
72 | 68 | "twemoji": "^12.1.4", |
73 | | - "typeorm": "^0.3.17", |
| 69 | + "typeorm": "^0.3.27", |
74 | 70 | "utf-8-validate": "^5.0.5", |
75 | 71 | "uuid": "^9.0.0", |
| 72 | + "vety": "1.0.0-rc2", |
76 | 73 | "yawn-yaml": "github:dragory/yawn-yaml#string-number-fix-build", |
77 | | - "zod": "^3.25.17" |
| 74 | + "zod": "^4.1.12" |
78 | 75 | }, |
79 | 76 | "devDependencies": { |
80 | 77 | "@types/cors": "^2.8.5", |
81 | 78 | "@types/express": "^4.16.1", |
82 | 79 | "@types/jest": "^24.0.15", |
83 | 80 | "@types/js-yaml": "^3.12.1", |
84 | 81 | "@types/lodash-es": "^4.17.12", |
85 | | - "@types/moment-timezone": "^0.5.6", |
86 | 82 | "@types/multer": "^1.4.7", |
87 | 83 | "@types/passport": "^1.0.0", |
88 | 84 | "@types/passport-oauth2": "^1.4.8", |
|
92 | 88 | "@types/twemoji": "^12.1.0", |
93 | 89 | "@types/uuid": "^9.0.2", |
94 | 90 | "ava": "^5.3.1", |
95 | | - "rimraf": "^2.6.2", |
96 | | - "source-map-support": "^0.5.16", |
97 | | - "zod-to-json-schema": "^3.22.3" |
| 91 | + "source-map-support": "^0.5.16" |
98 | 92 | }, |
99 | 93 | "ava": { |
100 | 94 | "files": [ |
|
0 commit comments