4487 Commits
Author SHA1 Message Date
Brent Vatne d5cc32c7d0 Publish
- @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [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] @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]
2021-05-31 15:50:35 -07:00
Evan Bacon 70c1867620 Fix object application in iOS base mods (#3531)
* Fix object application in iOS base mods

* Added improved tests
2021-05-31 15:45:56 -07:00
Kudo Chien 5c2dfafb10 [expo-cli][dev-server] Export hbc as bundle output if js runtime is hermes (#3522)
# Why

If an app is running with hermes runtime, `expo export` for self hosting update should also generate hermes bytecode instead of plain javascript.

# How

Assuming project should setup with pre-defined shape which set the runtime in gradle.properties like expo/expo#13052.
If exporting project is running with hermes, right after calling metro to build js bundles, we should further call `hermesc` to compile hbc.
The sourcemap also needs to re-compose by metro-source-map.
The overall flow is reference from [react-native's react.gradle](https://github.com/facebook/react-native/blob/0.63-stable/react.gradle).

# Test Plan

### Unit Test

```
HermesBundler-test.ts
  parseGradleProperties
    should return array of key-value tuple (2 ms)
    should keep "=" in value if there are multiple "="
    should exclude comment (1 ms)
  getHermesBytecodeBundleVersionAsync
    should return hermes bytecode version 74 for plain.74.hbc (13 ms)
    should throw exception for plain javascript file (5 ms)
    should throw exception for nonexistent file
  isHermesBytecodeBundleAsync
    should return true for hermes bytecode bundle file
    should return false for plain javascript file
    should throw exception for nonexistent file
```

### E2E Test

```
export-test.ts
    should export hbc bundle if running with hermes (31292 ms)
```
2021-05-31 22:00:45 +08:00
Kudo Chien a394d06a9f [expo-cli] Update e2e snapshot
broken by e2e tests `yarn install` without lockfile.
will address this problem later.
2021-05-29 03:30:11 +08:00
kgc00 a897ec78bc [xdl][cli] Adds general expo cli events to unified analytics (#3519)
- identify and track calls pulled to cli entrypoint 
- exp.ts runAsync is now an async function
2021-05-28 12:21:26 -07:00
Kudo Chien de7089f7ae [dev-server] Add /inspector to for querying or opening js inspector (#3495)
# Why

For dev-menu to launch Hermes inspector.

# How

Through from metro-inspector-proxy (http://localhost:8081/json/list), we could get the url to open inspector. This requires manual steps to open inspector.
In this PR, we will launch chromium to open the inspector automatically.

# Test Plan

### Unit Test

```
  createJsInspectorMiddleware
    should return specific app entity for GET request with given applicationId (5 ms)
    should return 404 for GET request with nonexistent applicationId (1 ms)
    should return 400 for GET request without parameters
    should open browser for PUT request with given applicationId (14 ms)
```
2021-05-29 02:06:27 +08:00
Brent Vatne 8b73a07290 Fix @expo/config-types dependencies 2021-05-26 21:45:26 -07:00
Brent Vatne 26350cc2eb Update CHANGELOG 2021-05-26 12:54:47 -07:00
Brent Vatne 315dc74ad3 Publish
- @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [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]
2021-05-26 12:52:07 -07:00
Brent Vatne 553739c926 Update yarn.lock 2021-05-26 12:36:40 -07:00
Evan Bacon b1f08d0cb5 Refactor config plugins (#3514)
* migrate default plugins back to config

* migrate icon plugin to config package

* Update withDefaultPlugins.ts

* Migrated notifications back to config

* Migrated splash screen back to config

* Fixed tests

* Created expo/prebuild-config package

* fix imports

* Remove extra files

* Update XML.ts

* Update package.json

* Update package.json
2021-05-26 12:33:09 -05:00
Brent Vatne f9a29ac63b [introspect] Add pipe sanitization (#3517) 2021-05-26 00:08:30 -05:00
Evan Bacon 09d36ff081 Show run commands in help (#3515) 2021-05-25 12:10:26 -07:00
Brent Vatne d2ef507c89 [cli] Only set global git user name on CI 2021-05-25 11:59:07 -07:00
Dominik Sokal 6b4e58c413 update schema cache 2021-05-25 14:37:28 +02:00
Dominik Sokal 45d7e1ef93 update CHANGELOG 2021-05-25 14:36:50 +02:00
Dominik Sokal a90d37dee7 Publish
- @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [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] @expo/[email protected] @expo/[email protected] @expo/[email protected] @expo/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
2021-05-25 14:15:46 +02:00
Dominik Sokal 469200aad3 [config-plugins] make bundle identifier getter aware of multiple targets (#3483)
* [config-plugins] rename getBuildConfigurationForId -> getBuildConfigurationsForListId

* [config-plugins] make getBundleIdentifierFromPbxproj return bundle id for a named target

* [config-plugins] make setProvisioningProfileForPbxprojAsync set provisioning profile only for a particular build configuration

* address PR feedback
2021-05-25 14:02:32 +02:00
Evan Bacon 3785aa5bc8 Delete CustomInfoPlistEntries 2021-05-24 14:23:08 -07:00
Evan Bacon a361f5d355 Rename strict to assertMissingModProviders (#3511) 2021-05-24 12:16:56 -07:00
Evan Bacon 6e83866ad9 Improve legacy plugin creation (#3512) 2021-05-24 12:16:48 -07:00
Evan Bacon 411b6207d4 Prevent resetting entitlements (#3500)
* Prevent resetting entitlements

* Added contacts to legacy plugins
2021-05-24 11:05:12 -07:00
Evan Bacon b6fb4a807d Remove unused slugify (#3499) 2021-05-24 10:18:05 -07:00
Evan Bacon 8c31de6524 [config plugins] added provider validation (#3506)
* Added validation for providers

* Added assertion test

* Added more mod rules

* Update withMod-test.ts

* Remove unused clearMods
2021-05-24 10:16:04 -07:00
Łukasz Kosmaty 86510a2935 [expo cli] Enable socket controls in dev-client (#3502) 2021-05-20 21:46:53 -07:00
Evan Bacon 2d579dcb25 Use a better default app id (#3504) 2021-05-20 21:46:46 -07:00
Evan Bacon d17f603148 Use workflow/customizing 2021-05-20 12:50:10 -07:00
Evan Bacon 4c4834e510 Update README.md 2021-05-20 11:42:35 -07:00
Will Schurman ce98f4cc59 Update changelog and contributing guide for publishing (#3503) 2021-05-20 09:50:53 -07:00
Will Schurman a4d6a8389a Publish
- @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [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] @expo/[email protected] @expo/[email protected] @expo/[email protected] @expo/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
2021-05-20 09:29:50 -07:00
Test User f9c565e5ee [cli] Update export snapshots 2021-05-19 15:59:21 -07:00
Brent Vatne e1c917af20 Fix CHANGELOG to properly reflect breaking change 2021-05-19 15:53:58 -07:00
Evan Bacon c3a865fa51 fix config plugins version 2021-05-18 15:12:58 -07:00
Evan Bacon 3b45d54c41 Update getPrebuildConfig.ts 2021-05-18 15:07:58 -07:00
Evan Bacon 6b5ea79836 Update ExpoConfig.ts 2021-05-18 14:48:54 -07:00
Evan Bacon 739e599494 Update package.json 2021-05-18 14:47:57 -07:00
Evan Bacon 02532f4606 [config plugins] added prebuild introspection config (#3479)
* Added dryRun to entitlements base mod

* Added dryRun to Info.plist

* Created tested dry run example

* dryRun -> unpersisted

* NoPersist

* Update expo-plugins.ts

* Added saveToInternal

* Update compiler-plugins.ts

* simplify base mods

* refactor

* simplify

* forward props

* refactor

* refactor

* refactor

* refactor mods

* refactor

* refactor

* generate base mods

* imp only array

* Updated tests

* fix tests

* Update createBaseMod.ts

* Update withMod.ts

* wip

* added getFilePathAsync support

* Update iosEval config

* Added introspect config

* consolidate API

* wip testing

* Added managed introspection tests

* Update expo-plugins-test.ts

* propagate introspect to modRequest

* Update android-plugins-test.ts

* Update expo-plugins-test.ts

* Update modules.ts
2021-05-18 13:58:43 -07:00
Brent Vatne 533f0dd124 [cli] Fix version check for Node 16 2021-05-18 10:31:32 -07:00
Will Schurman bc8e9baa71 Add originalFullName to the public config (#3494) 2021-05-18 09:30:10 -07:00
Evan Bacon fcd8cad022 Bump utils to support apple server errors (#3496) 2021-05-17 11:24:42 -07:00
jkh 5460c99b61 [e2e] fix expo export e2e test (#3492) 2021-05-17 09:55:39 -07:00
Brent Vatne ab299e9ce3 Update CHANGELOG 2021-05-14 14:40:56 -07:00
Brent Vatne 0e2b0e5dd8 Publish
- @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - @expo/[email protected]
 - [email protected]
 - [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]
 - [email protected]
 - [email protected]
 - @expo/[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] @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]
2021-05-14 14:16:05 -07:00
Brent Vatne 52bb9afea9 Update root yarn.lock 2021-05-14 14:15:46 -07:00
Ville Immonen b817510a82 [cli] Stop running adb shell monkey when opening apps other than Expo Go (#3487) 2021-05-14 14:11:40 -07:00
Brent Vatne 28d3b99b07 [config-plugins] Add noop Swift file to fix builds with Swift deps (#3488) 2021-05-14 14:08:41 -07:00
Evan Bacon e37ff0c12d Update package.json 2021-05-14 10:51:26 -07:00
Evan Bacon 4209fa3277 Publish @expo/[email protected] 2021-05-14 10:51:09 -07:00
Evan Bacon f6dcb64358 Limit manifest serving to a few URLs (#3491) 2021-05-14 10:37:42 -07:00
jkh 95dbaa9ae6 [expo-cli] fix expo export so it finds the correct projectDir (#3485)
* [expo-cli][xdl] fix project root bug

* assetPathToWrite everywhere

* roll back xdl change

* keep absoluteOutputdif
2021-05-14 10:04:56 -07:00