Common code referenced across Bitwarden JavaScript projects.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Addison Beck 6f117b9901 [fix] Generator settings not persisting across web sessions (#824) 4 years ago
.github Remove testing requirements from PR template (#799) 4 years ago
.husky Make husky pre-commit hook executable (#655) 4 years ago
.vscode Apply Prettier (#581) 4 years ago
angular Fix lockGuard redirect (#819) 4 years ago
common [fix] Generator settings not persisting across web sessions (#824) 4 years ago
components Add alt2 text color (#794) 4 years ago
electron [EC-192] Use ts-jest instead of deprecated ts-jest/utils (#792) 4 years ago
node [EC-192] Use ts-jest instead of deprecated ts-jest/utils (#792) 4 years ago
shared Add eslint (#610) 4 years ago
.editorconfig Add Prettier configuration (#574) 4 years ago
.eslintignore Feature/move to jest (#744) 4 years ago
.eslintrc.json Add eslint (#610) 4 years ago
.git-blame-ignore-revs Add .git-blame-ignore-revs and prettier instructions (#585) 4 years ago
.gitattributes Apply Prettier (#581) 4 years ago
.gitignore setup karma testing 8 years ago
.prettierignore Component Library scaffolding (#625) 4 years ago
.prettierrc.json Add Prettier configuration (#574) 4 years ago
CONTRIBUTING.md Apply Prettier (#581) 4 years ago
LICENSE.txt license and contrib 8 years ago
README.md Add reorganization notice (#776) 4 years ago
SECURITY.md Update SECURITY.md (#725) 4 years ago
jest.config.js [EC-192] Use ts-jest instead of deprecated ts-jest/utils (#792) 4 years ago
package-lock.json Feature/self hosted families for enterprise (#800) 4 years ago
package.json Remove keytar and biometric logic (#706) 4 years ago
tsconfig.json Feature/move to jest (#744) 4 years ago
tsconfig.spec.json Feature/move to jest (#744) 4 years ago

README.md

Github Workflow build on master

Repository Reorganization in Progress

We are currently migrating some projects over to a mono repository. For existing PR's we will be providing documentation on how to move/migrate them. To minimize the overhead we are actively reviewing open PRs. If possible please ensure any pending comments are resolved as soon as possible.

New pull requests created during this transition period may not get addressed —if needed, please create a new PR after the reorganization is complete.

Bitwarden JavaScript Library

Common code referenced across Bitwarden JavaScript projects.

Requirements

  • Node.js v16.13.1 or greater
  • NPM v8
  • Git
  • node-gyp

Windows

  • Microsoft Build Tools 2015 in Visual Studio Installer
  • Windows 10 SDK 17134 either by downloading it seperately or through the Visual Studio Installer.

We're Hiring!

Interested in contributing in a big way? Consider joining our team! We're hiring for many positions. Please take a look at our Careers page to see what opportunities are currently open as well as what it's like to work at Bitwarden.

Prettier

We recently migrated to using Prettier as code formatter. All previous branches will need to updated to avoid large merge conflicts using the following steps:

  1. Check out your local Branch
  2. Run git merge 8b2dfc6cdcb8ff5b604364c2ea6d343473aee7cd
  3. Resolve any merge conflicts, commit.
  4. Run npm run prettier
  5. Commit
  6. Run git merge -Xours 193434461dbd9c48fe5dcbad95693470aec422ac
  7. Push

Git blame

We also recommend that you configure git to ignore the prettier revision using:

git config blame.ignoreRevsFile .git-blame-ignore-revs