1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-27 10:03:23 +00:00

[PM-31763] Add unlock service & module (#18870)

* Add unlock service

* Move methods

* Prettier

* Fix type errors

* Prettier

* Fix test

* Fix module order

* Attempt to fix tests

* Cleanup CODEOWNERS

* Backport biometric unlock and legacy master-key logic

* Add tests for biometrics

* Prettier

* Add biometric unlock to abstract unlock service

* Fix build
This commit is contained in:
Bernd Schoolmann
2026-02-25 18:50:25 +01:00
committed by GitHub
parent 4f706746d6
commit 666ff42d22
20 changed files with 631 additions and 5 deletions

34
libs/unlock/project.json Normal file
View File

@@ -0,0 +1,34 @@
{
"name": "unlock",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/unlock/src",
"projectType": "library",
"tags": [],
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/unlock",
"main": "libs/unlock/src/index.ts",
"tsConfig": "libs/unlock/tsconfig.lib.json",
"assets": ["libs/unlock/*.md"],
"rootDir": "libs/unlock/src"
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/unlock/**/*.ts"]
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/unlock/jest.config.js"
}
}
}
}