Skip to content

Commit dee899d

Browse files
committed
fix warning and style
1 parent 6246e97 commit dee899d

File tree

7 files changed

+18
-11
lines changed

7 files changed

+18
-11
lines changed

angular.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"src/manifest.webmanifest"
3737
],
3838
"styles": [
39+
"node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
3940
"src/styles.less"
4041
],
4142
"scripts": [],

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@types/express": "^4.17.17",
4242
"@types/jasmine": "~3.3.8",
4343
"@types/jasminewd2": "~2.0.3",
44-
"@types/node": "^18.18.0",
44+
"@types/node": "^22.10.2",
4545
"jasmine-core": "~5.1.0",
4646
"karma": "~6.4.0",
4747
"karma-chrome-launcher": "~3.2.0",
@@ -52,4 +52,4 @@
5252
"tslint": "~6.1.0",
5353
"typescript": "~5.6.3"
5454
}
55-
}
55+
}

server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { APP_BASE_HREF } from '@angular/common';
22
import { CommonEngine } from '@angular/ssr/node';
3-
import * as express from 'express';
3+
import express from 'express';
44
import { fileURLToPath } from 'node:url';
55
import { dirname, join, resolve } from 'node:path';
66
import AppServerModule from './src/main.server';

src/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<base href="/">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99
<link rel="icon" type="image/x-icon" href="favicon.ico">
10-
<link rel="stylesheet" href="node_modules/@angular/material/prebuilt-themes/azure-blue.css" />
1110
<script src="assets/config.js"></script>
1211
<!-- Google Analytics -->
1312
<script>

src/styles.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/* You can add global styles to this file, and also import other style files */
2+
// @import '~/node_modules/@angular/material/prebuilt-themes/azure-blue.css';
23

34
/* material-icons */
45
@font-face {
56
font-family:'Material Icons';
67
font-style: normal;
78
font-weight: 400;
8-
// src: url(https://fonts.gstatic.com/s/materialicons/v47/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
9-
src: url(https://cdn.bootcss.com/material-design-icons/3.0.1/iconfont/MaterialIcons-Regular.woff2) format('woff2');
9+
src: url(https://fonts.gstatic.com/s/materialicons/v47/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
1010
}
1111
.material-icons {
1212
font-family:'Material Icons';

tsconfig.base.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
"moduleResolution": "node",
1010
"emitDecoratorMetadata": true,
1111
"experimentalDecorators": true,
12+
"esModuleInterop": true,
13+
"allowSyntheticDefaultImports": true,
1214
"importHelpers": true,
1315
"target": "es2022",
1416
"typeRoots": [

yarn.lock

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2867,12 +2867,12 @@
28672867
dependencies:
28682868
undici-types "~5.26.4"
28692869

2870-
"@types/node@^18.18.0":
2871-
version "18.18.9"
2872-
resolved "https://registry.npmmirror.com/@types/node/-/node-18.18.9.tgz#5527ea1832db3bba8eb8023ce8497b7d3f299592"
2873-
integrity sha512-0f5klcuImLnG4Qreu9hPj/rEfFq6YRc5n2mAjSsH+ec/mJL+3voBH0+8T7o8RpFjH7ovc+TRsL/c7OYIQsPTfQ==
2870+
"@types/node@^22.10.2":
2871+
version "22.10.2"
2872+
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.2.tgz#a485426e6d1fdafc7b0d4c7b24e2c78182ddabb9"
2873+
integrity sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==
28742874
dependencies:
2875-
undici-types "~5.26.4"
2875+
undici-types "~6.20.0"
28762876

28772877
"@types/q@^0.0.32":
28782878
version "0.0.32"
@@ -8356,6 +8356,11 @@ undici-types@~5.26.4:
83568356
resolved "https://registry.npmmirror.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
83578357
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
83588358

8359+
undici-types@~6.20.0:
8360+
version "6.20.0"
8361+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433"
8362+
integrity sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==
8363+
83598364
unicode-canonical-property-names-ecmascript@^2.0.0:
83608365
version "2.0.0"
83618366
resolved "https://registry.npmmirror.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc"

0 commit comments

Comments
 (0)