aurajs / generator-aura

Yeoman generator for Aura.js
22 stars 14 forks source link

Component subgenerator generates the same as the main generator #16

Open ziroby opened 11 years ago

ziroby commented 11 years ago

The component subgenerator seems to be identical to the main aura generator. I run

yo aura:component sample

and I get a full aura app generated. According to the web page, I should only be getting app/aura_components/sample/main.js

Here's my stats:

1.0.0-rc.1.3
/home/ron.romero/opt:/bin:/home/ron.romero/bin:/usr/local:/usr/local/bin:/sbin:/usr/sbin:/usr/local:/usr/local/bin:/home/ron.romero/opt/node/bin:/usr/local/heroku/bin:/home/ron.romero/local/play:/home/ron.romero/local/bin:/home/ron.romero/bin:/usr/lib/lightdm/lightdm:/usr/local/bin:/usr/bin:/bin:/home/ron.romero/opt/eclipse
linux { http_parser: '1.0',
  node: '0.10.15',
  v8: '3.14.5.9',
  ares: '1.9.0-DEV',
  uv: '0.10.13',
  zlib: '1.2.3',
  modules: '11',
  openssl: '1.0.1e' }
robertd commented 11 years ago

Hmmm... I'm getting expected behavior

➜  yoaura  yo aura:component robert
   create app/aura_components/robert/main.js
➜  yoaura

Can you try npm clean cache and install generator-aura again.