andrewgioia / keyrune

Magic: the Gathering set symbol pictographic font
Other
448 stars 44 forks source link

Contents missing when adding through npm #8

Closed arjenbrandenburgh closed 8 years ago

arjenbrandenburgh commented 8 years ago

I have a project where I am using both Keyrune and Mana. I've added both to my package.json like this:

"dependencies": { "keyrune": "git+https://git@github.com/andrewgioia/Keyrune.git", "mana": "git+https://git@github.com/andrewgioia/Mana.git" }

When I do a npm install, both folders get created in my node_modules as expected. However, the Mana package comes out fine, while in the Keyrune package files are missing. The only files that are available are package.json and README.md. There are no css, fonts or less folders.

andrewgioia commented 8 years ago

@cybey thanks for reporting this, I had incorrect paths on the main and files attributes in package.json. I removed files so that everything comes back now and fixed main, it should work but let me know if not.

Takeno commented 8 years ago

It seems to be corrected.

λ cat package.json 
{
  "dependencies": {
    "keyrune": "git+https://github.com/andrewgioia/Keyrune.git"
  }
}
λ tree node_modules/
node_modules/
└── keyrune
    ├── README.md
    ├── bower.json
    ├── css
    │   ├── keyrune.css
    │   └── keyrune.min.css
    ├── fonts
    │   ├── keyrune.eot
    │   ├── keyrune.svg
    │   ├── keyrune.ttf
    │   ├── keyrune.woff
    │   └── keyrune.woff2
    ├── index.html
    ├── less
    │   ├── border.less
    │   ├── core.less
    │   ├── icons.less
    │   ├── keyrune.less
    │   ├── path.less
    │   ├── rarities.less
    │   ├── sizes.less
    │   ├── variables.less
    │   └── width.less
    └── package.json
arjenbrandenburgh commented 8 years ago

Seems fixed now. Thanks