diff --git a/package-lock.json b/package-lock.json index 91eec4fbac..b6533d520d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32570,26 +32570,6 @@ "devOptional": true, "license": "0BSD" }, - "node_modules/tsx": { - "version": "4.20.6", - "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.20.6.tgz", - "integrity": "sha512-ytQKuwgmrrkDTFP4LjR0ToE2nqgy886GpvRSpU0JAnrdBYppuY5rLkRUYPU1yCryb24SsKBTL/hlDQAEFVwtZg==", - "dev": true, - "license": "MIT", - "dependencies": { - "esbuild": "~0.25.0", - "get-tsconfig": "^4.7.5" - }, - "bin": { - "tsx": "dist/cli.mjs" - }, - "engines": { - "node": ">=18.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.3" - } - }, "node_modules/tweetnacl": { "version": "0.14.5", "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", @@ -36007,6 +35987,12 @@ "name": "@waku/run", "version": "0.0.1", "license": "MIT OR Apache-2.0", + "dependencies": { + "@waku/core": "*", + "@waku/interfaces": "*", + "@waku/sdk": "*", + "@waku/utils": "*" + }, "bin": { "waku-run": "dist/src/cli.js" }, @@ -36015,10 +36001,6 @@ "@types/chai": "^4.3.11", "@types/express": "^4.17.21", "@types/mocha": "^10.0.6", - "@waku/core": "*", - "@waku/interfaces": "*", - "@waku/sdk": "*", - "@waku/utils": "*", "chai": "^4.3.10", "cspell": "^8.6.1", "esbuild": "^0.21.5", @@ -36026,11 +36008,10 @@ "mocha": "^10.3.0", "npm-run-all": "^4.1.5", "ts-node": "^10.9.2", - "tsx": "^4.7.0", "typescript": "^5.3.3" }, "engines": { - "node": ">=18" + "node": ">=22" } }, "packages/run/node_modules/@esbuild/aix-ppc64": { diff --git a/packages/run/package.json b/packages/run/package.json index 66d92a01c1..e9f49064aa 100644 --- a/packages/run/package.json +++ b/packages/run/package.json @@ -7,7 +7,7 @@ "homepage": "https://github.com/waku-org/js-waku/tree/master/packages/run#readme", "repository": { "type": "git", - "url": "https://github.com/waku-org/js-waku.git" + "url": "git+https://github.com/waku-org/js-waku.git" }, "bugs": { "url": "https://github.com/waku-org/js-waku/issues" @@ -34,11 +34,11 @@ "build": "tsc", "build:web": "esbuild web/index.ts --bundle --format=esm --platform=browser --outdir=dist/web && cp web/index.html dist/web/index.html", "prepublishOnly": "npm run build", - "start": "tsx scripts/start.ts", - "stop": "tsx scripts/stop.ts", + "start": "node dist/scripts/start.js", + "stop": "node dist/scripts/stop.js", "restart": "npm run stop && npm run start", - "logs": "tsx scripts/logs.ts", - "info": "tsx scripts/info.ts", + "logs": "node dist/scripts/logs.js", + "info": "node dist/scripts/info.js", "test": "if [ \"$CI\" = \"true\" ]; then echo 'Skipping tests in CI'; exit 0; fi && NODE_ENV=test node ./src/run-tests.js \"tests/basic.spec.ts\"", "test:browser": "if [ \"$CI\" = \"true\" ]; then echo 'Skipping browser tests in CI'; exit 0; fi && npm run build:web && npx playwright test --reporter=line", "fix": "run-s fix:*", @@ -49,7 +49,7 @@ "check:spelling": "cspell \"{README.md,src/**/*.ts,scripts/**/*.ts,tests/**/*.ts}\"" }, "engines": { - "node": ">=18" + "node": ">=22" }, "dependencies": { "@waku/core": "*", @@ -69,7 +69,6 @@ "mocha": "^10.3.0", "npm-run-all": "^4.1.5", "ts-node": "^10.9.2", - "tsx": "^4.7.0", "typescript": "^5.3.3" } }