Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-125185

Remove metal references in .npmbundlerrc

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Metal.js, NPM Tools
    • Labels:
      None

      Description

      Part of our plan to remove usages of metal in DXP codebase

      The goal of this task is to remove existing references to metal packages from some .npmbundlerrc files.

      Once we remove all metal-* package usages from our codebase (except from frontend-js-metal-web module) it should not be necessary to manage how our bundler should package the metal modules.

      Here is a list of current references:

      Metal module Family Modules File
      incremental-dom-string frontend-taglib frontend-taglib-chart .npmbundlerrc
          frontend-taglib-clay .npmbundlerrc
      metal-anim frontend-taglib frontend-taglib-clay .npmbundlerrc
      metal-component document-library document-library-web .npmbundlerrc
        frontend-taglib  frontend-taglib-clay .npmbundlerrc
          frontend-taglib-chart .npmbundlerrc
      metal-debounce frontend-taglib frontend-taglib-clay .npmbundlerrc
      metal-events frontend-taglib frontend-taglib-chart .npmbundlerrc
          frontend-taglib-clay .npmbundlerrc
        map map-openstreetmap .npmbundlerrc
      metal-incremental-dom frontend-taglib frontend-taglib-chart .npmbundlerrc
          frontend-taglib-clay .npmbundlerrc
      metal-jsx frontend-taglib frontend-taglib-chart .npmbundlerrc
      metal-position frontend-taglib frontend-taglib-clay .npmbundlerrc
      metal-soy  document-library document-library-web .npmbundlerrc
        frontend-taglib frontend-taglib-chart .npmbundlerrc
          frontend-taglib-clay .npmbundlerrc
      metal-soy-bundle frontend-taglib frontend-taglib-chart .npmbundlerrc
          frontend-taglib-clay .npmbundlerrc
       metal-state document-lubrary document-library-web .npmbundlerrc
        frontend-taglib frontend-taglib-chart .npmbundlerrc
          frontend-taglib-clay .npmbundlerrc
        map map-openstreetmap .npmbundlerrc
      metal-web-component frontend-taglib frontend-taglib-clay .npmbundlerrc

      *Update: * Based on the current scope adjustment we're doing, this should be limited most likely to remove the .npmbundlerrc file inside the document-library-web module which is the only one that truly has no metal dependencies.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            daniel.sanz Daniel Sanz
            Engineering Assignee:
            Krešimir Čoko
            Recent user:
            Bruno Fernández
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package