Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 647 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 647 Bytes

web-extensions

This repo contains all the CERNBox web extensions for OCIS Web.

Development

When developing on an extension, just yarn serve on it. This will build in watch mode and create a web server to expose the files in dist. To enable the extension in the Web, just add the following to the config:

{
  (...)
  "external_apps": [
    {
      "id": "ifc-js",
      "path": "http://localhost:9101/main.js"
    }
  ]
}

The remaining extensions will have a different port (just look at the output of the yarn serve command).

Release

To release a new version of an extension, just run the "Release" Github action.