The example of how to build the Theia-based applications with the codex.
Please install all necessary prerequisites.
yarn install
yarn build:browser or yarn watch:browser
// in a separate terminal
yarn start:browser
or:
yarn build:browser
cd browser-app
yarn start
or: launch Start Browser Backend configuration from VS code.
Open http://localhost:3000 in the browser.
yarn build:electron
yarn start:electron
or:
yarn build:electron
cd electron-app
yarn start
or: launch Start Electron Backend configuration from VS code.
Start watching all packages, including browser-app, of your application with
yarn watch:browser
or watch only specific packages with
cd codex
yarn watch
and the browser example.
cd browser-app
yarn watch
Run the example as described above
Start watching all packages, including electron-app, of your application with
yarn watch:electron
or watch only specific packages with
cd codex
yarn watch
and the Electron example.
cd electron-app
yarn watch
Run the example as described above
Create a npm user and login to the npm registry, more on npm publishing.
npm login
Publish packages with lerna to update versions properly across local packages, more on publishing with lerna.
npx lerna publish