Addison Beck
361f7e3447
refactor: introduce @bitwarden/state and other common libs ( #15772 )
...
* refactor: introduce @bitwarden/serialization
* refactor: introduce @bitwarden/guid
* refactor: introduce @bitwaren/client-type
* refactor: introduce @bitwarden/core-test-utils
* refactor: introduce @bitwarden/state and @bitwarden/state-test-utils
Creates initial project structure for centralized application state management. Part of modularization effort to extract state code from common.
* Added state provider documentation to README.
* Changed callouts to Github format.
* Fixed linting on file name.
* Forced git to accept rename
---------
Co-authored-by: Todd Martin <tmartin@bitwarden.com >
2025-08-04 11:01:28 -04:00
Justin Baur
3caa6cb635
[PM-7766] Add clientType to MigrationHelper ( #8945 )
...
* Add `clientType` to MigrationHelper
* PM-7766 - Fix migration builder tests to take new clientType into account.
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com >
* PM-7766 - Add client type to migration builder tests.
* PM-7766 - Fix migration-helper.spec tests.
* PM-7766 - Fix migrator.spec.ts
---------
Co-authored-by: Jared Snider <jsnider@bitwarden.com >
2024-04-29 07:28:58 -04:00
Justin Baur
908d3d165e
[PM-6965] Add type Property to MigrationHelper ( #8411 )
...
* Add `type` Property to `MigrationHelper`
* Fix Tests
* Make `type` parameter required
* Fix mockHelper.type
* Remove `readonly` from `type`
2024-03-25 14:28:42 +00:00
Justin Baur
1ff7bdd014
[PM-6172] Run localStorage migrations for web ( #7900 )
...
* Create MigrationRunner
- Create MigrationRunner Service for running migrations in StateService
- Create web override so that migrations also run against `localStorage`
* Fix Web StateService
* Fix WebMigrationRunner
* Fix CLI
* Fix ElectronStateService
* Update Comment
* More Common Scenarios
2024-02-14 08:52:13 -05:00