|
1 | 1 | {
|
2 | 2 | "name": "arm-server",
|
| 3 | + "type": "module", |
3 | 4 | "author": "BeeeQueue <adam@haglund.dev>",
|
4 | 5 | "version": "1.0.0",
|
5 | 6 | "private": true,
|
6 | 7 | "license": "AGPL-3.0-only",
|
7 | 8 | "homepage": "https://arm.haglund.dev/docs",
|
8 |
| - "packageManager": "pnpm@8.11.0", |
| 9 | + "packageManager": "pnpm@9.3.0", |
9 | 10 | "engines": {
|
10 | 11 | "node": ">=20"
|
11 | 12 | },
|
| 13 | + "simple-git-hooks": { |
| 14 | + "pre-commit": "pnpm --silent lint-staged" |
| 15 | + }, |
12 | 16 | "lint-staged": {
|
13 | 17 | "*.{js,ts,json}": [
|
14 | 18 | "dprint fmt"
|
|
26 | 30 | "docker:run": "docker run -it --rm --name arm -p 3000:3000 arm-server",
|
27 | 31 | "fetch-data": "tsx bin/update.ts --exit",
|
28 | 32 | "lint": "eslint src",
|
29 |
| - "migrate": "knex migrate:latest --knexfile knexfile.ts", |
30 |
| - "migrate:create": "knex migrate:make --knexfile knexfile.ts -x ts", |
| 33 | + "migrate": "knex migrate:latest --knexfile knexfile.js", |
| 34 | + "migrate:create": "knex migrate:make --knexfile knexfile.js -x ts", |
31 | 35 | "start": "pnpm --silent run migrate && tsx src/index.ts",
|
32 | 36 | "test": "NODE_ENV=test pnpm --silent run migrate && vitest",
|
33 | 37 | "typecheck": "tsc --noEmit",
|
34 |
| - "prepare": "is-ci || husky install" |
| 38 | + "prepare": "is-ci || simple-git-hooks" |
35 | 39 | },
|
36 | 40 | "dependencies": {
|
37 |
| - "@fastify/cors": "8.4.1", |
38 |
| - "@fastify/helmet": "11.1.1", |
39 |
| - "@sentry/node": "7.81.1", |
40 |
| - "@tsconfig/node20": "20.1.2", |
41 |
| - "@tsconfig/strictest": "2.0.3", |
42 |
| - "better-sqlite3": "9.4.1", |
43 |
| - "fastify": "4.24.3", |
| 41 | + "@hono/node-server": "1.11.2", |
| 42 | + "@hono/sentry": "1.1.0", |
| 43 | + "@hono/zod-validator": "0.2.2", |
| 44 | + "@sentry/node": "8.9.2", |
| 45 | + "@tsconfig/node20": "20.1.4", |
| 46 | + "@tsconfig/strictest": "2.0.5", |
| 47 | + "better-sqlite3": "11.0.0", |
| 48 | + "hono": "4.4.5", |
44 | 49 | "is-ci": "3.0.1",
|
45 | 50 | "knex": "3.0.1",
|
46 |
| - "nanoid": "5.0.3", |
47 |
| - "ofetch": "1.3.3", |
48 |
| - "pino": "8.16.2", |
49 |
| - "pino-pretty": "10.2.3", |
50 |
| - "remeda": "1.29.0", |
51 |
| - "sucrase": "3.34.0", |
52 |
| - "tsx": "4.7.0", |
53 |
| - "type-fest": "4.8.2", |
54 |
| - "typescript": "5.3.2", |
55 |
| - "zod": "3.22.4" |
| 51 | + "ofetch": "1.3.4", |
| 52 | + "pino": "9.2.0", |
| 53 | + "pino-pretty": "11.2.1", |
| 54 | + "rambda": "9.2.0", |
| 55 | + "sucrase": "3.35.0", |
| 56 | + "tsx": "4.15.4", |
| 57 | + "type-fest": "4.20.0", |
| 58 | + "typescript": "5.4.5", |
| 59 | + "zod": "3.23.8" |
56 | 60 | },
|
57 | 61 | "devDependencies": {
|
58 |
| - "@beequeue/eslint-plugin": "4.0.0", |
| 62 | + "@antfu/eslint-config": "2.21.1", |
59 | 63 | "@types/json-schema": "7.0.15",
|
60 |
| - "@types/node": "20.11.24", |
61 |
| - "@vitest/coverage-v8": "0.34.6", |
| 64 | + "@types/node": "20.14.2", |
| 65 | + "@vitest/coverage-v8": "1.6.0", |
62 | 66 | "ajv": "8.12.0",
|
63 |
| - "dotenv": "16.3.1", |
| 67 | + "dotenv": "16.4.5", |
64 | 68 | "eslint": "8.57.0",
|
65 |
| - "husky": "8.0.3", |
66 |
| - "lint-staged": "15.2.2", |
| 69 | + "lint-staged": "15.2.7", |
67 | 70 | "onchange": "7.1.0",
|
68 | 71 | "redoc-cli": "0.13.21",
|
| 72 | + "simple-git-hooks": "2.11.1", |
69 | 73 | "tsconfig-paths": "4.2.0",
|
70 |
| - "vitest": "0.34.6" |
| 74 | + "vitest": "1.6.0" |
71 | 75 | },
|
72 | 76 | "pnpm": {
|
73 | 77 | "overrides": {
|
74 |
| - "@types/node": "20.5.9", |
75 |
| - "esbuild": "0.19.2", |
76 |
| - "node-fetch": "npm:node-fetch-native@1.4.0", |
77 |
| - "array-includes": "npm:@nolyfill/array-includes@latest", |
78 |
| - "array.prototype.flat": "npm:@nolyfill/array.prototype.flat@latest", |
79 |
| - "array.prototype.flatmap": "npm:@nolyfill/array.prototype.flatmap@latest", |
80 |
| - "array.prototype.tosorted": "npm:@nolyfill/array.prototype.tosorted@latest", |
81 |
| - "has": "npm:@nolyfill/has@latest", |
82 |
| - "object.assign": "npm:@nolyfill/object.assign@latest", |
83 |
| - "object.entries": "npm:@nolyfill/object.entries@latest", |
84 |
| - "object.fromentries": "npm:@nolyfill/object.fromentries@latest", |
85 |
| - "object.hasown": "npm:@nolyfill/object.hasown@latest", |
86 |
| - "object.values": "npm:@nolyfill/object.values@latest", |
87 |
| - "string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@latest", |
88 |
| - "side-channel": "npm:@nolyfill/side-channel@latest", |
89 |
| - "es-iterator-helpers": "npm:@nolyfill/es-iterator-helpers@latest" |
| 78 | + "assert": "npm:@nolyfill/assert@latest", |
| 79 | + "hasown": "npm:@nolyfill/hasown@latest", |
| 80 | + "isarray": "npm:@nolyfill/isarray@latest", |
| 81 | + "side-channel": "npm:@nolyfill/side-channel@latest" |
90 | 82 | }
|
91 | 83 | }
|
92 | 84 | }
|
0 commit comments