tempest.games 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tempest.games",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -10,6 +10,7 @@
10
10
  "backend": "./bin/backend.bun.js"
11
11
  },
12
12
  "files": [
13
+ "__scripts__",
13
14
  "app",
14
15
  "bin",
15
16
  "CHANGELOG.md",
@@ -17,50 +18,56 @@
17
18
  ],
18
19
  "dependencies": {
19
20
  "@t3-oss/env-core": "0.11.1",
20
- "drizzle-orm": "0.33.0",
21
+ "cron": "3.1.7",
22
+ "drizzle-orm": "0.35.1",
23
+ "openai": "4.67.3",
21
24
  "postgres": "3.4.4",
22
25
  "react": "18.3.1",
23
26
  "react-dom": "18.3.1",
27
+ "safegen": "0.0.3",
24
28
  "socket.io": "4.8.0",
25
29
  "socket.io-client": "4.8.0",
26
30
  "zod": "3.23.8",
31
+ "zod-to-json-schema": "3.23.3",
27
32
  "atom.io": "0.30.0"
28
33
  },
29
34
  "devDependencies": {
30
- "@eslint/js": "9.11.1",
31
- "@types/node": "22.7.4",
35
+ "@eslint/js": "9.12.0",
36
+ "@types/node": "22.7.5",
32
37
  "@types/react": "18.3.11",
33
- "@types/react-dom": "18.3.0",
38
+ "@types/react-dom": "18.3.1",
34
39
  "@vitejs/plugin-react-swc": "3.7.1",
35
- "bun-types": "1.1.29",
40
+ "bun-types": "1.1.30",
36
41
  "concurrently": "9.0.1",
37
42
  "cross-env": "7.0.3",
38
43
  "dotenv": "16.4.5",
39
- "drizzle-kit": "0.24.2",
40
- "eslint": "9.11.1",
44
+ "drizzle-kit": "0.26.2",
45
+ "eslint": "9.12.0",
41
46
  "eslint-plugin-react-refresh": "0.4.12",
42
- "globals": "15.10.0",
47
+ "globals": "15.11.0",
43
48
  "rimraf": "6.0.1",
49
+ "sass-embedded": "1.79.5",
44
50
  "tsx": "4.19.1",
45
- "typescript": "5.6.2",
46
- "typescript-eslint": "8.8.0",
47
- "vite": "5.4.8",
51
+ "typescript": "5.6.3",
52
+ "typescript-eslint": "8.9.0",
53
+ "vite": "5.4.9",
48
54
  "vite-tsconfig-paths": "5.0.1",
49
- "vitest": "2.1.2"
55
+ "vitest": "2.1.3",
56
+ "varmint": "0.3.1"
50
57
  },
51
58
  "scripts": {
52
59
  "dev": "concurrently \"bun:dev:*\"",
53
60
  "dev:vite": "vite --port 3333",
54
- "dev:backend": "cross-env MODE=development PORT=4444 bun --hot ./src/backend.bun.ts",
61
+ "dev:backend": "cross-env RUN_WORKERS_FROM_SOURCE=true PORT=4444 bun --hot ./src/backend.bun.ts",
55
62
  "build": "rimraf ./bin && concurrently \"bun:build:*\"",
56
63
  "build:vite": "vite build --outDir ./app",
57
64
  "build:frontend": "bun build ./src/frontend.bun.ts --outdir ./bin --bundle --minify --target bun",
58
65
  "build:backend": "bun build ./src/backend.bun.ts --outdir ./bin --bundle --minify --target bun",
59
66
  "build:backend:game": "bun build ./src/backend.worker.game.bun.ts --outdir ./bin --bundle --minify --target bun",
60
67
  "preview": "nr build && concurrently \"bun:preview:*\"",
61
- "preview:frontend": "cross-env MODE=production ./bin/frontend.bun.js",
62
- "preview:backend": "cross-env MODE=production ./bin/backend.bun.js",
63
- "env": "[ ! -f .env ] && cp .env.defaults .env",
68
+ "preview:frontend": "./bin/frontend.bun.js",
69
+ "preview:backend": "./bin/backend.bun.js",
70
+ "env": "[ -f .env ] && echo 'env already present' || cp .env.defaults .env",
64
71
  "test": "vitest",
65
72
  "test:once": "bun run env && vitest run",
66
73
  "lint:biome": "biome check -- .",
@@ -68,6 +75,10 @@
68
75
  "lint:types": "tsc --noEmit",
69
76
  "lint:types:watch": "tsc --watch --noEmit",
70
77
  "lint": "bun run lint:biome && bun run lint:eslint && bun run lint:types",
71
- "postversion": "biome format --write package.json"
78
+ "postversion": "biome format --write package.json",
79
+ "db:dev": "drizzle-kit studio",
80
+ "db:gen": "drizzle-kit generate",
81
+ "db:nuke": "./__scripts__/destroy-db.bun.ts",
82
+ "db:up": "./__scripts__/setup-db.bun.ts && drizzle-kit migrate"
72
83
  }
73
84
  }
@@ -1 +0,0 @@
1
- :root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}