diff --git a/angular.json b/angular.json index bcfce727286073a3602ce9b88f378526f87ca0b2..4448f4fcc6e3eab1203af9c7215a200ad213e144 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 294ec45f41f1757233d073552688330df135fa75..4b8fa060402888f140ecf457023115e8426e55e2 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 276bc83a4318b461a3381def1ae19c029603278c..2766665cf0d5c2c0af7df4385d6280b071d199bc 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 de8e52bff6c54b83b5ae648f7f383326c4bd7e21..1a3bb1c1fb563c7d80adec3b95fc75bc04794932 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 fc98e41b2bdf04a2b5641d77cbcad9b357e75124..2fe79d349537450b2bd1ae8a0b6b25bbca83e0ff 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';