Skip to content

Commit b3d72b3

Browse files
authored
feat: Update to bit 9.7.0 #74 (#75)
2 parents d2a4c25 + 1efed1f commit b3d72b3

File tree

500 files changed

+3874
-3294
lines changed

Some content is hidden

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

500 files changed

+3874
-3294
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
}
2525
},
2626
"forwardPorts": [
27-
4293,
27+
4221,
2828
5000,
29-
5129
29+
5214
3030
],
3131
"features": {
3232
"ghcr.io/devcontainers/features/node": {},

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
116116
# Wrapping preferences
117117
csharp_preserve_single_line_statements = true
118118
csharp_preserve_single_line_blocks = true
119+
dotnet_diagnostic.NonAsyncEFCoreMethodsUsageAnalyzer.severity = error
119120
###############################
120121
# VB Coding Conventions #
121122
###############################

.github/workflows/cd.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Bit.TemplatePlayground CD
1+
name: Bit.TemplatePlayground CD
22

33
# https://bitplatform.dev/templates/dev-ops
44

@@ -35,6 +35,11 @@ jobs:
3535
with:
3636
node-version: 23
3737

38+
- name: Use Bit.ResxTranslator
39+
run: |
40+
dotnet tool install --global Bit.ResxTranslator
41+
bit-resx-translate
42+
3843
- name: Update core appsettings.json
3944
uses: devops-actions/variable-substitution@v1.2
4045
with:
@@ -131,6 +136,11 @@ jobs:
131136
- uses: actions/setup-node@v4
132137
with:
133138
node-version: 23
139+
140+
- name: Use Bit.ResxTranslator
141+
run: |
142+
dotnet tool install --global Bit.ResxTranslator
143+
bit-resx-translate
134144
135145
- name: Update core appsettings.json
136146
uses: devops-actions/variable-substitution@v1.2
@@ -180,6 +190,11 @@ jobs:
180190
fileDir: './src/Client/Bit.TemplatePlayground.Client.Maui/'
181191
fileName: 'Bit.TemplatePlayground.keystore'
182192
encodedString: ${{ secrets.ANDROID_RELEASE_KEYSTORE_FILE_BASE64 }}
193+
194+
- name: Use Bit.ResxTranslator
195+
run: |
196+
dotnet tool install --global Bit.ResxTranslator
197+
bit-resx-translate
183198
184199
- name: Update core appsettings.json
185200
uses: devops-actions/variable-substitution@v1.2
@@ -224,11 +239,16 @@ jobs:
224239

225240
- uses: maxim-lobanov/setup-xcode@v1.6.0
226241
with:
227-
xcode-version: '16.2'
242+
xcode-version: '16.3'
228243

229244
- uses: actions/setup-node@v4
230245
with:
231246
node-version: 23
247+
248+
- name: Use Bit.ResxTranslator
249+
run: |
250+
dotnet tool install --global Bit.ResxTranslator
251+
bit-resx-translate
232252
233253
- name: Update core appsettings.json
234254
uses: devops-actions/variable-substitution@v1.2

Bit.ResxTranslator.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"Docs_Comment": "Checkout https://github.com/bitfoundation/bitplatform/blob/develop/src/ResxTranslator/README.md",
3+
4+
"DefaultLanguage": "en",
5+
6+
"SupportedLanguages": [ "nl", "fa", "sv", "hi", "zh", "es", "fr", "ar", "de" ],
7+
"SupportedLanguages__Comment": "Update MainActivity's DataPathPrefixes and CultureInfoManager's SupportedCultures as required.",
8+
9+
"ResxPaths": [ "/src/**/*.resx" ],
10+
11+
"OpenAI": {
12+
"Model": "gpt-4.1-mini",
13+
"Endpoint": "https://models.inference.ai.azure.com",
14+
"ApiKey": null
15+
},
16+
17+
"AzureOpenAI": {
18+
"Model": "gpt-4.1-mini",
19+
"Endpoint": "https://yourResourceName.openai.azure.com/openai/deployments/yourDeployment",
20+
"ApiKey": null
21+
}
22+
}

