Theia: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:


==Install==
==Install==
{|
| valign="top" |
<source lang="json">
<source lang="json">
cat <<EOF > /opt/theia_ide/package.json
cat <<EOF > /opt/theia_ide/package.json
Line 39: Line 41:
EOF
EOF
</source>
</source>
| valign="top" |
<source lang="bash">
yarn
yarn theia build
</source>
|}


==References==
==References==

Revision as of 17:58, 21 September 2020

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
nvm install 10
npm install -g yarn
sudo mkdir /opt/theia_ide
chown -R pi:pi /opt/theia_ide/

Install

cat <<EOF > /opt/theia_ide/package.json
{
  "private":true,
  "dependencies":{
    "typescript":"latest",
    "@theia/typescript":"next",
    "@theia/tslint":"next",
    "@theia/navigator":"next",
    "@theia/terminal":"next",
    "@theia/outline-view":"next",
    "@theia/preferences":"next",
    "@theia/messages":"next",
    "@theia/git":"next",
    "@theia/file-search":"next",
    "@theia/markers":"next",
    "@theia/preview":"next",
    "@theia/callhierarchy":"next",
    "@theia/merge-conflicts":"next",
    "@theia/search-in-workspace":"next",
    "@theia/json":"next",
    "@theia/textmate-grammars":"next",
    "@theia/mini-browser":"next",
    "@theia/plugin-ext-vscode":"next"
  },
  "devDependencies":{
    "@theia/cli":"next"
  }
}
EOF
yarn 
yarn theia build

References