@nativescript/windows 0.1.0-alpha.71 → 0.1.0-alpha.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -114,10 +114,46 @@
114
114
  <_DotNetBridgeFiles Include="$(NSWindowsRoot)\dotnet-bridge\publish\**\*" />
115
115
  </ItemGroup>
116
116
  <Copy SourceFiles="@(_DotNetBridgeFiles)"
117
- DestinationFiles="@(_DotNetBridgeFiles->'$(OutDir)dotnet-bridge\publish\%(RecursiveDir)%(Filename)%(Extension)')"
117
+ DestinationFiles="@(_DotNetBridgeFiles->'$(OutDir)dotnet-bridge\%(RecursiveDir)%(Filename)%(Extension)')"
118
118
  SkipUnchangedFiles="true" />
119
119
  </Target>
120
120
 
121
+ <!-- Ensure bridge files are included in the final `dotnet publish` output. -->
122
+ <Target Name="CopyDotNetBridgeToPublishDir"
123
+ AfterTargets="Publish"
124
+ Condition="Exists('$(NSWindowsRoot)\dotnet-bridge\publish')">
125
+ <ItemGroup>
126
+ <_DotNetBridgePublishFiles Include="$(NSWindowsRoot)\dotnet-bridge\publish\**\*" />
127
+ </ItemGroup>
128
+ <Copy SourceFiles="@(_DotNetBridgePublishFiles)"
129
+ DestinationFiles="@(_DotNetBridgePublishFiles->'$(PublishDir)dotnet-bridge\%(RecursiveDir)%(Filename)%(Extension)')"
130
+ SkipUnchangedFiles="true" />
131
+ </Target>
132
+
133
+ <!-- Inject the bridge publish files as Content before Publish so `dotnet publish` includes them automatically -->
134
+ <Target Name="AddDotNetBridgeContent" BeforeTargets="Publish" Condition="Exists('$(NSWindowsRoot)\dotnet-bridge\publish')">
135
+ <ItemGroup>
136
+ <Content Include="$(NSWindowsRoot)\dotnet-bridge\publish\**\*">
137
+ <Link>dotnet-bridge\%(RecursiveDir)%(Filename)%(Extension)</Link>
138
+ <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
139
+ </Content>
140
+ </ItemGroup>
141
+ </Target>
142
+
143
+ <!--
144
+ Wait for the `dotnet-tool` sentinel marker so Build/Publish don't race with
145
+ the external tool that publishes/copies DotNetBridge into the repo.
146
+ This polls for `dotnet-bridge/publish/.dotnet_tool_done` with a short timeout.
147
+ -->
148
+ <Target Name="WaitForDotNetToolDone" BeforeTargets="Build;Publish" Condition="Exists('$(NSWindowsRoot)\dotnet-bridge')">
149
+ <PropertyGroup>
150
+ <DotNetToolMarker>$(NSWindowsRoot)\dotnet-bridge\publish\.dotnet_tool_done</DotNetToolMarker>
151
+ <DotNetWaitTimeout>30</DotNetWaitTimeout>
152
+ </PropertyGroup>
153
+ <Message Text="[NativeScript] Waiting for dotnet-tool marker at $(DotNetToolMarker) (timeout $(DotNetWaitTimeout)s)..." Importance="high" />
154
+ <Exec Command="powershell -NoProfile -Command &quot;$t=0; while(-not(Test-Path '$(DotNetToolMarker)') -and $t -lt $(DotNetWaitTimeout)) { Start-Sleep -Seconds 1; $t++; }; if(-not(Test-Path '$(DotNetToolMarker)')) { Write-Error 'dotnet-tool marker not found after timeout'; exit 1 };&quot;" />
155
+ </Target>
156
+
121
157
  <!-- Allow project-level Windows overrides: place App_Resources\Windows\app.csproj to extend/override generated settings -->
122
158
  <Import Project="App_Resources\Windows\app.csproj" Condition="Exists('App_Resources\Windows\app.csproj')" />
123
159
 
@@ -16,5 +16,4 @@
16
16
  host process is already running on net10. LatestMajor accepts any version >= 9. -->
17
17
  <RollForward>LatestMajor</RollForward>
18
18
  </PropertyGroup>
19
-
20
19
  </Project>
@@ -0,0 +1,55 @@
1
+ [
2
+ {
3
+ "typeName": "TemplateNamedJsonObject",
4
+ "className": "TemplateNamedJsonObject",
5
+ "namespace": null,
6
+ "baseClass": "Windows.Data.Json.JsonObject",
7
+ "methods": [
8
+ {
9
+ "name": "ToString",
10
+ "returnType": "String",
11
+ "parameters": []
12
+ }
13
+ ],
14
+ "properties": [],
15
+ "interfaces": [],
16
+ "isAutoGeneratedName": false,
17
+ "registeredAt": "2026-05-21T19:10:11.007Z"
18
+ },
19
+ {
20
+ "typeName": "com.tns.gen.winrt.windows.data.json.JsonObject_AutoProxy_2",
21
+ "className": "JsonObject_AutoProxy_2",
22
+ "namespace": "com.tns.gen.winrt.windows.data.json",
23
+ "baseClass": "Windows.Data.Json.JsonObject",
24
+ "methods": [
25
+ {
26
+ "name": "ToString",
27
+ "returnType": "String",
28
+ "parameters": []
29
+ }
30
+ ],
31
+ "properties": [],
32
+ "interfaces": [],
33
+ "isAutoGeneratedName": false,
34
+ "registeredAt": "2026-05-21T19:10:11.024Z"
35
+ },
36
+ {
37
+ "typeName": "com.tns.gen.winrt.windows.Object_AutoProxy_3",
38
+ "className": "Object_AutoProxy_3",
39
+ "namespace": "com.tns.gen.winrt.windows",
40
+ "baseClass": "Object",
41
+ "methods": [
42
+ {
43
+ "name": "ToString",
44
+ "returnType": "String",
45
+ "parameters": []
46
+ }
47
+ ],
48
+ "properties": [],
49
+ "interfaces": [
50
+ "Windows.Foundation.IStringable"
51
+ ],
52
+ "isAutoGeneratedName": false,
53
+ "registeredAt": "2026-05-21T19:10:11.042Z"
54
+ }
55
+ ]
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript/windows",
3
- "version": "0.1.0-alpha.71",
3
+ "version": "0.1.0-alpha.73",
4
4
  "description": "NativeScript for using Windows v8",
5
5
  "repository": {
6
6
  "type": "git",