Skip to content

Commit

Permalink
fix(ngReduxModule): Generate metadata (#237)
Browse files Browse the repository at this point in the history
* fix(ngReduxModule): Generate metadata

* update compiler version

* update angular deps

* make lint happy
  • Loading branch information
e-schultz authored and smithad15 committed Jul 9, 2018
1 parent f0ab3cc commit 8b4b9d8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
14 changes: 7 additions & 7 deletions packages/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@
},
"homepage": "https://github.com/angular-redux/ng2-redux#readme",
"devDependencies": {
"@angular/core": "^2.0.0",
"@angular/common": "^2.0.0",
"@angular/core": "^2.1.1",
"@angular/common": "^2.1.1",
"@types/chai": "^3.4.31",
"@types/es6-shim": "0.0.30",
"@types/mocha": "^2.2.30",
"@types/node": "^6.0.36",
"@types/sinon": "^1.16.28",
"@types/sinon-chai": "^2.7.26",
"@angular/compiler": "^2.0.0",
"@angular/compiler-cli": "^0.6.0",
"@angular/platform-browser": "^2.0.0",
"@angular/platform-browser-dynamic": "^2.0.0",
"@angular/platform-server": "^2.0.0",
"@angular/compiler": "^2.1.1",
"@angular/compiler-cli": "^2.1.1",
"@angular/platform-browser": "^2.1.1",
"@angular/platform-browser-dynamic": "^2.1.1",
"@angular/platform-server": "^2.1.1",
"awesome-typescript-loader": "^2.2.1",
"chai": "^3.5.0",
"es6-shim": "^0.35.0",
Expand Down
18 changes: 3 additions & 15 deletions packages/store/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
import { NgModule } from '@angular/core';
import { NgRedux } from './components/ng-redux';
import { DevToolsExtension } from './components/dev-tools';
import { select } from './decorators/select';
import { ModuleWithProviders } from '@angular/core';

@NgModule({

})
class NgReduxModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: NgReduxModule,
providers: [NgRedux]
};
}
}
import { NgReduxModule } from './ng-redux.module';


export {
NgReduxModule,
NgRedux,
NgReduxModule,
DevToolsExtension,
select,
}
13 changes: 13 additions & 0 deletions packages/store/src/ng-redux.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { NgModule, ModuleWithProviders } from '@angular/core';
import { NgRedux } from './components/ng-redux';
@NgModule({

})
export class NgReduxModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: NgReduxModule,
providers: [NgRedux]
};
}
};

0 comments on commit 8b4b9d8

Please sign in to comment.