tempest.games 0.3.1 → 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.
- package/CHANGELOG.md +6 -0
- package/app/assets/index-BwGzMVub.js +4302 -0
- package/app/index.html +1 -1
- package/bin/backend.bun.js +32343 -32367
- package/bin/backend.worker.bug-rangers.bun.js +965 -342
- package/bin/frontend.bun.js +8 -7
- package/bin/setup-db.bun.js +7 -6
- package/package.json +7 -7
- package/app/assets/index-CHjZDDSa.js +0 -4123
- package/bin/backend.worker.tribunal.bun.js +0 -48825
package/bin/frontend.bun.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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,
|
|
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
|
-
|
|
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:
|
|
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,10 +13575,10 @@ var init_env = __esm(() => {
|
|
|
13574
13575
|
},
|
|
13575
13576
|
clientPrefix: `VITE_`,
|
|
13576
13577
|
client: {
|
|
13577
|
-
VITE_HIDE_DEVTOOLS:
|
|
13578
|
+
VITE_HIDE_DEVTOOLS: requiredBool,
|
|
13578
13579
|
VITE_BACKEND_ORIGIN: str,
|
|
13579
13580
|
VITE_DEV_FRONTEND_HOST: type(`string | undefined`),
|
|
13580
|
-
VITE_DEV_HTTPS:
|
|
13581
|
+
VITE_DEV_HTTPS: optionalBool
|
|
13581
13582
|
},
|
|
13582
13583
|
runtimeEnv: import.meta.env,
|
|
13583
13584
|
emptyStringAsUndefined: true
|
package/bin/setup-db.bun.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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
|
|
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:
|
|
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,10 +13920,10 @@ var env2 = createEnv({
|
|
|
13919
13920
|
},
|
|
13920
13921
|
clientPrefix: `VITE_`,
|
|
13921
13922
|
client: {
|
|
13922
|
-
VITE_HIDE_DEVTOOLS:
|
|
13923
|
+
VITE_HIDE_DEVTOOLS: requiredBool,
|
|
13923
13924
|
VITE_BACKEND_ORIGIN: str,
|
|
13924
13925
|
VITE_DEV_FRONTEND_HOST: type(`string | undefined`),
|
|
13925
|
-
VITE_DEV_HTTPS:
|
|
13926
|
+
VITE_DEV_HTTPS: optionalBool
|
|
13926
13927
|
},
|
|
13927
13928
|
runtimeEnv: import.meta.env,
|
|
13928
13929
|
emptyStringAsUndefined: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tempest.games",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"safegen": "0.8.3",
|
|
49
49
|
"socket.io": "4.8.3",
|
|
50
50
|
"socket.io-client": "4.8.3",
|
|
51
|
-
"three": "0.
|
|
51
|
+
"three": "0.182.0",
|
|
52
52
|
"three-stdlib": "2.36.1",
|
|
53
53
|
"atom.io": "0.46.13",
|
|
54
54
|
"safedeposit": "0.1.2",
|
|
@@ -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.
|
|
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": "
|
|
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
|
-
"
|
|
80
|
-
"
|
|
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 -- .",
|