1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-04 05:08:06 +02:00
The browser extension vault (Chrome, Firefox, Opera, Edge, Safari, & more).
Go to file
Matt Gibson a4fba0e1c5
Feature/move to jest (#744)
* Switch to jest

* Fix jslib-angular package name

* Make angular test project

* Split up tests by jslib project

* Remove obsolete node test script

* Use legacy deps with jest-preset-angular

* Move web tests to common

* Remove build from pipeline

This was only being used because we were not using ts runners.
We are now, so build is unnecessary
2022-03-28 16:00:42 +02:00
.github Feature/move to jest (#744) 2022-03-28 16:00:42 +02:00
.husky Make husky pre-commit hook executable (#655) 2022-02-08 08:29:50 +10:00
.vscode Apply Prettier (#581) 2021-12-16 13:36:21 +01:00
angular Feature/move to jest (#744) 2022-03-28 16:00:42 +02:00
common Feature/move to jest (#744) 2022-03-28 16:00:42 +02:00
components Add Chromatic (#719) 2022-03-15 13:50:42 +01:00
electron Feature/move to jest (#744) 2022-03-28 16:00:42 +02:00
node Feature/move to jest (#744) 2022-03-28 16:00:42 +02:00
shared Add eslint (#610) 2022-02-22 15:39:11 +01:00
.editorconfig Add Prettier configuration (#574) 2021-12-16 12:45:01 +01:00
.eslintignore Feature/move to jest (#744) 2022-03-28 16:00:42 +02:00
.eslintrc.json Add eslint (#610) 2022-02-22 15:39:11 +01:00
.git-blame-ignore-revs Add .git-blame-ignore-revs and prettier instructions (#585) 2021-12-16 14:10:11 +01:00
.gitattributes Apply Prettier (#581) 2021-12-16 13:36:21 +01:00
.gitignore setup karma testing 2018-04-17 16:15:19 -04:00
.prettierignore Component Library scaffolding (#625) 2022-03-08 11:50:34 +01:00
.prettierrc.json Add Prettier configuration (#574) 2021-12-16 12:45:01 +01:00
CONTRIBUTING.md Apply Prettier (#581) 2021-12-16 13:36:21 +01:00
jest.config.js Feature/move to jest (#744) 2022-03-28 16:00:42 +02:00
LICENSE.txt license and contrib 2018-01-26 16:07:38 -05:00
package-lock.json Feature/move to jest (#744) 2022-03-28 16:00:42 +02:00
package.json Feature/move to jest (#744) 2022-03-28 16:00:42 +02:00
README.md We're Hiring (#692) 2022-02-22 14:03:54 +01:00
SECURITY.md Update SECURITY.md (#725) 2022-03-15 15:55:55 -04:00
tsconfig.json Feature/move to jest (#744) 2022-03-28 16:00:42 +02:00
tsconfig.spec.json Feature/move to jest (#744) 2022-03-28 16:00:42 +02:00

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.

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