tempest.games 0.3.0 → 0.3.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.
@@ -13452,7 +13452,7 @@ var init_realtime_server = __esm(() => {
13452
13452
  init_server_socket_state();
13453
13453
  });
13454
13454
 
13455
- // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.10_arktype@2.1.29_typescript@5.9.3_zod@4.2.1/node_modules/@t3-oss/env-core/dist/standard.js
13455
+ // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.10_arktype@2.1.29_typescript@5.9.3_zod@4.3.4/node_modules/@t3-oss/env-core/dist/standard.js
13456
13456
  function ensureSynchronous(value2, message) {
13457
13457
  if (value2 instanceof Promise)
13458
13458
  throw new Error(message);
@@ -13479,7 +13479,7 @@ function parseWithDictionary(dictionary, value2) {
13479
13479
  }
13480
13480
  var init_standard = () => {};
13481
13481
 
13482
- // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.10_arktype@2.1.29_typescript@5.9.3_zod@4.2.1/node_modules/@t3-oss/env-core/dist/index.js
13482
+ // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.10_arktype@2.1.29_typescript@5.9.3_zod@4.3.4/node_modules/@t3-oss/env-core/dist/index.js
13483
13483
  function createEnv(opts) {
13484
13484
  const runtimeEnv = opts.runtimeEnvStrict ?? opts.runtimeEnv ?? process.env;
13485
13485
  if (opts.emptyStringAsUndefined ?? false) {
@@ -13546,7 +13546,7 @@ var init_dist = __esm(() => {
13546
13546
  });
13547
13547
 
13548
13548
  // src/library/env.ts
13549
- var BUILDING_WITH_VITE, HAS_WINDOW, IS_SERVER, IS_TEST, str, maybeBool, env2;
13549
+ var BUILDING_WITH_VITE, HAS_WINDOW, IS_SERVER, IS_TEST, str, requiredBool, optionalBool, env2;
13550
13550
  var init_env = __esm(() => {
13551
13551
  init_dist();
13552
13552
  init_out4();
@@ -13555,7 +13555,8 @@ var init_env = __esm(() => {
13555
13555
  IS_SERVER = !BUILDING_WITH_VITE && !HAS_WINDOW;
13556
13556
  IS_TEST = `vitest` in globalThis;
13557
13557
  str = type(`string`);
13558
- maybeBool = type(`"true" | "false" | undefined`);
13558
+ requiredBool = type(`"true" | "false"`).pipe((s) => s === `true`);
13559
+ optionalBool = type(`"true" | "false" | undefined`).pipe((s) => s === `true`);
13559
13560
  env2 = createEnv({
13560
13561
  isServer: IS_SERVER,
13561
13562
  server: {
@@ -13566,7 +13567,7 @@ var init_env = __esm(() => {
13566
13567
  POSTGRES_HOST: str,
13567
13568
  POSTGRES_PORT: str.pipe((s) => Number.parseInt(s, 10)),
13568
13569
  BACKEND_PORT: str.pipe((s) => Number.parseInt(s, 10)),
13569
- RUN_WORKERS_FROM_SOURCE: maybeBool.pipe((s) => s === `true`),
13570
+ RUN_WORKERS_FROM_SOURCE: optionalBool,
13570
13571
  FRONTEND_PORT: str.pipe((s) => Number.parseInt(s, 10)),
13571
13572
  FRONTEND_ORIGINS: str.pipe.try((s) => JSON.parse(s), type(`string[]`)),
13572
13573
  API_KEY_OPENAI: type(`string | undefined`),
@@ -13574,9 +13575,10 @@ var init_env = __esm(() => {
13574
13575
  },
13575
13576
  clientPrefix: `VITE_`,
13576
13577
  client: {
13578
+ VITE_HIDE_DEVTOOLS: requiredBool,
13577
13579
  VITE_BACKEND_ORIGIN: str,
13578
13580
  VITE_DEV_FRONTEND_HOST: type(`string | undefined`),
13579
- VITE_DEV_HTTPS: maybeBool.pipe((s) => s === `true`)
13581
+ VITE_DEV_HTTPS: optionalBool
13580
13582
  },
13581
13583
  runtimeEnv: import.meta.env,
13582
13584
  emptyStringAsUndefined: true
@@ -5598,7 +5598,7 @@ async function migrate(db, config) {
5598
5598
  await db.dialect.migrate(migrations, db.session, config);
5599
5599
  }
5600
5600
 
5601
- // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.10_arktype@2.1.29_typescript@5.9.3_zod@4.2.1/node_modules/@t3-oss/env-core/dist/standard.js
5601
+ // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.10_arktype@2.1.29_typescript@5.9.3_zod@4.3.4/node_modules/@t3-oss/env-core/dist/standard.js
5602
5602
  function ensureSynchronous(value, message) {
5603
5603
  if (value instanceof Promise)
5604
5604
  throw new Error(message);
@@ -5624,7 +5624,7 @@ function parseWithDictionary(dictionary, value) {
5624
5624
  return { value: result };
5625
5625
  }
5626
5626
 
5627
- // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.10_arktype@2.1.29_typescript@5.9.3_zod@4.2.1/node_modules/@t3-oss/env-core/dist/index.js
5627
+ // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.10_arktype@2.1.29_typescript@5.9.3_zod@4.3.4/node_modules/@t3-oss/env-core/dist/index.js
5628
5628
  function createEnv(opts) {
5629
5629
  const runtimeEnv = opts.runtimeEnvStrict ?? opts.runtimeEnv ?? process.env;
5630
5630
  if (opts.emptyStringAsUndefined ?? false) {
@@ -13900,7 +13900,8 @@ var HAS_WINDOW = typeof window !== `undefined`;
13900
13900
  var IS_SERVER = !BUILDING_WITH_VITE && !HAS_WINDOW;
13901
13901
  var IS_TEST = `vitest` in globalThis;
13902
13902
  var str = type(`string`);
13903
- var maybeBool = type(`"true" | "false" | undefined`);
13903
+ var requiredBool = type(`"true" | "false"`).pipe((s) => s === `true`);
13904
+ var optionalBool = type(`"true" | "false" | undefined`).pipe((s) => s === `true`);
13904
13905
  var env2 = createEnv({
13905
13906
  isServer: IS_SERVER,
13906
13907
  server: {
@@ -13911,7 +13912,7 @@ var env2 = createEnv({
13911
13912
  POSTGRES_HOST: str,
13912
13913
  POSTGRES_PORT: str.pipe((s) => Number.parseInt(s, 10)),
13913
13914
  BACKEND_PORT: str.pipe((s) => Number.parseInt(s, 10)),
13914
- RUN_WORKERS_FROM_SOURCE: maybeBool.pipe((s) => s === `true`),
13915
+ RUN_WORKERS_FROM_SOURCE: optionalBool,
13915
13916
  FRONTEND_PORT: str.pipe((s) => Number.parseInt(s, 10)),
13916
13917
  FRONTEND_ORIGINS: str.pipe.try((s) => JSON.parse(s), type(`string[]`)),
13917
13918
  API_KEY_OPENAI: type(`string | undefined`),
@@ -13919,9 +13920,10 @@ var env2 = createEnv({
13919
13920
  },
13920
13921
  clientPrefix: `VITE_`,
13921
13922
  client: {
13923
+ VITE_HIDE_DEVTOOLS: requiredBool,
13922
13924
  VITE_BACKEND_ORIGIN: str,
13923
13925
  VITE_DEV_FRONTEND_HOST: type(`string | undefined`),
13924
- VITE_DEV_HTTPS: maybeBool.pipe((s) => s === `true`)
13926
+ VITE_DEV_HTTPS: optionalBool
13925
13927
  },
13926
13928
  runtimeEnv: import.meta.env,
13927
13929
  emptyStringAsUndefined: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tempest.games",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -29,8 +29,8 @@
29
29
  "@js-temporal/polyfill": "0.5.1",
30
30
  "@react-email/components": "1.0.3",
31
31
  "@react-spring/three": "10.0.3",
32
- "@react-three/drei": "10.7.6",
33
- "@react-three/fiber": "9.4.0",
32
+ "@react-three/drei": "10.7.7",
33
+ "@react-three/fiber": "9.5.0",
34
34
  "@t3-oss/env-core": "0.13.10",
35
35
  "@trpc/client": "11.8.1",
36
36
  "@trpc/server": "11.8.1",
@@ -48,11 +48,11 @@
48
48
  "safegen": "0.8.3",
49
49
  "socket.io": "4.8.3",
50
50
  "socket.io-client": "4.8.3",
51
- "three": "0.180.0",
52
- "three-stdlib": "2.36.0",
51
+ "three": "0.182.0",
52
+ "three-stdlib": "2.36.1",
53
+ "atom.io": "0.46.13",
53
54
  "safedeposit": "0.1.2",
54
- "treetrunks": "0.1.5",
55
- "atom.io": "0.46.13"
55
+ "treetrunks": "0.1.5"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@react-email/preview-server": "5.1.1",
@@ -61,7 +61,7 @@
61
61
  "@types/node": "25.0.3",
62
62
  "@types/react": "19.2.7",
63
63
  "@types/react-dom": "19.2.3",
64
- "@types/three": "0.180.0",
64
+ "@types/three": "0.182.0",
65
65
  "@vitejs/plugin-react": "npm:@vitejs/plugin-react-swc@4.2.2",
66
66
  "concurrently": "9.2.1",
67
67
  "cors": "2.8.5",
@@ -70,14 +70,14 @@
70
70
  "dotenv-cli": "11.0.0",
71
71
  "drizzle-kit": "0.31.8",
72
72
  "eslint": "9.39.2",
73
- "globals": "16.5.0",
73
+ "globals": "17.0.0",
74
74
  "rimraf": "6.1.2",
75
75
  "sass-embedded": "1.97.1",
76
76
  "vite": "7.3.0",
77
77
  "vite-tsconfig-paths": "6.0.3",
78
78
  "vitest": "4.0.16",
79
- "varmint": "0.5.11",
80
- "flightdeck": "0.3.33"
79
+ "flightdeck": "0.3.33",
80
+ "varmint": "0.5.11"
81
81
  },
82
82
  "scripts": {
83
83
  "dev": "bun run env:dev && concurrently \"bun:dev:*\"",
@@ -94,7 +94,7 @@
94
94
  "env:dev": "[ -f .env.development ] && echo '.env.development already present' || cp .env.defaults .env.development",
95
95
  "env:pre": "[ -f .env.preview ] && echo '.env.preview already present' || cp .env.defaults .env.preview",
96
96
  "env:test": "[ -f .env.test ] && echo '.env.test already present' || cp .env.defaults .env.test",
97
- "env:prod": "[ -f .env.production ] && echo '.env.production already present' || echo 'VITE_BACKEND_ORIGIN=https://realtime.tempest.games' >> .env.production",
97
+ "env:prod": "[ -f .env.production ] && echo '.env.production already present' || echo 'VITE_BACKEND_ORIGIN=https://realtime.tempest.games' >> .env.production && echo 'VITE_HIDE_DEVTOOLS=true' >> .env.production",
98
98
  "test": "bun env:test && vitest",
99
99
  "test:once": "bun env:test && varmint track && vitest run; varmint clean --ci-flag=CI",
100
100
  "lint:biome": "biome check -- .",