Skip to content

File names are not same as my module name #3

@mohsen1

Description

@mohsen1

Am I doing anything wrong? I'm trying to make a module called json-formatter but my less and js files are being made ad rmatter.js etc.

Here is my console output:

~/Desktop ❯❯ mkdir json-formatter
~/Desktop ❯❯ cd json-formatter/
~/D/json-formatter ❯❯ yo angular-module json-formatter

     _-----_
    |       |
    |--(o)--|   .--------------------------.
   `---------´  |    Welcome to Yeoman,    |
    ( _´U`_ )   |   ladies and gentlemen!  |
    /___A___\   '__________________________'
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

[?] What type? directive
[?] Module name (i.e. angular-forminput) json-formatter
[?] Github User or Organization Name: mohsen1
[?] Module prefix - typically an abbreviation of your Github User/Organization Name (i.e. jrg) ms1
[?] Author name and email (i.e. John Smith <johnsmith@email.com>) Mohsen Azimi
[?] Module description (i.e. AngularJS form input builder directive) JSON Formatter
[?] Module (Bower) keywords, space separated (i.e. angular AngularJS form input angular-forminput directive) json, formatter
   invoke   angular-module:directive:/usr/local/lib/node_modules/generator-angular-module/app/index.js
   create     bower.json
   create     README.md
   create     .gitignore
   create     CHANGELOG.md
command run and done: git init . && git add -A && git commit -am 'init' && git remote add origin git@github.com:mohsen1/json-formatter.git && git checkout --orphan gh-pages && git rm -rf .
stdout: Initialized empty Git repository in /Users/mohsen/Desktop/json-formatter/.git/
[master (root-commit) a0ea5dd] init
 4 files changed, 106 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 CHANGELOG.md
 create mode 100644 README.md
 create mode 100644 bower.json
rm '.gitignore'
rm 'CHANGELOG.md'
rm 'README.md'
rm 'bower.json'
 stderr: Switched to a new branch 'gh-pages'

   create     .gitignore
   create     _base.less
   create     bower.json
   create     app.js
   create     Gruntfile.js
   create     index.html
   create     package.json
   create     rmatter.js
   create     rmatter.less
   create     _rmatter.less
   create     server.js
   create     pages/home/home.html
   create     pages/home/HomeCtrl.js
command run and done: git add -A && git commit -am 'init'
stdout: [gh-pages (root-commit) 33ef68e] init
 13 files changed, 363 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 Gruntfile.js
 create mode 100644 _base.less
 create mode 100644 _rmatter.less
 create mode 100644 app.js
 create mode 100644 bower.json
 create mode 100644 index.html
 create mode 100644 package.json
 create mode 100644 pages/home/HomeCtrl.js
 create mode 100644 pages/home/home.html
 create mode 100644 rmatter.js
 create mode 100644 rmatter.less
 create mode 100644 server.js
 stderr:
   invoke   angular-module:service:/usr/local/lib/node_modules/generator-angular-module/app/index.js
Next steps:
1. run `npm install && bower install`
2. write your code then run `grunt`
3. create github repo
4. commit & push `gh-pages` branch
5. commit, tag, & push `master` branch
6. (optional) register bower component

And here is the file names:

~/D/json-formatter (gh-pages|✔) ❯❯ tree .
.
├── Gruntfile.js
├── _base.less
├── _rmatter.less
├── app.js
├── bower.json
├── index.html
├── package.json
├── pages
│   └── home
│       ├── HomeCtrl.js
│       └── home.html
├── rmatter.js
├── rmatter.less
└── server.js

2 directories, 12 files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions