Socket
Socket
Sign inDemoInstall

@react-native-community/cli-platform-apple

Package Overview
Dependencies
Maintainers
34
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-community/cli-platform-apple - npm Package Compare versions

Comparing version 14.0.1 to 14.1.0

2

build/commands/buildCommand/buildOptions.d.ts

@@ -14,3 +14,3 @@ import { BuilderCommand } from '../../types';

};
export declare const getBuildOptions: ({ platformName }: BuilderCommand) => ({
export declare const getBuildOptions: ({ platformName }: BuilderCommand) => (false | {
name: string;

@@ -17,0 +17,0 @@ description: string;

@@ -14,2 +14,3 @@ "use strict";

} = (0, _getPlatformInfo.getPlatformInfo)(platformName);
const isMac = platformName === 'macos';
return [{

@@ -46,2 +47,6 @@ name: '--mode <string>',

description: 'Force CocoaPods installation'
}, !isMac && {
name: '--device [string]',
// here we're intentionally using [] over <> to make passed value optional to allow users to run only on physical devices
description: 'Explicitly set the device to use by name or by unique device identifier . If the value is not provided,' + 'the app will run on the first available physical device.'
}];

@@ -48,0 +53,0 @@ };

@@ -46,6 +46,2 @@ "use strict";

description: `Explicitly set the simulator to use. Optionally set the ${readableName} version ` + 'between parentheses at the end to match an exact version: ' + '"iPhone 15 (17.0)"'
}, !isMac && {
name: '--device [string]',
// here we're intentionally using [] over <> to make passed value optional to allow users to run only on physical devices
description: 'Explicitly set the device to use by name or by unique device identifier . If the value is not provided,' + 'the app will run on the first available physical device.'
}, ...(0, _buildOptions.getBuildOptions)({

@@ -52,0 +48,0 @@ platformName

@@ -35,3 +35,7 @@ "use strict";

cwd: (0, _cliTools().unixifyPaths)(cwd),
ignore: GLOB_EXCLUDE_PATTERN
ignore: GLOB_EXCLUDE_PATTERN,
// Stop unbounded globbing and infinite loops for projects
// with deeply nested subdirectories. The most likely result
// is `ios/Podfile`, so this depth should be plenty:
deep: 10
});

@@ -38,0 +42,0 @@ }

{
"name": "@react-native-community/cli-platform-apple",
"version": "14.0.1",
"version": "14.1.0",
"license": "MIT",

@@ -10,11 +10,11 @@ "main": "build/index.js",

"dependencies": {
"@react-native-community/cli-tools": "14.0.1",
"@react-native-community/cli-tools": "14.1.0",
"chalk": "^4.1.2",
"execa": "^5.0.0",
"fast-glob": "^3.3.2",
"fast-xml-parser": "^4.2.4",
"fast-xml-parser": "^4.4.1",
"ora": "^5.4.1"
},
"devDependencies": {
"@react-native-community/cli-types": "14.0.1",
"@react-native-community/cli-types": "14.1.0",
"@types/lodash": "^4.14.149",

@@ -34,3 +34,3 @@ "hasbin": "^1.2.3"

},
"gitHead": "18e8dbaba3ede0db9fe3290dab8678ce79072f2b"
"gitHead": "9eb448fe7286bdf5f12a820c75be4ef0cf5eef67"
}
# @react-native-community/cli-platform-apple
This package is part of the [React Native CLI](../../README.md). It contains utilities for building reusable commands targetting Apple platforms.
This package is part of the [React Native CLI](../../README.md). It contains utilities for building reusable commands targeting Apple platforms.

@@ -47,3 +47,3 @@ ## Installation

- `getProjectConfig()` - creates project config for given platform
- `getDependencyConfg()` - creates dependency config for given platform
- `getDependencyConfig()` - creates dependency config for given platform

@@ -57,3 +57,3 @@ Example (`<oot-platform>/packages/react-native/react-native.config.js`):

projectConfig: getProjectConfig({platformName: 'visionos'}),
dependencyConfig: getDependencyConfg({platformName: 'visionos'}),
dependencyConfig: getDependencyConfig({platformName: 'visionos'}),
},

@@ -60,0 +60,0 @@ ..

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc