alexanderGugel/ied

ied should create scripts in node_modules/.bin on Windows

Open

#119 opened on Apr 30, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (76 forks)batch import
help wantedwindows

Repository metrics

Stars
 (1,989 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Currently ied creates directory junctions for the .bin symlinks on Windows (PR #95) - as junctions work only for directories, this does not work. As discussed in #95, symlinks require additional permissions on Windows, so it's a bad idea to use them.

ied should continue using directory junctions for the package directories, but for the .bin tools, it should follow what npm does on Windows - for each tool it creates 2 scripts:

  1. - a wrapper script for Cygwin/MSYS contexts
  2. .cmd - a wrapper script for native/any other context

Contributor guide