From 28197970bd5b91daa6d2e61767d96081e6e37210 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 5 Jun 2018 13:31:25 -0400 Subject: [PATCH] add jslib --- .gitmodules | 4 ++++ jslib | 1 + src/app/vault/vault.component.ts | 2 ++ tsconfig.json | 10 +++++++--- 4 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .gitmodules create mode 160000 jslib 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", ] }