Skip to content

Commit a4ef3f1

Browse files
Update to 25.1.3+
1 parent 25583a4 commit a4ef3f1

File tree

173 files changed

+90774
-37990
lines changed

Some content is hidden

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

173 files changed

+90774
-37990
lines changed

.github/workflows/lint.yml

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
name: Lint
2+
3+
concurrency:
4+
group: wf-${{github.event.pull_request.number || github.sha}}-${{github.workflow}}
5+
cancel-in-progress: true
6+
7+
on:
8+
pull_request:
9+
push:
10+
branches:
11+
- "[0-9][0-9].[0-9].[0-9]*"
12+
13+
jobs:
14+
Angular:
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 60
17+
steps:
18+
- name: Get sources
19+
uses: actions/checkout@v3
20+
21+
- name: Use Node.js
22+
uses: actions/setup-node@v3
23+
24+
- name: Restore npm cache
25+
uses: actions/cache@v3
26+
with:
27+
path: ./Angular/node_modules
28+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
29+
restore-keys: ${{ runner.os }}-node-modules
30+
31+
- name: Run npm install
32+
working-directory: Angular
33+
run: npm install --no-audit --no-fund
34+
35+
- name: Lint Angular
36+
working-directory: Angular
37+
env:
38+
DEBUG: eslint:cli-engine
39+
run: npm run lint
40+
41+
jQuery:
42+
runs-on: ubuntu-latest
43+
timeout-minutes: 60
44+
steps:
45+
- name: Get sources
46+
uses: actions/checkout@v3
47+
48+
- name: Use Node.js
49+
uses: actions/setup-node@v3
50+
51+
- name: Restore npm cache
52+
uses: actions/cache@v3
53+
with:
54+
path: ./jQuery/node_modules
55+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
56+
restore-keys: ${{ runner.os }}-node-modules
57+
58+
- name: Run npm install
59+
working-directory: jQuery
60+
run: npm install --no-audit --no-fund
61+
62+
- name: Lint jQuery
63+
working-directory: jQuery
64+
env:
65+
DEBUG: eslint:cli-engine
66+
run: npm run lint
67+
68+
React:
69+
runs-on: ubuntu-latest
70+
timeout-minutes: 60
71+
steps:
72+
- name: Get sources
73+
uses: actions/checkout@v3
74+
75+
- name: Use Node.js
76+
uses: actions/setup-node@v4
77+
with:
78+
node-version: '20'
79+
80+
- name: Restore npm cache
81+
uses: actions/cache@v3
82+
with:
83+
path: ./React/node_modules
84+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
85+
restore-keys: ${{ runner.os }}-node-modules
86+
87+
- name: Run npm install
88+
working-directory: React
89+
run: npm install --no-audit --no-fund
90+
91+
- name: Lint React
92+
working-directory: React
93+
env:
94+
DEBUG: eslint:cli-engine
95+
run: npm run lint
96+
97+
Vue:
98+
runs-on: ubuntu-latest
99+
timeout-minutes: 60
100+
steps:
101+
- name: Get sources
102+
uses: actions/checkout@v3
103+
104+
- name: Use Node.js
105+
uses: actions/setup-node@v3
106+
107+
- name: Restore npm cache
108+
uses: actions/cache@v3
109+
with:
110+
path: ./Vue/node_modules
111+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
112+
restore-keys: ${{ runner.os }}-node-modules
113+
114+
- name: Run npm install
115+
working-directory: Vue
116+
run: npm install --no-audit --no-fund
117+
118+
- name: Lint Vue
119+
working-directory: Vue
120+
env:
121+
DEBUG: eslint:cli-engine
122+
run: npm run lint

