From 2468b9539da57b621fa3e4d1d71a03a722127709 Mon Sep 17 00:00:00 2001 From: IX-BOT <137874481+IX-BOT@users.noreply.github.com> Date: Mon, 7 Oct 2024 17:18:32 +0200 Subject: [PATCH] GetReferences in AXSharpProject should be public (#334) * Create draft PR for #333 * GetReferences made public --------- Co-authored-by: TK <61820360+TomKovac@users.noreply.github.com> --- .../src/AXSharp.Compiler/AXSharpProject.cs | 4 +- src/apax/apax-lock.json | 37 ++++++++++--------- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/src/AXSharp.compiler/src/AXSharp.Compiler/AXSharpProject.cs b/src/AXSharp.compiler/src/AXSharp.Compiler/AXSharpProject.cs index 8ae05726..9d78e3e7 100644 --- a/src/AXSharp.compiler/src/AXSharp.Compiler/AXSharpProject.cs +++ b/src/AXSharp.compiler/src/AXSharp.Compiler/AXSharpProject.cs @@ -97,7 +97,7 @@ public void Generate() var toCompile = refParseTrees.Concat(projectSources.Select(p => p.parseTree)); var compilationResult = Compilation.Create(toCompile, new List(), Compilation.Settings.Default).Result; - + this.CleanOutput(this.OutputFolder); foreach (var origin in projectSources) @@ -194,7 +194,7 @@ private static string EnsureFolder(string folder) return folder; } - private IEnumerable GetReferences() + public IEnumerable GetReferences() { TargetProject.InstallAXSharpDependencies(AxProject.AXSharpReferences); diff --git a/src/apax/apax-lock.json b/src/apax/apax-lock.json index 2a89dda9..edf3f569 100644 --- a/src/apax/apax-lock.json +++ b/src/apax/apax-lock.json @@ -7,25 +7,25 @@ "name": "s", "version": "0.0.0", "devDependencies": { - "@ax/stc": "6.1.59" + "@ax/stc": "7.1.81" } }, "packages": { "@ax/stc": { "name": "@ax/stc", - "version": "6.1.59", - "integrity": "sha512-9fSnPIR1Le1i5vA0g13ONfvwWXY6MOM/5+8cDeFvWRh0iIZwviYjCXJ5XM5kv7/wKdkJHZTelQWF6GMPnvWORw==", - "resolved": "https://registry.simatic-ax.siemens.io/@ax/stc/-/stc-6.1.59.tgz", + "version": "7.1.81", + "integrity": "sha512-1UTt8x3dca10TrUv5zdzulnVvJlb6zqc7UJJXTVP9+slwxqcTCedt1Pmch1JAHpBDdrnGh1MRBpH8egFsEJ8Gg==", + "resolved": "https://registry.simatic-ax.siemens.io/@ax/stc/-/stc-7.1.81.tgz", "dependencies": { - "@ax/stc-win-x64": "6.1.59", - "@ax/stc-linux-x64": "6.1.59" + "@ax/stc-win-x64": "7.1.81", + "@ax/stc-linux-x64": "7.1.81" } }, "@ax/stc-win-x64": { "name": "@ax/stc-win-x64", - "version": "6.1.59", - "integrity": "sha512-PMI1NqqJlANZyug6ZFsXBP0SFneGKo0nAeUtO7KiKC4LAdmLZ54gOvc6OzxUUhuSrjI1yD1zO9faQP7s/Hu15g==", - "resolved": "https://registry.simatic-ax.siemens.io/@ax/stc-win-x64/-/stc-win-x64-6.1.59.tgz", + "version": "7.1.81", + "integrity": "sha512-JRbpVh3SL1GoEsbfoJ52/1BSU082HjS1t64N2N5x1sg+X3bC0waAG6Sjub03D+fOPSAHKS5e/Lgd0p7WLedCPQ==", + "resolved": "https://registry.simatic-ax.siemens.io/@ax/stc-win-x64/-/stc-win-x64-7.1.81.tgz", "os": [ "win32" ], @@ -33,14 +33,14 @@ "x64" ], "dependencies": { - "@ax/st-docs": "6.1.59" + "@ax/st-docs": "7.1.81" } }, "@ax/stc-linux-x64": { "name": "@ax/stc-linux-x64", - "version": "6.1.59", - "integrity": "sha512-cggJ3PcIu683s6kTLy0U2bFVOGPvVLjGmWQVp2XB1yC33bZY/HJK28pjJaNUvSOk9AVwgEpDWT15nF99kjN05g==", - "resolved": "https://registry.simatic-ax.siemens.io/@ax/stc-linux-x64/-/stc-linux-x64-6.1.59.tgz", + "version": "7.1.81", + "integrity": "sha512-gHajdPn05TMvwCBg/pyHlZmMByNIo5mlQ36AvTm+YaupoxwaJfzX9QIR7mWQ/RbJ4ycaxKwaxgh5H1eG7MCAcg==", + "resolved": "https://registry.simatic-ax.siemens.io/@ax/stc-linux-x64/-/stc-linux-x64-7.1.81.tgz", "os": [ "linux" ], @@ -48,15 +48,16 @@ "x64" ], "dependencies": { - "@ax/st-docs": "6.1.59" + "@ax/st-docs": "7.1.81" } }, "@ax/st-docs": { "name": "@ax/st-docs", - "version": "6.1.59", - "integrity": "sha512-yKvjrpe7o6MQYeAHNxkSGtHXWn7sMDSLt0HzqxFSNGiw3OFQwYADSRTEpgi7TETA1u4pBbNTOCie4TDtYyYhiw==", - "resolved": "https://registry.simatic-ax.siemens.io/@ax/st-docs/-/st-docs-6.1.59.tgz", - "dependencies": {} + "version": "7.1.81", + "integrity": "sha512-7ps4hmJoHkSjhK0jH4mCu03qsCALSy9pe/FMWdNfBQMXt7PEq7uN4LML0r8orDlyOQgVb2vOcvorZ+n0EtrgKw==", + "resolved": "https://registry.simatic-ax.siemens.io/@ax/st-docs/-/st-docs-7.1.81.tgz", + "dependencies": {}, + "deprecated": "" } }, "workspaces": {}