@react-native-windows/cli
Advanced tools
Comparing version 0.0.0-canary.23 to 0.0.0-canary.24
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Sat, 17 Oct 2020 05:05:54 GMT", | ||
"date": "Thu, 29 Oct 2020 05:04:53 GMT", | ||
"tag": "@react-native-windows/cli_v0.0.0-canary.24", | ||
"version": "0.0.0-canary.24", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Allow Hermes to be used in C++ projects without modifying source code", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "7e9d80e59fd0b8ca7549eda1a7d5cefc32d6cfbe", | ||
"package": "@react-native-windows/cli" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Sat, 17 Oct 2020 05:06:20 GMT", | ||
"tag": "@react-native-windows/cli_v0.0.0-canary.23", | ||
@@ -8,0 +23,0 @@ "version": "0.0.0-canary.23", |
# Change Log - @react-native-windows/cli | ||
This log was last generated on Sat, 17 Oct 2020 05:05:54 GMT and should not be manually modified. | ||
This log was last generated on Thu, 29 Oct 2020 05:04:53 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 0.0.0-canary.24 | ||
Thu, 29 Oct 2020 05:04:53 GMT | ||
### Changes | ||
- Allow Hermes to be used in C++ projects without modifying source code (ngerlem@microsoft.com) | ||
## 0.0.0-canary.23 | ||
Sat, 17 Oct 2020 05:05:54 GMT | ||
Sat, 17 Oct 2020 05:06:20 GMT | ||
@@ -11,0 +19,0 @@ ### Changes |
@@ -93,3 +93,2 @@ "use strict"; | ||
console.log('Using experimental WinUI3 dependency.'); | ||
fs.writeFileSync(path.join(destPath, windowsDir, 'UseWinUI3'), ''); | ||
} | ||
@@ -156,2 +155,13 @@ const projDir = 'proj'; | ||
} | ||
if (options.useHermes) { | ||
cppNugetPackages.push({ | ||
id: 'ReactNative.Hermes.Windows', | ||
version: '0.6.3', | ||
hasProps: false, | ||
// This does have build targets, but they're included automatically by | ||
// Microsoft.ReactNative and don't need to be imported in the user | ||
// project | ||
hasTargets: false, | ||
}); | ||
} | ||
const templateVars = { | ||
@@ -177,2 +187,3 @@ useMustache: true, | ||
useWinUI3: options.useWinUI3, | ||
useHermes: options.useHermes, | ||
xamlNamespace: xamlNamespace, | ||
@@ -213,2 +224,6 @@ xamlNamespaceCpp: xamlNamespaceCpp, | ||
}, | ||
{ | ||
from: path.join(sharedPath, projDir, 'BuildFlags.props'), | ||
to: path.join(windowsDir, 'BuildFlags.props'), | ||
}, | ||
] | ||
@@ -215,0 +230,0 @@ : [ |
@@ -33,2 +33,3 @@ /** | ||
useWinUI3: boolean; | ||
useHermes: boolean; | ||
verbose: boolean; | ||
@@ -35,0 +36,0 @@ } |
{ | ||
"name": "@react-native-windows/cli", | ||
"version": "0.0.0-canary.23", | ||
"version": "0.0.0-canary.24", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js", |
Sorry, the diff of this file is not supported yet
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
281045
3825
22