Skip to content

Commit 6bea0d8

Browse files
authored
feat: update to bit 9.12.0 #86 (#87)
1 parent fba1655 commit 6bea0d8

File tree

163 files changed

+2122
-4810
lines changed

Some content is hidden

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

163 files changed

+2122
-4810
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
}
2929
},
3030
"forwardPorts": [
31-
2137,
32-
2053,
33-
2227,
34-
4298,
31+
2169,
32+
2232,
33+
2160,
34+
4097,
3535
5000,
36-
5174
36+
5215
3737
],
3838
"features": {
3939
"ghcr.io/devcontainers/features/python": {},

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[*]
77
indent_style = space
88
indent_size = 4
9+
spelling_exclusion_path = vs-spell.dic
910
# Code files
1011
[*.{cs,csx,vb,vbx}]
1112
insert_final_newline = true

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Carefully analyze the user's prompt. Identify the core objectives, whether it is
6060
Before writing code, investigate thoroughly.
6161
* If the user provides a **URL**, you **MUST** use the `fetch` tool to retrieve its content.
6262
* If the user provides a **git commit id/hash**, you **MUST** run the `git --no-pager show <commit-id>` command to retrieve its details.
63-
* If the user taked about current changes in the codebase, you **MUST** run the `git --no-pager diff` and `git --no-pager diff --staged` commands to see the differences.
63+
* If the user talked about current changes in the codebase, you **MUST** run the `git --no-pager diff` and `git --no-pager diff --staged` commands to see the differences.
6464
* For UI-related tasks, you **MUST** first ask `DeepWiki`: *"What features does BitPlatform offer to help me complete this task? [USER'S ORIGINAL REQUEST]"*
6565
* For anything related to `Bit.BlazorUI`, `bit Bswup`, `bit Butil`, `bit Besql`, or the bit project template, you **MUST** use the `DeepWiki_ask_question` tool with repository `bitfoundation/bitplatform` to find relevant information.
6666
* For mapper/mapping entity/dto related tasks, you **MUST** use the `DeepWiki_ask_question` tool with repository `riok/mapperly` to find correct implementation and usage patterns focusing on its static classes and extension methods approach.

.github/prompts/scaffold.prompt.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
```prompt
21
# Scaffold Complete Entity with Full CRUD
32

4-
You are an expert at scaffolding complete entity implementations for the BitPlatform bit.templateplayground project.
3+
You are an expert at scaffolding complete entity implementations for the project.
54

65
## Instructions
76

.github/workflows/cd-template.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
required: true
88
type: string
99

10+
env:
11+
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: true
12+
1013
permissions:
1114
contents: read
1215

@@ -19,10 +22,10 @@ jobs:
1922
steps:
2023

2124
- name: Checkout source code
22-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2326

2427
- name: Setup .NET
25-
uses: actions/setup-dotnet@v4
28+
uses: actions/setup-dotnet@v5
2629
with:
2730
global-json-file: global.json
2831

@@ -42,6 +45,7 @@ jobs:
4245
env:
4346
WebAppRender.BlazorMode: 'BlazorWebAssembly'
4447
ServerAddress: ${{ vars.SERVER_ADDRESS }}
48+
AdsPushVapid.PublicKey: ${{ secrets.PUBLIC_VAPIDKEY }}
4549

4650
- name: Install wasm
4751
run: cd src && dotnet workload install wasm-tools
@@ -71,7 +75,7 @@ jobs:
7175
steps:
7276

7377
- name: Retrieve server bundle
74-
uses: actions/download-artifact@v4
78+
uses: actions/download-artifact@v5
7579
with:
7680
name: server-bundle
7781

@@ -97,10 +101,10 @@ jobs:
97101
steps:
98102

99103
- name: Checkout source code
100-
uses: actions/checkout@v4
104+
uses: actions/checkout@v5
101105

102106
- name: Setup .NET
103-
uses: actions/setup-dotnet@v4
107+
uses: actions/setup-dotnet@v5
104108
with:
105109
global-json-file: global.json
106110

@@ -144,10 +148,10 @@ jobs:
144148

145149
steps:
146150
- name: Checkout source code
147-
uses: actions/checkout@v4
151+
uses: actions/checkout@v5
148152

149153
- name: Setup .NET
150-
uses: actions/setup-dotnet@v4
154+
uses: actions/setup-dotnet@v5
151155
with:
152156
global-json-file: global.json
153157

@@ -202,10 +206,10 @@ jobs:
202206
steps:
203207

204208
- name: Checkout source code
205-
uses: actions/checkout@v4
209+
uses: actions/checkout@v5
206210

207211
- name: Setup .NET
208-
uses: actions/setup-dotnet@v4
212+
uses: actions/setup-dotnet@v5
209213
with:
210214
global-json-file: global.json
211215

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
workflow_dispatch:
77
pull_request:
88

9+
env:
10+
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: true
11+
912
jobs:
1013

1114
build_blazor_server:
@@ -15,10 +18,10 @@ jobs:
1518
steps:
1619

1720
- name: Checkout source code
18-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
1922

2023
- name: Setup .NET
21-
uses: actions/setup-dotnet@v4
24+
uses: actions/setup-dotnet@v5
2225
with:
2326
global-json-file: global.json
2427

Bit.ResxTranslator.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
"ResxPaths": [ "/src/**/*.resx" ],
1010

11+
"ChatOptions": {
12+
"Temperature": "0"
13+
},
14+
1115
"OpenAI": {
1216
"Model": "gpt-4.1-mini",
1317
"Endpoint": "https://models.inference.ai.azure.com",

Bit.TemplatePlayground.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".SolutionItems", ".Solution
1919
src\Directory.Build.props = src\Directory.Build.props
2020
src\Directory.Packages.props = src\Directory.Packages.props
2121
global.json = global.json
22+
vs-spell.dic = vs-spell.dic
2223
.vscode\mcp.json=.vscode\mcp.json
2324
README.md = README.md
2425
EndProjectSection

Bit.TemplatePlayground.slnx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,42 +10,32 @@
1010
<File Path=".vsconfig" />
1111
<File Path="Clean.bat" />
1212
<File Path="global.json" />
13+
<File Path="vs-spell.dic" />
1314
<File Path=".vscode/mcp.json" />
1415
<File Path="README.md" />
1516
<File Path="settings.VisualStudio.json" />
1617
<File Path="Bit.ResxTranslator.json" />
1718
<File Path="src/Directory.Build.props" />
1819
<File Path="src/Directory.Packages.props" />
1920
</Folder>
20-
<!--#if (pipeline == "Azure")-->
21-
<Folder Name="/.SolutionItems/.azure-devops/" />
22-
<Folder Name="/.SolutionItems/.azure-devops/workflows/">
23-
<File Path=".azure-devops/workflows/cd.yml" />
24-
<File Path=".azure-devops/workflows/ci.yml" />
25-
</Folder>
26-
<!--#endif-->
2721
<Folder Name="/.SolutionItems/.github/">
2822
<File Path=".github/copilot-instructions.md" />
2923
</Folder>
3024
<Folder Name="/.SolutionItems/.github/prompts/">
3125
<File Path=".github/prompts/resx.prompt.md" />
3226
<File Path=".github/prompts/scaffold.prompt.md" />
3327
</Folder>
34-
<!--#if (pipeline == "GitHub")-->
3528
<Folder Name="/.SolutionItems/.github/workflows/">
3629
<File Path=".github/workflows/cd-production.yml" />
3730
<File Path=".github/workflows/cd-test.yml" />
3831
<File Path=".github/workflows/cd-template.yml" />
3932
<File Path=".github/workflows/ci.yml" />
4033
</Folder>
41-
<!--#endif-->
4234
<Folder Name="/Server/">
4335
<Project Path="src/Server/Bit.TemplatePlayground.Server.Web/Bit.TemplatePlayground.Server.Web.csproj" />
4436
<Project Path="src/Server/Bit.TemplatePlayground.Server.Api/Bit.TemplatePlayground.Server.Api.csproj" />
4537
<Project Path="src/Server/Bit.TemplatePlayground.Server.Shared/Bit.TemplatePlayground.Server.Shared.csproj" />
46-
<!--#if (aspire == true)-->
4738
<Project Path="src/Server/Bit.TemplatePlayground.Server.AppHost/Bit.TemplatePlayground.Server.AppHost.csproj" />
48-
<!--#endif-->
4939
</Folder>
5040
<Folder Name="/Client/">
5141
<Project Path="src/Client/Bit.TemplatePlayground.Client.Core/Bit.TemplatePlayground.Client.Core.csproj" />

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515

1616
<PackageReference Include="Bit.Butil" />
1717
<PackageReference Include="Bit.BlazorUI" />
18-
<PackageReference Include="Bit.BlazorES2019" />
1918
<PackageReference Include="Bit.BlazorUI.Icons" />
2019
<PackageReference Include="Bit.BlazorUI.Assets" />
2120
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" />
22-
<PackageReference Include="Bit.BlazorUI.Extras" />
21+
<PackageReference Include="Bit.BlazorUI.Extras" />
2322
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" />
2423
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" />
2524
<PackageReference Include="Microsoft.AspNetCore.Components.Web" />

0 commit comments

Comments
 (0)