List of changes required by yo loopback:
#62
Remove id from the generated ACL entries in models.json
Simplify templates - use app.get('url') #71
Simplify app.started, drop started event in favour of listening (see app: update url on listening event loopback#357 ).
Implement a hook for custom of cp -r #69
Provide a hook allowing workspace API consumers to supply custom ncp implementation, e.g. yeoman's directory function.
Fix copying of static files #61
ensure js files are generated (rest/rest.js, server/server.js)
More yeoman changes #63
Depending on the component type, some configuration files are optional. E.g. the empty root component does not need any *.json files.
Remove workspace metadata from generated JSON files, e.g. componentName and configFile in rest/datasources.json, componentName in server/models.json.
package.json generated by the current template sets name to . instead of the project name.
implement Workspace.isValidDir (see Project.isValidProjectDir in 2.x)
Fix boot: include loopback-boot 2.x in package.json, drop email datasource, use capital model names in rest/models.json (User instead of user).
API: make componentName required in all entities
Refactor the server template to use the boot-based registration of middleware (see example-full-stack).
Fixes for yeoman generator #56
Modify value provides in models/model-access-control.js, use {name, value} instead of {value, humanized}.
List of changes required by
yo loopback:#62
idfrom the generated ACL entries inmodels.jsonSimplify templates - use
app.get('url')#71app.started, dropstartedevent in favour oflistening(see app: updateurlonlisteningevent loopback#357).Implement a hook for custom of
cp -r#69ncpimplementation, e.g. yeoman'sdirectoryfunction.Fix copying of static files #61
rest/rest.js,server/server.js)More yeoman changes #63
*.jsonfiles.componentNameandconfigFileinrest/datasources.json,componentNameinserver/models.json.package.jsongenerated by the current template setsnameto.instead of the project name.Workspace.isValidDir(seeProject.isValidProjectDirin 2.x)loopback-boot 2.xin package.json, dropemaildatasource, use capital model names inrest/models.json(Userinstead ofuser).componentNamerequired in all entitiesservertemplate to use the boot-based registration of middleware (see example-full-stack).Fixes for yeoman generator #56
models/model-access-control.js, use{name, value}instead of{value, humanized}.