This is part of the Fake.JavaScript.Yarn module.
Helpers for running the yarn tool
1:
2:
3:
4:
|
Yarn.install (fun o ->
{ o with
WorkingDirectory = "./src/FAKESimple.Web/"
})
|
Type | Description |
InstallArgs
|
Arguments for the Yarn install command
|
YarnCommand
|
The list of supported Yarn commands. The Custom alternative
can be used for other commands not in the list until they are
implemented
|
YarnParams
|
The Yarn parameter type
|
Function or value | Description |
Yarn.defaultYarnParams
Signature: YarnParams
|
Yarn default parameters
|
Yarn.exec command setParams
Signature: command:string -> setParams:(YarnParams -> YarnParams) -> unit
|
Run yarn <command>
Parameters
|
Yarn.install(setParams)
Signature: setParams:(YarnParams -> YarnParams) -> unit
|
Run yarn install
Parameters
|
Yarn.installFlat(setParams)
Signature: setParams:(YarnParams -> YarnParams) -> unit
|
Run yarn install --flat
Parameters
|
Yarn.installForced(setParams)
Signature: setParams:(YarnParams -> YarnParams) -> unit
|
Run yarn install --force
Parameters
|
Yarn.installFrozenLockFile(setParams)
Signature: setParams:(YarnParams -> YarnParams) -> unit
|
Run yarn install --frozen-lockfile
Parameters
|
Yarn.installHar(setParams)
Signature: setParams:(YarnParams -> YarnParams) -> unit
|
Run yarn install --har
Parameters
|
Yarn.installNoLock(setParams)
Signature: setParams:(YarnParams -> YarnParams) -> unit
|
Run yarn install --no-lockfile
Parameters
|
Yarn.installProduction(setParams)
Signature: setParams:(YarnParams -> YarnParams) -> unit
|
Run yarn install --production
Parameters
|
Yarn.installPureLock(setParams)
Signature: setParams:(YarnParams -> YarnParams) -> unit
|
Run yarn install --pure-lockfile
Parameters
|