History log of /expo/tools/src/Transforms.ts (Results 1 – 9 of 9)
Revision Date Author Comments
# 1a8a11e6 07-Jul-2023 aleqsio <[email protected]>

[expo-tools] Check for unused transforms for vendored code. (#22938)


# f194c863 27-Sep-2022 Tomasz Sapeta <[email protected]>

[tools] Fix transforming binary files (#19251)


# 37accfce 15-Sep-2022 Kudo Chien <[email protected]>

[tools] Fix copyFileWithTransformsAsync regression (#19107)

# Why

`copyFileWithTransformsAsync` has a regression issue from https://github.com/expo/expo/pull/19078/commits/21bc6d175837af8eaf3fdf3

[tools] Fix copyFileWithTransformsAsync regression (#19107)

# Why

`copyFileWithTransformsAsync` has a regression issue from https://github.com/expo/expo/pull/19078/commits/21bc6d175837af8eaf3fdf301cf8840011ef1d60. this breaks android versioning.

# How

for `copyFileWithTransformsAsync`, it uses the relative `sourceFile` to match the `transform.paths`. my previous change passes `sourcePath`. this pr adds an optional `options.transformMatchPath` to specify the path to do pattern matching.

show more ...


# 9eae8a6a 14-Sep-2022 Kudo Chien <[email protected]>

[ios][tools] Add Hermes support for Expo Go (#19078)

# Why

close ENG-6189

# How

- [tools] add *versionHermes.ts* to create a versioned hermes.xcframework. this script will be invoked in add

[ios][tools] Add Hermes support for Expo Go (#19078)

# Why

close ENG-6189

# How

- [tools] add *versionHermes.ts* to create a versioned hermes.xcframework. this script will be invoked in adding new sdk. it will also show a prompt to upload the artifact.
for ci testing, the hermes podspec also supports xcframework from local file system:

```
if File.exists?(File.join(__dir__, "destroot"))
source[:path] = '.'
else
source[:http] = 'https://github.com/expo/react-native/releases/download/sdk-47.0.0/ABI47_0_0hermes.tar.gz'
end,
```

- [tools] versioning hermes related code in react-native
- [manifest] add `jsEngine` method to read the jsEngine or ios.jsEngine value from manifest
- ~[reanimated] introduce `useHermes` runtime option to create specific js runtime~ Update: always use hermes to simplify the versioning script.
- [reanimated] backport sdk45, sdk46 code to disable hermes

# Test Plan

- `et add-sdk -p ios -s 47.0.0` + versioned expo go
- unversioned expo go + NCL
- unversioned expo go + NCL with `"jsEngine": "hermes"`
- versioning ci job passed: https://github.com/expo/expo/actions/runs/3049529467/jobs/4915687276

Co-authored-by: Tomasz Sapeta <[email protected]>

show more ...


# 4ab6f4c5 23-Aug-2022 Kudo Chien <[email protected]>

[ios][tools] Fix unversioned codegen scripts not updated (#18344)

# Why

some react-native codegen scripts in script_phases.rb are not versioned, e.g. [`get_script_phases_no_codegen_discovery`](ht

[ios][tools] Fix unversioned codegen scripts not updated (#18344)

# Why

some react-native codegen scripts in script_phases.rb are not versioned, e.g. [`get_script_phases_no_codegen_discovery`](https://github.com/expo/expo/blob/85a1f11cbcd6fbac54984d3396655fd4edcd46d7/ios/versioned-react-native/ABI46_0_0/ReactNative/scripts/react_native_pods_utils/script_phases.rb#L22). this will overwrite the unversioned codegen scripts, so [the latest change for with-environment.sh execution](https://github.com/expo/react-native/blob/e25372b2f95a580f61479fa6376a8f75b5460e99/scripts/react_native_pods_utils/script_phases.rb#L48-L49) will not be applied.

# How

- [ios] versioning methods in `script_phases.rb` in sdk 45/46 code.
- [tools] refactor `generateReactNativePodScriptAsync` to use `copyFileWithTransformsAsync`
- [tools] versioning methods in `script_phases.rb`

# Test Plan

- `et remove-sdk -p ios -s 46.0.0` + `et add-sdk -p ios -s 46.0.0` and make sure no changes in scripts/ folder
- `et pods -f` and check `ios/Pods/Local Podspecs/FBReactNativeSpec.podspec.json` has `with-environment.sh`

show more ...


# f194f574 05-Jul-2022 Wojciech Kozyra <[email protected]>

[versioning][android] Support react-native 69 (#18032)

* [skip ci] suppoort rn69

* version expo-modules-core

* review feedback + small cleanup


# 23e91912 22-Jun-2022 Wojciech Kozyra <[email protected]>

[versioning][android] rewrite expoview versioning to ts (#17931)

* [versioning][android] rewrite expoview versioning

* review feedback + move stuff around


# c6ade495 16-Jan-2021 Tomasz Sapeta <[email protected]>

[tools] Cleanup transformFileAsync


# 9657025f 09-Jan-2021 Tomasz Sapeta <[email protected]>

[tools] New config-based vendoring that supports Swift (#11488)