UNPKG
semantic-release-yarn
Version:
latest (3.0.2)
3.0.2
3.0.1
3.0.0
2.0.2
2.0.1
2.0.0
1.0.1
1.0.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.0
semantic-release plugin to publish a npm package with yarn
github.com/hongaar/semantic-release-yarn
semantic-release-yarn
/
dist
/
get-yarn-version.d.ts
8 lines
(7 loc)
•
273 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
type
{
CommonContext
}
from
"./definitions/context.js"
;
export
declare
function
getYarnVersion
(
{ cwd }: { cwd: CommonContext[
"cwd"
]; }
):
Promise
<
string
>;
export
declare
function
getYarnMajorVersion
(
{ cwd, }: { cwd: CommonContext[
"cwd"
]; }
):
Promise
<
number
>;