1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-19 15:57:42 +01:00
bitwarden-browser/libs/tools/export/vault-export
Matt Gibson 9c1e2ebd67
Typescript-strict-plugin (#12235)
* Use typescript-strict-plugin to iteratively turn on strict

* Add strict testing to pipeline

Can be executed locally through either `npm run test:types` for full type checking including spec files, or `npx tsc-strict` for only tsconfig.json included files.

* turn on strict for scripts directory

* Use plugin for all tsconfigs in monorepo

vscode is capable of executing tsc with plugins, but uses the most relevant tsconfig to do so. If the plugin is not a part of that config, it is skipped and developers get no feedback of strict compile time issues. These updates remedy that at the cost of slightly more complex removal of the plugin when the time comes.

* remove plugin from configs that extend one that already has it

* Update workspace settings to honor strict plugin

* Apply strict-plugin to native message test runner

* Update vscode workspace to use root tsc version

* `./node_modules/.bin/update-strict-comments` 🤖

This is a one-time operation. All future files should adhere to strict type checking.

* Add fixme to `ts-strict-ignore` comments

* `update-strict-comments` 🤖

repeated for new merge files
2024-12-09 20:58:50 +01:00
..
vault-export-core Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00
vault-export-ui Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00
README.md [PM-6780][PM-6781] Create vault-export-ui package / Migrate export-scope-callout.component to CL (#8318) 2024-03-20 22:11:57 +00:00

Vault Export

This folder contains 2 packages that can be used to export a users or an organizational vault.

vault-export-core

Package name: @bitwarden/vault-export-core

Contains all types, models, and services to export a user or organization's vault.

Currently in use by the Bitwarden Web Vault, CLI, desktop app and browser extension

vault-export-ui

Package name: @bitwarden/vault-export-ui

Contains all UI components used for the vault-export