Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eclipse-che/theia-generator

Package Overview
Dependencies
Maintainers
4
Versions
683
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-che/theia-generator

Eclipse Che - Theia tooling

  • 0.0.1-1547456396
  • npm
  • Socket score

Version published
Weekly downloads
754
increased by2592.86%
Maintainers
4
Weekly downloads
 
Created
Source

@eclipse-che/theia-generator

===================================

Installation guide

Theia Generator can be installed locally or globally

Here is how to install it globally:

using yarn:

$ yarn global add @eclipse-che/theia-generator

using npm:

$ npm install -g @eclipse-che/theia-generator

Then, a new command line tool is available : che:theia

Using the tool

Once the tool is installed, the following commands are available:

  • che:theia init
  • che:theia production

(help is also available with command che:theia --help)

che:theia init

This command needs to be launched inside a cloned directory of Eclipse Theia cloned directory

$ git clone https://github.com/theia-ide/theia
$ cd theia
$ che:theia init

once the init command has been launched:

  • inside theia/che folder, all extensions have been cloned and checkout to their correct branches (if specified)
  • all extensions have their package.json updated to the versions used by the current theia. (cloned)
  • in packages folder, there are symlinks for each extension coming from theia/che folders. All packages are prefixed by @che-
  • in examples folder, a new folder named àssemblyhas been generated and include theche-theia` assembly of Theia

In order to build the product, just run yarn at the root folder (where theia has been cloned)

Development life-cycle

it's easy to check changes. Running yarn watch in a module and then running yarn watch in examples/assembly folder and using yarn run start in examples/assembly

che:theia production

A production's ready assembly of che-theia can be obtained by running from the root folder of theia: che:theia production

It will generate in ${where theia has been cloned}/production folder a ready-to-use assembly of theia, without lot of files (like source maps, source code, etc)

It can be started with the command node ${where theia has been cloned}/production/src-gen/backend/main.js

Developer's guide

See Contributing

License

EPL-2.0

FAQs

Package last updated on 14 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc