feat: add macos back to Example app (#2119)

PR restoring macos CI job and restoring usage of UIGraphicsBeginImageContextWithOptions on macos since there is no implementation for UIGraphicsImageRendererFormat there yet.
This commit is contained in:
Wojciech Lewicki
2023-08-24 12:07:27 +02:00
committed by GitHub
parent fb28d7809c
commit 7e514d7232
25 changed files with 3467 additions and 32 deletions

View File

@@ -18,7 +18,11 @@ const rnwPath = fs.realpathSync(
path.resolve(require.resolve('react-native-windows/package.json'), '..'),
);
const modules = [...Object.keys(pack.peerDependencies), 'react-native-windows'];
const modules = [
...Object.keys(pack.peerDependencies),
'react-native-windows',
'react-native-macos',
];
const config = {
projectRoot: __dirname,
@@ -36,6 +40,7 @@ const config = {
new RegExp(
`${path.join(__dirname, 'windows').replace(/[/\\]+/g, '/')}.*`,
),
new RegExp(`${path.join(__dirname, 'macos').replace(/[/\\]+/g, '/')}.*`),
// This prevents "react-native run-windows" from hitting: EBUSY: resource busy or locked, open msbuild.ProjectImports.zip or other files produced by msbuild
new RegExp(`${rnwPath}/build/.*`),
new RegExp(`${rnwPath}/target/.*`),