Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-26362

Publish eZ JS CAPI via NPM

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None

    Description

      JavaScript development has largely standardised on NPM as the packet manager of choice. NPM is nowadays used for both backend (Node.js) and front end JavaScript development. The eZ JS CAPI is now published via the Bower packet management which is a front end packet management solution that has become a niche product.

      To enable JavaScript developers to use their standard development workflows (complete with module bundling, transpiling, etc.) with popular frameworks such as Angular, React and Vue, eZ CAPI should be made compatible with NPM and the library should be published on the NPM module registry.

      Ideally developers should be able to include eZ CAPI as follows:

      npm install ezcapi --save
      

      and then use the eZ CAPI library just like any other NPM library with popular project scaffolding, like:

      This will help drive adoption of the eZ CAPI outside of Platform UI. As it stands the CAPI is simply not usable at all for the above projects, rendering it a curiosity.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jani.tarvainen@ibexa.co Jani Tarvainen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: