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
Do you want to request a feature or report a bug? Feature.
What is the current behavior?
When I run yarn add [package] while editing JS files inside app/js, I get the following output:
:!yarn add cookies-js # running from Vim
yarn add v0.24.4
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
└─ cookies-js@1.2.3
Done in 1.06s.
However, there already is a package.json, yarn.lock and node_modules in the project, just located in /.
What is the expected behavior?
Check if project already has a lockfile, and if it does, add the new dependency to that existing lockfile instead of generating a new lockfile and dependencies to the wrong directory.
package.json could have a "root" field similar to EditorConfig.
Please mention your node.js, yarn and operating system version.
Node: 7.7.2
Yarn: 0.24.4
OS: macOS Sierra 10.12.4
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug? Feature.
What is the current behavior?
When I run
yarn add [package]
while editing JS files insideapp/js
, I get the following output:However, there already is a
package.json
,yarn.lock
andnode_modules
in the project, just located in/
.What is the expected behavior?
Check if project already has a lockfile, and if it does, add the new dependency to that existing lockfile instead of generating a new lockfile and dependencies to the wrong directory.
package.json
could have a "root" field similar to EditorConfig.Please mention your node.js, yarn and operating system version.
Node: 7.7.2
Yarn: 0.24.4
OS: macOS Sierra 10.12.4
The text was updated successfully, but these errors were encountered: