Join us to discuss the challenges, solutions and best practices for in-house JavaScript code sharing. Tuesday, 12/17 at 10am PT/1pm ET.Sign up here »

@wiptheia/extension-manager

0.3.10-1525702354 • Public • Published

Theia - Extension Manager

See here for a detailed documentation.

Theia Extension

A Theia extension is a node package declaring theiaExtensions property in package.json:

{
  "theiaExtensions": [{
      "frontend": "lib/myExtension/browser/myextension-frontend-module",
      "backend": "lib/myExtension/node/myextension-backend-module",
    }, {
      "frontend": "lib/myExtension2/browser/myextension2-browser-module",
      "frontendElectron": "lib/myExtension2/electron-browser/myextension2-electron-browser-module",
      "backend": "lib/myExtension2/node/myextension2-node-module",
      "backendElectron": "lib/myExtension2/electron-main/myextension2-electron-main-module"
  }]
}

Each extension can consist of the following modules:

  • frontend is used in the browser env and as well in the electron if frontendElectron is not provided
  • frontendElectron is used in the electron env
  • backend is used in the node env and as well in the electron env if backendElectron is not provided
  • backendElectron is used in the electron env

An extension module should have a default export of ContainerModule | Promise<ContainerModule> type.

Theia Application

A Theia application is a node package listing Theia extensions as dependencies and managed with Theia CLI.

License

Apache-2.0

Install

npm i @wiptheia/[email protected]

Version

0.3.10-1525702354

License

Apache-2.0

Unpacked Size

234 kB

Total Files

77

Last publish

Collaborators

  • avatar
  • avatar