From c1cde48f4a3f0581da7689ec7eb221f2b5110cb7 Mon Sep 17 00:00:00 2001
From: ramonornela <ramon.ornela@gmail.com>
Date: Thu, 28 Feb 2019 10:29:06 -0300
Subject: [PATCH 1/4] fix: build ngc

---
 tsconfig.json | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tsconfig.json b/tsconfig.json
index 7ed404d..542562b 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -22,7 +22,6 @@
     "node_modules"
   ],
   "angularCompilerOptions": {
-    "fullTemplateTypeCheck": true,
     "strictMetadataEmit": false,
     "skipTemplateCodegen": true,
     "debug": false

From 7b64f72ed510a149d206d1eca82e460198d64cd2 Mon Sep 17 00:00:00 2001
From: ramonornela <ramon.ornela@gmail.com>
Date: Thu, 28 Feb 2019 11:05:47 -0300
Subject: [PATCH 2/4] fix(build): ngc see:
 https://github.com/angular/angular/issues/23609

---
 tsconfig.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tsconfig.json b/tsconfig.json
index 542562b..68a28a2 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -22,7 +22,8 @@
     "node_modules"
   ],
   "angularCompilerOptions": {
-    "strictMetadataEmit": false,
+    "fullTemplateTypeCheck": true,
+    "strictMetadataEmit": true,
     "skipTemplateCodegen": true,
     "debug": false
   }

From d9a087462c2e90e15f56a1e38eccf29049a6ef67 Mon Sep 17 00:00:00 2001
From: ramonornela <ramon.ornela@gmail.com>
Date: Thu, 28 Feb 2019 11:19:20 -0300
Subject: [PATCH 3/4] fix(build): ngc property static // @dynamic

---
 src/cache.service.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/cache.service.ts b/src/cache.service.ts
index db00efe..0f13e63 100644
--- a/src/cache.service.ts
+++ b/src/cache.service.ts
@@ -18,6 +18,7 @@ export const MESSAGES = {
 
 export type CacheValueFactory<T> = () => Promise<T>;
 
+// @dynamic
 @Injectable()
 export class CacheService {
   private ttl: number = 60 * 60; // one hour

From 8ec5e0c8a2aa618f7ae8cbed510a21047c615c58 Mon Sep 17 00:00:00 2001
From: ramonornela <ramon.ornela@gmail.com>
Date: Thu, 28 Feb 2019 15:21:20 -0300
Subject: [PATCH 4/4] fix(ngc): rootDir src no copy folder src/

- add rootDir src/ or adjust to flatModuleOutFile with public_api
---
 tsconfig.json | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tsconfig.json b/tsconfig.json
index 68a28a2..3341d01 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,5 +1,6 @@
 {
   "compilerOptions": {
+    "rootDir": "src",
     "module": "esnext",
     "target": "es5",
     "moduleResolution": "node",