@nativescript/windows-v8 0.1.0-alpha.0 → 0.1.0-alpha.140
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.
- package/README.md +3 -55
- package/framework/__PROJECT_NAME__/App.xaml +13 -13
- package/framework/__PROJECT_NAME__/Package.appxmanifest +35 -35
- package/framework/__PROJECT_NAME__/Program.cs +34 -34
- package/framework/__PROJECT_NAME__/Properties/Default.rd.xml +9 -9
- package/framework/__PROJECT_NAME__/RuntimeHost.cs +67 -11
- package/framework/__PROJECT_NAME__/__PROJECT_NAME__.csproj +6 -1
- package/framework/dotnet-bridge/BinaryProtocol.cs +161 -161
- package/framework/dotnet-bridge/Bridge.JsDelegate.cs +244 -244
- package/framework/dotnet-bridge/Bridge.TaskHelper.cs +207 -207
- package/framework/dotnet-bridge/DispatchTypes.cs +333 -333
- package/framework/dotnet-bridge/DotNetBridge.csproj +30 -30
- package/framework/libs/x64/nativescript.dll +0 -0
- package/framework/tools/ManifestMerger/ManifestMerger.dll +0 -0
- package/framework/tools/ManifestMerger/ManifestMerger.pdb +0 -0
- package/framework/tools/dotnet-tool-arm64.exe +0 -0
- package/framework/tools/dotnet-tool-x64.exe +0 -0
- package/framework/tools/dotnet-tool.exe +0 -0
- package/framework/tools/dotnet-typings-gen/dotnet-typings-gen.dll +0 -0
- package/framework/tools/dotnet-typings-gen/dotnet-typings-gen.exe +0 -0
- package/framework/tools/dotnet-typings-gen/dotnet-typings-gen.pdb +0 -0
- package/framework/tools/nsbundle_pack-x64.exe +0 -0
- package/framework/tools/nsbundle_pack.exe +0 -0
- package/framework/tools/sbg-arm64.exe +0 -0
- package/framework/tools/sbg-x64.exe +0 -0
- package/framework/tools/sbg.exe +0 -0
- package/framework/tools/typings-generator-arm64.exe +0 -0
- package/framework/tools/typings-generator-x64.exe +0 -0
- package/framework/tools/typings-generator.exe +0 -0
- package/package.json +43 -43
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
<Project Sdk="Microsoft.NET.Sdk">
|
|
2
|
-
|
|
3
|
-
<PropertyGroup>
|
|
4
|
-
<TargetFramework>net9.0</TargetFramework>
|
|
5
|
-
<AssemblyName>DotNetBridge</AssemblyName>
|
|
6
|
-
<RootNamespace>NativeScriptBridge</RootNamespace>
|
|
7
|
-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
8
|
-
<Nullable>enable</Nullable>
|
|
9
|
-
<Optimize>true</Optimize>
|
|
10
|
-
<!-- Regular class library — hostfxr loads it at runtime; no NativeAOT needed. -->
|
|
11
|
-
<OutputType>Library</OutputType>
|
|
12
|
-
<!-- Required: dotnet publish on a class library won't emit runtimeconfig.json by default. -->
|
|
13
|
-
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
|
|
14
|
-
<!-- Allow hostfxr to load this assembly under net10+ without a re-publish.
|
|
15
|
-
Default (Minor) only accepts patch updates within major 9, which fails when the
|
|
16
|
-
host process is already running on net10. LatestMajor accepts any version >= 9. -->
|
|
17
|
-
<RollForward>LatestMajor</RollForward>
|
|
18
|
-
</PropertyGroup>
|
|
19
|
-
<Target Name="WriteDotNetToolDone" AfterTargets="Publish">
|
|
20
|
-
<PropertyGroup>
|
|
21
|
-
<DotNetToolDoneFile>$(MSBuildProjectDirectory)\publish\.dotnet_tool_done</DotNetToolDoneFile>
|
|
22
|
-
</PropertyGroup>
|
|
23
|
-
<MakeDir Directories="$(MSBuildProjectDirectory)\publish" Condition="!Exists('$(MSBuildProjectDirectory)\publish')" />
|
|
24
|
-
<!-- Copy published output to the local publish/ staging directory that tns deploys from -->
|
|
25
|
-
<Copy SourceFiles="$(PublishDir)DotNetBridge.dll" DestinationFolder="$(MSBuildProjectDirectory)\publish" SkipUnchangedFiles="false" />
|
|
26
|
-
<Copy SourceFiles="$(PublishDir)DotNetBridge.pdb" DestinationFolder="$(MSBuildProjectDirectory)\publish" SkipUnchangedFiles="false" Condition="Exists('$(PublishDir)DotNetBridge.pdb')" />
|
|
27
|
-
<Copy SourceFiles="$(PublishDir)DotNetBridge.runtimeconfig.json" DestinationFolder="$(MSBuildProjectDirectory)\publish" SkipUnchangedFiles="false" Condition="Exists('$(PublishDir)DotNetBridge.runtimeconfig.json')" />
|
|
28
|
-
<WriteLinesToFile File="$(DotNetToolDoneFile)" Lines="done" Overwrite="true" />
|
|
29
|
-
</Target>
|
|
30
|
-
</Project>
|
|
1
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
|
2
|
+
|
|
3
|
+
<PropertyGroup>
|
|
4
|
+
<TargetFramework>net9.0</TargetFramework>
|
|
5
|
+
<AssemblyName>DotNetBridge</AssemblyName>
|
|
6
|
+
<RootNamespace>NativeScriptBridge</RootNamespace>
|
|
7
|
+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
8
|
+
<Nullable>enable</Nullable>
|
|
9
|
+
<Optimize>true</Optimize>
|
|
10
|
+
<!-- Regular class library — hostfxr loads it at runtime; no NativeAOT needed. -->
|
|
11
|
+
<OutputType>Library</OutputType>
|
|
12
|
+
<!-- Required: dotnet publish on a class library won't emit runtimeconfig.json by default. -->
|
|
13
|
+
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
|
|
14
|
+
<!-- Allow hostfxr to load this assembly under net10+ without a re-publish.
|
|
15
|
+
Default (Minor) only accepts patch updates within major 9, which fails when the
|
|
16
|
+
host process is already running on net10. LatestMajor accepts any version >= 9. -->
|
|
17
|
+
<RollForward>LatestMajor</RollForward>
|
|
18
|
+
</PropertyGroup>
|
|
19
|
+
<Target Name="WriteDotNetToolDone" AfterTargets="Publish">
|
|
20
|
+
<PropertyGroup>
|
|
21
|
+
<DotNetToolDoneFile>$(MSBuildProjectDirectory)\publish\.dotnet_tool_done</DotNetToolDoneFile>
|
|
22
|
+
</PropertyGroup>
|
|
23
|
+
<MakeDir Directories="$(MSBuildProjectDirectory)\publish" Condition="!Exists('$(MSBuildProjectDirectory)\publish')" />
|
|
24
|
+
<!-- Copy published output to the local publish/ staging directory that tns deploys from -->
|
|
25
|
+
<Copy SourceFiles="$(PublishDir)DotNetBridge.dll" DestinationFolder="$(MSBuildProjectDirectory)\publish" SkipUnchangedFiles="false" />
|
|
26
|
+
<Copy SourceFiles="$(PublishDir)DotNetBridge.pdb" DestinationFolder="$(MSBuildProjectDirectory)\publish" SkipUnchangedFiles="false" Condition="Exists('$(PublishDir)DotNetBridge.pdb')" />
|
|
27
|
+
<Copy SourceFiles="$(PublishDir)DotNetBridge.runtimeconfig.json" DestinationFolder="$(MSBuildProjectDirectory)\publish" SkipUnchangedFiles="false" Condition="Exists('$(PublishDir)DotNetBridge.runtimeconfig.json')" />
|
|
28
|
+
<WriteLinesToFile File="$(DotNetToolDoneFile)" Lines="done" Overwrite="true" />
|
|
29
|
+
</Target>
|
|
30
|
+
</Project>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/framework/tools/sbg.exe
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@nativescript/windows-v8",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
4
|
-
"description": "NativeScript Windows runtime (V8 engine) with a WinUI 3 app template",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"NativeScript",
|
|
7
|
-
"Windows",
|
|
8
|
-
"WinRT",
|
|
9
|
-
"WinUI3",
|
|
10
|
-
"windows-app-sdk",
|
|
11
|
-
"runtime",
|
|
12
|
-
"v8"
|
|
13
|
-
],
|
|
14
|
-
"repository": {
|
|
15
|
-
"type": "git",
|
|
16
|
-
"url": "https://github.com/NativeScript/windows
|
|
17
|
-
"directory": "packages/windows-v8"
|
|
18
|
-
},
|
|
19
|
-
"author": {
|
|
20
|
-
"name": "NativeScript Team",
|
|
21
|
-
"email": "oss@nativescript.org"
|
|
22
|
-
},
|
|
23
|
-
"license": "Apache-2.0",
|
|
24
|
-
"os": [
|
|
25
|
-
"win32"
|
|
26
|
-
],
|
|
27
|
-
"cpu": [
|
|
28
|
-
"x64"
|
|
29
|
-
],
|
|
30
|
-
"scripts": {
|
|
31
|
-
"build": "pwsh -File ../../template/build.ps1 -Engine v8"
|
|
32
|
-
},
|
|
33
|
-
"files": [
|
|
34
|
-
"framework/**/*",
|
|
35
|
-
"!framework/**/bin/**",
|
|
36
|
-
"!framework/**/obj/**",
|
|
37
|
-
"README.md"
|
|
38
|
-
],
|
|
39
|
-
"nativescript": {
|
|
40
|
-
"runtime": "windows",
|
|
41
|
-
"engine": "v8"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@nativescript/windows-v8",
|
|
3
|
+
"version": "0.1.0-alpha.140",
|
|
4
|
+
"description": "NativeScript Windows runtime (V8 engine) with a WinUI 3 app template",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"NativeScript",
|
|
7
|
+
"Windows",
|
|
8
|
+
"WinRT",
|
|
9
|
+
"WinUI3",
|
|
10
|
+
"windows-app-sdk",
|
|
11
|
+
"runtime",
|
|
12
|
+
"v8"
|
|
13
|
+
],
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/NativeScript/windows",
|
|
17
|
+
"directory": "packages/windows-v8"
|
|
18
|
+
},
|
|
19
|
+
"author": {
|
|
20
|
+
"name": "NativeScript Team",
|
|
21
|
+
"email": "oss@nativescript.org"
|
|
22
|
+
},
|
|
23
|
+
"license": "Apache-2.0",
|
|
24
|
+
"os": [
|
|
25
|
+
"win32"
|
|
26
|
+
],
|
|
27
|
+
"cpu": [
|
|
28
|
+
"x64"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "pwsh -File ../../template/build.ps1 -Engine v8"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"framework/**/*",
|
|
35
|
+
"!framework/**/bin/**",
|
|
36
|
+
"!framework/**/obj/**",
|
|
37
|
+
"README.md"
|
|
38
|
+
],
|
|
39
|
+
"nativescript": {
|
|
40
|
+
"runtime": "windows",
|
|
41
|
+
"engine": "v8"
|
|
42
|
+
}
|
|
43
|
+
}
|