aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* build: Add eslint-plugin-promiseLibravatar Kristóf Marussy2022-01-09
| | | | Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* build: Add eslint-plugin-unicornLibravatar Kristóf Marussy2022-01-09
| | | | Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* build: Add eslint-plugin-jestLibravatar Kristóf Marussy2022-01-09
| | | | Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* build: Add prettierLibravatar Kristóf Marussy2022-01-09
| | | | | | | eslint will also enforce prettier rules, so there is no need to call prettier separately in CI. Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* build: Disable single-run eslint-typescriptLibravatar Kristóf Marussy2022-01-09
| | | | | | | | | See https://github.com/typescript-eslint/typescript-eslint/issues/3851 Also upgrades dependencies and simplifies eslint config (used during debugging this issue to eliminate other possible sources of errors.) Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* Update docsLibravatar Vijay A2022-01-09
| | | | Signed-off-by: Vijay A <vraravam@users.noreply.github.com>
* build: Eslint fixes for multi-module projectLibravatar Kristóf Marussy2022-01-09
| | | | Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* New configurations based on review comments (WIP)Libravatar Vijay A2022-01-09
| | | | Signed-off-by: Vijay A <vraravam@users.noreply.github.com>
* Incorporate 'eslint' (fixes #3)Libravatar Vijay A2022-01-09
| | | | Signed-off-by: Vijay A <vraravam@users.noreply.github.com>
* Upgrade npm modulesLibravatar Vijay A2022-01-09
| | | | Signed-off-by: Vijay A <vraravam@users.noreply.github.com>
* Upgrade 'electron' to '16.0.6'Libravatar Vijay A2022-01-04
|
* Basic CI pipeline using Gitlab CILibravatar Vijay A2022-01-03
| | | | Signed-off-by: Vijay A <vraravam@users.noreply.github.com>
* chore: Add .yarn/sdks to .gitignoreLibravatar Kristóf Marussy2022-01-02
| | | | | | | | | | | | According to https://yarnpkg.com/getting-started/qa/#which-files-should-be-gitignored it is optional to keep the editor SDKs in the repository. Let's not keep them here so that every contributor can set up whatever SDKs they require. See https://yarnpkg.com/getting-started/editor-sdks/ for more info on yarn editor SDKs. Note that we're currently not using yarn PnP package resolution, so most editors should work without any SDKs configured.
* Enhance 'About' dialog with more infoLibravatar Vijay A2022-01-03
| | | | Signed-off-by: Vijay A <vraravam@users.noreply.github.com>
* Turn off 'FuseV1Options.EnableEmbeddedAsarIntegrityValidation' since the ↵Libravatar Vijay A2022-01-02
| | | | | | packaged app doesn't start up on macos Signed-off-by: Vijay A <vraravam@users.noreply.github.com>
* Merge branch 'gitignore' into 'main'Libravatar Kristóf Marussy2022-01-02
|\ | | | | | | | | Regenerate '.gitignore' See merge request say-hi-to-sophie/sophie!2
| * Regenerate '.gitignore'Libravatar Vijay A2022-01-02
|/ | | | Signed-off-by: Vijay A <vraravam@users.noreply.github.com>
* Merge branch 'developer-documentation' into 'main'Libravatar Vijay A2022-01-02
|\ | | | | | | | | | | | | Add documentation about specific pre-requisites for new contributors Closes #11 See merge request say-hi-to-sophie/sophie!4
| * Remove cmd about 'yarn set version'Libravatar Vijay A2022-01-02
| |
| * Add documentation about specific pre-requisites for new contributorsLibravatar Vijay A2022-01-02
|/ | | | Signed-off-by: Vijay A <vraravam@users.noreply.github.com>
* chore: Add @avijayr as a copyright holderLibravatar Kristóf Marussy2022-01-02
| | | | Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* Merge branch 'repo-url' into 'main'Libravatar Kristóf Marussy2022-01-02
|\ | | | | | | | | Fix 'repository' in 'package.json' See merge request say-hi-to-sophie/sophie!3
| * Fix 'repository' in 'package.json'Libravatar Vijay A2022-01-02
| | | | | | | | Signed-off-by: Vijay A <vraravam@users.noreply.github.com>
* | Merge branch 'ensure-userDataDir-present' into 'main'Libravatar Kristóf Marussy2022-01-02
|\ \ | |/ |/| | | | | Ensure that the 'userData' directory is present when starting up the app See merge request say-hi-to-sophie/sophie!1
| * Ensure that the 'userData' directory is present when starting up the appLibravatar Vijay A2022-01-02
|/ | | | Signed-off-by: Vijay A <vraravam@users.noreply.github.com>
* build: Improve build configsLibravatar Kristóf Marussy2022-01-02
| | | | | | | | - Remove unnecessary plugins array in esbuild config. - Use vite linked deps for shared packages: https://github.com/vitejs/vite/issues/195#issuecomment-637725505 Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* chore: Fix and bump dependenciesLibravatar Kristóf Marussy2022-01-02
| | | | | | Test devDependencies in the main package were incorrect. Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* fix: Allow devtools extensions to be installedLibravatar Kristóf Marussy2022-01-02
| | | | | | | | | | | | | On the first startup in dev mode, Electron must be able to download the devtools extensions and wait for them to be installed. Loosens the UI process request filter a bit, but the behavior should match production mode in all cases except chrome webstore URLs. Nevertheless, only production mode should be considered secure. Fixes #6 Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* fix: Ensure dev user directory existsLibravatar Kristóf Marussy2022-01-02
| | | | | | Fixes #5 Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* docs: Add note on typecheckingLibravatar Kristóf Marussy2022-01-01
| | | | Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* docs: Add architecture docsLibravatar Kristóf Marussy2022-01-01
| | | | Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* feat: Load browserview contents asynchronouslyLibravatar Kristóf Marussy2022-01-01
| | | | | | Also changes the default browserview contents to the gitlab repo. Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* docs: Separate CONTRIBUTING fileLibravatar Kristóf Marussy2021-12-31
|
* docs: Contribution informationLibravatar Kristóf Marussy2021-12-31
|
* test: Set up v8 coverage analysisLibravatar Kristóf Marussy2021-12-31
| | | | | We can't use babel coverage analysis, because it hardcodes a babel config that is not compatible with ESM.
* test: Fix esbuild transformer typesLibravatar Kristóf Marussy2021-12-31
|
* test: More robust jest moduleNameMappersLibravatar Kristóf Marussy2021-12-31
|
* docs: Document test runner commandsLibravatar Kristóf Marussy2021-12-31
|
* build: Add watch:test commandLibravatar Kristóf Marussy2021-12-31
|
* build: Shared packages target both chrome and nodeLibravatar Kristóf Marussy2021-12-31
|
* build: Revert nodenextLibravatar Kristóf Marussy2021-12-31
| | | | yarn typecheck still throw an unstable feature warning.
* test: Switch to esbuild for faster testsLibravatar Kristóf Marussy2021-12-31
|
* build: Use exports field for modulesLibravatar Kristóf Marussy2021-12-31
|
* fix: File paths in upgrade-electron-vendors scriptLibravatar Kristóf Marussy2021-12-31
|
* build: Use nodenext module resolutionLibravatar Kristóf Marussy2021-12-31
| | | | | The renderer package still has to use node module resolution to be able to find MUI packages.
* chore: Add import extensions preparing for ts 4.6 nodenextLibravatar Kristóf Marussy2021-12-31
|
* build: Upgrade to chalk 5.0.0 anywaysLibravatar Kristóf Marussy2021-12-31
| | | | Requires some workarounds for ts-jest to find the vendored dependencies.
* test: Add tests for main packageLibravatar Kristóf Marussy2021-12-31
| | | | | | | | | | | | | - Changed jest to run from the root package and reference the packages as projects. This required moving the base jest config file away from the project root. - Module isolation seems to prevent ts-jest from loading the shared package, so we disabled it for now. - To better facilitate mocking, services should be split into interfaces and implementation - Had to downgrade to chald 4.1.2 as per https://github.com/chalk/chalk/releases/tag/v5.0.0 at least until https://github.com/microsoft/TypeScript/issues/46452 is resolved.
* refactor: Install devtools extensions earlierLibravatar Kristóf Marussy2021-12-30
| | | | | | This doesn't seem to cause any race conditions (except for the warnings that appear even if we install the extensions before initializing the main window and are ignored by yarn watch).
* build: Simplify import.meta.env handlingLibravatar Kristóf Marussy2021-12-30
| | | | | | There are less opportunities now to optimize away code relying on import.meta.env, but we can directly check for the presence of import.meta.env.