@react-native-windows/cli 0.0.0-canary.19 → 0.0.0-canary.191

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.
Files changed (138) hide show
  1. package/README.md +47 -0
  2. package/lib-commonjs/commands/autolinkWindows/autolinkWindows.d.ts +87 -0
  3. package/lib-commonjs/commands/autolinkWindows/autolinkWindows.js +661 -0
  4. package/lib-commonjs/commands/autolinkWindows/autolinkWindows.js.map +1 -0
  5. package/lib-commonjs/commands/autolinkWindows/autolinkWindowsOptions.d.ts +14 -0
  6. package/lib-commonjs/commands/autolinkWindows/autolinkWindowsOptions.js +33 -0
  7. package/lib-commonjs/commands/autolinkWindows/autolinkWindowsOptions.js.map +1 -0
  8. package/lib-commonjs/commands/codegenWindows/codegenWindows.d.ts +27 -0
  9. package/lib-commonjs/commands/codegenWindows/codegenWindows.js +206 -0
  10. package/lib-commonjs/commands/codegenWindows/codegenWindows.js.map +1 -0
  11. package/lib-commonjs/commands/codegenWindows/codegenWindowsOptions.d.ts +12 -0
  12. package/lib-commonjs/commands/codegenWindows/codegenWindowsOptions.js +23 -0
  13. package/lib-commonjs/commands/codegenWindows/codegenWindowsOptions.js.map +1 -0
  14. package/lib-commonjs/{config → commands/config}/configUtils.d.ts +25 -2
  15. package/lib-commonjs/{config → commands/config}/configUtils.js +142 -32
  16. package/lib-commonjs/commands/config/configUtils.js.map +1 -0
  17. package/lib-commonjs/commands/config/dependencyConfig.js +228 -0
  18. package/lib-commonjs/commands/config/dependencyConfig.js.map +1 -0
  19. package/lib-commonjs/{config → commands/config}/projectConfig.d.ts +4 -1
  20. package/lib-commonjs/{config → commands/config}/projectConfig.js +72 -12
  21. package/lib-commonjs/commands/config/projectConfig.js.map +1 -0
  22. package/lib-commonjs/commands/healthCheck/healthCheckList.d.ts +6 -0
  23. package/lib-commonjs/commands/healthCheck/healthCheckList.js +21 -0
  24. package/lib-commonjs/commands/healthCheck/healthCheckList.js.map +1 -0
  25. package/lib-commonjs/commands/healthCheck/healthChecks.d.ts +7 -0
  26. package/lib-commonjs/commands/healthCheck/healthChecks.js +124 -0
  27. package/lib-commonjs/commands/healthCheck/healthChecks.js.map +1 -0
  28. package/lib-commonjs/commands/initWindows/initWindows.d.ts +46 -0
  29. package/lib-commonjs/commands/initWindows/initWindows.js +244 -0
  30. package/lib-commonjs/commands/initWindows/initWindows.js.map +1 -0
  31. package/lib-commonjs/commands/initWindows/initWindowsOptions.d.ts +15 -0
  32. package/lib-commonjs/commands/initWindows/initWindowsOptions.js +38 -0
  33. package/lib-commonjs/commands/initWindows/initWindowsOptions.js.map +1 -0
  34. package/lib-commonjs/commands/runWindows/runWindows.js +322 -0
  35. package/lib-commonjs/commands/runWindows/runWindows.js.map +1 -0
  36. package/lib-commonjs/{runWindows → commands/runWindows}/runWindowsOptions.d.ts +15 -11
  37. package/lib-commonjs/{runWindows → commands/runWindows}/runWindowsOptions.js +12 -11
  38. package/lib-commonjs/commands/runWindows/runWindowsOptions.js.map +1 -0
  39. package/lib-commonjs/e2etest/autolink.test.d.ts +6 -0
  40. package/lib-commonjs/e2etest/autolink.test.js +367 -0
  41. package/lib-commonjs/e2etest/autolink.test.js.map +1 -0
  42. package/lib-commonjs/e2etest/dependencyConfig.test.d.ts +6 -0
  43. package/lib-commonjs/e2etest/dependencyConfig.test.js +130 -0
  44. package/lib-commonjs/e2etest/dependencyConfig.test.js.map +1 -0
  45. package/lib-commonjs/e2etest/healthChecks.test.d.ts +6 -0
  46. package/lib-commonjs/e2etest/healthChecks.test.js +31 -0
  47. package/lib-commonjs/e2etest/healthChecks.test.js.map +1 -0
  48. package/lib-commonjs/e2etest/initWindows.test.d.ts +6 -0
  49. package/lib-commonjs/e2etest/initWindows.test.js +43 -0
  50. package/lib-commonjs/e2etest/initWindows.test.js.map +1 -0
  51. package/lib-commonjs/e2etest/projectConfig.test.d.ts +6 -0
  52. package/lib-commonjs/e2etest/projectConfig.test.js +111 -0
  53. package/lib-commonjs/e2etest/projectConfig.test.js.map +1 -0
  54. package/lib-commonjs/e2etest/projectConfig.utils.d.ts +8 -0
  55. package/lib-commonjs/e2etest/projectConfig.utils.js +77 -0
  56. package/lib-commonjs/e2etest/projectConfig.utils.js.map +1 -0
  57. package/lib-commonjs/e2etest/runWindows.test.d.ts +6 -0
  58. package/lib-commonjs/e2etest/runWindows.test.js +61 -0
  59. package/lib-commonjs/e2etest/runWindows.test.js.map +1 -0
  60. package/lib-commonjs/generator-common/index.d.ts +17 -1
  61. package/lib-commonjs/generator-common/index.js +61 -40
  62. package/lib-commonjs/generator-common/index.js.map +1 -1
  63. package/lib-commonjs/generator-windows/index.d.ts +2 -2
  64. package/lib-commonjs/generator-windows/index.js +159 -204
  65. package/lib-commonjs/generator-windows/index.js.map +1 -1
  66. package/lib-commonjs/index.d.ts +6 -2
  67. package/lib-commonjs/index.js +51 -13
  68. package/lib-commonjs/index.js.map +1 -1
  69. package/lib-commonjs/{runWindows/utils → utils}/build.d.ts +2 -3
  70. package/lib-commonjs/{runWindows/utils → utils}/build.js +24 -31
  71. package/lib-commonjs/utils/build.js.map +1 -0
  72. package/lib-commonjs/{runWindows/utils → utils}/checkRequirements.js +11 -7
  73. package/lib-commonjs/utils/checkRequirements.js.map +1 -0
  74. package/lib-commonjs/{runWindows/utils → utils}/commandWithProgress.d.ts +11 -3
  75. package/lib-commonjs/utils/commandWithProgress.js +150 -0
  76. package/lib-commonjs/utils/commandWithProgress.js.map +1 -0
  77. package/lib-commonjs/{runWindows/utils → utils}/deploy.d.ts +2 -2
  78. package/lib-commonjs/utils/deploy.js +354 -0
  79. package/lib-commonjs/utils/deploy.js.map +1 -0
  80. package/lib-commonjs/{runWindows/utils → utils}/info.js +5 -2
  81. package/lib-commonjs/utils/info.js.map +1 -0
  82. package/lib-commonjs/utils/msbuildtools.d.ts +28 -0
  83. package/lib-commonjs/utils/msbuildtools.js +274 -0
  84. package/lib-commonjs/utils/msbuildtools.js.map +1 -0
  85. package/lib-commonjs/utils/pathHelpers.d.ts +9 -0
  86. package/lib-commonjs/utils/pathHelpers.js +37 -0
  87. package/lib-commonjs/utils/pathHelpers.js.map +1 -0
  88. package/lib-commonjs/utils/telemetryHelpers.d.ts +29 -0
  89. package/lib-commonjs/utils/telemetryHelpers.js +121 -0
  90. package/lib-commonjs/utils/telemetryHelpers.js.map +1 -0
  91. package/lib-commonjs/{runWindows/utils → utils}/version.d.ts +4 -4
  92. package/lib-commonjs/utils/version.js.map +1 -0
  93. package/lib-commonjs/{runWindows/utils → utils}/vsInstalls.d.ts +2 -2
  94. package/lib-commonjs/utils/vsInstalls.js +100 -0
  95. package/lib-commonjs/utils/vsInstalls.js.map +1 -0
  96. package/lib-commonjs/{runWindows/utils → utils}/vstools.d.ts +2 -1
  97. package/lib-commonjs/utils/vstools.js +190 -0
  98. package/lib-commonjs/utils/vstools.js.map +1 -0
  99. package/lib-commonjs/{runWindows/utils → utils}/winappdeploytool.d.ts +3 -3
  100. package/lib-commonjs/{runWindows/utils → utils}/winappdeploytool.js +17 -14
  101. package/lib-commonjs/utils/winappdeploytool.js.map +1 -0
  102. package/package.json +47 -29
  103. package/{powershell → src/powershell}/Add-AppDevPackage.ps1 +2 -2
  104. package/src/powershell/Eval-MsBuildProperties.ps1 +156 -0
  105. package/{powershell → src/powershell}/WindowsStoreAppUtils.ps1 +10 -0
  106. package/CHANGELOG.json +0 -287
  107. package/CHANGELOG.md +0 -143
  108. package/lib-commonjs/config/configUtils.js.map +0 -1
  109. package/lib-commonjs/config/dependencyConfig.js +0 -167
  110. package/lib-commonjs/config/dependencyConfig.js.map +0 -1
  111. package/lib-commonjs/config/projectConfig.js.map +0 -1
  112. package/lib-commonjs/runWindows/runWindows.js +0 -159
  113. package/lib-commonjs/runWindows/runWindows.js.map +0 -1
  114. package/lib-commonjs/runWindows/runWindowsOptions.js.map +0 -1
  115. package/lib-commonjs/runWindows/utils/autolink.d.ts +0 -7
  116. package/lib-commonjs/runWindows/utils/autolink.js +0 -353
  117. package/lib-commonjs/runWindows/utils/autolink.js.map +0 -1
  118. package/lib-commonjs/runWindows/utils/build.js.map +0 -1
  119. package/lib-commonjs/runWindows/utils/checkRequirements.js.map +0 -1
  120. package/lib-commonjs/runWindows/utils/commandWithProgress.js +0 -114
  121. package/lib-commonjs/runWindows/utils/commandWithProgress.js.map +0 -1
  122. package/lib-commonjs/runWindows/utils/deploy.js +0 -247
  123. package/lib-commonjs/runWindows/utils/deploy.js.map +0 -1
  124. package/lib-commonjs/runWindows/utils/info.js.map +0 -1
  125. package/lib-commonjs/runWindows/utils/msbuildtools.d.ts +0 -22
  126. package/lib-commonjs/runWindows/utils/msbuildtools.js +0 -195
  127. package/lib-commonjs/runWindows/utils/msbuildtools.js.map +0 -1
  128. package/lib-commonjs/runWindows/utils/version.js.map +0 -1
  129. package/lib-commonjs/runWindows/utils/vsInstalls.js +0 -70
  130. package/lib-commonjs/runWindows/utils/vsInstalls.js.map +0 -1
  131. package/lib-commonjs/runWindows/utils/vstools.js +0 -150
  132. package/lib-commonjs/runWindows/utils/vstools.js.map +0 -1
  133. package/lib-commonjs/runWindows/utils/winappdeploytool.js.map +0 -1
  134. /package/lib-commonjs/{config → commands/config}/dependencyConfig.d.ts +0 -0
  135. /package/lib-commonjs/{runWindows → commands/runWindows}/runWindows.d.ts +0 -0
  136. /package/lib-commonjs/{runWindows/utils → utils}/checkRequirements.d.ts +0 -0
  137. /package/lib-commonjs/{runWindows/utils → utils}/info.d.ts +0 -0
  138. /package/lib-commonjs/{runWindows/utils → utils}/version.js +0 -0
@@ -0,0 +1,156 @@
1
+ # Copyright (c) Microsoft Corporation.
2
+ # Licensed under the MIT License.
3
+ #
4
+ # Eval-MsBuildProperties.ps1
5
+ #
6
+ # This script lets you determine the final values of MSBUILD properties for a
7
+ # given solution and project file. Simply pass in a comma delimited list of
8
+ # property names and you'll get a JSON blob of evaluated values.
9
+ #
10
+ # For example, from the root of the repo:
11
+ #
12
+ # .\packages\@react-native-windows\cli\powershell\Eval-MsBuildProperties.ps1 -SolutionFile 'vnext\Microsoft.ReactNative.sln' -ProjectFile 'vnext\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj' -PropertyNames 'ProjectGUID,ProjectName'
13
+ #
14
+ # will output:
15
+ #
16
+ # {
17
+ # "ProjectGuid": "{f7d32bd0-2749-483e-9a0d-1635ef7e3136}",
18
+ # "ProjectName": "Microsoft.ReactNative"
19
+ # }
20
+ #
21
+
22
+ param(
23
+ [Parameter(Mandatory = $true)]
24
+ [String]$SolutionFile,
25
+ [Parameter(Mandatory = $true)]
26
+ [String]$ProjectFile,
27
+ [Parameter()]
28
+ [String]$PropertyNames = "",
29
+ [Parameter()]
30
+ [String]$MSBuildPath,
31
+ [Parameter()]
32
+ [String]$ExtraMSBuildProps
33
+ )
34
+
35
+ function Get-MSBuildPath {
36
+ $vsWhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
37
+ if (!(Test-Path $vsWhere)) {
38
+ throw "Unable to find vswhere.exe."
39
+ }
40
+ $vsPath = & $vsWhere -version 16.5 -property installationPath;
41
+ return "$vsPath\MSBuild\Current\Bin";
42
+ }
43
+
44
+ function Get-MSBuildProperties {
45
+ param (
46
+ [Parameter(Mandatory = $true)]
47
+ [String]$MSBuildPath,
48
+ [Parameter(Mandatory = $true)]
49
+ [String]$SolutionPath,
50
+ [Parameter(Mandatory = $true)]
51
+ [String]$ProjectPath,
52
+ [Parameter()]
53
+ [String[]]$PropertyNames = @(),
54
+ [Parameter()]
55
+ [String]$ExtraMSBuildProps
56
+ )
57
+
58
+ if (!(Test-Path (Join-Path $MSBuildPath "MSBuild.exe"))) {
59
+ throw "Unable to find MSBuild.exe in $MSBuildPath"
60
+ }
61
+
62
+ if (!(Test-Path (Join-Path $MSBuildPath "MSBuild.exe"))) {
63
+ throw "Unable to find Microsoft.Build.dll in $MSBuildPath"
64
+ }
65
+
66
+ # Method to intercept resolution of assemblies to add MSBuild's path
67
+ $onAssemblyResolveEventHandler = [System.ResolveEventHandler] {
68
+ param($s, $e)
69
+
70
+ # Figure out which assembly to look for
71
+ $assemblyName = $e.Name.Substring(0, $e.Name.IndexOf(", "));
72
+ $assemblyPath = "$MSBuildPath\$assemblyName.dll"
73
+
74
+ # Search for the assembly in the MSBuild directory
75
+ if (Test-Path $assemblyPath) {
76
+ # Found the assembly!
77
+ return [System.Reflection.Assembly]::LoadFrom("$MSBuildPath\$assemblyName.dll");
78
+ }
79
+
80
+ # Unable to find the assembly
81
+ return $null
82
+ }
83
+
84
+ # Wire-up assembly resolution event handler
85
+ [System.AppDomain]::CurrentDomain.add_AssemblyResolve($onAssemblyResolveEventHandler)
86
+
87
+ # Load Microsoft.Build.dll into script
88
+ Add-Type -Path "$MSBuildPath\Microsoft.Build.dll" | Out-Null
89
+
90
+ # Build a local project collection
91
+ $projectCollection = [Microsoft.Build.Evaluation.ProjectCollection]::new()
92
+
93
+ try {
94
+ # Build a temporary "metaproj" of the solution file so it can be processed
95
+ ${env:MSBUILDEMITSOLUTION} = 1
96
+ & $MSBuildPath\MSBuild.exe $SolutionPath | Out-Null
97
+
98
+ # Process solution
99
+ $solution = [Microsoft.Build.Evaluation.Project]::new("$SolutionPath.metaproj", $null, "Current", $projectCollection)
100
+ }
101
+ finally {
102
+ # Clean up "metaproj" files
103
+ ${env:MSBUILDEMITSOLUTION} = 0
104
+ Remove-Item -Path @("$SolutionPath.metaproj", "$SolutionPath.metaproj.tmp") | Out-Null
105
+ Get-ChildItem * -Include *.metaproj -Recurse | Remove-Item | Out-Null
106
+ }
107
+
108
+ # Evaluate all of the Solution* properties and save into a collection
109
+ $globalProps = New-Object 'System.Collections.Generic.Dictionary[String,String]'
110
+ $solution.Properties | ForEach-Object -Process {
111
+ if ($_.Name.StartsWith("Solution")) {
112
+ $globalProps.Add($_.Name, $_.EvaluatedValue)
113
+ }
114
+ }
115
+
116
+ # Evaluate all extra build props and save into the collection
117
+ $extraPropsTable = ConvertFrom-StringData -StringData $ExtraMSBuildProps.Replace(',', "`n")
118
+ $extraPropsTable.Keys | ForEach-Object -Process {
119
+ $globalProps[$_] = $extraPropsTable[$_]
120
+ }
121
+
122
+ # Process the project file (with the Solution* properties we calculated before)
123
+ $project = [Microsoft.Build.Evaluation.Project]::new("$ProjectPath", $globalProps, "Current", $projectCollection)
124
+
125
+ # Create object to hold evaluated property key value pairs
126
+ $evaluatedProps = @{}
127
+
128
+ # Look for the specified PropertyNames and evaluate them
129
+ $project.Properties | ForEach-Object -Process {
130
+ if (($PropertyNames.Length -eq 0) -or ($PropertyNames -contains $_.Name)) {
131
+ $evaluatedProps[$_.Name] = $_.EvaluatedValue;
132
+ }
133
+ }
134
+
135
+ # Output as JSON
136
+ Write-Output (ConvertTo-Json $evaluatedProps)
137
+ }
138
+
139
+ # Main
140
+
141
+ if ($MSBuildPath -and (Test-Path $MSBuildPath)) {
142
+ if (Test-Path $MSBuildPath -PathType Leaf) {
143
+ # It's a file (probably msbuild.exe), just get the folder path
144
+ $MSBuildPath = [System.IO.Path]::GetDirectoryName($MSBuildPath)
145
+ }
146
+ }
147
+ else {
148
+ # Use simple fallback logic in this script to find MSBuild path
149
+ $MSBuildPath = Get-MSBuildPath
150
+ }
151
+
152
+ # Get the full absolute paths to the solution and projects
153
+ $SolutionPath = Convert-Path $SolutionFile
154
+ $ProjectPath = Convert-Path $ProjectFile
155
+
156
+ Get-MSBuildProperties -MSBuildPath $MSBuildPath -SolutionPath $SolutionPath -ProjectPath $ProjectPath -PropertyNames $PropertyNames.Split(',', [System.StringSplitOptions]::RemoveEmptyEntries) -ExtraMSBuildProps $ExtraMSBuildProps
@@ -143,7 +143,17 @@ function CheckIfNeedInstallCertificate
143
143
  )
