Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Please use .elm-stuff, not elm-stuff #280

Open
dterhorst-zz opened this issue Aug 12, 2017 · 3 comments
Open

Please use .elm-stuff, not elm-stuff #280

dterhorst-zz opened this issue Aug 12, 2017 · 3 comments
Labels

Comments

@dterhorst-zz
Copy link

Platform

$ elm --version
0.18.0
$ uname -a
Darwin hexbox 16.1.0 Darwin Kernel Version 16.1.0: Thu Oct 13 21:26:57 PDT 2016; root:xnu-3789.21.3~60/RELEASE_X86_64 x86_64

Steps to Reproduce

$ mkdir newproject
$ cd newproject/
$ elm package install
Some new packages are needed. Here is the upgrade plan.

  Install:
    elm-lang/core 5.1.1
    elm-lang/html 2.0.0
    elm-lang/virtual-dom 2.0.4

Do you approve of this plan? [Y/n] Y
Starting downloads...

  ● elm-lang/html 2.0.0
  ● elm-lang/virtual-dom 2.0.4
  ● elm-lang/core 5.1.1

Packages configured successfully!

Expected

The created directory to be a hidden directory named .elm-stuff, or preferably just .elm.

Actual

The created directory is a normal directory named elm-stuff.

Notes

This is a common standard. Git, for example, puts all of its metadata in a hidden .git directory. Elm projects will frequently be used in conjunction with git, so it makes sense to use the same standard instead of inventing our own.

It also has the nice benefit of keeping the output of ls clean and focused on the project being worked on rather than cluttering it with metadata that almost never needs direct attention.

@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@evancz evancz added the request label Aug 12, 2017
@elm-lang elm-lang deleted a comment from RaphaelHaettich Sep 6, 2017
@ahstro
Copy link

ahstro commented Oct 18, 2017

Even if I do think this might be a good idea, I wanted to mention that Elm is, from what I understand, meant to appeal largely to JavaScript convertees who are likely to be familiar with the normal node_modules/ directory.

@dterhorst-zz
Copy link
Author

A fair enough point.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants