Skip to content

Commit e261570

Browse files
committed
Updates dependencies and generator framework
Updates github actions, target framework, and NuGet packages; removes disableSources from Javascript reference generation; and adds a new sample application.
1 parent 7c5369d commit e261570

4 files changed

Lines changed: 13 additions & 9 deletions

File tree

.github/workflows/generate.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,24 @@ jobs:
1717
runs-on: ${{ matrix.os }}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v5
21+
- name: Set up .NET
22+
uses: actions/setup-dotnet@v5
23+
with:
24+
dotnet-version: '9.x'
2125
- name: Generate CLI Reference
2226
working-directory: generator
2327
run: dotnet run -- cli refout
2428
- name: Upload Artifacts
25-
uses: actions/upload-artifact@v4
29+
uses: actions/upload-artifact@v5
2630
with:
2731
name: cli-${{ matrix.os }}
2832
path: generator/refout/*
2933
generate:
3034
runs-on: ubuntu-latest
3135
steps:
3236
- name: Checkout
33-
uses: actions/checkout@v4
37+
uses: actions/checkout@v5
3438
- name: Generate
3539
working-directory: generator
3640
run: dotnet run
@@ -40,7 +44,7 @@ jobs:
4044
max_wait_seconds: 900
4145
artifacts: cli-macos-latest,cli-windows-latest
4246
- name: Download Artifacts
43-
uses: actions/download-artifact@v4
47+
uses: actions/download-artifact@v5
4448
with:
4549
path: docs/reference/cli/content
4650
pattern: cli-*

generator/DocGenerator.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<NoWarn>$(NoWarn);CA2007</NoWarn>
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
12+
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
1313
<PackageReference Include="NuGet.Protocol" Version="6.14.0" />
14+
<PackageReference Include="System.Formats.Asn1" Version="9.0.9" />
1415
</ItemGroup>
1516

1617
<ItemGroup>

generator/JavaScriptReference.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ await Util.StartShellProcess(
3636
"--indexFormat",
3737
"table",
3838
"--parametersFormat",
39-
"table",
40-
"--disableSources",
41-
"lib/index.d.ts"
39+
"table"
4240
],
4341
packageDir);
4442

sidebars.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ const sidebars: SidebarsConfig = {
6363
link("C# / Uno", "https://github.com/velopack/velopack/tree/develop/samples/CSharpUno", "Velopack in a cross-platform app with [Uno Platform](https://github.com/unoplatform/uno)."),
6464
link("C# / Wpf", "https://github.com/velopack/velopack/tree/develop/samples/CSharpWpf", "Velopack with WPF on Windows."),
6565
link("NodeJS / Electron", "https://github.com/velopack/velopack/tree/develop/samples/NodeJSElectron", "Velopack in a cross-platform JavaScript app with [Electron](https://www.electronjs.org/)."),
66+
link("Python / WXPython", "https://github.com/velopack/velopack/tree/develop/samples/PythonWXPython", "Velopack in a cross-platform python app with the [WXPython](https://wxpython.org/) ui framework."),
6667
link("Rust / Iced", "https://github.com/velopack/velopack/tree/develop/samples/RustIced", "Velopack in a cross-platform app with [Iced](https://github.com/iced-rs/iced)."),
6768
//!! AUTO-GENERATED-END SAMPLES-TOC
6869
],

0 commit comments

Comments
 (0)