Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yo angular-fullstack:endpoint message do not produce server/api/message/message.socket.js #2789

Open
lilian131 opened this issue Jul 21, 2019 · 1 comment

Comments

@lilian131
Copy link

[x] I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.

Item Version
generator-angular-fullstack 3.1.0
Node v10.15.1
npm v6.4.1
Operating System OS X 10.14.4
Item Answer
Transpiler Babel
DB MongoDB
Auth Y

hi,
first of all thank you for the tool it is really great
on :
yo angular-fullstack:endpoint message [?] What will the url of your endpoint be? /api/messages
all files are generated except the socket one:

server/api/message/index.js

server/api/message/index.spec.js

server/api/message/message.controller.js

server/api/message/message.integration.js

server/api/message/message.model.js  (optional)

server/api/message/message.events.js (optional)

@lilian131
Copy link
Author

my .yo-rc.json

{
  "generator-angular-fullstack": {
    "generatorVersion": "4.1.3",
    "endpointDirectory": "server/api/",
    "insertRoutes": true,
    "registerRoutesFile": "server/routes.js",
    "routesNeedle": "// Insert routes below",
    "routesBase": "/api/",
    "pluralizeRoutes": true,
    "insertSockets": true,
    "registerSocketsFile": "server/config/socketio.js",
    "socketsNeedle": "// Insert sockets below",
    "insertModels": true,
    "registerModelsFile": "server/sqldb/index.js",
    "modelsNeedle": "// Insert models below",
    "filters": {
      "js": true,
      "babel": true,
      "flow": true,
      "html": true,
      "sass": true,
      "uirouter": true,
      "bootstrap": true,
      "uibootstrap": true,
      "socketio": true,
      "auth": true,
      "models": true,
      "mongooseModels": true,
      "mongoose": true,
      "oauth": true,
      "googleAuth": true,
      "facebookAuth": true,
      "twitterAuth": true,
      "jasmine": true,
      "mocha": false,
      "should": false,
      "expect": false
    }
  },
  "generator-ng-component": {
    "routeDirectory": "client/app/",
    "directiveDirectory": "client/app/",
    "componentDirectory": "client/app/components/",
    "filterDirectory": "client/app/",
    "serviceDirectory": "client/app/",
    "basePath": "client",
    "moduleName": "",
    "modulePrompt": true,
    "filters": [
      "uirouter",
      "jasmine",
      "uirouter",
      "es6",
      "webpack"
    ],
    "extensions": [
      "babel",
      "js",
      "html",
      "scss"
    ],
    "directiveSimpleTemplates": "",
    "directiveComplexTemplates": "",
    "filterTemplates": "",
    "serviceTemplates": "",
    "factoryTemplates": "",
    "controllerTemplates": "",
    "componentTemplates": "",
    "decoratorTemplates": "",
    "providerTemplates": "",
    "routeTemplates": ""
  }
}

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

No branches or pull requests

1 participant