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-pkg.d.ts
6 lines
(5 loc)
•
285 B
TypeScript
View Raw
1
2
3
4
5
6
import
type
{
CommonContext
}
from
"./definitions/context.js"
;
import
type
{
PluginConfig
}
from
"./definitions/pluginConfig.js"
;
export
declare
function
getPkg
(
{ pkgRoot }:
PluginConfig
, { cwd }: { cwd: CommonContext[
"cwd"
]; }
):
Promise
<
import
(
"read-pkg"
).
NormalizedPackageJson
>;