144
144
 
145
145
  $PackagePath = Get-ChildItem (Join-Path $ScriptDir "*.appx") | Where-Object { $_.Mode -NotMatch "d" }
146
+ if ($PackagePath -eq $null)
147
+ {
148
+ $PackagePath = Get-ChildItem (Join-Path $ScriptDir "*.msix") | Where-Object { $_.Mode -NotMatch "d" }
149
+ }
150
+
146
151
  $BundlePath = Get-ChildItem (Join-Path $ScriptDir "*.appxbundle") | Where-Object { $_.Mode -NotMatch "d" }
152
+ if ($BundlePath -eq $null)
153
+ {
154
+ $BundlePath = Get-ChildItem (Join-Path $ScriptDir "*.msixbundle") | Where-Object { $_.Mode -NotMatch "d" }
155
+ }
156
+
147
157
  # There must be exactly 1 package/bundle
148
158
  if (($PackagePath.Count + $BundlePath.Count) -lt 1)
149
159
  {
package/CHANGELOG.json DELETED
@@ -1,287 +0,0 @@
1
- {
2
- "name": "@react-native-windows/cli",
3
- "entries": [
4
- {
5
- "date": "Fri, 25 Sep 2020 05:05:03 GMT",
6
- "tag": "@react-native-windows/cli_v0.0.0-canary.19",
7
- "version": "0.0.0-canary.19",
8
- "comments": {
9
- "prerelease": [
10
- {
11
- "comment": "Fix casing rules for new projects names for `react-native-windows-init`",
12
- "author": "jthysell@microsoft.com",
13
- "commit": "9bc6c559fc350480d6d014644c3fbf4882d5a39a",
14
- "package": "@react-native-windows/cli"
15
- },
16
- {
17
- "comment": "Add -NoProfile to powershell invocations to ensure deterministic script execution where user profiles do not have the ability to break or change the build outputs",
18
- "author": "dannyvv@microsoft.com",
19
- "commit": "34204f8e56810882b1f66fa247f075499a76022d",
20
- "package": "@react-native-windows/cli"
21
- }
22
- ]
23
- }
24
- },
25
- {
26
- "date": "Thu, 24 Sep 2020 05:06:21 GMT",
27
- "tag": "@react-native-windows/cli_v0.0.0-canary.18",
28
- "version": "0.0.0-canary.18",
29
- "comments": {
30
- "prerelease": [
31
- {
32
- "comment": "Zero-Config Tests for CLI, react-native-windows-init, react-native-windows-codegen",
33
- "author": "ngerlem@microsoft.com",
34
- "commit": "5a96480f422aa7c731d7febb900a3962e1265c08",
35
- "package": "@react-native-windows/cli"
36
- }
37
- ]
38
- }
39
- },
40
- {
41
- "date": "Mon, 21 Sep 2020 05:06:22 GMT",
42
- "tag": "@react-native-windows/cli_v0.0.0-canary.17",
43
- "version": "0.0.0-canary.17",
44
- "comments": {
45
- "prerelease": [
46
- {
47
- "comment": "Fixup eslint config",
48
- "author": "ngerlem@microsoft.com",
49
- "commit": "2df3273449486de9e663e26f708fd9bb2cd37c91",
50
- "package": "@react-native-windows/cli"
51
- }
52
- ]
53
- }
54
- },
55
- {
56
- "date": "Sat, 19 Sep 2020 05:05:08 GMT",
57
- "tag": "@react-native-windows/cli_v0.0.0-canary.16",
58
- "version": "0.0.0-canary.16",
59
- "comments": {
60
- "prerelease": [
61
- {
62
- "comment": "Adding new native module template support to react-native-windows-init",
63
- "author": "jthysell@microsoft.com",
64
- "commit": "c7a42af99fb614652d446ebaee12ea689ade4458",
65
- "package": "@react-native-windows/cli"
66
- }
67
- ]
68
- }
69
- },
70
- {
71
- "date": "Wed, 16 Sep 2020 05:05:28 GMT",
72
- "tag": "@react-native-windows/cli_v0.0.0-canary.15",
73
- "version": "0.0.0-canary.15",
74
- "comments": {
75
- "prerelease": [
76
- {
77
- "comment": "Enable trying Previews of VS as a fallback",
78
- "author": "asklar@winse.microsoft.com",
79
- "commit": "c30f54a8ba3a605910b43613825b386b62b1675d",
80
- "package": "@react-native-windows/cli"
81
- },
82
- {
83
- "comment": "Yarn on Windows breaks apps that read from the environment variables",
84
- "author": "asklar@winse.microsoft.com",
85
- "commit": "2018f3132087b1f76c48474c8df0b4e7f3b62501",
86
- "package": "@react-native-windows/cli"
87
- }
88
- ]
89
- }
90
- },
91
- {
92
- "date": "Tue, 15 Sep 2020 05:05:15 GMT",
93
- "tag": "@react-native-windows/cli_v0.0.0-canary.14",
94
- "version": "0.0.0-canary.14",
95
- "comments": {
96
- "prerelease": [
97
- {
98
- "comment": "fix ts warning",
99
- "author": "asklar@microsoft.com",
100
- "commit": "61a641820532b42034f2ad4a670bdc43b817adac",
101
- "package": "@react-native-windows/cli"
102
- }
103
- ]
104
- }
105
- },
106
- {
107
- "date": "Mon, 14 Sep 2020 22:03:37 GMT",
108
- "tag": "@react-native-windows/cli_v0.0.0-canary.13",
109
- "version": "0.0.0-canary.13",
110
- "comments": {
111
- "prerelease": [
112
- {
113
- "comment": "Reconcile package versions",
114
- "author": "ngerlem@microsoft.com",
115
- "commit": "8adedcfb2ce6492a4a7ede59e0f9188dc205d659",
116
- "package": "@react-native-windows/cli"
117
- }
118
- ]
119
- }
120
- },
121
- {
122
- "date": "Wed, 09 Sep 2020 05:06:35 GMT",
123
- "tag": "@react-native-windows/cli_v0.0.0-canary.11",
124
- "version": "0.0.0-canary.11",
125
- "comments": {
126
- "prerelease": [
127
- {
128
- "comment": "Enable @typescript-eslint/no-floating-promises",
129
- "author": "ngerlem@microsoft.com",
130
- "commit": "62f3bb771a129f9cb81bd826827bf4001821a684",
131
- "package": "@react-native-windows/cli"
132
- }
133
- ]
134
- }
135
- },
136
- {
137
- "date": "Wed, 02 Sep 2020 05:05:16 GMT",
138
- "tag": "@react-native-windows/cli_v0.0.0-canary.10",
139
- "version": "0.0.0-canary.10",
140
- "comments": {
141
- "prerelease": [
142
- {
143
- "comment": "Keep Templates in react-native-windows Package",
144
- "author": "ngerlem@microsoft.com",
145
- "commit": "aad763dd75ffe79e21495a87efbf0e2e583d66eb",
146
- "package": "@react-native-windows/cli"
147
- }
148
- ]
149
- }
150
- },
151
- {
152
- "date": "Fri, 28 Aug 2020 05:06:54 GMT",
153
- "tag": "@react-native-windows/cli_v0.0.0-canary.9",
154
- "version": "0.0.0-canary.9",
155
- "comments": {
156
- "prerelease": [
157
- {
158
- "comment": "Fixed templates so C++ apps can consume C# native modules",
159
- "author": "jthysell@microsoft.com",
160
- "commit": "db6213f3b9ec6553068e54809c72fceeeb7f0731",
161
- "package": "@react-native-windows/cli"
162
- }
163
- ]
164
- }
165
- },
166
- {
167
- "date": "Wed, 26 Aug 2020 05:07:06 GMT",
168
- "tag": "@react-native-windows/cli_v0.0.0-canary.8",
169
- "version": "0.0.0-canary.8",
170
- "comments": {
171
- "prerelease": [
172
- {
173
- "comment": "Fix deploy bug where a framework package is installed for one arch but not the one that we are building for",
174
- "author": "asklar@winse.microsoft.com",
175
- "commit": "3d857e5dfc8b6191793e8c9cf7d8044fa18d8d9f",
176
- "package": "@react-native-windows/cli"
177
- }
178
- ]
179
- }
180
- },
181
- {
182
- "date": "Tue, 25 Aug 2020 05:05:08 GMT",
183
- "tag": "@react-native-windows/cli_v0.0.0-canary.7",
184
- "version": "0.0.0-canary.7",
185
- "comments": {
186
- "prerelease": [
187
- {
188
- "comment": "Default run-windows to disabling parallel MSBuild When Machine Has < 16GB of Memory",
189
- "author": "ngerlem@microsoft.com",
190
- "commit": "c144d4a27abcdc6f7402578be8b7ad7f39310dff",
191
- "package": "@react-native-windows/cli"
192
- }
193
- ]
194
- }
195
- },
196
- {
197
- "date": "Fri, 21 Aug 2020 05:04:58 GMT",
198
- "tag": "@react-native-windows/cli_v0.0.0-canary.5",
199
- "version": "0.0.0-canary.5",
200
- "comments": {
201
- "none": [
202
- {
203
- "comment": "Upgrade to eslint 6.8.0",
204
- "author": "ngerlem@microsoft.com",
205
- "commit": "68f7ba47793f4f1638be59ee9cb8ba68a70ae0cb",
206
- "package": "@react-native-windows/cli"
207
- }
208
- ]
209
- }
210
- },
211
- {
212
- "date": "Thu, 20 Aug 2020 05:05:23 GMT",
213
- "tag": "@react-native-windows/cli_v0.0.0-canary.5",
214
- "version": "0.0.0-canary.5",
215
- "comments": {
216
- "prerelease": [
217
- {
218
- "comment": "Add --singleproc to run-windows",
219
- "author": "asklar@microsoft.com",
220
- "commit": "82bf0682e141a3cf8c53db9bc69edc44411d00a7",
221
- "package": "@react-native-windows/cli"
222
- }
223
- ]
224
- }
225
- },
226
- {
227
- "date": "Wed, 19 Aug 2020 05:04:41 GMT",
228
- "tag": "@react-native-windows/cli_v0.0.0-canary.4",
229
- "version": "0.0.0-canary.4",
230
- "comments": {
231
- "prerelease": [
232
- {
233
- "comment": "Fixing config and autolinking",
234
- "author": "jthysell@microsoft.com",
235
- "commit": "286f393305bb13cf5982545d4e6b7de68e9a35c9",
236
- "package": "@react-native-windows/cli"
237
- }
238
- ]
239
- }
240
- },
241
- {
242
- "date": "Fri, 14 Aug 2020 05:05:34 GMT",
243
- "tag": "@react-native-windows/cli_v0.0.0-canary.3",
244
- "version": "0.0.0-canary.3",
245
- "comments": {
246
- "prerelease": [
247
- {
248
- "comment": "Disable autolinking check in msbuild when using `react-native run-windows`",
249
- "author": "jthysell@microsoft.com",
250
- "commit": "917b8585d4d8ac94140ad2dff538de6c5b1bddc8",
251
- "package": "@react-native-windows/cli"
252
- }
253
- ]
254
- }
255
- },
256
- {
257
- "date": "Tue, 11 Aug 2020 07:36:05 GMT",
258
- "tag": "@react-native-windows/cli_v0.0.0-canary.2",
259
- "version": "0.0.0-canary.2",
260
- "comments": {
261
- "prerelease": [
262
- {
263
- "comment": "Make C# CodeGen the default",
264
- "author": "dannyvv@microsoft.com",
265
- "commit": "7a65915e82d6bc6884e267a8c96d0fa7fadb0e9e",
266
- "package": "@react-native-windows/cli"
267
- }
268
- ]
269
- }
270
- },
271
- {
272
- "date": "Tue, 28 Jul 2020 05:06:13 GMT",
273
- "tag": "@react-native-windows/cli_v0.0.0-canary.1",
274
- "version": "0.0.0-canary.1",
275
- "comments": {
276
- "prerelease": [
277
- {
278
- "comment": "Separate local-cli into its own package",
279
- "author": "ngerlem@microsoft.com",
280
- "commit": "fbb4352a015533ebaa77a8d3ea497850a0f67c3f",
281
- "package": "@react-native-windows/cli"
282
- }
283
- ]
284
- }
285
- }
286
- ]
287
- }
package/CHANGELOG.md DELETED
@@ -1,143 +0,0 @@
1
- # Change Log - @react-native-windows/cli
2
-
3
- This log was last generated on Fri, 25 Sep 2020 05:05:03 GMT and should not be manually modified.
4
-
5
- <!-- Start content -->
6
-
7
- ## 0.0.0-canary.19
8
-
9
- Fri, 25 Sep 2020 05:05:03 GMT
10
-
11
- ### Changes
12
-
13
- - Fix casing rules for new projects names for `react-native-windows-init` (jthysell@microsoft.com)
14
- - Add -NoProfile to powershell invocations to ensure deterministic script execution where user profiles do not have the ability to break or change the build outputs (dannyvv@microsoft.com)
15
-
16
- ## 0.0.0-canary.18
17
-
18
- Thu, 24 Sep 2020 05:06:21 GMT
19
-
20
- ### Changes
21
-
22
- - Zero-Config Tests for CLI, react-native-windows-init, react-native-windows-codegen (ngerlem@microsoft.com)
23
-
24
- ## 0.0.0-canary.17
25
-
26
- Mon, 21 Sep 2020 05:06:22 GMT
27
-
28
- ### Changes
29
-
30
- - Fixup eslint config (ngerlem@microsoft.com)
31
-
32
- ## 0.0.0-canary.16
33
-
34
- Sat, 19 Sep 2020 05:05:08 GMT
35
-
36
- ### Changes
37
-
38
- - Adding new native module template support to react-native-windows-init (jthysell@microsoft.com)
39
-
40
- ## 0.0.0-canary.15
41
-
42
- Wed, 16 Sep 2020 05:05:28 GMT
43
-
44
- ### Changes
45
-
46
- - Enable trying Previews of VS as a fallback (asklar@winse.microsoft.com)
47
- - Yarn on Windows breaks apps that read from the environment variables (asklar@winse.microsoft.com)
48
-
49
- ## 0.0.0-canary.14
50
-
51
- Tue, 15 Sep 2020 05:05:15 GMT
52
-
53
- ### Changes
54
-
55
- - fix ts warning (asklar@microsoft.com)
56
-
57
- ## 0.0.0-canary.13
58
-
59
- Mon, 14 Sep 2020 22:03:37 GMT
60
-
61
- ### Changes
62
-
63
- - Reconcile package versions (ngerlem@microsoft.com)
64
-
65
- ## 0.0.0-canary.11
66
-
67
- Wed, 09 Sep 2020 05:06:35 GMT
68
-
69
- ### Changes
70
-
71
- - Enable @typescript-eslint/no-floating-promises (ngerlem@microsoft.com)
72
-
73
- ## 0.0.0-canary.10
74
-
75
- Wed, 02 Sep 2020 05:05:16 GMT
76
-
77
- ### Changes
78
-
79
- - Keep Templates in react-native-windows Package (ngerlem@microsoft.com)
80
-
81
- ## 0.0.0-canary.9
82
-
83
- Fri, 28 Aug 2020 05:06:54 GMT
84
-
85
- ### Changes
86
-
87
- - Fixed templates so C++ apps can consume C# native modules (jthysell@microsoft.com)
88
-
89
- ## 0.0.0-canary.8
90
-
91
- Wed, 26 Aug 2020 05:07:06 GMT
92
-
93
- ### Changes
94
-
95
- - Fix deploy bug where a framework package is installed for one arch but not the one that we are building for (asklar@winse.microsoft.com)
96
-
97
- ## 0.0.0-canary.7
98
-
99
- Tue, 25 Aug 2020 05:05:08 GMT
100
-
101
- ### Changes
102
-
103
- - Default run-windows to disabling parallel MSBuild When Machine Has < 16GB of Memory (ngerlem@microsoft.com)
104
-
105
- ## 0.0.0-canary.5
106
-
107
- Thu, 20 Aug 2020 05:05:23 GMT
108
-
109
- ### Changes
110
-
111
- - Add --singleproc to run-windows (asklar@microsoft.com)
112
-
113
- ## 0.0.0-canary.4
114
-
115
- Wed, 19 Aug 2020 05:04:41 GMT
116
-
117
- ### Changes
118
-
119
- - Fixing config and autolinking (jthysell@microsoft.com)
120
-
121
- ## 0.0.0-canary.3
122
-
123
- Fri, 14 Aug 2020 05:05:34 GMT
124
-
125
- ### Changes
126
-
127
- - Disable autolinking check in msbuild when using `react-native run-windows` (jthysell@microsoft.com)
128
-
129
- ## 0.0.0-canary.2
130
-
131
- Tue, 11 Aug 2020 07:36:05 GMT
132
-
133
- ### Changes
134
-
135
- - Make C# CodeGen the default (dannyvv@microsoft.com)
136
-
137
- ## 0.0.0-canary.1
138
-
139
- Tue, 28 Jul 2020 05:06:13 GMT
140
-
141
- ### Changes
142
-
143
- - Separate local-cli into its own package (ngerlem@microsoft.com)
@@ -1 +0,0 @@
1
- {"version":3,"file":"configUtils.js","sourceRoot":"","sources":["../../src/config/configUtils.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yBAAyB;AACzB,6BAA6B;AAC7B,6BAA6B;AAE7B,mCAAiC;AACjC,+BAA+B;AAE/B,MAAM,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC;IACxC,OAAO,EAAE,qDAAqD;CAC/D,CAAC,CAAC;AAEH;;;;;GAKG;AACH,SAAgB,SAAS,CAAC,MAAc,EAAE,eAAuB;IAC/D,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAA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