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 1696133212 [bug] Dont try and lock a vault that is already locked 4 years ago
.github Apply Prettier (#581) 4 years ago
.husky Add Prettier configuration (#574) 4 years ago
.vscode Apply Prettier (#581) 4 years ago
angular [Bug] [Account Switching] Improve State Management Performance (#611) 4 years ago
common [bug] Dont try and lock a vault that is already locked 4 years ago
electron Bump electron from 16.0.2 to 16.0.7 (#613) 4 years ago
node Fix migration to Key Connector in cli commands (#616) 4 years ago
shared Add a shared tsconfig file (#609) 4 years ago
spec Use node-ts and jasmine-ts to run tests (#621) 4 years ago
.editorconfig Add Prettier configuration (#574) 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 Fix prettier (#598) 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 Update README.md (#586) 4 years ago
SECURITY.md Apply Prettier (#581) 4 years ago
package-lock.json Use node-ts and jasmine-ts to run tests (#621) 4 years ago
package.json watch `ts` files and source directly (#623) 4 years ago
tsconfig.json Apply Prettier (#581) 4 years ago
tslint.json Apply Prettier (#581) 4 years ago

README.md

Github Workflow build on master

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.

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