•  
      request #14652 Hoist webpack configs at plugins root folders
    Infos
    #14652
    Joris MASSON (jmasson)
    2020-04-02 15:10
    2020-03-06 15:17
    15903
    Details
    Hoist webpack configs at plugins root folders

    This is a follow-up of request #14384

    Now that even legacy files are concatenated with Webpack, we should harmonize plugins. /plugins/<plugin-name> should be the "entrypoint" for all plugins. It should contain:

    • package.json & package-lock.json. As long as it makes sense. Some dependencies still need to be scoped per-application, for example in agiledashboard: kanban and planning-v2 should not share dependencies.
    • jest.config.js
    • tsconfig.json
    • webpack.(common|dev|prod).js

    This setup will make it easier for everyone to know where they should run "npm" commands. It also lets us unify themes and scripts builds by having only one command to build / watch both.

    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2020-03-26
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2020-03-26 14:38
    Patch for TestManagement has been merged.

    • Status changed from Reopen to Closed
    • Close date set to 2020-03-26