Skip to content

Miroslav's TODO for yeoman #53

Description

@bajtos

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}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions