Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | build: Only use vite typings in renderer | Kristóf Marussy | 2021-12-30 |
| | | | | | The rest of the packages aren't buld with vite, so we shouldn't use its typings. | ||
* | build: Simplify clean script | Kristóf Marussy | 2021-12-30 |
| | |||
* | build: Switch to esbuild | Kristóf Marussy | 2021-12-30 |
| | | | | | | | | | | We will build all packages except the frontend (where vite remains in use) with esbuild. For some reason, the @yarnpkg/esbuild-plugin-pnp doesn't allow esbuild to load esm modules and we fall back to commonjs for dependencies. Hence we had to switch back to node_modules (but still rely on yarn hardlinking for a more efficient install). | ||
* | build: Disable typechecking for tests | Kristóf Marussy | 2021-12-28 |
| | |||
* | build: Simplify type declaration generation | Kristóf Marussy | 2021-12-28 |
| | |||
* | fix: Allow the shared store listener to re-register in dev mode | Kristóf Marussy | 2021-12-27 |
| | | | | | This way the shared store will be able to stay connected even if vite HMR replaces the renderer code. | ||
* | chore: Bump dependency versions | Kristóf Marussy | 2021-12-27 |
| | |||
* | build: Test runner configuration per package | Kristóf Marussy | 2021-12-27 |
| | |||
* | refactor: Simplify preload | Kristóf Marussy | 2021-12-27 |
| | | | | Jest mocking keeps the electron interaction testable | ||
* | refactor: Simplify IpcRendererService and its spec | Kristóf Marussy | 2021-12-27 |
| | |||
* | test: Add preload unit tests | Kristóf Marussy | 2021-12-27 |
| | |||
* | refactor: Improve error handling in preload | Kristóf Marussy | 2021-12-26 |
| | |||
* | refactor: Less boilerplate around SophieRenderer | Kristóf Marussy | 2021-12-26 |
| | |||
* | feat: Set nativeTheme theme source on dark mode | Kristóf Marussy | 2021-12-26 |
| | |||
* | fix: Typings in js config files | Kristóf Marussy | 2021-12-24 |
| | |||
* | feat: Service to main process communication | Kristóf Marussy | 2021-12-24 |
| | |||
* | feat: Add BrowserView and synchronize its position | Kristóf Marussy | 2021-12-23 |
| | |||
* | chore: Add license headers | Kristóf Marussy | 2021-12-23 |
| | | | | | Centralizes vite configuration to be able to add license banners to outputs in one place. | ||
* | build: Enable typescript composite mode and clean | Kristóf Marussy | 2021-12-23 |
| | | | | | | Moves all typings to the dist-types directories from the dist directories so that we can let vite clean the dist directories on build without clobbering the typings generated by tsc. | ||
* | feat: Main to renderer store synchronization | Kristóf Marussy | 2021-12-23 |
| | | | | | | | | | | | | Patches are send in one direction only, from the main to the renderer, so all actions have to go through the context bridge and the renderer IPC to modify the store in the renderer. This makes the store in the main process a single source of truth, which simplifies debugging and state persistence. The store in the renderer is connected to redux devtools for inspection, but playing back the state in the devtools won't change the sotre in main process. | ||
* | feat: Add shared package for electron ipc | Kristóf Marussy | 2021-12-23 |
| | |||
* | build: Simplify project structure | Kristóf Marussy | 2021-12-22 |
| | |||
* | Initial commit | Kristóf Marussy | 2021-12-22 |
Project skeleton based on https://github.com/cawa-93/vite-electron-builder but we use react instead of vue and yarn instead of npm. |