* 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>
* Remove workflow
- Not applicable anymore since each package has its own version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix daily-alpha to be based on core version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* lerna.json no longer will be updated during releases
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Use the prerelease parts of @k8slens/core to determine dist tag
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 daily-cron failing to bump version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix variable name
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Export more things for the extension API
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Provide more insight into the dist-tag computation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-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>
* Add reusable CLI for parsing semver
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Use CLI to specify dist-tag
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove dead scripts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add git ignore
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Make sure auth token for NPM registry is set
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Use plain `npm`
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix building docs and verify:docs workflow
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix commands
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* 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>
* Make sure secrets get passed through
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix bump master version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
- Don't create a PR if the previous release was just an alpha or beta
- Correct the label used on the PR
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* unify build fs layout
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* use currentApp path for static files
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* lint fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* allow to import open-lens
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* allow to customize both main & renderer
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix compile-library script
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* remove bundled extensions
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* similar interface for both main & renderer
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* use startApp on both sides
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix startApp import
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix startApp import
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Fix injection cycle (somehow)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* use cwd in download_binaries
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* introduce applicationInformationToken
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* register applicationInformationInjectable in main & renderer
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* allow to define bundled extensions via appStart
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* compile node-fetch automatically via prepare
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* define peerDependencies
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* webpack fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* rename application-information-token.injectable.ts -> application-information-token.ts
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* monaco-editor as externals
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* refactor application-information
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* introduce bundledExtensionInjectionToken
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* mark library exports as experimental
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* move extension npm package files & add release automation
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* add missing build files to package
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix bad merge conflict resolve
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix package.json name
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* allow to set mode via startApp
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* revert unnecessary changes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* webpack: fix extensionOutDir
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* remove unnecessary peerDependencies
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* introduce nodeEnvInjectionToken
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* remove NODE_ENV from environmentVariablesInjectable
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix jest modulePathIgnorePatterns
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix duplicate injectable registration
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix build executableName
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <sebastian@malton.name>