From 38972ebce7b24ba78b98f4402d2e21661f2467b8 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Sun, 7 Jun 2026 11:09:56 +0700 Subject: [PATCH] Fix demo seed runtime --- package-lock.json | 33 ++------------------------------- package.json | 4 ++-- scripts/seed-demo.ts | 2 +- 3 files changed, 5 insertions(+), 34 deletions(-) diff --git a/package-lock.json b/package-lock.json index 50f60ab..fb6ddcf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,11 +13,11 @@ "arangojs": "^10.3.1", "fastify": "^5.8.5", "h3-js": "^4.4.0", - "mercurius": "^16.9.0" + "mercurius": "^16.9.0", + "tsx": "^4.22.4" }, "devDependencies": { "@types/node": "^25.9.2", - "tsx": "^4.22.4", "typescript": "^6.0.3" } }, @@ -28,7 +28,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -45,7 +44,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -62,7 +60,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -79,7 +76,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -96,7 +92,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -113,7 +108,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -130,7 +124,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -147,7 +140,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -164,7 +156,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -181,7 +172,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -198,7 +188,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -215,7 +204,6 @@ "cpu": [ "loong64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -232,7 +220,6 @@ "cpu": [ "mips64el" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -249,7 +236,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -266,7 +252,6 @@ "cpu": [ "riscv64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -283,7 +268,6 @@ "cpu": [ "s390x" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -300,7 +284,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -317,7 +300,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -334,7 +316,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -351,7 +332,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -368,7 +348,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -385,7 +364,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -402,7 +380,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -419,7 +396,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -436,7 +412,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -453,7 +428,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1226,7 +1200,6 @@ "version": "0.28.0", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.0.tgz", "integrity": "sha512-sNR9MHpXSUV/XB4zmsFKN+QgVG82Cc7+/aaxJ8Adi8hyOac+EXptIp45QBPaVyX3N70664wRbTcLTOemCAnyqw==", - "dev": true, "hasInstallScript": true, "license": "MIT", "bin": { @@ -1435,7 +1408,6 @@ "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -2226,7 +2198,6 @@ "version": "4.22.4", "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.22.4.tgz", "integrity": "sha512-X8EX+XV4QR5xCsrgxaED954zTDfY8KqlDtskKEL0cHhyS/P8b4IFOvGDQpsC9Q1XnLq915wEfwwY/zzskCtmhg==", - "dev": true, "license": "MIT", "dependencies": { "esbuild": "~0.28.0" diff --git a/package.json b/package.json index 49bcfe4..fcef9e9 100644 --- a/package.json +++ b/package.json @@ -14,11 +14,11 @@ "arangojs": "^10.3.1", "fastify": "^5.8.5", "h3-js": "^4.4.0", - "mercurius": "^16.9.0" + "mercurius": "^16.9.0", + "tsx": "^4.22.4" }, "devDependencies": { "@types/node": "^25.9.2", - "tsx": "^4.22.4", "typescript": "^6.0.3" } } diff --git a/scripts/seed-demo.ts b/scripts/seed-demo.ts index e94fb0b..6463690 100644 --- a/scripts/seed-demo.ts +++ b/scripts/seed-demo.ts @@ -1,5 +1,5 @@ import { aql } from 'arangojs' -import { ensureGraph, getDb } from '../src/db.js' +import { ensureGraph, getDb } from '../dist/db.js' type GeoNode = { _key: string