When ejecting, it may be desirable for commands to inline their rc options with the other ejected files by creating a temporary file and then adding that file to EjectOutput.copy. However, @dojo/cli currently only allows files within the project directory to be copied.
Enhancement
When ejecting, it may be desirable for commands to inline their rc options with the other ejected files by creating a temporary file and then adding that file to
EjectOutput.copy
. However,@dojo/cli
currently only allows files within the project directory to be copied.Package Version: v0.4.0
Code
Expected behavior:
command-options.json
is copied toconfig/{group-name}/command-options.json
.Actual behavior:
An error is thrown:
ENOENT: no such file or directory, open '/path/to/command-options.json'
.