@@ -44,7 +44,7 @@ describe("lerna-publish-private", () => {
4444 const version = randomVersion ( ) ;
4545 await fixture . lerna ( `version ${ version } -y` ) ;
4646
47- const output = await fixture . lerna ( "publish from-git --registry=http://localhost:4872 -y" ) ;
47+ const output = await fixture . lerna ( "publish from-git --registry=http://localhost:4873 -y" ) ;
4848
4949 const replaceVersion = ( str : string ) => str . replaceAll ( version , "XX.XX.XX" ) ;
5050
@@ -66,7 +66,7 @@ describe("lerna-publish-private", () => {
6666 await fixture . lerna ( `version ${ version } -y` ) ;
6767
6868 const output = await fixture . lerna (
69- "publish from-git --include-private --registry=http://localhost:4872 -y" ,
69+ "publish from-git --include-private --registry=http://localhost:4873 -y" ,
7070 { silenceError : true }
7171 ) ;
7272
@@ -90,11 +90,11 @@ describe("lerna-publish-private", () => {
9090 await fixture . lerna ( `version ${ version } -y` ) ;
9191
9292 const output = await fixture . lerna (
93- "publish from-git --include-private test-1 test-2 --registry=http://localhost:4872 -y"
93+ "publish from-git --include-private test-1 test-2 --registry=http://localhost:4873 -y"
9494 ) ;
9595 const unpublish = async ( packageName : string ) => {
9696 const unpublishOutput = await fixture . exec (
97- `npm unpublish ${ packageName } @${ version } --force --registry=http://localhost:4872 `
97+ `npm unpublish ${ packageName } @${ version } --force --registry=http://localhost:4873 `
9898 ) ;
9999 expect ( replaceVersion ( unpublishOutput . combinedOutput ) ) . toContain ( `${ packageName } @XX.XX.XX` ) ;
100100 } ;
@@ -193,11 +193,11 @@ describe("lerna-publish-private", () => {
193193 await fixture . lerna ( `version ${ version } -y` ) ;
194194
195195 const output = await fixture . lerna (
196- 'publish from-git --include-private "*" --registry=http://localhost:4872 -y'
196+ 'publish from-git --include-private "*" --registry=http://localhost:4873 -y'
197197 ) ;
198198 const unpublish = async ( packageName : string ) => {
199199 const unpublishOutput = await fixture . exec (
200- `npm unpublish ${ packageName } @${ version } --force --registry=http://localhost:4872 `
200+ `npm unpublish ${ packageName } @${ version } --force --registry=http://localhost:4873 `
201201 ) ;
202202 expect ( replaceVersion ( unpublishOutput . combinedOutput ) ) . toContain ( `${ packageName } @XX.XX.XX` ) ;
203203 } ;
@@ -296,7 +296,7 @@ describe("lerna-publish-private", () => {
296296 const version = randomVersion ( ) ;
297297 await fixture . lerna ( `version ${ version } -y` ) ;
298298
299- const output = await fixture . lerna ( "publish from-package --registry=http://localhost:4872 -y" ) ;
299+ const output = await fixture . lerna ( "publish from-package --registry=http://localhost:4873 -y" ) ;
300300
301301 const replaceVersion = ( str : string ) => str . replaceAll ( version , "XX.XX.XX" ) ;
302302
@@ -323,11 +323,11 @@ describe("lerna-publish-private", () => {
323323 await fixture . lerna ( `version ${ version } -y` ) ;
324324
325325 const output = await fixture . lerna (
326- "publish from-package --include-private test-1 test-2 --registry=http://localhost:4872 -y"
326+ "publish from-package --include-private test-1 test-2 --registry=http://localhost:4873 -y"
327327 ) ;
328328 const unpublish = async ( packageName : string ) => {
329329 const unpublishOutput = await fixture . exec (
330- `npm unpublish ${ packageName } @${ version } --force --registry=http://localhost:4872 `
330+ `npm unpublish ${ packageName } @${ version } --force --registry=http://localhost:4873 `
331331 ) ;
332332 expect ( replaceVersion ( unpublishOutput . combinedOutput ) ) . toContain ( `${ packageName } @XX.XX.XX` ) ;
333333 } ;
@@ -427,7 +427,7 @@ describe("lerna-publish-private", () => {
427427 await fixture . createInitialGitCommit ( ) ;
428428 await fixture . exec ( "git push origin test-main" ) ;
429429
430- const output = await fixture . lerna ( "publish --canary major --registry=http://localhost:4872 -y" ) ;
430+ const output = await fixture . lerna ( "publish --canary major --registry=http://localhost:4873 -y" ) ;
431431
432432 expect ( output . combinedOutput ) . toMatchInlineSnapshot ( `
433433 lerna notice cli v999.9.9-e2e.0
@@ -449,11 +449,11 @@ describe("lerna-publish-private", () => {
449449 await fixture . exec ( "git push origin test-main" ) ;
450450
451451 const output = await fixture . lerna (
452- "publish --canary major --include-private test-1 test-2 --registry=http://localhost:4872 -y"
452+ "publish --canary major --include-private test-1 test-2 --registry=http://localhost:4873 -y"
453453 ) ;
454454 const unpublish = async ( packageName : string ) => {
455455 const unpublishOutput = await fixture . exec (
456- `npm unpublish ${ packageName } @1.0.0-alpha.0 --force --registry=http://localhost:4872 `
456+ `npm unpublish ${ packageName } @1.0.0-alpha.0 --force --registry=http://localhost:4873 `
457457 ) ;
458458 expect ( replaceVersion ( unpublishOutput . combinedOutput ) ) . toContain ( `${ packageName } @XX.XX.XX` ) ;
459459 } ;
0 commit comments