@react-native-windows/cli
Advanced tools
Comparing version 0.64.0-preview.8 to 0.64.0-preview.9
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Mon, 22 Feb 2021 15:06:50 GMT", | ||
"date": "Wed, 10 Mar 2021 21:22:31 GMT", | ||
"tag": "@react-native-windows/cli_v0.64.0-preview.9", | ||
"version": "0.64.0-preview.9", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "[0.64] Fix autolinking for solutions that have 'Any CPU' projects", | ||
"author": "asklar@microsoft.com", | ||
"commit": "2f63c22253cd073bc475a82e5d5e2f3210c19f74", | ||
"package": "@react-native-windows/cli" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Mon, 22 Feb 2021 15:07:37 GMT", | ||
"tag": "@react-native-windows/cli_v0.64.0-preview.8", | ||
@@ -8,0 +23,0 @@ "version": "0.64.0-preview.8", |
# Change Log - @react-native-windows/cli | ||
This log was last generated on Mon, 22 Feb 2021 15:06:50 GMT and should not be manually modified. | ||
This log was last generated on Wed, 10 Mar 2021 21:22:31 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 0.64.0-preview.9 | ||
Wed, 10 Mar 2021 21:22:31 GMT | ||
### Changes | ||
- [0.64] Fix autolinking for solutions that have 'Any CPU' projects (asklar@microsoft.com) | ||
## 0.64.0-preview.8 | ||
Mon, 22 Feb 2021 15:06:50 GMT | ||
Mon, 22 Feb 2021 15:07:37 GMT | ||
@@ -11,0 +19,0 @@ ### Changes |
@@ -112,11 +112,13 @@ "use strict"; | ||
// Check for the project configuration platforms | ||
const slnConfigs = getBlockContentsFromLines(slnLines, '\tGlobalSection(SolutionConfigurationPlatforms) = preSolution', '\tEndGlobalSection', false).map(line => line.match(/\s+([\w|]+)\s=/)[1]); | ||
const slnConfigs = getBlockContentsFromLines(slnLines, '\tGlobalSection(SolutionConfigurationPlatforms) = preSolution', '\tEndGlobalSection', false).map(line => line.match(/\s+([\w\s|]+)\s=/)[1]); | ||
const projectConfigLines = []; | ||
slnConfigs.forEach(slnConfig => { | ||
projectConfigLines.push(`\t\t${projectGuid}.${slnConfig}.ActiveCfg = ${project.projectLang === 'cpp' | ||
? slnConfig.replace('x86', 'Win32') | ||
: slnConfig}`); | ||
projectConfigLines.push(`\t\t${projectGuid}.${slnConfig}.Build.0 = ${project.projectLang === 'cpp' | ||
? slnConfig.replace('x86', 'Win32') | ||
: slnConfig}`); | ||
if (!slnConfig.endsWith('|Any CPU')) { | ||
projectConfigLines.push(`\t\t${projectGuid}.${slnConfig}.ActiveCfg = ${project.projectLang === 'cpp' | ||
? slnConfig.replace('x86', 'Win32') | ||
: slnConfig}`); | ||
projectConfigLines.push(`\t\t${projectGuid}.${slnConfig}.Build.0 = ${project.projectLang === 'cpp' | ||
? slnConfig.replace('x86', 'Win32') | ||
: slnConfig}`); | ||
} | ||
}); | ||
@@ -123,0 +125,0 @@ const projectConfigStartIndex = slnLines.indexOf('\tGlobalSection(ProjectConfigurationPlatforms) = postSolution'); |
{ | ||
"name": "@react-native-windows/cli", | ||
"version": "0.64.0-preview.8", | ||
"version": "0.64.0-preview.9", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
339403
4701