Skip to content

Commit

Permalink
fix: add support for yarn 4 (#211)
Browse files Browse the repository at this point in the history
Add previously default `--worktree` to `yarn workspaces foreach`
commands.

Fixes #210
  • Loading branch information
hongaar authored Oct 29, 2023
1 parent b7176d7 commit 94ff591
Show file tree
Hide file tree
Showing 40 changed files with 3,178 additions and 4,147 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "Node.js & TypeScript",
"image": "mcr.microsoft.com/devcontainers/typescript-node:16-bullseye",
"image": "mcr.microsoft.com/devcontainers/typescript-node:20-bullseye",

// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
Expand Down
541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

9 changes: 0 additions & 9 deletions .yarn/plugins/@yarnpkg/plugin-typescript.cjs

This file was deleted.

550 changes: 0 additions & 550 deletions .yarn/plugins/@yarnpkg/plugin-version.cjs

This file was deleted.

807 changes: 0 additions & 807 deletions .yarn/releases/yarn-3.3.0.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.1.cjs

Large diffs are not rendered by default.

14 changes: 5 additions & 9 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
nodeLinker: node-modules
compressionLevel: mixed

enableGlobalCache: false

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.3.0.cjs
yarnPath: .yarn/releases/yarn-4.0.1.cjs
95 changes: 76 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,45 +10,102 @@

## [2.0.2](https://github.com/hongaar/semantic-release-yarn/compare/v2.0.1...v2.0.2) (2023-10-26)


### Bug Fixes

* **deps:** Bump aggregate-error from 4.0.1 to 5.0.0 ([#196](https://github.com/hongaar/semantic-release-yarn/issues/196)) ([f69c623](https://github.com/hongaar/semantic-release-yarn/commit/f69c62333acd4ce59e284daeaa4f3536415d8f22))
* **deps:** Bump cosmiconfig from 8.2.0 to 8.3.3 ([#170](https://github.com/hongaar/semantic-release-yarn/issues/170)) ([ee040c7](https://github.com/hongaar/semantic-release-yarn/commit/ee040c7c84cd106c69c8c9b8a2184467df1e1dbf)), closes [#320](https://github.com/hongaar/semantic-release-yarn/issues/320) [#317](https://github.com/hongaar/semantic-release-yarn/issues/317) [#320](https://github.com/hongaar/semantic-release-yarn/issues/320) [#317](https://github.com/hongaar/semantic-release-yarn/issues/317) [#321](https://github.com/hongaar/semantic-release-yarn/issues/321) [#319](https://github.com/hongaar/semantic-release-yarn/issues/319) [#318](https://github.com/hongaar/semantic-release-yarn/issues/318)
* **deps:** Bump cosmiconfig from 8.3.3 to 8.3.5 ([#175](https://github.com/hongaar/semantic-release-yarn/issues/175)) ([55b2176](https://github.com/hongaar/semantic-release-yarn/commit/55b21765eddd8162a633bba04971af199bd65f9a)), closes [#323](https://github.com/hongaar/semantic-release-yarn/issues/323) [#323](https://github.com/hongaar/semantic-release-yarn/issues/323) [#327](https://github.com/hongaar/semantic-release-yarn/issues/327) [#324](https://github.com/hongaar/semantic-release-yarn/issues/324)
* **deps:** Bump cosmiconfig from 8.3.5 to 8.3.6 ([#181](https://github.com/hongaar/semantic-release-yarn/issues/181)) ([b881733](https://github.com/hongaar/semantic-release-yarn/commit/b8817331071328c789fa2eb7200afd3c1217e40c)), closes [#328](https://github.com/hongaar/semantic-release-yarn/issues/328)
* **deps:** Bump read-pkg from 8.0.0 to 8.1.0 ([#169](https://github.com/hongaar/semantic-release-yarn/issues/169)) ([cbdfa8b](https://github.com/hongaar/semantic-release-yarn/commit/cbdfa8b24fec00aafb57b67992ce4fabb66ed5bc))
- **deps:** Bump aggregate-error from 4.0.1 to 5.0.0
([#196](https://github.com/hongaar/semantic-release-yarn/issues/196))
([f69c623](https://github.com/hongaar/semantic-release-yarn/commit/f69c62333acd4ce59e284daeaa4f3536415d8f22))
- **deps:** Bump cosmiconfig from 8.2.0 to 8.3.3
([#170](https://github.com/hongaar/semantic-release-yarn/issues/170))
([ee040c7](https://github.com/hongaar/semantic-release-yarn/commit/ee040c7c84cd106c69c8c9b8a2184467df1e1dbf)),
closes [#320](https://github.com/hongaar/semantic-release-yarn/issues/320)
[#317](https://github.com/hongaar/semantic-release-yarn/issues/317)
[#320](https://github.com/hongaar/semantic-release-yarn/issues/320)
[#317](https://github.com/hongaar/semantic-release-yarn/issues/317)
[#321](https://github.com/hongaar/semantic-release-yarn/issues/321)
[#319](https://github.com/hongaar/semantic-release-yarn/issues/319)
[#318](https://github.com/hongaar/semantic-release-yarn/issues/318)
- **deps:** Bump cosmiconfig from 8.3.3 to 8.3.5
([#175](https://github.com/hongaar/semantic-release-yarn/issues/175))
([55b2176](https://github.com/hongaar/semantic-release-yarn/commit/55b21765eddd8162a633bba04971af199bd65f9a)),
closes [#323](https://github.com/hongaar/semantic-release-yarn/issues/323)
[#323](https://github.com/hongaar/semantic-release-yarn/issues/323)
[#327](https://github.com/hongaar/semantic-release-yarn/issues/327)
[#324](https://github.com/hongaar/semantic-release-yarn/issues/324)
- **deps:** Bump cosmiconfig from 8.3.5 to 8.3.6
([#181](https://github.com/hongaar/semantic-release-yarn/issues/181))
([b881733](https://github.com/hongaar/semantic-release-yarn/commit/b8817331071328c789fa2eb7200afd3c1217e40c)),
closes [#328](https://github.com/hongaar/semantic-release-yarn/issues/328)
- **deps:** Bump read-pkg from 8.0.0 to 8.1.0
([#169](https://github.com/hongaar/semantic-release-yarn/issues/169))
([cbdfa8b](https://github.com/hongaar/semantic-release-yarn/commit/cbdfa8b24fec00aafb57b67992ce4fabb66ed5bc))

## [2.0.1](https://github.com/hongaar/semantic-release-yarn/compare/v2.0.0...v2.0.1) (2023-09-02)

### Bug Fixes

* **fix:** yarn plugins might be built-in ([#147](https://github.com/hongaar/semantic-release-yarn/issues/147)) ([391d043](https://github.com/hongaar/semantic-release-yarn/commit/391d0435029d90f9d3721469b589b2650a1ab2af))
* **deps:** Bump @semantic-release/error from 3.0.0 to 4.0.0 ([#121](https://github.com/hongaar/semantic-release-yarn/issues/121)) ([de2b0d5](https://github.com/hongaar/semantic-release-yarn/commit/de2b0d5987c0fa8472e292ef65c24ecec008aae6))
* **deps:** bump execa from 7.1.1 to 7.2.0 ([#144](https://github.com/hongaar/semantic-release-yarn/issues/144)) ([0b56937](https://github.com/hongaar/semantic-release-yarn/commit/0b5693774a0138f824b61d3c1c727f2dd3121024)), closes [#565](https://github.com/hongaar/semantic-release-yarn/issues/565) [#565](https://github.com/hongaar/semantic-release-yarn/issues/565) [#562](https://github.com/hongaar/semantic-release-yarn/issues/562) [#563](https://github.com/hongaar/semantic-release-yarn/issues/563)
* **deps:** bump execa from 7.2.0 to 8.0.1 ([#156](https://github.com/hongaar/semantic-release-yarn/issues/156)) ([5338230](https://github.com/hongaar/semantic-release-yarn/commit/533823085cc857694594a9ef168a2c69daefd972)), closes [#572](https://github.com/hongaar/semantic-release-yarn/issues/572) [#569](https://github.com/hongaar/semantic-release-yarn/issues/569) [#572](https://github.com/hongaar/semantic-release-yarn/issues/572) [#571](https://github.com/hongaar/semantic-release-yarn/issues/571) [#568](https://github.com/hongaar/semantic-release-yarn/issues/568) [#570](https://github.com/hongaar/semantic-release-yarn/issues/570) [#569](https://github.com/hongaar/semantic-release-yarn/issues/569)
* **deps:** Bump semver from 7.5.1 to 7.5.2 ([#123](https://github.com/hongaar/semantic-release-yarn/issues/123)) ([f855612](https://github.com/hongaar/semantic-release-yarn/commit/f855612e7ca5188c3fdab371dc4e642f395e89da))
* **deps:** Bump semver from 7.5.2 to 7.5.3 ([#126](https://github.com/hongaar/semantic-release-yarn/issues/126)) ([b2cc0a5](https://github.com/hongaar/semantic-release-yarn/commit/b2cc0a52178c0d57ab2013f1f61ca7c7e8e066a0)), closes [#571](https://github.com/hongaar/semantic-release-yarn/issues/571) [#571](https://github.com/hongaar/semantic-release-yarn/issues/571) [#569](https://github.com/hongaar/semantic-release-yarn/issues/569) [#569](https://github.com/hongaar/semantic-release-yarn/issues/569) [#571](https://github.com/hongaar/semantic-release-yarn/issues/571) [#571](https://github.com/hongaar/semantic-release-yarn/issues/571) [#569](https://github.com/hongaar/semantic-release-yarn/issues/569) [#569](https://github.com/hongaar/semantic-release-yarn/issues/569) [#569](https://github.com/hongaar/semantic-release-yarn/issues/569) [#571](https://github.com/hongaar/semantic-release-yarn/issues/571)
* **deps:** Bump semver from 7.5.3 to 7.5.4 ([#136](https://github.com/hongaar/semantic-release-yarn/issues/136)) ([9afaa3e](https://github.com/hongaar/semantic-release-yarn/commit/9afaa3ebd4435c95e1299dc1ff8c6b61b719540f))
- **fix:** yarn plugins might be built-in
([#147](https://github.com/hongaar/semantic-release-yarn/issues/147))
([391d043](https://github.com/hongaar/semantic-release-yarn/commit/391d0435029d90f9d3721469b589b2650a1ab2af))
- **deps:** Bump @semantic-release/error from 3.0.0 to 4.0.0
([#121](https://github.com/hongaar/semantic-release-yarn/issues/121))
([de2b0d5](https://github.com/hongaar/semantic-release-yarn/commit/de2b0d5987c0fa8472e292ef65c24ecec008aae6))
- **deps:** bump execa from 7.1.1 to 7.2.0
([#144](https://github.com/hongaar/semantic-release-yarn/issues/144))
([0b56937](https://github.com/hongaar/semantic-release-yarn/commit/0b5693774a0138f824b61d3c1c727f2dd3121024)),
closes [#565](https://github.com/hongaar/semantic-release-yarn/issues/565)
[#565](https://github.com/hongaar/semantic-release-yarn/issues/565)
[#562](https://github.com/hongaar/semantic-release-yarn/issues/562)
[#563](https://github.com/hongaar/semantic-release-yarn/issues/563)
- **deps:** bump execa from 7.2.0 to 8.0.1
([#156](https://github.com/hongaar/semantic-release-yarn/issues/156))
([5338230](https://github.com/hongaar/semantic-release-yarn/commit/533823085cc857694594a9ef168a2c69daefd972)),
closes [#572](https://github.com/hongaar/semantic-release-yarn/issues/572)
[#569](https://github.com/hongaar/semantic-release-yarn/issues/569)
[#572](https://github.com/hongaar/semantic-release-yarn/issues/572)
[#571](https://github.com/hongaar/semantic-release-yarn/issues/571)
[#568](https://github.com/hongaar/semantic-release-yarn/issues/568)
[#570](https://github.com/hongaar/semantic-release-yarn/issues/570)
[#569](https://github.com/hongaar/semantic-release-yarn/issues/569)
- **deps:** Bump semver from 7.5.1 to 7.5.2
([#123](https://github.com/hongaar/semantic-release-yarn/issues/123))
([f855612](https://github.com/hongaar/semantic-release-yarn/commit/f855612e7ca5188c3fdab371dc4e642f395e89da))
- **deps:** Bump semver from 7.5.2 to 7.5.3
([#126](https://github.com/hongaar/semantic-release-yarn/issues/126))
([b2cc0a5](https://github.com/hongaar/semantic-release-yarn/commit/b2cc0a52178c0d57ab2013f1f61ca7c7e8e066a0)),
closes [#571](https://github.com/hongaar/semantic-release-yarn/issues/571)
[#571](https://github.com/hongaar/semantic-release-yarn/issues/571)
[#569](https://github.com/hongaar/semantic-release-yarn/issues/569)
[#569](https://github.com/hongaar/semantic-release-yarn/issues/569)
[#571](https://github.com/hongaar/semantic-release-yarn/issues/571)
[#571](https://github.com/hongaar/semantic-release-yarn/issues/571)
[#569](https://github.com/hongaar/semantic-release-yarn/issues/569)
[#569](https://github.com/hongaar/semantic-release-yarn/issues/569)
[#569](https://github.com/hongaar/semantic-release-yarn/issues/569)
[#571](https://github.com/hongaar/semantic-release-yarn/issues/571)
- **deps:** Bump semver from 7.5.3 to 7.5.4
([#136](https://github.com/hongaar/semantic-release-yarn/issues/136))
([9afaa3e](https://github.com/hongaar/semantic-release-yarn/commit/9afaa3ebd4435c95e1299dc1ff8c6b61b719540f))

# [2.0.0](https://github.com/hongaar/semantic-release-yarn/compare/v1.0.1...v2.0.0) (2023-06-07)


### Features

* update node.js versions ([#117](https://github.com/hongaar/semantic-release-yarn/issues/117)) ([526b6fd](https://github.com/hongaar/semantic-release-yarn/commit/526b6fd9c66d95d83e5d02c4c86fc0146231d7fb))

- update node.js versions
([#117](https://github.com/hongaar/semantic-release-yarn/issues/117))
([526b6fd](https://github.com/hongaar/semantic-release-yarn/commit/526b6fd9c66d95d83e5d02c4c86fc0146231d7fb))

### BREAKING CHANGES

* This updates the supported node.js versions
- This updates the supported node.js versions

## [1.0.1](https://github.com/hongaar/semantic-release-yarn/compare/v1.0.0...v1.0.1) (2023-06-07)


### Bug Fixes

* moker updates ([#116](https://github.com/hongaar/semantic-release-yarn/issues/116)) ([1990fed](https://github.com/hongaar/semantic-release-yarn/commit/1990fed11929f4b863aebd6177dfb254bab2275b))
- moker updates
([#116](https://github.com/hongaar/semantic-release-yarn/issues/116))
([1990fed](https://github.com/hongaar/semantic-release-yarn/commit/1990fed11929f4b863aebd6177dfb254bab2275b))

# [1.0.0](https://github.com/hongaar/semantic-release-yarn/compare/v0.3.2...v1.0.0) (2023-04-04)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"peerDependencies": {
"semantic-release": ">=19.0.0"
},
"packageManager": "yarn@3.3.0",
"packageManager": "yarn@4.0.1",
"engines": {
"node": ">=18"
},
Expand Down
8 changes: 4 additions & 4 deletions src/add-channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { getWorkspaces } from "./yarn-workspaces.js";
export async function addChannel(
pluginConfig: PluginConfig,
pkg: PackageJson,
context: AddChannelContext
context: AddChannelContext,
) {
const {
cwd,
Expand All @@ -39,22 +39,22 @@ export async function addChannel(

for (const name of packagesToTag) {
logger.log(
`Adding version ${version} to npm registry ${registry} (tagged as @${distTag})`
`Adding version ${version} to npm registry ${registry} (tagged as @${distTag})`,
);
const result = execa(
"yarn",
["npm", "tag", "add", `${name}@${version}`, distTag],
{
cwd: basePath,
env,
}
},
);
result.stdout!.pipe(stdout, { end: false });
result.stderr!.pipe(stderr, { end: false });
await result;

logger.log(
`Added ${name}@${version} on ${registry} (tagged as @${distTag})`
`Added ${name}@${version} on ${registry} (tagged as @${distTag})`,
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type Modules = {
const modules: Modules = {} as any;

async function getDefaultImplementation<T extends keyof Modules>(
name: T
name: T,
): Promise<Modules[T]> {
switch (name) {
case "execa":
Expand Down
2 changes: 1 addition & 1 deletion src/definitions/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export const defaultRegistries = [DEFAULT_NPM_REGISTRY, DEFAULT_YARN_REGISTRY];

export function isDefaultRegistry(registry: string) {
return defaultRegistries.some(
(defaultRegistry) => toNerfDart(defaultRegistry) === toNerfDart(registry)
(defaultRegistry) => toNerfDart(defaultRegistry) === toNerfDart(registry),
);
}
18 changes: 9 additions & 9 deletions src/definitions/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function EINVALIDNPMPUBLISH({ npmPublish }: { npmPublish: unknown }) {
return {
message: 'Invalid "npmPublish" option.',
details: `The [npmPublish option](${linkify(
"README.md#plugin-options"
"README.md#plugin-options",
)}) option, if defined, must be a "Boolean".
Your configuration for the "npmPublish" option is "${npmPublish}".`,
Expand All @@ -19,7 +19,7 @@ export function EINVALIDTARBALLDIR({ tarballDir }: { tarballDir: unknown }) {
return {
message: 'Invalid "tarballDir" option.',
details: `The [tarballDir option](${linkify(
"README.md#plugin-options"
"README.md#plugin-options",
)}) option, if defined, must be a "String".
Your configuration for the "tarballDir" option is "${tarballDir}".`,
Expand All @@ -30,7 +30,7 @@ export function EINVALIDPKGROOT({ pkgRoot }: { pkgRoot: unknown }) {
return {
message: 'Invalid "pkgRoot" option.',
details: `The [pkgRoot option](${linkify(
"README.md#plugin-options"
"README.md#plugin-options",
)}) option, if defined, must be a "String".
Your configuration for the "pkgRoot" option is "${pkgRoot}".`,
Expand All @@ -45,7 +45,7 @@ export function EINVALIDMAINWORKSPACE({
return {
message: 'Invalid "mainWorkspace" option.',
details: `The [mainWorkspace option](${linkify(
"README.md#plugin-options"
"README.md#plugin-options",
)}) option, if defined, must be a "String".
Your configuration for the "mainWorkspace" option is "${mainWorkspace}".`,
Expand All @@ -56,11 +56,11 @@ export function ENONPMTOKEN({ registry }: { registry: string }) {
return {
message: "No NPM access token specified.",
details: `A [NPM access token](${linkify(
"README.md#npm-registry-authentication"
"README.md#npm-registry-authentication",
)}) must be provided in your configuration. The token must allow to publish to the registry "${registry}".
Please refer to the [npm registry authentication](${linkify(
"README.md#npm-registry-authentication"
"README.md#npm-registry-authentication",
)}) section of the README to learn how to configure the NPM registry access token.`,
};
}
Expand All @@ -69,11 +69,11 @@ export function EINVALIDNPMTOKEN({ registry }: { registry: string }) {
return {
message: "Invalid NPM access token.",
details: `The [NPM access token](${linkify(
"README.md#npm-registry-authentication"
"README.md#npm-registry-authentication",
)}) configured must be a valid [access token](https://docs.npmjs.com/getting-started/working_with_tokens) allowing to publish to the registry "${registry}".
Please refer to the [npm registry authentication](${linkify(
"README.md#npm-registry-authentication"
"README.md#npm-registry-authentication",
)}) section of the README to learn how to configure the NPM registry access token.`,
};
}
Expand Down Expand Up @@ -107,7 +107,7 @@ export function EINVALIDYARN({ version }: { version: string }) {
return {
message: "Incompatible Yarn version detected.",
details: `The version of Yarn that you are using is not compatible. Please refer to [the README](${linkify(
"README.md#install"
"README.md#install",
)}) to review which versions of Yarn are currently supported
Your version of Yarn is "${version}".`,
Expand Down
2 changes: 1 addition & 1 deletion src/get-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type ErrorDefinition = Error & {

export function getError<T extends keyof typeof ERROR_DEFINITIONS>(
code: T,
ctx: Parameters<(typeof ERROR_DEFINITIONS)[T]>[0]
ctx: Parameters<(typeof ERROR_DEFINITIONS)[T]>[0],
): ErrorDefinition {
const { message, details } = ERROR_DEFINITIONS[code](ctx as any);

Expand Down
2 changes: 1 addition & 1 deletion src/get-pkg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getError } from "./get-error.js";

export async function getPkg(
{ pkgRoot }: PluginConfig,
{ cwd }: { cwd: CommonContext["cwd"] }
{ cwd }: { cwd: CommonContext["cwd"] },
) {
const readPackage = await getImplementation("readPackage");

Expand Down
12 changes: 6 additions & 6 deletions src/get-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function getRegistry(
{
env,
logger,
}: { env: CommonContext["env"]; logger: CommonContext["logger"] }
}: { env: CommonContext["env"]; logger: CommonContext["logger"] },
) {
const publishConfigRegistry = publishConfig?.["registry"] as
| string
Expand All @@ -21,7 +21,7 @@ export function getRegistry(
if (publishConfigRegistry) {
logger.log(
`Using registry "%s" from "package.json: publishConfig.registry"`,
publishConfigRegistry
publishConfigRegistry,
);

return publishConfigRegistry;
Expand All @@ -30,7 +30,7 @@ export function getRegistry(
if (env["YARN_NPM_PUBLISH_REGISTRY"]) {
logger.log(
`Using registry "%s" from environment variable YARN_NPM_PUBLISH_REGISTRY`,
env["YARN_NPM_PUBLISH_REGISTRY"]
env["YARN_NPM_PUBLISH_REGISTRY"],
);

return env["YARN_NPM_PUBLISH_REGISTRY"];
Expand All @@ -39,7 +39,7 @@ export function getRegistry(
if (npmPublishRegistry) {
logger.log(
`Using registry "%s" from "${YARNRC_FILENAME}: npmPublishRegistry"`,
npmPublishRegistry
npmPublishRegistry,
);

return npmPublishRegistry;
Expand All @@ -48,7 +48,7 @@ export function getRegistry(
if (env["YARN_NPM_REGISTRY_SERVER"]) {
logger.log(
`Using registry "%s" from environment variable YARN_NPM_REGISTRY_SERVER`,
env["YARN_NPM_REGISTRY_SERVER"]
env["YARN_NPM_REGISTRY_SERVER"],
);

return env["YARN_NPM_REGISTRY_SERVER"];
Expand All @@ -57,7 +57,7 @@ export function getRegistry(
if (npmRegistryServer) {
logger.log(
`Using registry "%s" from "${YARNRC_FILENAME}: npmRegistryServer"`,
npmRegistryServer
npmRegistryServer,
);

return npmRegistryServer;
Expand Down
2 changes: 1 addition & 1 deletion src/get-release-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function getReleaseInfo(
nextRelease: PublishContext["nextRelease"];
},
distTag: string,
registry: string
registry: string,
) {
return {
name: `npm package (@${distTag} dist-tag)`,
Expand Down
Loading

0 comments on commit 94ff591

Please sign in to comment.