You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I found this fork through your contribution to Docusaurus. Seeing as the source repository appears to be dead I'm creating the issue here hoping you can fix this.
There is currently a bug with npm install pkg --save-exact getting converted to yarn add pkg-exact instead of yarn add pkg --exact
To Reproduce
Steps to reproduce the behavior:
Pass npm install pkg --save-exact to the npm-to-yarn with second argument set to yarn
Observe result
Expected behavior
Gets converted to yarn add pkg --exact
Package & Environment Details
Environment: Node v18.4.0
Version: 1.1.1
Additional context
N.A.
The text was updated successfully, but these errors were encountered:
favna
added a commit
to favna/npm-to-yarn
that referenced
this issue
Jul 11, 2022
Fixesarmano2#7
Funny how these things go. I reported the issue then I started fixing a similar issue for npm to pnpm for sapphiredev/documentation-plugins#80 and turns out this fix also works for npm to yarn
Example regexr: regexr.com/6phbp
Describe the bug
I found this fork through your contribution to Docusaurus. Seeing as the source repository appears to be dead I'm creating the issue here hoping you can fix this.
There is currently a bug with
npm install pkg --save-exact
getting converted toyarn add pkg-exact
instead ofyarn add pkg --exact
To Reproduce
Steps to reproduce the behavior:
npm install pkg --save-exact
to the npm-to-yarn with second argument set toyarn
Expected behavior
Gets converted to
yarn add pkg --exact
Package & Environment Details
Additional context
N.A.
The text was updated successfully, but these errors were encountered: