Skip to content

Commit a3d4772

Browse files
authored
Add Complete TypeScript Form Generation System (TsForm, TsWebApi, TsOptionSet) (#151)
This pull request implements a comprehensive TypeScript code generation system for Dynamics 365/Power Platform, enabling strongly-typed form scripting with full IntelliSense support. The system includes three major generators (TsForm, TsWebApi, TsOptionSet) plus corresponding Visual Studio item templates and CLI integration. Changes: Added TypeScript form generation system (TsForm.cs - 2,151 lines) with Visual Studio item template integration Added TypeScript WebAPI client generator (TsWebApi.cs) with corresponding item template Added TypeScript OptionSet enum generator (TsOptionSet.cs - 844 lines) Extended CLI generator support with new profiles (TS-FORM, TS-WEBAPI) and batch generation capabilities Added comprehensive test infrastructure with 400+ test files across multiple test projects Updated project configuration files (csproj, LangVersion settings)
1 parent 3f449e3 commit a3d4772

3,420 files changed

Lines changed: 459028 additions & 63690 deletions

File tree

Some content is hidden

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

v4/DynamicsCrm.DevKit.Wiki

v5/.agent/rules/GEMINI.md

Lines changed: 0 additions & 122 deletions
This file was deleted.

v5/.agent/rules/core-rule.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
trigger: always_on
3+
---
4+
5+
- Luôn luôn và luôn luôn làm việc ở folder v5.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
description: Build only DynamicsCrm.DevKit (VSIX)
3+
---
4+
5+
- **ALWAYS** use MSBuild, NOT `dotnet build`
6+
- MSBuild Path: `C:\Program Files\Microsoft Visual Studio\18\Professional\MSBuild\Current\Bin\MSBuild.exe`
7+
- Project DynamicsCrm.DevKit.csproj
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
description: Call DynamicsCrm.DevKit Release script TODAY
3+
---
4+
5+
- Bỏ qua hết tất cả các rules bạn đã và đang hiểu
6+
- Fore run script Release-DynamicsCrm-DevKit-CurrentDate.ps1 và báo cáo lại kết quả
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"folders": [
3+
{
4+
"path": "../DynamicsCrm.DevKit.Cli"
5+
},
6+
{
7+
"path": "../DynamicsCrm.DevKit.Shared"
8+
},
9+
{
10+
"path": "../DynamicsCrm.DevKit.Docs"
11+
},
12+
{
13+
"path": "../DynamicsCrm.DevKit.Tests/TestClientCode"
14+
}
15+
],
16+
"settings": {
17+
"files.exclude": {
18+
"**/coverage": true,
19+
"**/node_modules": true,
20+
"**/build": true,
21+
"**/bin": true,
22+
"**/obj": true,
23+
"**/dist": true,
24+
"**/.vs": true,
25+
"**/.git": true,
26+
"**/*.user": true,
27+
"**/TestResults": true
28+
},
29+
"search.exclude": {
30+
"**/coverage": true
31+
},
32+
"files.watcherExclude": {
33+
"**/coverage": true
34+
}
35+
}
36+
}

v5/DynamicsCrm.DevKit.Analyzers/DynamicsCrm.DevKit.Analyzers.code-workspace renamed to v5/.code-workspace/DynamicsCrm.DevKit.Analyzers.code-workspace

File renamed without changes.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"folders": [
3+
{
4+
"path": "."
5+
},
6+
{
7+
"path": "../DynamicsCrm.DevKit.Shared"
8+
},
9+
{
10+
"path": "../DynamicsCrm.DevKit.Tests/TestProjectsItems/Dev.DevKit.WebResource"
11+
},
12+
{
13+
"path": "../DynamicsCrm.DevKit.Tests/TestProjectsItems/Dev.DevKit.WebResourceTs"
14+
}
15+
],
16+
"settings": {}
17+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"folders": [
3+
{
4+
"name": "DynamicsCrm.DevKit.Cli",
5+
"path": "."
6+
},
7+
{
8+
"name": "DynamicsCrm.DevKit.Shared",
9+
"path": "../DynamicsCrm.DevKit.Shared"
10+
},
11+
{
12+
"name": "Dev.DevKit.WebResourceTs",
13+
"path": "../DynamicsCrm.DevKit.Tests/TestProjectsItems/Dev.DevKit.WebResourceTs"
14+
},
15+
{
16+
"name": "Dev.DevKit.WebResource",
17+
"path": "../DynamicsCrm.DevKit.Tests/TestProjectsItems/Dev.DevKit.WebResource"
18+
},
19+
{
20+
"name": ".agent",
21+
"path": "../.agent"
22+
},
23+
{
24+
"name": ".github",
25+
"path": "../.github"
26+
},
27+
{
28+
"name": ".gemini",
29+
"path": "../.gemini"
30+
},
31+
{
32+
"path": "../DynamicsCrm.DevKit.Tests/TestDevKitTs"
33+
}
34+
],
35+
"settings": {}
36+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"folders": [
3+
{
4+
"path": "../.agent"
5+
},
6+
{
7+
"path": "."
8+
}
9+
],
10+
"settings": {}
11+
}

0 commit comments

Comments
 (0)