Revision 61208
Added by Konstantinos Triantafyllou almost 3 years ago
modules/uoa-admin-portal/branches/angular-11/angular.json | ||
---|---|---|
54 | 54 |
] |
55 | 55 |
}, |
56 | 56 |
"configurations": { |
57 |
"development": { |
|
58 |
"optimization": true, |
|
59 |
"outputHashing": "all", |
|
60 |
"sourceMap": false, |
|
61 |
"namedChunks": false, |
|
62 |
"aot": true, |
|
63 |
"extractLicenses": true, |
|
64 |
"vendorChunk": false, |
|
65 |
"buildOptimizer": true, |
|
66 |
"budgets": [ |
|
67 |
{ |
|
68 |
"type": "initial", |
|
69 |
"maximumWarning": "2mb", |
|
70 |
"maximumError": "5mb" |
|
71 |
}, |
|
72 |
{ |
|
73 |
"type": "anyComponentStyle", |
|
74 |
"maximumWarning": "6kb" |
|
75 |
} |
|
76 |
] |
|
77 |
}, |
|
78 |
"beta": { |
|
79 |
"fileReplacements": [ |
|
80 |
{ |
|
81 |
"replace": "src/environments/environment.ts", |
|
82 |
"with": "src/environments/environment.beta.ts" |
|
83 |
} |
|
84 |
], |
|
85 |
"optimization": true, |
|
86 |
"outputHashing": "all", |
|
87 |
"sourceMap": false, |
|
88 |
"namedChunks": false, |
|
89 |
"aot": true, |
|
90 |
"extractLicenses": true, |
|
91 |
"vendorChunk": false, |
|
92 |
"buildOptimizer": true, |
|
93 |
"budgets": [ |
|
94 |
{ |
|
95 |
"type": "initial", |
|
96 |
"maximumWarning": "2mb", |
|
97 |
"maximumError": "5mb" |
|
98 |
}, |
|
99 |
{ |
|
100 |
"type": "anyComponentStyle", |
|
101 |
"maximumWarning": "6kb" |
|
102 |
} |
|
103 |
] |
|
104 |
}, |
|
57 | 105 |
"production": { |
58 | 106 |
"fileReplacements": [ |
59 | 107 |
{ |
... | ... | |
64 | 112 |
"optimization": true, |
65 | 113 |
"outputHashing": "all", |
66 | 114 |
"sourceMap": false, |
67 |
"extractCss": true, |
|
68 | 115 |
"namedChunks": false, |
69 | 116 |
"aot": true, |
70 | 117 |
"extractLicenses": true, |
modules/uoa-admin-portal/branches/angular-11/package.json | ||
---|---|---|
1 | 1 |
{ |
2 | 2 |
"name": "connect-admin", |
3 |
"version": "0.0.0",
|
|
3 |
"version": "1.0.0",
|
|
4 | 4 |
"scripts": { |
5 | 5 |
"ng": "ng", |
6 | 6 |
"start": "ng serve --host 0.0.0.0 --disable-host-check --port=5000", |
7 | 7 |
"build": "ng build", |
8 |
"build-dev": "ng build --configuration=development", |
|
9 |
"build-beta": "ng build --configuration=beta", |
|
10 |
"build-prod": "ng build --prod", |
|
11 |
"webpack-bundle-analyzer": "ng build --stats-json && webpack-bundle-analyzer dist/monitor-dashboard/browser/stats.json --host 0.0.0.0", |
|
8 | 12 |
"test": "ng test", |
9 |
"lint": "ng lint", |
|
10 | 13 |
"e2e": "ng e2e", |
11 | 14 |
"mining": "./interactivemining-install.sh", |
12 |
"after-build-clean": "rm -rf dist/assets/common-assets/.svn/ dist/assets/dashboard-theme/.svn/"
|
|
15 |
"after-build-clean": "rm -rf dist/connect-admin/assets/common-assets/.svn/ dist/connect-admin/assets/dashboard-theme/.svn/"
|
|
13 | 16 |
}, |
14 | 17 |
"private": true, |
15 | 18 |
"dependencies": { |
16 |
"@angular/animations": "~10.2.5",
|
|
17 |
"@angular/cdk": "^10.2.7",
|
|
18 |
"@angular/common": "~10.2.5",
|
|
19 |
"@angular/compiler": "~10.2.5",
|
|
20 |
"@angular/core": "~10.2.5",
|
|
21 |
"@angular/forms": "~10.2.5",
|
|
22 |
"@angular/localize": "^10.2.5",
|
|
23 |
"@angular/material": "^10.2.7",
|
|
24 |
"@angular/platform-browser": "~10.2.5",
|
|
25 |
"@angular/platform-browser-dynamic": "~10.2.5",
|
|
26 |
"@angular/router": "~10.2.5",
|
|
19 |
"@angular/animations": "~11.2.14",
|
|
20 |
"@angular/cdk": "^11.2.13",
|
|
21 |
"@angular/common": "~11.2.14",
|
|
22 |
"@angular/compiler": "~11.2.14",
|
|
23 |
"@angular/core": "~11.2.14",
|
|
24 |
"@angular/forms": "~11.2.14",
|
|
25 |
"@angular/localize": "^11.2.14",
|
|
26 |
"@angular/material": "^11.2.13",
|
|
27 |
"@angular/platform-browser": "~11.2.14",
|
|
28 |
"@angular/platform-browser-dynamic": "~11.2.14",
|
|
29 |
"@angular/router": "~11.2.14",
|
|
27 | 30 |
"clipboard": "^1.5.16", |
28 | 31 |
"core-js": "^2.5.4", |
29 | 32 |
"express": "^4.15.2", |
... | ... | |
37 | 40 |
"zone.js": "~0.10.2" |
38 | 41 |
}, |
39 | 42 |
"devDependencies": { |
40 |
"@angular-devkit/build-angular": "~0.1002.3",
|
|
41 |
"@angular/cli": "~10.2.3",
|
|
42 |
"@angular/compiler-cli": "~10.2.5",
|
|
43 |
"@angular/language-service": "~10.2.5",
|
|
43 |
"@angular-devkit/build-angular": "~0.1102.14",
|
|
44 |
"@angular/cli": "~11.2.14",
|
|
45 |
"@angular/compiler-cli": "~11.2.14",
|
|
46 |
"@angular/language-service": "~11.2.14",
|
|
44 | 47 |
"@types/express": "^4.17.0", |
45 | 48 |
"@types/node": "^12.11.1", |
46 |
"@types/jasmine": "~2.8.8",
|
|
49 |
"@types/jasmine": "~3.6.0",
|
|
47 | 50 |
"@types/jasminewd2": "~2.0.3", |
48 |
"codelyzer": "^5.1.2",
|
|
49 |
"jasmine-core": "~3.5.0",
|
|
51 |
"codelyzer": "^6.0.0",
|
|
52 |
"jasmine-core": "~3.6.0",
|
|
50 | 53 |
"jasmine-spec-reporter": "~5.0.0", |
51 |
"karma": "~5.0.0",
|
|
54 |
"karma": "~6.3.4",
|
|
52 | 55 |
"karma-chrome-launcher": "~3.1.0", |
53 | 56 |
"karma-coverage-istanbul-reporter": "~3.0.2", |
54 | 57 |
"karma-jasmine": "~4.0.0", |
modules/uoa-admin-portal/branches/angular-11/src/app/app.routing.ts | ||
---|---|---|
62 | 62 |
@NgModule({ |
63 | 63 |
imports: [RouterModule.forRoot(routes, { |
64 | 64 |
preloadingStrategy: PreloadAllModules, |
65 |
onSameUrlNavigation: "reload", |
|
66 |
relativeLinkResolution: 'corrected' |
|
65 |
onSameUrlNavigation: "reload" |
|
67 | 66 |
})], |
68 | 67 |
exports: [ RouterModule ] |
69 | 68 |
}) |
Also available in: Unified diff
[Admin | Angular 11]: Update to angular 11