npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ivinokur/my-theia-generator

v0.0.1

Published

Eclipse Che - Theia tooling

Downloads

13

Readme

@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 and plugins 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 plugins folder, there are symlinks for each plugin coming from theia/che folders.
  • 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)

Custom extension and plugin set

Also you can provide custom yaml with your extension set, by using -c or --config parameter of che:theia init :

che:theia init -c ./path/to/custom/che-theia-init-sources.yaml

The sample of che-theia-init-sources.yaml can be found there

Dev mode

Dev mode is the way to use all new extensions from master branch:

che:theia init -d

And che:theia will use master branch for all extensions and plugins, regardless of provided configuration

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

compiling the plugins

Plugins have to be compiled separately with the script plugins/foreach_yarn. This script simply run the yarn command on each subfolders of plugins and copy the .theia package in production/plugins folder to be reused by the che-theia product.

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

che:theia clean

If you want to clean up your Theia repository use che:theia clean command, and it will undo all modification on your repository

Developer's guide

See Contributing

License

EPL-2.0