@shilwantkumar/mywidget
v1.0.0
Published
The example of how to build the Theia-based applications with the mywidget.
Downloads
4
Readme
mywidget
The example of how to build the Theia-based applications with the mywidget.
Getting started
Please install all necessary prerequisites.
Running the browser example
yarn build:browser
yarn start:browseror:
yarn build:browser
cd browser-app
yarn startor: launch Start Browser Backend configuration from VS code.
Open http://localhost:3000 in the browser.
Running the Electron example
yarn build:electron
yarn start:electronor:
yarn build:electron
cd electron-app
yarn startor: launch Start Electron Backend configuration from VS code.
Running the tests
yarn testor run the tests of a specific package with
cd mywidget
yarn testDeveloping with the browser example
Start watching all packages, including browser-app, of your application with
yarn watch:browseror watch only specific packages with
cd mywidget
yarn watchand the browser example.
cd browser-app
yarn watchRun the example as described above
Developing with the Electron example
Start watching all packages, including electron-app, of your application with
yarn watch:electronor watch only specific packages with
cd mywidget
yarn watchand the Electron example.
cd electron-app
yarn watchRun the example as described above
Publishing mywidget
Create a npm user and login to the npm registry, more on npm publishing.
npm loginPublish packages with lerna to update versions properly across local packages, more on publishing with lerna.
npx lerna publish