Skip to content

Commit

Permalink
chore: Upgrade to Ng 19.1 (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender authored Jan 26, 2025
1 parent 6efa26d commit 0290360
Show file tree
Hide file tree
Showing 29 changed files with 1,905 additions and 3,072 deletions.
15 changes: 9 additions & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@
"customizations": {
"vscode": {
"extensions": [
"angular.ng-template",
"azurite.azurite",
"ms-azuretools.vscode-azurefunctions",
"ms-dotnettools.csharp",
"angular.ng-template"
]
"ms-azuretools.vscode-azurestorage",
"ms-dotnettools.csdevkit",
"ms-vscode-remote.remote-containers"
],
"settings": {
"terminal.integrated.shell.linux": "/usr/bin/bash"
}
}
},
"settings": {
"terminal.integrated.shell.linux": "/usr/bin/bash"
},
"postCreateCommand": "cd client && npm install",
"remoteEnv": {
"ALPACA_KEY": "${localEnv:ALPACA_KEY}",
Expand Down
50 changes: 33 additions & 17 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,23 +1,39 @@
# top-most EditorConfig file
# EditorConfig: https://EditorConfig.org
root = true

# see Client and Server folders for
# language unique editor configurations

# global baselines
#### Core EditorConfig Options ####
[*]
charset = utf-8
end_of_line = lf
charset = utf-8 # Use UTF-8 character encoding
end_of_line = lf # Use LF line endings (Unix-style)
insert_final_newline = true # Add empty line at end of files
trim_trailing_whitespace = true # Remove whitespace at end of lines
indent_style = space # Use spaces for indentation
indent_size = 2 # Use 2 spaces per indentation level
tab_width = 2 # Set tab width to 2 spaces

# Markdown files
[*.md]
trim_trailing_whitespace = false # Allow trailing whitespace for line breaks

# Batch and command files
[*.{cmd,bat}]
end_of_line = crlf # Use CRLF for Windows specific files

# .NET source files
[*.{cs,vb}]
indent_size = 4 # Use 4 spaces for .NET files
tab_width = 4 # Set tab width to 4 spaces

dotnet_sort_system_directives_first = true # Place System.* usings before others
dotnet_separate_import_directive_groups = false # Don't add blank lines between using directives

indent_style = space
indent_size = 2
tab_width = 2
csharp_style_var_elsewhere = false # Use explicit types when type isn't obvious
csharp_style_var_for_built_in_types = false # Use explicit types for built-in types
csharp_style_var_when_type_is_apparent = false # Use explicit types even when obvious

line_length = 150
max_line_length = 150
trim_trailing_whitespace = true
insert_final_newline = true
# Expression-level preferences that differ from defaults
csharp_style_expression_bodied_methods = true:silent # Allow expression-bodied methods
csharp_style_expression_bodied_properties = true:silent # Allow expression-bodied properties

[*.{xml,yml}]
indent_style = space
indent_size = 2
# Diagnostic overrides
dotnet_diagnostic.IDE0058.severity = none # Disable "use '_' discard" value warnings
8 changes: 6 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"recommendations": [
"angular.ng-template",
"azurite.azurite",
"ms-azuretools.vscode-azurefunctions",
"ms-dotnettools.csharp"
"ms-azuretools.vscode-azurestorage",
"ms-dotnettools.csdevkit",
"ms-vscode-remote.remote-containers"
]
}
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"azureFunctions.projectSubpath": "server\\Functions",
"azureFunctions.deploySubpath": "server\\Functions/bin/Release/net8.0/publish",
"azureFunctions.deploySubpath": "server\\Functions/bin/Release/net9.0/publish",
"azureFunctions.projectLanguage": "C#",
"azureFunctions.projectRuntime": "~4",
"debug.internalConsoleOptions": "neverOpen",
Expand Down
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "func",
"dependsOn": "build (functions)",
"options": {
"cwd": "${workspaceFolder}/server\\Functions/bin/Debug/net8.0"
"cwd": "${workspaceFolder}/server\\Functions/bin/Debug/net9.0"
},
"command": "host start",
"isBackground": true,
Expand Down
3 changes: 3 additions & 0 deletions client/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
"serve": {
"builder": "@angular/build:dev-server",
"defaultConfiguration": "development",
"options": {
"hmr": false
},
"configurations": {
"development": {
"buildTarget": "app:build:development"
Expand Down
Loading

0 comments on commit 0290360

Please sign in to comment.