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

Develop - update Angular #38

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

## Angular Universal In Depth Course

This repository contains the code of the course [Angular Universal In Depth](https://angular-university.io/course/angular-universal-course).
This repository contains the code of the course [Angular SSR In Depth (formerly Angular Universal)](https://angular-university.io/course/angular-universal-course).

This course repository is updated to Angular v16.
This course repository is updated to Angular v18.

![Angular Universal In Depth](https://angular-university.s3-us-west-1.amazonaws.com/course-images/angular-universal-course.jpg)
![Angular SSR In Depth (formerly Angular Universal)](https://angular-university.s3-us-west-1.amazonaws.com/course-images/angular-universal-course.jpg)

# Installation pre-requisites

Expand All @@ -22,11 +22,11 @@ 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-universal-course.git
git clone https://github.com/angular-university/angular-ssr-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:

cd angular-universal-course
cd angular-ssr-course
npm install

Its also possible to install the modules as usual using npm:
Expand Down Expand Up @@ -109,12 +109,6 @@ If you are looking for the [Serverless Angular with Firebase Course](https://ang

![Serverless Angular with Firebase Course](https://s3-us-west-1.amazonaws.com/angular-university/course-images/serverless-angular-small.png)

# Angular Universal Course

If you are looking for the [Angular Universal Course](https://angular-university.io/course/angular-universal-course), the repo with the full code can be found here:

![Angular Universal Course](https://s3-us-west-1.amazonaws.com/angular-university/course-images/angular-universal-small.png)

# Angular PWA Course

If you are looking for the [Angular PWA Course](https://angular-university.io/course/angular-pwa-course), the repo with the full code can be found here:
Expand Down
30 changes: 15 additions & 15 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"angular-universal-course": {
"angular-ssr": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
Expand All @@ -15,12 +15,15 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/angular-universal-course/browser",
"outputPath": {
"base": "dist/angular-ssr"
},
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"src/polyfills.ts"
],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
Expand All @@ -30,12 +33,11 @@
"src/styles.scss"
],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"namedChunks": true,
"browser": "src/main.ts"
},
"configurations": {
"development": {
Expand All @@ -55,8 +57,6 @@
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
Expand All @@ -75,7 +75,7 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"buildTarget": "angular-universal-course:build"
"buildTarget": "angular-ssr:build"
},
"configurations": {
"development": {
Expand All @@ -84,14 +84,14 @@
"sourceMap": true
},
"production": {
"buildTarget": "angular-universal-course:build:production"
"buildTarget": "angular-ssr:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "angular-universal-course:build"
"buildTarget": "angular-ssr:build"
}
},
"test": {
Expand All @@ -116,11 +116,11 @@
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "angular-universal-course:serve"
"devServerTarget": "angular-ssr:serve"
},
"configurations": {
"production": {
"devServerTarget": "angular-universal-course:serve:production"
"devServerTarget": "angular-ssr:serve:production"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion e2e/src/app.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('workspace-project App', () => {

it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('angular-universal-course app is running!');
expect(page.getTitleText()).toEqual('angular-ssr-course app is running!');
});

afterEach(async () => {
Expand Down
Loading