.github/workflows/typescript.yml

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
name: TS compilation
2+
3+
concurrency:
4+
group: wf-${{github.event.pull_request.number || github.sha}}-${{github.workflow}}
5+
cancel-in-progress: true
6+
7+
on:
8+
pull_request:
9+
push:
10+
branches:
11+
- "[0-9][0-9].[0-9].[0-9]*"
12+
13+
jobs:
14+
Angular:
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 60
17+
steps:
18+
- name: Get sources
19+
uses: actions/checkout@v3
20+
21+
- name: Use Node.js
22+
uses: actions/setup-node@v3
23+
24+
- name: Restore npm cache
25+
uses: actions/cache@v3
26+
with:
27+
path: ./Angular/node_modules
28+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
29+
restore-keys: ${{ runner.os }}-node-modules
30+
31+
- name: Run npm install
32+
working-directory: Angular
33+
run: npm install --no-audit --no-fund
34+
35+
- name: TSC Angular
36+
working-directory: Angular
37+
run: npm run build
38+
39+
React:
40+
runs-on: ubuntu-latest
41+
timeout-minutes: 60
42+
steps:
43+
- name: Get sources
44+
uses: actions/checkout@v3
45+
46+
- name: Use Node.js
47+
uses: actions/setup-node@v4
48+
with:
49+
node-version: '20'
50+
51+
- name: Restore npm cache
52+
uses: actions/cache@v3
53+
with:
54+
path: ./React/node_modules
55+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
56+
restore-keys: ${{ runner.os }}-node-modules
57+
58+
- name: Run npm install
59+
working-directory: React
60+
run: npm install --no-audit --no-fund
61+
62+
- name: TSC React
63+
working-directory: React
64+
run: npm run build
65+
66+
Vue:
67+
runs-on: ubuntu-latest
68+
timeout-minutes: 60
69+
steps:
70+
- name: Get sources
71+
uses: actions/checkout@v3
72+
73+
- name: Use Node.js
74+
uses: actions/setup-node@v3
75+
76+
- name: Restore npm cache
77+
uses: actions/cache@v3
78+
with:
79+
path: ./Vue/node_modules
80+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
81+
restore-keys: ${{ runner.os }}-node-modules
82+
83+
- name: Run npm install
84+
working-directory: Vue
85+
run: npm install --no-audit --no-fund
86+
87+
- name: TSC Vue
88+
working-directory: Vue
89+
run: npm run type-check

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,3 +303,8 @@ TesterMetadata.xml
303303

304304
# Backup files
305305
*.bak
306+
307+
*/wwwroot/*
308+
309+
!*/wwwroot/css/Site.css
310+
*.DS_Store

ASP.NET Core/ASP.NET Core.csproj

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
</PropertyGroup>
6+
7+
<Target Name="DebugEnsureNodeEnv" BeforeTargets="BeforeBuild" Condition=" '$(Configuration)' == 'Debug' And !Exists('$(SpaRoot)node_modules') ">
8+
<!-- Ensure Node.js is installed -->
9+
<Exec Command="node --version" ContinueOnError="true">
10+
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
11+
</Exec>
12+
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
13+
<Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
14+
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install" />
15+
</Target>
16+
<Target Name="RunGulp" BeforeTargets="BeforeBuild" Condition=" '$(Configuration)' == 'Debug' And Exists('$(SpaRoot)node_modules') ">
17+
<Exec WorkingDirectory="$(ProjectDir)" Command="node_modules\.bin\gulp add-resources" ContinueOnError="false">
18+
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
19+
</Exec>
20+
</Target>
21+
22+
<ItemGroup>
23+
<PackageReference Include="DevExtreme.AspNet.Core" Version="25.1.*" />
24+
</ItemGroup>
25+
26+
</Project>

ASP.NET Core/ASP.NET Core.sln

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.30330.147
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASP.NET Core", "ASP.NET Core.csproj", "{435CB7A8-3168-4BD2-815F-E54F708AF968}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{435CB7A8-3168-4BD2-815F-E54F708AF968}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{435CB7A8-3168-4BD2-815F-E54F708AF968}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{435CB7A8-3168-4BD2-815F-E54F708AF968}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{435CB7A8-3168-4BD2-815F-E54F708AF968}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {08AFB133-D1F6-4FE9-A66A-586B96B002D0}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Threading.Tasks;
5+
using Microsoft.AspNetCore.Mvc;
6+
7+
namespace ASP_NET_Core.Controllers
8+
{
9+
public class HomeController : Controller
10+
{
11+
public IActionResult Index()
12+
{
13+
return View();
14+
}
15+
16+
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
17+
public IActionResult Error() {
18+
return View();
19+
}
20+
}
21+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Net;
5+
using System.Net.Http;
6+
using ASP_NET_Core.Models;
7+
using DevExtreme.AspNet.Data;
8+
using DevExtreme.AspNet.Mvc;
9+
using Microsoft.AspNetCore.Mvc;
10+
11+
namespace ASP_NET_Core.Controllers {
12+
13+
[Route("api/[controller]")]
14+
public class SampleDataController : Controller {
15+
16+
[HttpGet]
17+
public object Get(DataSourceLoadOptions loadOptions) {
18+
return DataSourceLoader.Load(SampleData.Orders, loadOptions);
19+
}
20+
21+
}
22+
}

0 commit comments

Comments
 (0)