Bit.TemplatePlayground.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".SolutionItems", ".Solution
99
.editorconfig = .editorconfig
1010
.gitignore = .gitignore
1111
.vsconfig = .vsconfig
12+
Bit.ResxTranslator.json = Bit.ResxTranslator.json
1213
settings.VisualStudio.json = settings.VisualStudio.json
1314
Clean.bat = Clean.bat
1415
src\Directory.Build.props = src\Directory.Build.props

Bit.TemplatePlayground.slnx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
<File Path="Clean.bat" />
1515
<File Path="global.json" />
1616
<File Path="README.md" />
17-
<File Path="settings.VisualStudio.json" />
17+
<File Path="settings.VisualStudio.json" />
18+
<File Path="Bit.ResxTranslator.json" />
1819
<File Path="src/Directory.Build.props" />
1920
<File Path="src/Directory.Packages.props" />
2021
</Folder>

settings.VisualStudio.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
/* Visual Studio Settings File */
1+
/* Visual Studio Settings File */
22
{
33
"languages.defaults.general.lineNumbers": true,
44
"debugging.general.disableJITOptimization": true,
55
"environment.documents.saveWithSpecificEncoding": true,
6-
"environment.documents.saveEncoding": "utf-8;65001"
6+
"environment.documents.saveEncoding": "utf-8-nobom;65001",
7+
"languages.defaults.tabs.tabSize": 4
78
}

src/Client/Bit.TemplatePlayground.Client.Core/Bit.TemplatePlayground.Client.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Razor">
1+
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
44
<TargetFramework>net9.0</TargetFramework>
@@ -23,7 +23,7 @@
2323
<PackageReference Include="Bit.BlazorUI.Assets" />
2424
<PackageReference Include="Fido2.Models" />
2525
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" />
26-
<PackageReference Include="Bit.BlazorUI.Extras" />
26+
<PackageReference Include="Bit.BlazorUI.Extras" />
2727
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" />
2828
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" />
2929
<PackageReference Include="Microsoft.AspNetCore.Components.Web" />

src/Client/Bit.TemplatePlayground.Client.Core/ClientCoreSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-

1+
22
namespace Bit.TemplatePlayground.Client.Core;
33

44
public partial class ClientCoreSettings : SharedSettings

src/Client/Bit.TemplatePlayground.Client.Core/Components/AppComponentBase.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System.Runtime.CompilerServices;
1+
using System.Runtime.CompilerServices;
22

33
namespace Bit.TemplatePlayground.Client.Core.Components;
44

@@ -76,8 +76,8 @@ protected sealed override async Task OnInitializedAsync()
7676
{
7777
try
7878
{
79-
await OnInitAsync();
8079
await base.OnInitializedAsync();
80+
await OnInitAsync();
8181
}
8282
catch (Exception exp)
8383
{
@@ -98,8 +98,8 @@ protected sealed override async Task OnParametersSetAsync()
9898
{
9999
try
100100
{
101-
await OnParamsSetAsync();
102101
await base.OnParametersSetAsync();
102+
await OnParamsSetAsync();
103103
}
104104
catch (Exception exp)
105105
{
@@ -118,6 +118,8 @@ protected virtual Task OnParamsSetAsync()
118118

119119
protected override async Task OnAfterRenderAsync(bool firstRender)
120120
{
121+
await base.OnAfterRenderAsync(firstRender);
122+
121123
if (firstRender)
122124
{
123125
try
@@ -129,8 +131,6 @@ protected override async Task OnAfterRenderAsync(bool firstRender)
129131
HandleException(exp);
130132
}
131133
}
132-
133-
await base.OnAfterRenderAsync(firstRender);
134134
}
135135

136136
/// <summary>

0 commit comments

Comments
 (0)