-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert YarnHelper to module #1868
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, only some minor details.
src/app/Fake.JavaScript.Yarn/Yarn.fs
Outdated
/// - 'setParams' - set command parameters | ||
/// ## Sample | ||
/// | ||
/// Target.Create "Restore-frontend" (fun _ -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe adapt docs (Target.create
). Or we leave target out completely?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I completely agree to leave it out, kinda overkill :)
@@ -29,6 +29,7 @@ let private yarnFileName = | |||
proc.StandardOutput.ReadLine() | |||
| _ -> "/usr/bin/yarn" | |||
|
|||
[<System.Obsolete("FAKE0001 Use the Fake.JavaScript.Yarn module instead")>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add the attribute to the module as well.
src/app/Fake.JavaScript.Yarn/Yarn.fs
Outdated
| Custom of string | ||
|
||
/// The Yarn parameter type | ||
[<CLIMutable>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no more climutable
02be661
to
f0ba002
Compare
I have updated the branch fixing the requested changes, let me know if there's anything else. |
Thanks! |
#1721 #1733