Home
last modified time | relevance | path

Searched refs:platforms (Results 1 – 25 of 625) sorted by relevance

12345678910>>...25

/expo/packages/@expo/cli/src/prebuild/
H A DprebuildAsync.ts24 platforms: ModPlatform[];
46 platforms: ModPlatform[];
72 await clearNativeFolder(projectRoot, options.platforms);
75 await promptToClearMalformedNativeProjectsAsync(projectRoot, options.platforms);
79 options.platforms = ensureValidPlatforms(options.platforms);
81 assertPlatforms(options.platforms);
84 const { exp, pkg } = await ensureConfigAsync(projectRoot, { platforms: options.platforms });
93 platforms: options.platforms,
117 platforms: options.platforms,
128 if (options.platforms.includes('ios') && options.install && needsPodInstall) {
[all …]
H A DconfigureProjectAsync.ts16 platforms,
18 platforms: ModPlatform[];
22 if (platforms.includes('ios')) {
27 if (platforms.includes('android')) {
33 platforms,
41 platforms,
H A DupdateFromTemplate.ts26 platforms,
38 platforms: ModPlatform[];
60 platforms,
90 platforms: unknownPlatforms,
96 platforms: ModPlatform[];
111 const platforms = await validateTemplatePlatforms({ constant
113 platforms: unknownPlatforms,
118 platforms,
121 ora.succeed(createCopyFilesSuccessMessage(platforms, results));
H A DcopyTemplateFiles.ts27 function hasAllPlatformSpecificGitIgnores(projectRoot: string, platforms: ModPlatform[]): boolean {
28 return platforms.reduce<boolean>(
36 platforms: ModPlatform[],
39 let message = `Created native project${platforms.length > 1 ? 's' : ''}`;
61 platforms,
66 platforms: ModPlatform[];
71 copyFilePaths: platforms,
76 platforms
H A DclearNativeFolder.ts77 platforms: ArbitraryPlatform[]
80 platforms.map(async (platform) => {
93 platforms: ArbitraryPlatform[]
100 const checkablePlatforms = platforms.filter((platform) => platform in VERIFIERS);
121 const platforms = await getMalformedNativeProjectsAsync(projectRoot, checkPlatforms); constant
123 if (!platforms.length) {
127 const displayPlatforms = platforms.map((platform) => chalk.cyan(platform));
130 platforms.length > 1
147 await clearNativeFolder(projectRoot, platforms);
H A DresolveOptions.ts74 export function ensureValidPlatforms(platforms: ModPlatform[]): ModPlatform[] {
76 if (process.platform === 'win32' && platforms.includes('ios')) {
80 return platforms.filter((platform) => platform !== 'ios');
82 return platforms;
86 export function assertPlatforms(platforms: ModPlatform[]) {
87 if (!platforms?.length) {
H A DensureConfigAsync.ts44 platforms,
46 platforms: ModPlatform[];
53 if (platforms.includes('android')) {
57 if (platforms.includes('ios')) {
H A DvalidateTemplatePlatforms.ts10 platforms,
13 platforms: ModPlatform[];
17 for (const platform of platforms) {
/expo/tools/src/utils/
H A DaskForPlatformAsync.ts6 platforms: Platform[] = ['ios', 'android']
9 throw new Error(`Run with \`--platform <${platforms.join(' | ')}>\`.`);
12 if (platforms.length === 1) {
13 return platforms[0];
21 default: platforms[0],
22 choices: platforms,
/expo/packages/@expo/config/src/paths/
H A Dextensions.ts10 platforms: string[],
15 assert(Array.isArray(platforms), 'Expected: `platforms: string[]`');
23 for (const platform of [...platforms, '']) {
55 platforms: string[],
59 platforms,
64 _addMiscellaneousExtensions(platforms, fileExtensions);
68 function _addMiscellaneousExtensions(platforms: string[], fileExtensions: string[]): string[] {
73 if (platforms.includes('web')) {
/expo/packages/@expo/config/build/paths/
H A Dextensions.js17 function getExtensions(platforms, extensions, workflows) { argument
19 (0, _assert().default)(Array.isArray(platforms), 'Expected: `platforms: string[]`');
26 for (const platform of [...platforms, '']) {
53 function getBareExtensions(platforms, languageOptions = { argument
58 …const fileExtensions = getExtensions(platforms, getLanguageExtensionsInOrder(languageOptions), []);
60 _addMiscellaneousExtensions(platforms, fileExtensions);
63 function _addMiscellaneousExtensions(platforms, fileExtensions) { argument
68 if (platforms.includes('web')) {
H A Dextensions.d.ts6 export declare function getExtensions(platforms: string[], extensions: string[], workflows: string[…
8 export declare function getBareExtensions(platforms: string[], languageOptions?: LanguageOptions): …
/expo/docs/components/plugins/
H A DAPIBox.tsx14 platforms?: PlatformName[];
18 export const APIBox = ({ header, platforms, children, className }: APIBoxProps) => {
21 {platforms && <PlatformTags prefix="Only for:" platforms={platforms} />}
23 <H3Code tags={platforms}>
/expo/packages/@expo/cli/src/export/__tests__/
H A DresolveOptions-test.ts34 platforms: ['android', 'ios'],
42 platforms: ['android', 'ios'],
50 platforms: ['android', 'ios'],
73 platforms: ['android'],
86 platforms: ['ios', 'android'],
96 platforms: ['ios', 'android', 'web'],
H A DexportApp-test.ts9 async (projectRoot, options, { platforms }: { platforms: string[] }) =>
10 platforms.reduce(
58 platforms: ['ios'],
H A DgetPublicExpoManifest-test.ts23 platforms: [],
39 platforms: [],
59 platforms: [],
/expo/packages/@expo/prebuild-config/src/
H A DgetPrebuildConfig.ts17 platforms: ModPlatform[];
20 const autolinkedModules = await getAutolinkedPackagesAsync(projectRoot, props.platforms);
31 platforms,
38 platforms: ModPlatform[];
60 if (platforms.includes('ios')) {
71 if (platforms.includes('android')) {
/expo/docs/ui/components/Tag/
H A DPlatformTags.tsx8 platforms?: PlatformName[];
11 export const PlatformTags = ({ prefix, platforms }: PlatformTagsProps) => {
12 return platforms?.length ? (
15 {platforms.map(platform => {
/expo/docs/components/plugins/api/
H A DAPISectionPlatformTags.tsx10 platforms?: CommentTagData[];
13 export const APISectionPlatformTags = ({ comment, prefix, platforms }: Props) => {
14 const platformsData = platforms || getAllTagData('platform', comment);
17 return <PlatformTags prefix={prefix} platforms={platformNames} />;
/expo/packages/@expo/cli/src/export/
H A DcreateBundles.ts17 bundleOptions: { platforms: Platform[]; dev?: boolean; minify?: boolean }
19 if (!bundleOptions.platforms.length) {
34 bundleOptions.platforms.map((platform: Platform) => ({
43 return bundleOptions.platforms.reduce<Partial<Record<Platform, BundleOutput>>>(
/expo/packages/@expo/config-plugins/build/plugins/
H A Dmod-compiler.d.ts17 platforms?: ModPlatform[];
27 export declare function evalModsAsync(config: ExportedConfig, { projectRoot, introspect, platforms,…
30 platforms?: ModPlatform[];
/expo/apps/native-component-list/src/components/FunctionDemo/
H A DConfiguratorChoice.tsx21 platforms?: Platform[];
34 platforms = [],
36 const isPlatformSupported = isCurrentPlatformSupported(platforms);
45 <Platforms platforms={platforms} />
/expo/packages/@expo/prebuild-config/build/
H A DgetPrebuildConfig.js29 …les = await (0, _getAutolinkedPackages().getAutolinkedPackagesAsync)(projectRoot, props.platforms);
36 platforms, field
60 if (platforms.includes('ios')) {
70 if (platforms.includes('android')) {
/expo/packages/@expo/cli/src/start/interface/
H A DstartInterface.ts105 const { platforms = ['ios', 'android', 'web'] } = options; constant
120 if (server.isTargetingNative() && !platforms.includes(settings.key)) {
150 if (!platforms.includes('web')) {
151 platforms.push('web');
152 options.platforms?.push('web');
159 const isDisabled = !platforms.includes('web');
H A DcommandsTable.ts16 platforms?: ExpoConfig['platforms'];
38 const { platforms = ['ios', 'android', 'web'] } = options; constant
40 const isAndroidDisabled = !platforms.includes('android');
41 const isIosDisabled = !platforms.includes('ios');
42 const isWebDisable = !platforms.includes('web');

12345678910>>...25