Skip to content

Commit

Permalink
FR-14363 - Adding another option for checking the npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
rotemzif1 committed Nov 26, 2023
1 parent 10621e4 commit fed0249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/wait-for-npm-indexing.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = async (github, packages, version) => {
try {
const result = JSON.parse(execSync(`npm show ${packages[i]} --json dist-tags`).toString('utf8').trim());
console.log("Found versions: ", result)
allPackagesIndexed = allPackagesIndexed && (result.alpha === version || result.latest === version);
allPackagesIndexed = allPackagesIndexed && (result.alpha === version || result.next === version || result.latest === version);
} catch (e) {
console.error('Failed to check version for', packages[i], e);
allPackagesIndexed = false;
Expand Down

0 comments on commit fed0249

Please sign in to comment.