diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000..96c3cd3874 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "jslib"] + path = jslib + url = git@github.com:bitwarden/jslib.git + branch = master diff --git a/jslib b/jslib new file mode 160000 index 0000000000..66b3dbae17 --- /dev/null +++ b/jslib @@ -0,0 +1 @@ +Subproject commit 66b3dbae177a795d6b5168f7cdbba2f98f309272 diff --git a/src/app/vault/vault.component.ts b/src/app/vault/vault.component.ts index bf6f82fca8..3e571526a1 100644 --- a/src/app/vault/vault.component.ts +++ b/src/app/vault/vault.component.ts @@ -2,6 +2,8 @@ import { Component, } from '@angular/core'; +import { CipherType } from 'jslib/enums/cipherType'; + @Component({ selector: 'app-vault', templateUrl: 'vault.component.html', diff --git a/tsconfig.json b/tsconfig.json index 6106250f64..f93ea545dd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,10 +20,14 @@ }, "exclude": [ "node_modules", - "jslib/node_modules", "dist", - "jslib/dist", "build", - "jslib/spec" + "jslib/dist", + "jslib/spec", + "jslib/src/electron", + "jslib/src/angular/components/modal.component.ts", + "jslib/src/angular/dummy.module.ts", + "jslib/src/services/nodeApi.service.ts", + "jslib/src/services/lowdbStorage.service.ts", ] }