* Rename ExtensionStore -> BaseExtensionStore
- The name was too close to ExtensionsStore
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move ExtensionsStore to new format
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move ClusterStore to new format
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move UserStore to new format
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Cleanup types to remove multiple cast locations
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move HotbarStore to new format
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move WeblinkStore to new format
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move FileSystemProvisionerStore to new format
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Clean up impl and rename to better describe intent
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix remaining type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fully split apart the enabled extensions storage
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fully split apart the clusters storage
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fully split apart the hotbar storage
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fully split apart the weblinks storage
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fully split apart the user preferences storage
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix crashing
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix tests and snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix integration test failures
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Improve typing to prevent errors in the future.
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Cleanup @k8slens/messaging and friends
- To fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lint issue
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix global override not being complete enough causing tests to fail
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Bump memory for unit tests on CI
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Attempt to fix memory issue on CI again
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fixup test because of new injectables
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Upgrade Jest
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix unit tests falling over
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Back out jest config change
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove console log
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshot
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix tests by matching equality instead of snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix tests by forcing specific snapshot style
- Ubuntu CI seems to format arrays in snapshots differently than macOS locally
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Only run unit tests on linux for PRs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Run unit tests on all systems periodically
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Switch to using npm over yarn
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Remove reference to `yarn` from documentation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Enable NPM workspaces
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Introduce script for installing all dependencies
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Remove usage of lerna bootstrap for no longer being used
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Fix build by not bundling libraries for application in node environment (main) as Electron does that
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Tweak evil static import paths in build of application
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Consolidate npmrc configs to root since required by workspaces
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Make application build not fail for not detecting electron version
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Update package-lock
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Make sure native dependencies are rebuilt for electron
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Remove unused binary for causing trouble when installing dependencies
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Update package-lock
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Disable caching in CI for Windows
Installing Electron in Windows seems to be broken in this regards.
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
* fix ensure-binaries bin
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix dist file extension
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* use type: module
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix lerna/yarn timeouts on windows
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* increase install dependency retry timeout
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
---------
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* allow to develop & build on windows powershell
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* remove hardcoded bash shell from test workflow
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* use rimraf
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
---------
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Remove deleted make target invocation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove last use of make in CI and delete last Makefile
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* wip: restructure to monorepo
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* refactor create-release-pr to a package
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* build fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* github workflow fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix typo
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* add webpack-env types to core
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix github workflows
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* refactor/fix integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* lint fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* yarn run dev
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* eslint settings for vscode
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* move templates to right package
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* open-lens build fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* integration test fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix nx task dependencies
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* use bash shell for unit tests in test workflow
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix test:unit for windows
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix win-ca webpack error in open-lens
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix win-ca webpack error in open-lens
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix build:app on windows
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* remove ELECTRON_BUILDER_EXTRA_ARGS
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* sync src/ from master
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* remove Makefile from core
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Replace deprecated github actions ::set-output
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update to newer versions to remove notices
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix getting cache dir on windows
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Split integration tests into seperate jobs from unit tests for faster CI
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add logging
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Simplify the matrix
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove steps that are part of Makefile
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix yml decl
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Switch to using single quotes
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Further clarify the test job names
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix invocation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Attempt to fix traking stdout
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* And handling for tests failing to start
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add check for app early exiting
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add more logging to help with debugging
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Cleanup attemptStart code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
- There are several reasons why these might fail that are irrelavent to
the other pipelines. So we should just let them continue
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* electron v15.5.7
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* change pipelines to use node 16
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* bump @types/node
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* update yarn.lock
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* use fs.ObjectEncodingOptions
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* build and release amd64 & arm64 together
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* test build on macos arm64
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix syntax
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix syntax
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* clean first
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* node-gyp 7.1.2
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* test
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* test
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Upgrade to electron 12 and Node 14
- Compute cluster ID for tests
- Switch to temporary appData path while testing
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* run integration tests against real build
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* add author.email to package.json
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* retry yarn/npm install steps on gh actions
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* set timeout_minutes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* test on gh actions
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* don't run integration test on release pipeline
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>