Browse Source

chore: fix npm preview registry

pull/4513/head
mehmet-erim 6 years ago
parent
commit
4d26765a5d
  1. 4
      npm/ng-packs/scripts/publish.ts
  2. 2
      npm/preview-publish.ps1

4
npm/ng-packs/scripts/publish.ts

@ -19,7 +19,9 @@ const publish = async () => {
process.exit(1);
}
const registry = program.preview ? 'http://localhost:4873' : 'https://registry.npmjs.org';
const registry = program.preview
? 'https://www.myget.org/F/abp-nightly/npm'
: 'https://registry.npmjs.org';
try {
await execa('yarn', ['install'], { stdout: 'inherit', cwd: '../' });

2
npm/preview-publish.ps1

@ -16,7 +16,7 @@ $Version = $NextVersion;
}
if(-Not $Registry) {
$Registry = "http://localhost:4873";
$Registry = "https://www.myget.org/F/abp-nightly/npm";
}
$commands = (

Loading…
Cancel
Save