graph
fil-stat-repo(github.com/filecoin-station/desktop) --> fil-stat-main(Station main process)
fil-stat-repo --> fil-stat-webui(Station WebUI)
saturn-l2-repo(https://github.com/filecoin-project/saturn-l2)
--> saturn-l2-go(Saturn L2 Node binary)
saturn-webui-repo(github.com/filecoin-project/saturn-webui)
--> saturn-webui(Saturn WebUI)
saturn-webui --> saturn-l2-go
fil-stat-main --> fil-stat-distro(Desktop Application)
fil-stat-webui --> fil-stat-distro
saturn-l2-go --> fil-stat-distro
Repositories:
- https://github.com/filecoin-station/desktop
- https://github.com/filecoin-saturn/L2-node
- https://github.com/filecoin-project/saturn-webui
filecoin-project/saturn-webui
publishes a new release with WebUI assetsfilecoin-saturn/L2-node
is updated to use the newsaturn-webui
versionfilecoin-saturn/L2-node
publishes a new releasefilecoin-station/desktop
is updated to use the newL2-node
versionfilecoin-station/desktop
publishes a new release
- Install the latest LTS version of Node.js
- Clone this repository
- Run
npm install
to install all dependencies, including electron components and Saturn L2 Node.
-
Run
npm start
to open the Electron app and load the WebUI via the Vite DEV server. Changes made insiderenderer
files will be immediately applied in the running app. -
Run
npm run lint
to check for coding style issues and type errors. Runnpm run lint:fix
to fix formatting issues. -
Run
npm test
to run all automated tests (unit/integration/end-to-end).
Run npm run package
to create the app package for your local platform. Check
the dist
directory for app artefacts, for example a DMG installer for macOS.
Electron does not support ESM for the backend code. We use CommonJS (require
)
in those files.
The front-end is written in TypeScript; there is no such limitation. Therefore
inside renderer
, we use ESM to get better developer experience and tooling
support.
After updating to a newer Chromium version, update the compilation target for
renderer
files in vite.config.js.
Set DEBUG=pw:browser
to obtain console logs from the electron app under test.
$ npm run build
$ DEBUG=pw:browser npm run test:e2e