Skip to content

cernbox/web-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
cernbox-admins[bot]
Mar 21, 2022
323a10a · Mar 21, 2022

History

81 Commits
Nov 2, 2021
Dec 6, 2021
Mar 21, 2022
Mar 21, 2022
Feb 11, 2022
Mar 21, 2022
Mar 21, 2022
Mar 3, 2022
Nov 2, 2021
Nov 1, 2021
Nov 2, 2021
Dec 1, 2021

Repository files navigation

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.