Home
last modified time | relevance | path

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

/expo/tools/src/versioning/ios/transforms/
H A DvendoredModulesTransforms.ts32 replaceWith: `${prefix}$1`,
51 replaceWith: `${prefix}$1`,
76 replaceWith: `${prefix}$1`,
93 replaceWith: '$1[@"$2"];',
98 replaceWith: `${prefix}$1`,
103 replaceWith: `${prefix}$1`,
108 replaceWith: `static $1`,
237 replaceWith: '$1$2',
245 replaceWith: '$1$2',
253 replaceWith: `$1+$2`,
[all …]
H A DexpoModulesTransforms.ts20 replaceWith: `${prefix}$1$2$3`,
25 replaceWith: `${prefix}$1$2+$3$4`,
36 replaceWith: `${prefix}React`,
41 replaceWith: `${prefix}$1`,
54 replaceWith: `@objc(${prefix}$1`,
65 replaceWith: `"${prefix}$1"`,
108 replaceWith: `${prefix}$1::`,
130 replaceWith: `$1${prefix}$3`,
135 replaceWith: '',
143 replaceWith: `${prefix}$1`,
[all …]
/expo/tools/src/versioning/android/transforms/
H A DvendoredModulesTransforms.ts16 replaceWith: 'sourceBuild = false',
31 replaceWith: (_, p1, p2, p3) =>
41 replaceWith:
50 replaceWith: `$1${prefix}.$3`,
73 replaceWith:
91 replaceWith:
97 replaceWith: `$1_${prefix}`,
102 replaceWith: `${prefix}.$1`,
107 replaceWith: `${prefix}.$1`,
115 replaceWith: `$1${prefix}.$3`,
[all …]
H A DexpoviewTransforms.ts13 replaceWith: `src/main/java/${abiVersion}`,
17 replaceWith: `src/main/java/${abiVersion}/com`,
38 replaceWith: '',
48 replaceWith: `${abiVersion}.host.exp.expoview`,
53 replaceWith: `${abiVersion}.host.exp.exponent`,
58 replaceWith: `$1temporarydonotversion.${pkg}`,
63 replaceWith: `import $1${abiVersion}.expo.`,
73 replaceWith: `$1${abiVersion}.${pkg}`,
78 replaceWith: '',
83 replaceWith: `${abiVersion}.$1`,
[all …]
/expo/tools/src/versioning/android/
H A DreactNativeTransforms.ts31 replaceWith: '// $1',
36 replaceWith: '/* $1 */',
41 replaceWith: '// $1',
46 replaceWith: '"../codegen/jni/"',
51 replaceWith: (_, p1, p2, p3) =>
67 replaceWith: (_, p1, p2, p3) =>
97 replaceWith: `$1_${abiVersion}`,
118 replaceWith: '// $1',
123 replaceWith: '$1',
131 replaceWith: 'if(true)$1',
[all …]
H A DexpoModulesTransforms.ts13 replaceWith: `src/main/java/${abiVersion}`,
17 replaceWith: `src/main/java/${abiVersion}`,
21 replaceWith: 'src/main/TemporaryExpoModuleAndroidManifest.xml',
30 replaceWith: `$1 package="${pkg.androidPackageNamespace}"$2`,
35 replaceWith: `$1temporarydonotversion.${pkg}`,
40 replaceWith: `$1${abiVersion}.${pkg}`,
45 replaceWith: '',
50 replaceWith: `import ${abiVersion}.host.exp.expoview.R;`,
55 replaceWith: `import ${abiVersion}.host.exp.expoview.R`,
72 replaceWith: 'import host.exp.expoview.BuildConfig',
[all …]
H A DcmakeTransforms.ts18 replaceWith: `$1${lib}_${abiVersion}$2`,
26 replaceWith: `$1${lib}_${abiVersion}$2`,
32 replaceWith: (_, p1, p2, p3) => [p1, renameLibs(p2), p3].join(''),
36 replaceWith: (_, p1, p2, p3) => [p1, renameFirstArg(p2), p3].join(''),
40 replaceWith: (_, p1, p2, p3) => [p1, renameFirstArg(p2), p3].join(''),
44 replaceWith: (_, p1, p2, p3) => [p1, renameFirstArg(p2), p3].join(''),
48 replaceWith: (_, p1, p2, p3) => [p1, renameFirstArg(p2), p3].join(''),
H A DversionVendoredModules.ts170 replaceWith: `/$1/${prefix}/`,
177 replaceWith: `$1${prefix}.$2`,
185 replaceWith: `${prefix}.$1`,
190 replaceWith: `import $1${prefix}.$2`,
195 replaceWith: `$1_${prefix}$3`,
200 replaceWith: `$1${prefix}/$2`,
205 replaceWith:
227 replaceWith: `$1$2_${prefix}$3`,
232 replaceWith: `$1_${prefix}`,
237 replaceWith: `$1${prefix}.$2$3`,
[all …]
/expo/tools/src/versioning/ios/
H A DversionVendoredModules.ts93 replaceWith: `${prefix}$1`,
97 replaceWith: `${prefix}$1$2$3`,
109 replaceWith: `$1${prefix}$2`,
113 replaceWith: `${prefix}$1$2`,
117 replaceWith: (_, p1) => {
123 replaceWith: (_, p1) => {
137 replaceWith: `${prefix}R$1`,
159 replaceWith: `${prefix}$1.h`,
181 replaceWith: `@objc(${prefix}$1)`,
191 replaceWith: `${prefix}$1`,
[all …]
H A DversionHermes.ts41 replaceWith: `${versionName}$1::`,
45 replaceWith: `namespace ${versionName}$1`,
49 replaceWith: `#include <${versionName}jsi/${versionName}$1.h>`,
53 replaceWith: `${versionName}$1`,
60 replaceWith: `$1${versionName}$3`,
67 replaceWith: `$1${versionName}$2`,
72 replaceWith: `${versionName}$1`,
82 replaceWith: `cmake -S . -B build_host_hermesc -DJSI_DIR=${versionedJsiDir}`,
88 replaceWith: 'JSI_PATH="${JSI_PATH:-$REACT_NATIVE_PATH/ReactCommon/jsi}"',
94 replaceWith: `OUTPUT_NAME ${versionName}hermes`,
[all …]
H A DversionExpoModulesProvider.ts41 replaceWith: `import ${prefix}$1`,
45 replaceWith: `@objc(${prefix}$1$2)`,
H A Dindex.ts360 replaceWith: `$1_${versionName}!`, constant
364 replaceWith: '# $1', constant
368 replaceWith: `pod '${versionName}$1'`, constant
378 replaceWith: '',
382 replaceWith: '',
395 replaceWith: `$${versionName}$1`, constant
401 replaceWith: '', constant
405 replaceWith: '', constant
420 replaceWith: `
452 replaceWith: `"${versionName}$1":$2`,
[all …]
/expo/tools/src/commands/
H A DSetupReactNativeNightly.ts113 replaceWith: `$1${versions[0]},`,
117 replaceWith: `$1${versions[1]},`,
121 replaceWith: `$1${versions[2]},`,
130 replaceWith: '"React/Cxx*/*.h"',
142 replaceWith:
174 replaceWith: 'androidx.appcompat.$1',
192 replaceWith: 'android.$1',
209 replaceWith: 'decorateRuntime(jsContext!!.get())',
230 replaceWith: "$1'13.4'",
244 replaceWith: 'FLIPPER_VERSION=0.201.0',
[all …]
H A DGenerateSDKDocs.ts84 replaceWith: `$1sdk-${sdk.substring(0, 2)}$3`,
/expo/tools/src/vendoring/config/
H A DexpoGoConfig.ts116 replaceWith: '#import <React/RCT$1.h>',
121 replaceWith: '#import <React/RCT$1.h>',
127 replaceWith: '',
186 replaceWith: `$1\n return`,
192 replaceWith: ':packages:react-native:$1',
198 replaceWith:
205 replaceWith: 'public $1',
265 replaceWith:
301 replaceWith: '$1ForScopeKey:self.scopeKey]',
311 replaceWith:
[all …]
/expo/tools/src/versioning/android/versionCxx/
H A Dindex.ts97 replaceWith: `$1_${abiName}$2`,
102 replaceWith: `$1_${abiName}`,
107 replaceWith: `$1${abiName}/$2`,
112 replaceWith: `$1${abiName}/$2`,
117 replaceWith: `compileOnly 'host.exp:reactandroid-${abiName}:1.0.0'`,
201 replaceWith: (s: string, g1, _, g3) =>
225 replaceWith: abiName,
229 replaceWith: escapeJniSymbol(abiName),
/expo/packages/expo-router/
H A Dbabel.js153 parent.replaceWith(t.stringLiteral(projectRoot));
164 parent.replaceWith(t.stringLiteral(process.env.EXPO_PUBLIC_USE_STATIC));
174 parent.replaceWith(t.stringLiteral(manifest));
182 parent.replaceWith(t.stringLiteral(getExpoRouterAbsoluteAppRoot(projectRoot)));
192 parent.replaceWith(
204 parent.replaceWith(t.stringLiteral(getExpoRouterImportMode(projectRoot, platform)));
/expo/docs/common/
H A Dutilities.ts37 export const replaceVersionInUrl = (url: string, replaceWith: string) => {
39 urlArr[2] = replaceWith;
/expo/tools/src/
H A DTransforms.ts24 return transform.find !== undefined && transform.replaceWith !== undefined;
105 const { find, replaceWith } = transform; constant
107 return input.replace(find, replaceWith);
H A DTransforms.types.ts13 replaceWith: string | ((substring: string, ...args: any[]) => string);
/expo/packages/html-elements/
H A Dbabel.js81 openingElementName.replaceWith(t.jsxIdentifier(prefixedComponent));
84 closingElementName.replaceWith(t.jsxIdentifier(prefixedComponent));
/expo/tools/src/publish-packages/tasks/
H A DupdateAndroidProjects.ts47 replaceWith: `$1$2${state.releaseVersion}$2`,
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/modules/
H A DModule.kt28 …@Deprecated(message = "Use a scope from the AppContext", replaceWith = ReplaceWith("appContext.mod…
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/modules/
H A DModule.kt28 …@Deprecated(message = "Use a scope from the AppContext", replaceWith = ReplaceWith("appContext.mod…
/expo/tools/src/vendoring/
H A Dlegacy.ts449 replaceWith: `import host.exp.expoview.R\n\n`,
453 replaceWith: `import host.exp.expoview.BuildConfig\nimport host.exp.expoview.R\n\n`,
457 replaceWith: `import host.exp.expoview.BuildConfig\n\n`,
461 replaceWith: `import host.exp.expoview.BuildConfig\n\n`,
473 fileConfig.replaceWith