Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
benallfree committed Apr 26, 2024
1 parent 747f319 commit b4fc58b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion plop/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 })

Expand Down
2 changes: 1 addition & 1 deletion src/util/isPortTaken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export const isPortTaken = async (port: number): Promise<boolean> => {
console.log(`port ${port} is available`)
tester.once('close', () => resolve(false)).close()
})
.listen(port, `test.gobot.lvh.me`)
.listen(port, `localhost`)
})
}

0 comments on commit b4fc58b

Please sign in to comment.