Skip to content

Conversation

@acoates-ms
Copy link
Contributor

@acoates-ms acoates-ms commented Apr 20, 2020

We had code to try to support npm tags for the --version parameter on react-native-windows-init, and are even using it in our CI loops to installed the test version. But there appears to be a difference in behavior between npmjs.org and verdaccio which causes it to work when running against verdaccio but it still doesn't work against npmjs.org.

This should enable instructions to run against latest master to be:

npx react-native init <myproj> --template react-native@^0.62
cd <myproj>
npx react-native-windows-init --version master
Microsoft Reviewers: Open in CodeFlow

@acoates-ms acoates-ms requested a review from a team as a code owner April 20, 2020 20:59
@acoates-ms acoates-ms added the AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity) label Apr 20, 2020
@ghost
Copy link

ghost commented Apr 20, 2020

Hello @acoates-ms!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 60 minutes, a condition that will be fulfilled in about 41 minutes. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

return;
}
candidates = candidates.sort(semver.rcompare);
if (candidates && candidates.length > 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can there be more than one match (e.g. wildcards)? if so, print them and error out

@ghost ghost merged commit a34e216 into microsoft:master Apr 21, 2020
@acoates-ms acoates-ms deleted the tagininit branch May 21, 2020 17:16
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants