387 Commits
Author SHA1 Message Date
Evan Bacon 1f21b216c7 [prebuild config] Created android splash plugin (#3576)
* Created new Android splash plugins

* [wip] Added tests

* Update withAndroidSplashStyles.ts

* extend default style

* Refactor

* Update withAndroidSplashStyles.ts

* Update withAndroidSplashStyles.ts

* Added colorsNight mod

* Update withAndroidSplashImages.ts

* Update withAndroidSplashDrawables.ts

* Update withAndroidSplashStyles.ts

* Remove expo/configure-splash-screen from config plugins

* Update StatusBar.ts

* fixup tests

* Support no splash config

* PR feedback

* Added explicit spaces to regex
2021-06-23 11:16:50 -06:00
Brent Vatne 32490e6a23 Commit yarn.lock 2021-06-11 18:30:39 -07:00
Evan Bacon fcbe8a7dcc [config] ios splash screen plugin (#2706)
* Import ios code from splash migration

* working variation with limited functionality

* Update SplashScreen.ts

* Update SplashScreen.ts

* added tests

* updated plugins

* Update Paths.ts

* revert

* Move xcode util

* extract status bar code

* Update SplashScreen.ts

* Update StatusBar.ts

* Update SplashScreen.ts

* Updated types

* updated tests

* support incoming parameters

* Update SplashScreen.ts

* move StatusBar

* Update index.ts

* Update SplashScreen.ts

* improve testing

* XML splash screen API

* run once

* Update SplashScreen-test.ts

* update splash screen plugin

* Update Xcodeproj.ts

* moved status bar changes to #3131

* Update SplashScreen.ts

* update

* Delete SplashScreen-test.ts

* Update InterfaceBuilder.ts

* Update withIosSplashScreen.ts

* Added support for more test props

* Update withIosSplashScreen.ts

* Update withIosSplashScreen-test.ts

* refactor

* allow missing image

* revise debug label

* Updated tests

* Update withIosSplashInfoPlist.ts

* Update withIosSplashInfoPlist.ts

* Update InterfaceBuilder.ts
2021-06-10 13:33:00 -05:00
Evan Bacon 40143eac1b [config plugins] Refactor debug contents on android (#3566)
* Refactor debug contents on android

* Update Package.ts
2021-06-09 20:58:31 -05:00
Evan Bacon a02c899798 Update package.json 2021-06-08 12:40:24 -05:00
Evan Bacon 9aec0a4714 Bump expo/xcpretty (#3538) 2021-06-01 18:52:24 -05: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 553739c926 Update yarn.lock 2021-05-26 12:36:40 -07:00
Evan Bacon fcd8cad022 Bump utils to support apple server errors (#3496) 2021-05-17 11:24:42 -07:00
Brent Vatne 52bb9afea9 Update root yarn.lock 2021-05-14 14:15:46 -07:00
Evan Bacon dff8aec4a8 Update tsconfig to support node 12 (#3489) 2021-05-14 09:36:46 -07:00
jkh 9a3afab44b Add additional hermes resolution (#3486) 2021-05-13 12:46:12 -07:00
Brent Vatne ab8843a81e [cli] Add missing nullthrows package 2021-05-11 14:17:49 -07:00
Bartosz Kaszubowski 292a5e9617 [workspace] update TypeScript to latest release (#3454) 2021-05-07 17:44:08 -07:00
Evan Bacon 9543d3f62d Pad titles in log formatter and add duration (#3466) 2021-05-06 16:40:51 -06:00
Evan Bacon e80a7dddc8 [electron] migrate to new repo (#3446)
* Migrate to a new repo

* Update README.md

* Update repo

* Update yarn.lock

* Update webpack.config-test.js.snap
2021-04-29 15:06:56 -06:00
Bartosz Kaszubowski a2b92a7408 [workspace] update ESLint and Prettier (#3427) 2021-04-27 15:49:44 -06:00
Bartosz Kaszubowski d45aa2fd1e [workspace] deduplicate yarn lock in postinstall (#3418) 2021-04-23 18:03:17 -07:00
Bartosz Kaszubowski 4536fc8e33 [next-adapter] update RNW peer, remove deprecated types (#3377)
* [next-adapter] update RNW peer, remove deprecated types

* resolve Next types mess

* add missing @types/react after Next bump
2021-04-09 13:52:33 -07:00
Ville Immonen 4a9cc924f1 [xdl] Fix missing/extraneous dependencies (#3369) 2021-04-07 15:37:22 +03:00
Ville Immonen d3333e9fcf Remove unused ncp (#3367) 2021-04-07 11:50:07 +03:00
Evan Bacon cd75499f87 Improved ios package logging (#3353) 2021-04-03 16:24:12 -07:00
Evan Bacon fdb3366840 Improved port selection (#3344)
* added system for choosing the port

* Update index.ts

* added better context to running the same app

* Update getRunningProcess.ts

* Update choosePortAsync.ts

* share choose port with web

* Update choosePortAsync.ts

* Update runAndroid.ts

* fixed logger import
2021-04-01 14:47:48 -07:00
Ville Immonen 3c8bf0f90c [xdl] remove gulp and build with tsc (#3334) 2021-04-01 21:46:02 +03:00
Ville Immonen cc046daf1d Add migration from @react-native-community/async-storage (#3342) 2021-03-31 18:44:34 +03:00
Evan Bacon e99742884d Update package.json 2021-03-24 20:42:19 -07:00
Evan Bacon 912bce7463 Improve IOSDeploy logging (#3326) 2021-03-24 09:52:56 -07:00
Ville Immonen e0282a0a9c Update xmldom and xcode dependencies (#3314) 2021-03-22 11:32:42 -07:00
Evan Bacon 43c390796c created ios command (#3303)
* [wip] expo ios -- local iOS build command

* clean up

* remove cocoapods stuff

* Remove XCPretty JS bundle error logging optimization

* write logs to file

* wip

* update

* Update yarn.lock

* fix launching

* added code signing

* remove old xcpretty

* updated format

* wip

* refactor

* fix commands

* refactor formatter

* Added support for catching metro bundle errors

* Update ExpoLogFormatter.ts

* updated xcpretty

* refactor

* Added cocoapods stuff back

* Remove PlistBuddy and add WIP LLDB

* Improve bplist

* Added simulator log stream

* silence more errors

* refactor

* Update ExpoLogFormatter.ts

* cleanup ios build command

* Update index.ts

* added dynamic port resolver

* Update index.ts

* Delete code signing plugins

* [wip] prevent opening bundler

* refactor

* move logs

* Update Simulator.ts

* added --bundler flag

* revert changes

* Update Podfile.ts

* added unit test for logger
2021-03-19 13:42:02 -07:00
Andrés Salinas BendeckandAndres Salinas 374f95e768 improvement: updated getenv dependencies to 1.0.0 (#3299)
Co-authored-by: Andres Salinas <[email protected]>
2021-03-17 23:34:47 -07:00
Brent Vatne 3042b2569f Update yarn.lock 2021-02-24 16:05:25 -08:00
Evan Bacon 75177bdc4d [prebuild] Skip overwriting modules that are symlinked (#3257)
* Skip overwriting modules that are symlinked

* Update updatePackageJson.ts

* revert husky format
2021-02-24 15:54:40 -08:00
Evan Bacon 4ccc2778ee Use a more focused babel preset for app.config.js (#3208)
* Use a more focused babel preset for app.config.js

* Update yarn.lock

* Update yarn.lock
2021-02-22 16:24:21 -08:00
Brent VatneandDominik Sokal d078b35426 [xdl] Update node-forge (#3252)
* [xdl] Update node-forge to get rid of prototype pollution warning

* [xdl] upgrade @types/node-forge 0.8.6 -> 0.9.7

Co-authored-by: Dominik Sokal <[email protected]>
2021-02-22 11:55:12 -08:00
Mike Kruk 15b7e1d121 [next-adapter]: Move @types/next to devDependencies (#3238)
* Update package.json

Removing @types/next as it is deprecated. I'm not sure why this was ever a dep in the first place, but it was making `tsc` fail with a project because it was unable to locate types from `next-server`

* Update package.json

Add @types/node-fetch, which was a dep of @types/next

* updated yarn.lock

* expo dev-tools uses next 8.x, so bringing back types to support that
2021-02-17 13:29:31 -08:00
Evan Bacon 2574f77d57 Unify node version (#3170)
* Unify node version

* Update TerminalUI.ts
2021-02-08 12:32:48 -08:00
Evan Bacon f74d6b864e Update yarn.lock 2021-02-03 14:11:20 -08:00
Evan Bacon 62d4514c0f match the version of serialize-error used in dev-server (#3168) 2021-02-03 12:55:21 -08:00
Evan Bacon 0dfe77b621 Remove idx package (#3167) 2021-02-02 13:34:53 -08:00
Ville ImmonenandEvan Bacon cbd292b4cf [json-file] Remove lodash from @expo/json-file (#3019)
* [json-file] Remove lodash from @expo/json-file

`@expo/json-file` previously used `lodash/get` and `lodash/set` for the
`getAsync` and `setAsync` methods.

In theory, it has been possible to pass something like `'some.key.here'`
to these methods, which will no longer work after this change. However
this behavior was 1) undocumented 2) unsupported by the TS types and
3) not used anywhere in the `expo-cli` code base. Anyway, it's probably
safest to make a major version bump for `@expo/json` CLI because of this.

* Update CHANGELOG.md

* Update yarn.lock

* Update yarn.lock

Co-authored-by: Evan Bacon <[email protected]>
2021-02-02 13:23:19 -08:00
Evan Bacon ed53e6721d remove unused slash package (#3171) 2021-02-02 12:30:29 -08:00
Evan Bacon 00b18d617d Use devcert fork (#3175)
* Use devcert fork

* types/rimraf
2021-02-02 12:25:12 -08:00
Evan Bacon d31747e5f7 Remove delay-async package (#3166) 2021-02-01 23:13:30 -08:00
Brent Vatne 24f5286091 Update yarn.lock 2021-01-29 14:57:18 -08:00
Evan Bacon 3ddcf5b22f [cli] remove validator packages from expo-cli (#3135) 2021-01-29 13:04:54 -08:00
Evan Bacon de599eef08 remove wordwrap (#3136) 2021-01-28 19:00:31 -08:00
Evan Bacon fb19b0b34a Drop FormData (#3152)
* Drop FormData

* Update yarn.lock

* Update ManifestHandler.ts

* revert apple changes
2021-01-28 18:56:26 -08:00
Evan Bacon 563bdcabb7 upgrade ncc (#3140) 2021-01-27 14:55:56 -08:00
Evan Bacon 999aa72a76 upgrade probe-image-size (#3134) 2021-01-26 20:32:07 -08:00
Will 5dd643e579 fix: security update for axios (#3091)
Updates axios and analytics-node to prevent SSRF vulnerability described
here: https://github.com/axios/axios/pull/3410
2021-01-26 18:30:16 -08:00