Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main #57

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

Main #57

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
!.vscode/extensions.json

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@

This repository contains the code of the video course [Ngrx (with NgRx Data) - The Complete Guide](https://angular-university.io/course/ngrx-course).

This course repository is updated to Angular v8 and NgRx 8:
This course repository is updated to Angular v17:

![Ngrx (with NgRx Data) - The Complete Guide](https://angular-university.s3-us-west-1.amazonaws.com/course-images/ngrx-v2.png)


# Installation pre-requisites

For taking the course we recommend installing Node 12. These are some tutorials to install node in different operating systems:

- [Install Node and NPM on Windows](https://www.youtube.com/watch?v=8ODS6RM6x7g)
- [Install Node and NPM on Linux](https://www.youtube.com/watch?v=yUdHk-Dk_BY)
- [Install Node and NPM on Mac](https://www.youtube.com/watch?v=Imj8PgG3bZU)
For taking the course we recommend installing Node 18 Long Term Support Edition (LTE).

To easily switch between node versions on your machine, we recommend using a node virtual environment tool such as [nave](https://www.npmjs.com/package/nave) or [nvm-windows](https://github.com/coreybutler/nvm-windows), depending on your operating system.

Expand All @@ -23,7 +19,7 @@ For example, here is how you switch to a new node version using nave:
# note that you don't even need to update your node version before installing nave
npm install -g nave

nave use 12.3.1
nave use 16.13.1
node -v
v12.3.1

Expand All @@ -38,7 +34,7 @@ With the following command the angular-cli will be installed globally in your ma

We can install the master branch using the following commands:

git clone https://github.com/angular-university/angular-ngrx-course.git
git clone https://github.com/angular-university/ngrx-course.git

This repository is made of several separate npm modules, that are installable separately. For example, to run the au-input module, we can do the following:

Expand Down
51 changes: 20 additions & 31 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,26 @@
"styles": [
"src/styles.scss"
],
"scripts": []
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
Expand All @@ -48,18 +58,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "angular-ngrx-course:build"
"buildTarget": "angular-ngrx-course:build"
},
"configurations": {
"production": {
"browserTarget": "angular-ngrx-course:build:production"
"buildTarget": "angular-ngrx-course:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angular-ngrx-course:build"
"buildTarget": "angular-ngrx-course:build"
}
},
"test": {
Expand All @@ -78,18 +88,6 @@
"src/favicon.ico"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
Expand All @@ -104,22 +102,10 @@
"protractorConfig": "./protractor.conf.js",
"devServerTarget": "angular-ngrx-course:serve"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"e2e/tsconfig.e2e.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "angular-ngrx-course",
"schematics": {
"@ngrx/schematics:component": {
"prefix": "",
Expand All @@ -130,6 +116,9 @@
}
},
"cli": {
"defaultCollection": "@ngrx/schematics"
"analytics": "78da76fb-38f9-4848-a7fe-1767a6672d4a",
"schematicCollections": [
"@ngrx/schematics"
]
}
}
Loading