5110 Commits
Author SHA1 Message Date
Douglas Lowder 329097f54e Publish
- @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
@expo/[email protected] @expo/[email protected]
2022-06-02 12:35:45 -07:00
Douglas Lowder b375992f14 testing 2022-06-02 12:34:29 -07:00
Brent Vatne 9c3aa881a5 Update CHANGELOG 2022-06-01 14:22:27 -07:00
Brent Vatne 9f3d6a454b Publish
- @expo/[email protected]
 - [email protected]
 - [email protected]
2022-06-01 14:22:22 -07:00
Brent Vatne 99fcdc9251 [xdl] Add logging of manifest requests for debugging purposes 2022-06-01 14:18:05 -07:00
kgc00 bbb467361d feat(create-expo-app): adds analytics (#4393)
* [create-expo-app] adds analytics

- adds analytics methods such as identify, track, and flush
- adds paths and sessionStorage from eas-cli for reading and writing
  device + user-id to ~/.expo/state.json
- adds analytics event tracking to create expo app
- add tests for above
2022-05-31 14:13:40 -07:00
kgc00 4e5855f050 [ci/cd] Add node 16 testing and drop node 12 (#4399) 2022-05-30 13:01:42 -05:00
Evan Bacon 6644deae2d [prebuild config] add dynamic splash screen mod (#4388)
* Expose splash screen XML

* Allow running multiple times

* Update withIosSplashScreenStoryboardImage-test.ts

* Update withIosSplashScreenStoryboard.ts

* Update withDefaultPlugins-test.ts.snap
2022-05-28 00:21:19 -05:00
Brent Vatne 3c2f7f5dce Update CHANGELOG and commit schema cache 2022-05-26 16:44:56 -07:00
Brent Vatne 8d506077ee Publish
- @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
2022-05-26 16:44:50 -07:00
Brent Vatne da818d03e7 Bump expo-modules-autolinking version 2022-05-26 16:38:06 -07:00
Brent Vatneandevanbacon 5641e0d5b8 [doctor] Add version validation for expo-modules-autolinking, @expo/config-plugins, @expo/config (#4392)
Co-authored-by: evanbacon <[email protected]>
2022-05-26 16:12:51 -07:00
Kudo Chien b089151c8e [dev-server] Fix js inspector broken from websocket address transform (#4394) 2022-05-26 14:15:24 -07:00
Kim Brandwijk a5f6b56955 [expo-cli] use npm pack instead of fetch for template download (#4223) 2022-05-25 00:33:06 +02:00
Evan Bacon 0b537aa3bc Update export-test.ts.snap (#4390) 2022-05-23 12:14:58 -05:00
Brent Vatne b496933c00 Update CHANGELOG 2022-05-18 19:40:11 -07:00
Brent Vatne 866daede80 Publish
- [email protected]
- @expo/[email protected]
2022-05-18 19:34:55 -07:00
Brent Vatne 69a41a5e23 Fix version of xdl in dev-tools 2022-05-18 19:31:03 -07:00
Brent Vatne 302b8376cb Publish
- [email protected]
- @expo/[email protected]
- [email protected]
2022-05-18 19:27:45 -07:00
Kudo Chien 0a553713be [dev-server] add sdk 45 support for the sanity check of hermes bundler (#4382)
# Why

fix https://github.com/expo/expo-cli/issues/4283#issuecomment-1128530470 where `expo publish` on ios sdk 45 with hermes is broken because i changed template from react-native 0.68 upgrade. 

# How

- add `/^\s*:hermes_enabled\s*=>\s*flags\[:hermes_enabled\]\s*\|\|\s*podfile_properties\['expo.jsEngine'\]\s*==\s*'hermes',?/m` regular express for sdk 45 support.

# Test Plan

```
 PASS   @expo/dev-server  src/__tests__/HermesBundler-test.ts
  maybeThrowFromInconsistentEngineAsync - ios
    ✓ should resolve from default sdk 45 template
    ✓ should resolve from default sdk 44 template
```

there's too many duplicated code for mock setup. i refactored them to a `addMockedFiles()`.
2022-05-19 09:32:40 +08:00
Evan Bacon 55bd16c823 [config plugins] allow overwriting Info.plist values (#4383)
* Allow overwriting Info.plist values

* Create ios-plugins-test.ts

* modRawConfig

* Update Version.ts

* added deep clone to raw config
2022-05-18 17:02:40 -05:00
Evan Bacon 20f71f7d6f Rewrite android icon config plugin (#4368)
* Rewrite android icon config plugin

* Update withAndroidIcons.ts

* updated icons

* Update withAndroidIcons.ts

* Update withAndroidIcons-test.ts
2022-05-16 17:39:49 -05:00
Brent Vatne ca8ac94827 Update CHANGELOG and commit schema cache 2022-05-13 14:57:51 -07:00
Brent Vatne dce0e2d23f Publish
- @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
@expo/[email protected] @expo/[email protected] @expo/[email protected] @expo/[email protected] @expo/[email protected] @expo/[email protected] @expo/[email protected] @expo/[email protected] @expo/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
2022-05-13 14:44:51 -07:00
evanbacon a50e56b955 Publish [email protected] 2022-05-13 13:37:06 -05:00
Evan Bacon 330910b4cc feat(create-expo-app): fail on invalid template before prompting for the app name (#4372)
* feat(create-expo-app): fail on invalid template before prompting for an app name

* Update Update.ts

* Added improved help prompt
2022-05-13 11:53:12 -05:00
evanbacon 217b9e547f Publish [email protected] 2022-05-12 16:58:31 -05:00
Brent Vatne 4644dcf3fd Revert "[expo-cli] warn for outdated @expo/config-plugins in deps' deps (#4343)"
This reverts commit 55cd5062aa.
2022-05-12 14:22:29 -07:00
Kim Brandwijk 55cd5062aa [expo-cli] warn for outdated @expo/config-plugins in deps' deps (#4343) 2022-05-12 13:38:32 -07:00
Wojciech Kozyra 8e2973525a [package-manager] Prefer yarn over npm if both lockfiles exists (#4369) 2022-05-12 14:47:27 -05:00
Evan Bacon 6fc3ba8e3b feat(prebuild-config): update manifest roundIcon property (#4370) 2022-05-12 14:27:21 -05:00
Evan Bacon 2f32aef339 feat(create-expo-app): add support for the --template arg from expo init (#4367)
* Add support for the `--template` arg from `expo init`

* Allow local file paths

* Update Template.ts
2022-05-12 13:51:25 -05:00
Dominik Sokal 3a263e8724 [expo-cli] set non-zero exit code when expo doctor fails (#4359) 2022-05-12 10:18:26 +02:00
Evan Bacon 7520b65e69 fix: prevent throwing when an upper-level directory has an invalid package.json (#4363) 2022-05-11 23:16:47 -05:00
Kudo Chien fc0c69452b [config-plugins] rename android jni java descriptors from prebuild (#4362)
# Why

react-native 0.68 added jni code in templates for new architecture support. in the jni code, there are some java descriptors mapping to java class names. e.g.:

```c++
  static constexpr auto kJavaDescriptor =
      "Lcom/helloworld/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate;";
```

we should also rename these descriptors. otherwise apps will crash from new architecture mode.

# How

rename descriptors in jni folders

# Test Plan

#### Integration Tests

```sh
$ expo init -t blank sdk45
$ expo prebuild -p android # use package name other than com.sdk45
# set newArchEnabled=true in android/gradle.properties
$ expo run:android
```

also tested on a sdk 44 project to make sure the pr is backward compatible.

#### Unit Test

```
 PASS   @expo/config-plugins  src/android/__tests__/Package-test.ts
  renameJniOnDiskForType
    ✓ refactors a main project (5 ms)
```
2022-05-11 21:34:08 +08:00
evanbacon 5586ed30a6 Update index-test.js 2022-05-09 10:22:38 -07:00
Wojciech Kozyra f1e7278735 [config-plugins] Handle quoted build configuration (#4341) 2022-05-09 11:03:49 +02:00
Wojciech Kozyra 7dea470cd2 [package-manager] explicitly order package managers (#4344) 2022-05-09 10:46:24 +02:00
evanbacon 5d9e19d46a fix tests 2022-05-08 20:05:46 -07:00
Evan Bacon 27d13edb3b fix(create-expo-app): use hidden directory for home cache (#4353) 2022-05-08 20:02:57 -07:00
Brent Vatne 35a99c8607 [config-plugins] Remove warning when permissions config is empty when using blockedPermissions (#4352)
* [config-plugins] Remove warning when permissions config is empty when using blockedPermissions

* Remove dangling import
2022-05-08 15:56:05 -07:00
Federico Ciardi 1f049f4bd2 [expo-cli] Improve Fig autocomplete support (#4331)
* [expo-cli] Improve Fig autocomplete support

* Get correct version
2022-05-05 10:00:55 -07:00
evanbacon d948d7ae71 [email protected] 2022-04-29 16:20:22 -05:00
evanbacon 7216e2a2b8 Publish [email protected] 2022-04-29 16:00:43 -05:00
Evan Bacon 595c402fc3 [create expo app] auto select package manager (#4339)
* Utilize existing process for package manager

* Fixed formatting

* Update index-test.js

* Update NodePackageManagers.ts

* fix config merging

* Update index-test.js
2022-04-29 15:59:41 -05:00
evanbacon 7aebd2f856 Update index.ts 2022-04-29 11:43:45 -05:00
Evan Bacon 854f8c75c3 feat: create create-expo-app package (#4338)
* feat: create create-expo-app package

* fixup tests

* Update yarn.lock

* fix deps

* update packages

* Update yarn.lock

* Update packages/create-expo-app/src/dir.ts

* Lock `tar` version, update gitignore

* Upgrade tar

* Update package.json
2022-04-29 11:40:49 -05:00
Brent Vatne aefe9081bd Update CHANGELOG and commit schema cache 2022-04-27 16:33:27 -07:00
Brent Vatne e517d22aaf Publish
- @expo/[email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
@expo/[email protected] @expo/[email protected] @expo/[email protected] [email protected] [email protected] @expo/[email protected] [email protected] [email protected]
2022-04-27 16:29:28 -07:00
Brent Vatne dd904451fd [prebuild-config] Bump expo-modules-autolinking version 2022-04-27 16:27:50 -07:00