From d1212384eed9d4573afcd3421a3401854ff66f5f Mon Sep 17 00:00:00 2001
From: Perreal Guillaume <guillaume.perreal@irstea.fr>
Date: Wed, 9 Oct 2019 17:45:19 +0200
Subject: [PATCH] Export all the things !

---
 angular.json            |  4 ++--
 package.json            |  6 +++++-
 src/decorators/index.ts |  6 +++---
 src/public-api.ts       |  4 ++--
 src/rxjs/index.ts       | 12 ++++++------
 5 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/angular.json b/angular.json
index bcfce72..4448f4f 100644
--- a/angular.json
+++ b/angular.json
@@ -2,6 +2,7 @@
   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
   "version": 1,
   "newProjectRoot": ".",
+  "defaultProject": "ngx-rxtools",
   "projects": {
     "ngx-rxtools": {
       "root": "",
@@ -55,6 +56,5 @@
         }
       }
     }
-  },
-  "defaultProject": "default"
+  }
 }
diff --git a/package.json b/package.json
index 294ec45..4b8fa06 100644
--- a/package.json
+++ b/package.json
@@ -72,8 +72,12 @@
     }
   },
   "lint-staged": {
+    "*.spec.ts": [
+      "tslint -p tsconfig.spec.json --fix",
+      "git add"
+    ],
     "*.ts": [
-      "ng lint --fix --files",
+      "tslint -p tsconfig.lib.json --fix",
       "git add"
     ],
     "*.{js,json}": [
diff --git a/src/decorators/index.ts b/src/decorators/index.ts
index 276bc83..2766665 100644
--- a/src/decorators/index.ts
+++ b/src/decorators/index.ts
@@ -1,3 +1,3 @@
-export { RouteParam, QueryParam } from './route-param.decorator';
-export { SubjectAccessors, SubjectSetter } from './subject-accessors.decorator';
-export { SubscribeOnInit } from './subscribe-on-init.decorator';
+export * from './route-param.decorator';
+export * from './subject-accessors.decorator';
+export * from './subscribe-on-init.decorator';
diff --git a/src/public-api.ts b/src/public-api.ts
index de8e52b..1a3bb1c 100644
--- a/src/public-api.ts
+++ b/src/public-api.ts
@@ -1,2 +1,2 @@
-import './decorators';
-import './rxjs';
+export * from './decorators';
+export * from './rxjs';
diff --git a/src/rxjs/index.ts b/src/rxjs/index.ts
index fc98e41..2fe79d3 100644
--- a/src/rxjs/index.ts
+++ b/src/rxjs/index.ts
@@ -1,6 +1,6 @@
-export { lazy } from './lazy.observable';
-export { safeCombineLatest } from './safe-combine-latest.observable';
-export { safeForkJoin } from './safe-fork-join.observable';
-export { select } from './select.operator';
-export { untilDestroyed } from './until-destroyed.operator';
-export { consoleObserver } from './console.observer';
+export * from './lazy.observable';
+export * from './safe-combine-latest.observable';
+export * from './safe-fork-join.observable';
+export * from './select.operator';
+export * from './until-destroyed.operator';
+export * from './console.observer';
-- 
GitLab