Skip to content

Commit a988d1b

Browse files
committed
Challenge
0 parents  commit a988d1b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+25729
-0
lines changed

Diff for: .gitignore

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
# Only exists if Bazel was run
8+
/bazel-out
9+
10+
# dependencies
11+
/node_modules
12+
13+
# profiling files
14+
chrome-profiler-events.json
15+
speed-measure-plugin.json
16+
17+
# IDEs and editors
18+
/.idea
19+
.project
20+
.classpath
21+
.c9/
22+
*.launch
23+
.settings/
24+
*.sublime-workspace
25+
26+
# IDE - VSCode
27+
.vscode/*
28+
!.vscode/settings.json
29+
!.vscode/tasks.json
30+
!.vscode/launch.json
31+
!.vscode/extensions.json
32+
.history/*
33+
34+
# misc
35+
/.sass-cache
36+
/connect.lock
37+
/coverage
38+
/libpeerconnection.log
39+
npm-debug.log
40+
yarn-error.log
41+
testem.log
42+
/typings
43+
44+
# System Files
45+
.DS_Store
46+
Thumbs.db

Diff for: README.md

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# ComponentsConf NgRx Workshop 2019
2+
3+
## Setup
4+
5+
```sh
6+
yarn
7+
```
8+
9+
or
10+
11+
```sh
12+
npm install
13+
```
14+
15+
## Running the app
16+
17+
```sh
18+
yarn start
19+
```
20+
21+
or
22+
23+
```sh
24+
npm start
25+
```
26+
27+
## Running the tests
28+
29+
```sh
30+
yarn test
31+
```
32+
33+
or
34+
35+
```sh
36+
npm run test
37+
```

Diff for: angular.json

+130
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"ngrx-workshop-example": {
7+
"root": "",
8+
"sourceRoot": "src",
9+
"projectType": "application",
10+
"prefix": "ngrx",
11+
"schematics": {
12+
"@schematics/angular:class": {
13+
"skipTests": true
14+
},
15+
"@schematics/angular:component": {
16+
"skipTests": true
17+
},
18+
"@schematics/angular:directive": {
19+
"skipTests": true
20+
},
21+
"@schematics/angular:guard": {
22+
"skipTests": true
23+
},
24+
"@schematics/angular:module": {
25+
"skipTests": true
26+
},
27+
"@schematics/angular:pipe": {
28+
"skipTests": true
29+
},
30+
"@schematics/angular:service": {
31+
"skipTests": true
32+
}
33+
},
34+
"architect": {
35+
"build": {
36+
"builder": "@angular-devkit/build-angular:browser",
37+
"options": {
38+
"outputPath": "dist/ngrx-workshop-example",
39+
"index": "src/index.html",
40+
"main": "src/main.ts",
41+
"polyfills": "src/polyfills.ts",
42+
"tsConfig": "src/tsconfig.app.json",
43+
"assets": [
44+
"src/favicon.ico",
45+
"src/assets"
46+
],
47+
"styles": [
48+
"src/styles.css"
49+
],
50+
"scripts": [],
51+
"es5BrowserSupport": true
52+
},
53+
"configurations": {
54+
"production": {
55+
"fileReplacements": [
56+
{
57+
"replace": "src/environments/environment.ts",
58+
"with": "src/environments/environment.prod.ts"
59+
}
60+
],
61+
"optimization": true,
62+
"outputHashing": "all",
63+
"sourceMap": false,
64+
"extractCss": true,
65+
"namedChunks": false,
66+
"aot": true,
67+
"extractLicenses": true,
68+
"vendorChunk": false,
69+
"buildOptimizer": true,
70+
"budgets": [
71+
{
72+
"type": "initial",
73+
"maximumWarning": "2mb",
74+
"maximumError": "5mb"
75+
}
76+
]
77+
}
78+
}
79+
},
80+
"serve": {
81+
"builder": "@angular-devkit/build-angular:dev-server",
82+
"options": {
83+
"browserTarget": "ngrx-workshop-example:build"
84+
},
85+
"configurations": {
86+
"production": {
87+
"browserTarget": "ngrx-workshop-example:build:production"
88+
}
89+
}
90+
},
91+
"extract-i18n": {
92+
"builder": "@angular-devkit/build-angular:extract-i18n",
93+
"options": {
94+
"browserTarget": "ngrx-workshop-example:build"
95+
}
96+
},
97+
"test": {
98+
"builder": "@angular-devkit/build-angular:karma",
99+
"options": {
100+
"main": "src/test.ts",
101+
"polyfills": "src/polyfills.ts",
102+
"tsConfig": "src/tsconfig.spec.json",
103+
"karmaConfig": "src/karma.conf.js",
104+
"styles": [
105+
"src/styles.css"
106+
],
107+
"scripts": [],
108+
"assets": [
109+
"src/favicon.ico",
110+
"src/assets"
111+
]
112+
}
113+
},
114+
"lint": {
115+
"builder": "@angular-devkit/build-angular:tslint",
116+
"options": {
117+
"tsConfig": [
118+
"src/tsconfig.app.json",
119+
"src/tsconfig.spec.json"
120+
],
121+
"exclude": [
122+
"**/node_modules/**"
123+
]
124+
}
125+
}
126+
}
127+
}
128+
},
129+
"defaultProject": "ngrx-workshop-example"
130+
}

Diff for: browserslist

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
#
5+
# For IE 9-11 support, please remove 'not' from the last line of the file and adjust as needed
6+
7+
> 0.5%
8+
last 2 versions
9+
Firefox ESR
10+
not dead
11+
not IE 9-11

Diff for: db.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"movies": [
3+
{
4+
"id": "1",
5+
"name": "Interstellar",
6+
"description": "Space",
7+
"earnings": 25000000
8+
},
9+
{
10+
"id": "2",
11+
"name": "Inception",
12+
"description": "I forgot",
13+
"earnings": 50000000
14+
}
15+
],
16+
"books": []
17+
}

0 commit comments

Comments
 (0)