1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-22 02:21:34 +01:00
bitwarden-browser/apps/web
Matt Gibson f9f30f8ec4
[PM-17479] Load-sdk-once (#12764)
* create service to load sdk on application init

* Eagerly load CLI SDK

* Remove wasm logging to api

* Fix imports

* Eagerly load Desktop renderer SDK

Note: If the main process ever requires an SDK, we'll need to load it there, too.
In that event, it's probably a good idea to move to IPC for all SDK functions to avoid
loading the SDK for every window.

* init wasm module from sdk load service

* Use default client factory

* Fix type imports

* Resolve jest module import errors

A CLI sdk load service that async imports our wasm binary doesn't seem to be needed to run, but jest isn't dealing with the ESM import properly.

* Fix linting

* remove example code
2025-01-23 14:34:22 -05:00
..
.vscode [PM-8836] Move ownership of biometrics to key-management (#10818) 2024-09-30 18:14:32 +02:00
config Removing testing tabs and the learn more link (#12481) 2025-01-08 16:09:05 +01:00
scripts [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
src [PM-17479] Load-sdk-once (#12764) 2025-01-23 14:34:22 -05:00
.dockerignore Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
.eslintrc.json [ADR-0006][AC-319] Migrate all tests to use jest mock instead of substitute (#6520) 2023-10-17 17:02:33 +00:00
.gitignore Noop notifications for dev (#6671) 2023-10-24 15:18:23 +02:00
config.js Use settings in base.json and merge config keys (#3804) 2022-10-18 12:00:40 +10:00
crowdin.yml Fix crowdin sync for web (#2853) 2022-06-07 21:31:53 +02:00
dev-server.shared.pem Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
Dockerfile Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
entrypoint.sh Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
jest.config.js [PM-11766] Introduce SDK client (#10974) 2024-10-07 13:20:50 +02:00
package.json Bumped client version(s) 2025-01-13 20:04:22 +00:00
postcss.config.js [deps] SM: Update typescript-eslint monorepo to v8 (major) (#10601) 2025-01-14 11:23:59 -05:00
README.md Update urls to match the contributing docs (#4192) 2022-12-06 11:20:27 +01:00
tailwind.config.js [PM-16889] Add KM lib to tailwind configs (#12783) 2025-01-09 13:07:26 -06:00
test.setup.ts [EC-423] Fix unit tests (#3265) 2022-08-11 11:35:08 +10:00
tsconfig.build.json [PM-12004] Fix ~60 compile warnings in webpack for web (#11004) 2024-09-19 15:00:07 +02:00
tsconfig.json [PM-17031] Create UI-common (#12831) 2025-01-17 10:42:31 -05:00
tsconfig.spec.json [EC-423] Fix unit tests (#3265) 2022-08-11 11:35:08 +10:00
webpack.config.js [CL-506] Upgrade to Angular 18 (#12218) 2025-01-06 13:49:33 -05:00

The Bitwarden web project is an Angular application that powers the web vault (https://vault.bitwarden.com/).

Github Workflow build on master Crowdin DockerHub gitter chat

Documentation

Please refer to the Web vault section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.