generator-angular-fullstack
generator-angular-fullstack copied to clipboard
yo angular-fullstack:endpoint message do not produce server/api/message/message.socket.js
[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)
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": ""
}
}