diff --git a/package.json b/package.json index a8f9970..a7d466d 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "lint": "prettier -c .", "lint:fix": "prettier -w .", "verdaccio:serve": "verdaccio -c verdaccio.config.yaml -l 127.0.0.1:4873", - "verdaccio:login": "npm-cli-login -u user -p password -e test@example.com -r http://test.gobot.lvh.me:4873" + "verdaccio:login": "npm-cli-login -u user -p password -e test@example.com -r http://localhost:4873" }, "engines": { "node": ">=18.17.0" diff --git a/plop/run.ts b/plop/run.ts index 1ccf77a..6b6ef67 100755 --- a/plop/run.ts +++ b/plop/run.ts @@ -31,7 +31,7 @@ RIMRAF_SAFE_PATHS.push(SRC_PACKAGE_ROOT) export const GOBOT_TEST_CACHE_ROOT_NPM = join(GOBOT_TEST_CACHE_ROOT, `npm`) mkdir(GOBOT_TEST_CACHE_ROOT_NPM) -export const VERDACCIO_REGISTRY_URL = `http://test.gobot.lvh.me:4873` +export const VERDACCIO_REGISTRY_URL = `http://localhost:4873` console.log({ GOBOT_TEST_CACHE_ROOT, GOBOT_TEST_CACHE_ROOT_NPM }) diff --git a/src/util/isPortTaken.ts b/src/util/isPortTaken.ts index e7d72bb..c0c5e36 100644 --- a/src/util/isPortTaken.ts +++ b/src/util/isPortTaken.ts @@ -11,6 +11,6 @@ export const isPortTaken = async (port: number): Promise => { console.log(`port ${port} is available`) tester.once('close', () => resolve(false)).close() }) - .listen(port, `test.gobot.lvh.me`) + .listen(port, `localhost`) }) }