-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: cross-drive linking support for amplify-dev #6951
fix: cross-drive linking support for amplify-dev #6951
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6951 +/- ##
=======================================
Coverage 56.41% 56.41%
=======================================
Files 445 445
Lines 21764 21764
Branches 4354 4354
=======================================
Hits 12278 12278
Misses 8671 8671
Partials 815 815 Continue to review full report at Codecov.
|
package.json
Outdated
@@ -86,6 +86,7 @@ | |||
"@typescript-eslint/parser": "^4.14.2", | |||
"babel-loader": "^8.1.0", | |||
"babel-eslint": "^10.1.0", | |||
"@zkochan/cmd-shim": "^5.1.0", | |||
"cmd-shim": "^3.0.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this from package.json
and yarn.lock
.
@@ -86,6 +86,7 @@ | |||
"@typescript-eslint/parser": "^4.14.2", | |||
"babel-loader": "^8.1.0", | |||
"babel-eslint": "^10.1.0", | |||
"@zkochan/cmd-shim": "^5.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you add this entry by hand? It's not sorted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did move its order around. The latest commit should sort everything properly.
It looks like there are conflicts. Can you please rebase this. |
f787e58
to
753f707
Compare
Description of changes
Using the pnpm/cmd-shim library instead of npm/cmd-shim would fix the cross-drive linking issue for amplify-dev on Windows. A PR on
pnpm/cmd-shim
fixed the issue whereas it's still not fixed onnpm/cmd-shim
.This PR adds the
pnpm/cmd-shim
library and updates the imports inscripts/link-bin.js
Issue #, if available
fixes #6950
Description of how you validated changes
I checked the file at
C:\Users\Pawan\AppData\Local\Yarn\bin\amplify-dev.ps1
for proper linking and verified that theamplify-dev
command is properly running in sample projects.Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.