Skip to content

Commit dbf782d

Browse files
committed
Initial eShop-Learn version
1 parent 08d3a2b commit dbf782d

192 files changed

Lines changed: 39513 additions & 17165 deletions

File tree

Some content is hidden

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

src/Web/WebSPA/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ ClientBin/
177177
*.publishsettings
178178
node_modules/
179179
bower_components/
180-
wwwroot/
180+
wwwroot/*
181+
!wwwroot/favicon.ico
181182

182183

183184
orleans.codegen.cs

src/Web/WebSPA/AppSettings.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
namespace eShopOnContainers.WebSPA
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Threading.Tasks;
5+
6+
namespace eShopOnContainers.WebSPA
27
{
38
public class AppSettings
49
{
510
public string IdentityUrl { get; set; }
611
public string BasketUrl { get; set; }
12+
public string MarketingUrl { get; set; }
713

814
public string PurchaseUrl { get; set; }
915
public string SignalrHubUrl { get; set; }
Lines changed: 20 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,28 @@
55
"projects": {
66
"WebSPA": {
77
"root": "",
8-
"sourceRoot": "Client",
8+
"sourceRoot": "src",
99
"projectType": "application",
1010
"architect": {
1111
"build": {
1212
"builder": "@angular-devkit/build-angular:browser",
1313
"options": {
14-
"outputPath": "wwwroot",
15-
"index": "Client/index.html",
16-
"main": "Client/main.ts",
17-
"tsConfig": "Client/tsconfig.app.json",
18-
"polyfills": "Client/polyfills.ts",
14+
"outputPath": "../wwwroot",
15+
"index": "src/index.html",
16+
"main": "src/main.ts",
17+
"tsConfig": "src/tsconfig.app.json",
18+
"polyfills": "src/polyfills.ts",
1919
"assets": [
20-
"Client/assets",
21-
"Client/favicon.ico"
20+
"src/assets",
21+
"src/favicon.ico"
2222
],
2323
"styles": [
24-
"Client/globals.scss"
24+
"src/styles/globals.scss"
2525
],
2626
"scripts": []
2727
},
2828
"configurations": {
2929
"production": {
30-
"budgets": [
31-
{
32-
"type": "anyComponentStyle",
33-
"maximumWarning": "6kb"
34-
}
35-
],
3630
"optimization": true,
3731
"outputHashing": "all",
3832
"sourceMap": false,
@@ -44,8 +38,8 @@
4438
"buildOptimizer": true,
4539
"fileReplacements": [
4640
{
47-
"replace": "Client/environments/environment.ts",
48-
"with": "Client/environments/environment.prod.ts"
41+
"replace": "src/environments/environment.ts",
42+
"with": "src/environments/environment.prod.ts"
4943
}
5044
]
5145
}
@@ -71,26 +65,26 @@
7165
"test": {
7266
"builder": "@angular-devkit/build-angular:karma",
7367
"options": {
74-
"main": "Client/test.ts",
68+
"main": "src/test.ts",
7569
"karmaConfig": "./karma.conf.js",
76-
"polyfills": "Client/polyfills.ts",
77-
"tsConfig": "Client/tsconfig.spec.json",
70+
"polyfills": "src/polyfills.ts",
71+
"tsConfig": "src/tsconfig.spec.json",
7872
"scripts": [],
7973
"styles": [
80-
"Client/globals.scss"
74+
"src/styles/globals.scss"
8175
],
8276
"assets": [
83-
"Client/assets",
84-
"Client/favicon.ico"
77+
"src/assets",
78+
"src/favicon.ico"
8579
]
8680
}
8781
},
8882
"lint": {
8983
"builder": "@angular-devkit/build-angular:tslint",
9084
"options": {
9185
"tsConfig": [
92-
"Client/tsconfig.app.json",
93-
"Client/tsconfig.spec.json"
86+
"src/tsconfig.app.json",
87+
"src/tsconfig.spec.json"
9488
],
9589
"exclude": []
9690
}
@@ -125,13 +119,10 @@
125119
"schematics": {
126120
"@schematics/angular:component": {
127121
"prefix": "app",
128-
"style": "scss"
122+
"styleext": "scss"
129123
},
130124
"@schematics/angular:directive": {
131125
"prefix": "app"
132126
}
133-
},
134-
"cli": {
135-
"analytics": false
136127
}
137128
}
-1.02 KB
Binary file not shown.
-4.74 KB
Binary file not shown.
-4.26 KB
Binary file not shown.
-1.5 KB
Binary file not shown.
-429 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)