Addison Beck
26caeb3083
Implement and extend tsconfig.base across projects ( #14554 )
...
* Implement and extend tsconfig.base across projects
* fixup! Merge remote-tracking branch 'origin/main' into rename-tsconfig
* fix: import tsconfig.base from components
* fix: skip typechecking node modules
* fixing tests
* fix the tests for real
* undo accidentally change
2025-06-02 20:38:17 +00:00
Conner Turnbull
00e822fb13
[PM-16937] Remove Billing Circular Dependency ( #13085 )
...
* Remove circular dependency between billing services and components
* Removed `logService` from `billing-api.service.ts`
* Resolved failed test
* Removed @bitwarden/ui-common
* Added optional `title` parameter to `BillingNotificationService` functions
* Removed @bitwarden/platform from libs/common/tsconfig.json
* Update apps/web/src/app/billing/services/billing-notification.service.spec.ts
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com >
* Update apps/web/src/app/billing/services/billing-notification.service.spec.ts
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com >
* Resolved build errors
* Resolved issue where free trial banner wouldn't display if missing a payment method
---------
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com >
2025-03-11 13:43:19 -04:00
Bernd Schoolmann
01f6fd7ee3
[PM-16227] Move import to sdk and enable it in browser/web ( #12479 )
...
* Move import to sdk and enable it in browser/web
* Add uncomitted files
* Update package lock
* Fix prettier formatting
* Fix build
* Rewrite import logic
* Update ssh import logic for cipher form component
* Fix build on browser
* Break early in retry logic
* Fix build
* Fix build
* Fix build errors
* Update paste icons and throw error on wrong import
* Fix tests
* Fix build for cli
* Undo change to jest config
* Undo change to feature flag enum
* Remove unneeded lifetime
* Fix browser build
* Refactor control flow
* Fix i18n key and improve import behavior
* Remove for loop limit
* Clean up tests
* Remove unused code
* Update libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts
Co-authored-by: SmithThe4th <gsmith@bitwarden.com >
* Move import logic to service and add tests
* Fix linting
* Remove erroneous includes
* Attempt to fix storybook
* Fix storybook, explicitly implement ssh-import-prompt service abstraction
* Fix eslint
* Update libs/importer/src/importers/bitwarden/bitwarden-json-importer.ts
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com >
* Fix services module
* Remove ssh import sdk init code
* Add tests for errors
* Fix import
* Fix import
* Fix pkcs8 encrypted key not parsing
* Fix import button showing on web
---------
Co-authored-by: SmithThe4th <gsmith@bitwarden.com >
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com >
2025-03-10 18:41:47 +01:00
Oscar Hinton
e5f83ff086
[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.
2025-01-17 10:42:31 -05:00
Oscar Hinton
fbb1211a7b
[PM-17029] Convert libs/common to relative imports ( #12852 )
...
Convert absolute paths in lib/common to relative.
2025-01-14 10:11:37 -05:00
Oscar Hinton
653b730969
[PM-16872] Update libs to use explicit dependencies ( #12770 )
...
Update all libs to use explicit dependencies rather than relying on tsconfig.libs.json. This allows us to more easily understand the dependencies between libs and prevent users from accidentally adding new dependencies.
We still use tsconfig.libs (now renamed tsconfig.spec) for tests.
2025-01-10 11:21:38 +01:00
Bernd Schoolmann
38c4eeb27d
[PM-14542] Move kdf to km ownership ( #11877 )
...
* Move kdf to km ownership
* Fix duplicate import
* Remove whitespace
* Fix double imports
* Fix desktop build
* Fix test error
* Fix imports
* Move ownership of kdftype to km
* Fix imports
---------
Co-authored-by: Matt Bishop <mbishop@bitwarden.com >
2024-11-21 13:45:28 +01:00
Bernd Schoolmann
b486fcc689
[Pm-13097] Rename cryptoservice to keyservice and move it to km ownership ( #11358 )
...
* Rename cryptoservice to keyservice
* Rename cryptoservice to keyservice
* Move key service to key management ownership
* Remove accidentally added file
* Fix cli build
* Fix browser build
* Run prettier
* Fix builds
* Fix cli build
* Fix tests
* Fix incorrect renames
* Rename webauthn-login-crypto-service
* Fix build errors due to merge conflicts
* Fix linting
2024-10-24 19:41:30 +02:00
Matt Gibson
36b7d30804
Fix failing crypto tests ( #5948 )
...
* Change everything to Uint8Array
related to https://github.com/jestjs/jest/issues/14379
* Work on failing type tests
* Revert changes to custom matcher setup
* Remove last BufferArrays from tests
* Fix custom matcher type errors in vscode
* Remove errant `.buffer` calls on Uint8Arrays
* Encryption Pair should serialize Array Buffer and Uint8Array
* Fix EncArrayBuffer encryption
---------
Co-authored-by: Thomas Rittson <trittson@bitwarden.com >
2023-08-04 02:13:33 +00:00
Oscar Hinton
bc639688e8
Use NPM workspace ( #2874 )
2022-06-14 17:10:53 +02:00
Hinton
d7492e3cf3
Move to libs
2022-06-03 16:24:40 +02:00