Skip to content

Commit

Permalink
chore: Upgrade to Angular 2 final with AOT support
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRyanDev committed Oct 1, 2016
1 parent 1605d0e commit e4980cd
Show file tree
Hide file tree
Showing 73 changed files with 1,627 additions and 1,583 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ __build__/**

# Build Artifacts #
release
distout
*.ngfactory.ts
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Sean Larkin
Copyright (c) 2016 ngrx

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
#@ngrx example application

Example application utilizing @ngrx libraries, showcasing common patterns and best practices. You can find the live app [here](http://ngrx.github.io/example-app/).
Example application utilizing @ngrx libraries, showcasing common patterns and best practices.
You can find the live app [here](http://ngrx.github.io/example-app/).

This app is a book collection manager. Using the Google Books API, the user can search for books and add them to their collection. This application utilizes [@ngrx/db](https://github.com/ngrx/db) to persist the collection across sessions; [@ngrx/store](https://github.com/ngrx/store) to manage the state of the app and to cache requests made to the Google Books API; [@angular/router](https://github.com/angular/angular) to manage navigation between routes; and [@ngrx/effects](https://github.com/ngrx/effects) to isolate side effects.
This app is a book collection manager. Using the Google Books API, the user can search for
books and add them to their collection. This application utilizes [@ngrx/db](https://github.com/ngrx/db)
to persist the collection across sessions; [@ngrx/store](https://github.com/ngrx/store) to manage
the state of the app and to cache requests made to the Google Books API;
[@angular/router](https://github.com/angular/angular) to manage navigation between routes;
and [@ngrx/effects](https://github.com/ngrx/effects) to isolate side effects.

### Included
- [ngrx/store](https://github.com/ngrx/store) - RxJS powered state management for Angular2 apps, inspired by Redux
- [ngrx/effects](https://github.com/ngrx/effects) - Side effect model for @ngrx/store
- [angular/router](https://github.com/angular/angular) - Angular2 Component Router
- [ngrx/db](https://github.com/ngrx/db) - RxJS powered IndexedDB for Angular2 apps
- [ngrx/store-devtools](https://github.com/ngrx/store-devtools) - Instrumentation for @ngrx/store enabling time-travel debugging
- [ngrx/store-log-monitor](https://github.com/ngrx/store-log-monitor) - A port of redux-devtools-log-monitor for Angular 2 and @ngrx/store
- [codewareio/ngrx-store-freeze](https://github.com/codewareio/ngrx-store-freeze) - A @ngrx/store meta reducer that prevents state from being mutated

### Quick start
Expand All @@ -26,7 +31,7 @@ cd example-app
npm install

# start the server
npm run start
npm start
```

Navigate to [http://localhost:8080/](http://localhost:8080/) in your browser
76 changes: 0 additions & 76 deletions karma.conf.js

This file was deleted.

112 changes: 39 additions & 73 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,104 +1,70 @@
{
"name": "angular2-webpack-lite",
"name": "@ngrx/example-app",
"version": "1.0.0",
"description": "Angular2 Webpack Lite Boilerplate",
"description": "Example application demoing the @ngrx platform",
"main": "index.ts",
"scripts": {
"typings": "typings",
"postinstall": "npm run typings -- install",
"build": "webpack --progress --profile --colors --display-error-details --display-cached",
"server:dev": "webpack-dev-server --inline --progress --profile --colors --watch --display-error-details --display-cached --content-base src/",
"start": "npm run server:dev",
"test": "karma start --single-run",
"test:watch": "karma start"
"build": "webpack -p --env.prod",
"start": "webpack-dev-server"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TheLarkInn/angular2-webpack-lite.git"
"url": "git+https://github.com/ngrx/example-app.git"
},
"author": "Sean Larkin",
"license": "MIT",
"bugs": {
"url": "https://github.com/TheLarkInn/angular2-webpack-lite/issues"
"url": "https://github.com/ngrx/example-app/issues"
},
"homepage": "https://github.com/TheLarkInn/angular2-webpack-lite#readme",
"homepage": "https://github.com/ngrx/example-app#readme",
"engines": {
"node": ">= 4.2.1",
"npm": ">= 3"
},
"dependencies": {
"@angular/common": "2.0.0-rc.4",
"@angular/compiler": "2.0.0-rc.4",
"@angular/core": "2.0.0-rc.4",
"@angular/forms": "^0.2.0",
"@angular/http": "2.0.0-rc.4",
"@angular/platform-browser": "2.0.0-rc.4",
"@angular/platform-browser-dynamic": "2.0.0-rc.4",
"@angular/router": "3.0.0-beta.2",
"@angular2-material/button": "2.0.0-alpha.6",
"@angular2-material/card": "2.0.0-alpha.6",
"@angular2-material/core": "2.0.0-alpha.6",
"@angular2-material/icon": "2.0.0-alpha.6",
"@angular2-material/input": "2.0.0-alpha.6",
"@angular2-material/list": "2.0.0-alpha.6",
"@angular2-material/sidenav": "2.0.0-alpha.6",
"@angular2-material/toolbar": "2.0.0-alpha.6",
"@angular/common": "^2.0.0",
"@angular/compiler": "^2.0.0",
"@angular/compiler-cli": "^0.6.0",
"@angular/core": "^2.0.0",
"@angular/forms": "^2.0.0",
"@angular/http": "^2.0.0",
"@angular/material": "^2.0.0-alpha.9-3",
"@angular/platform-browser": "^2.0.0",
"@angular/platform-browser-dynamic": "^2.0.0",
"@angular/platform-server": "^2.0.0",
"@angular/router": "^3.0.0",
"@ngrx/core": "^1.0.0",
"@ngrx/db": "^1.1.0",
"@ngrx/effects": "^1.0.1",
"@ngrx/db": "^2.0.0",
"@ngrx/effects": "^2.0.0",
"@ngrx/router-store": "^1.1.0",
"@ngrx/store": "^2.0.0",
"@ngrx/store-devtools": "^2.0.0-beta.1",
"@ngrx/store-log-monitor": "^2.0.0-beta.1",
"@ngrx/store-devtools": "^3.1.0",
"core-js": "^2.2.2",
"ngrx-store-freeze": "^0.1.0",
"ngrx-store-logger": "^0.1.4",
"normalize.css": "^4.1.1",
"rxjs": "5.0.0-beta.6",
"zone.js": "^0.6.11"
"rxjs": "^5.0.0-beta.12",
"zone.js": "^0.6.12"
},
"devDependencies": {
"angular2-hmr": "~0.6.0",
"awesome-typescript-loader": "~0.17.0",
"codelyzer": "0.0.19",
"compression-webpack-plugin": "^0.3.1",
"copy-webpack-plugin": "^2.1.3",
"css-loader": "^0.23.1",
"es6-promise": "^3.1.2",
"es6-promise-loader": "^1.0.1",
"es6-shim": "^0.35.0",
"es7-reflect-metadata": "^1.6.0",
"exports-loader": "^0.6.3",
"expose-loader": "^0.7.1",
"file-loader": "^0.8.5",
"html-webpack-plugin": "^2.15.0",
"http-server": "^0.9.0",
"imports-loader": "^0.6.5",
"istanbul-instrumenter-loader": "^0.2.0",
"jasmine-core": "^2.4.1",
"@ngtools/webpack": "^1.0.0",
"@types/hammerjs": "^2.0.32",
"awesome-typescript-loader": "^2.2.4",
"codelyzer": "^0.0.19",
"cpy-cli": "^1.0.1",
"css-loader": "^0.25.0",
"html-loader": "^0.4.4",
"html-webpack-plugin": "^2.22.0",
"json-loader": "^0.5.4",
"karma": "^0.13.22",
"karma-chrome-launcher": "^0.2.3",
"karma-coverage": "^0.5.5",
"karma-jasmine": "^0.3.8",
"karma-mocha-reporter": "^2.0.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-typescript-preprocessor": "0.0.21",
"karma-webpack": "^1.7.0",
"promise-loader": "^1.0.0",
"raw-loader": "0.5.1",
"raw-loader": "^0.5.1",
"rimraf": "^2.5.4",
"source-map-loader": "^0.1.5",
"string-replace-loader": "^1.0.3",
"style-loader": "^0.13.1",
"ts-helpers": "1.1.1",
"ts-helpers": "^1.1.1",
"ts-node": "^0.7.1",
"tslint": "^3.7.1",
"tslint-loader": "^2.1.3",
"typedoc": "^0.3.12",
"typescript": "^1.8.10",
"typings": "^1.0.4",
"url-loader": "^0.5.7",
"webpack": "^1.13.0",
"webpack-dev-server": "^1.14.1",
"webpack-md5-hash": "^0.0.5",
"webpack-merge": "^0.12.0"
"typescript": "2.0.2",
"webpack": "^2.1.0-beta.22",
"webpack-dev-server": "^2.1.0-beta.4"
}
}
20 changes: 0 additions & 20 deletions spec/fixtures/books.ts

This file was deleted.

68 changes: 0 additions & 68 deletions spec/reducers/book.spec.ts

This file was deleted.

Loading

0 comments on commit e4980cd

Please sign in to comment.