https://github.com/navono/theia-hello-world-extension
https://github.com/navono/theia-hello-world-extension
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/navono/theia-hello-world-extension
- Owner: navono
- Created: 2021-12-24T08:19:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-10T08:19:58.000Z (over 4 years ago)
- Last Synced: 2025-02-26T03:36:28.014Z (over 1 year ago)
- Language: TypeScript
- Size: 17.2 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# theia-hello-world-extension
The example of how to build the Theia-based applications with the theia-hello-world-extension.
## Getting started
Install [nvm](https://github.com/creationix/nvm#install-script).
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash
Install npm and node.
nvm install 14
nvm use 14.xx.xx
Install yarn.
npm install -g yarn
## Running the browser example
yarn start:browser
*or:*
yarn rebuild:browser
cd browser-app
yarn start
*or:* launch `Start Browser Backend` configuration from VS code.
Open `http://localhost:3000` in the browser.
## Running the Electron example
yarn start:electron
*or:*
yarn rebuild:electron
cd electron-app
yarn start
*or:* launch `Start Electron Backend` configuration from VS code.
## Developing with the browser example
Start watching all packages, including `browser-app`, of your application with
yarn watch
*or* watch only specific packages with
cd theia-hello-world-extension
yarn watch
and the browser example.
cd browser-app
yarn watch
Run the example as [described above](#Running-the-browser-example)
## Developing with the Electron example
Start watching all packages, including `electron-app`, of your application with
yarn watch
*or* watch only specific packages with
cd theia-hello-world-extension
yarn watch
and the Electron example.
cd electron-app
yarn watch
Run the example as [described above](#Running-the-Electron-example)
## Publishing theia-hello-world-extension
Create a npm user and login to the npm registry, [more on npm publishing](https://docs.npmjs.com/getting-started/publishing-npm-packages).
npm login
Publish packages with lerna to update versions properly across local packages, [more on publishing with lerna](https://github.com/lerna/lerna#publish).
npx lerna publish