1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +00:00

[PM-17031] Create UI-common (#12831)

Extract core functionality from `libs/angular` to allow teams to depend on `libs/ui-common` instead.

Moves the following functionality to `ui-common`.
- `I18nPipe`. `libs/angular` still has an old copy but `components` depends on the new variant from `ui-common`.
- `safeProvider`, `SafeProvider` and `SafeInjectionToken`. `libs/angular`re-exports these to avoid needing to update all consumers.
This commit is contained in:
Oscar Hinton
2025-01-17 16:42:31 +01:00
committed by GitHub
parent 87171289f0
commit e5f83ff086
52 changed files with 300 additions and 247 deletions

View File

@@ -8,7 +8,8 @@
"@bitwarden/common/*": ["../../common/src/*"],
"@bitwarden/components": ["../../components/src"],
"@bitwarden/key-management": ["../../key-management/src"],
"@bitwarden/platform": ["../../platform/src"]
"@bitwarden/platform": ["../../platform/src"],
"@bitwarden/ui-common": ["../../ui/common/src"]
}
},
"include": ["src"],

View File

@@ -14,6 +14,7 @@
"@bitwarden/generator-navigation": ["../../../../tools/generator/extensions/navigation/src"],
"@bitwarden/key-management": ["../../../../key-management/src"],
"@bitwarden/platform": ["../../../../platform/src"],
"@bitwarden/ui-common": ["../../../../ui/common/src"],
"@bitwarden/vault-export-core": [
"../../../../tools/export/vault-export/vault-export-core/src"
]

View File

@@ -10,7 +10,8 @@
"@bitwarden/generator-core": ["../../../tools/generator/core/src"],
"@bitwarden/generator-history": ["../../../tools/generator/extensions/history/src"],
"@bitwarden/key-management": ["../../../key-management/src"],
"@bitwarden/platform": ["../../../platform/src"]
"@bitwarden/platform": ["../../../platform/src"],
"@bitwarden/ui-common": ["../../../ui/common/src"]
}
},
"include": ["src"],

View File

@@ -13,7 +13,8 @@
"@bitwarden/generator-legacy": ["../../../tools/generator/extensions/legacy/src"],
"@bitwarden/generator-navigation": ["../../../tools/generator/extensions/navigation/src"],
"@bitwarden/key-management": ["../../../key-management/src"],
"@bitwarden/platform": ["../../../platform/src"]
"@bitwarden/platform": ["../../../platform/src"],
"@bitwarden/ui-common": ["../../../ui/common/src"]
}
},
"include": ["src"],