Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

chore: no need for package script semantic-release #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndersDJohnson
Copy link

Hey, so I noticed a semantic-release script in package.json that just aliases the executable from the dependency. Just wondering if there's an awesome reason this is good anyway (perhaps to document?), otherwise, if you weren't aware:

yarn run [script] []

[script] can also be any locally installed executable that is inside node_modules/.bin/

https://classic.yarnpkg.com/en/docs/cli/run/#toc-yarn-run-script

@beeman
Copy link
Owner

beeman commented Jul 23, 2020

Hi @AndersDJohnson - thanks for your PR. This run script gets added while running the semantic-release-cli setup command, see point 4 in this list.

As far as I understand, it's added because it comes in handy when people want to override the settings of semantic-release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants