1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-25 12:15:18 +01:00
bitwarden-browser/libs
Matt Gibson c4ff8f99dc
Multi root workspace tweaks (#2858)
* Ignore jest for workspaces without tests (for now)

* Add jest as recommended extension

* Set eslint and prettier file paths

We can't do this on a multi-folder workspace level because the
path depths are not identical between folders

* fix tsconfig extends for

* Simplify bitwarden-licensed web tsconfig

This tsconfig isn't needed to build, since we do that through webpack
and the web client. It's only needed as hints to IDEs

* Remove unintended change

* linter
2022-06-13 21:39:36 -05:00
..
.github/workflows Add support for migrated jslib (#2826) 2022-06-03 18:01:07 +02:00
.vscode Multi root workspace tweaks (#2858) 2022-06-13 21:39:36 -05:00
angular Add support for migrated jslib (#2826) 2022-06-03 18:01:07 +02:00
common [EC-243] Grant premium status when member accepts org invite (#2870) 2022-06-14 12:13:41 +10:00
components Move storybook dependencies to root package (#2859) 2022-06-08 19:03:03 +02:00
electron Add support for migrated jslib (#2826) 2022-06-03 18:01:07 +02:00
node Add support for migrated jslib (#2826) 2022-06-03 18:01:07 +02:00
shared Move to libs 2022-06-03 16:24:40 +02:00
.gitignore Move to libs 2022-06-03 16:24:40 +02:00
jest.config.js Move to libs 2022-06-03 16:24:40 +02:00
package-lock.json Add support for migrated jslib (#2826) 2022-06-03 18:01:07 +02:00
package.json Add support for migrated jslib (#2826) 2022-06-03 18:01:07 +02:00
README.md Add support for migrated jslib (#2826) 2022-06-03 18:01:07 +02:00
tsconfig.json Move to libs 2022-06-03 16:24:40 +02:00
tsconfig.spec.json Move to libs 2022-06-03 16:24:40 +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