Commit Graph
3397 Commits
Author SHA1 Message Date
Quinlan Jung b8fab6d2f8 [cli] remove deprecated command functionality 2023-12-22 16:57:49 +01:00
Cedric van Putten 0a11ffafd7 fix: resolve remaining CI issues (#4798)
* fix(webpack-config): add missing `@types/babel__code-frame`

* fix(xdl): remove typescript references and use dependencies instead

* fix(xdl): add missing `@types/lodash`

* fix(expo-cli): add missing `node-fetch` and `@types/node-fetch`

* fix(expo-cli): add `@ts-expect-error` for `@expo/package-manager` spinner option

* chore: update lockfile

* refactor(expo-cli): make spawn failures in `eject-test.ts` visible

* refactor(expo-cli): add `npm install` fallback to `yarn install`

* chore: disable caching `node_modules` in test workflow

* refactor: simplify the ci build pipeline and avoid caching node modules

* refactor: finalize new working workflows
2023-12-22 16:57:28 +01:00
Caleb Nance 361f90167c fix(expo-cli): remove trailing . to make new cli link clickable (#4730) 2023-12-12 17:26:57 +01:00
Thor 雷神 Schaeff 0739865935 docs(create-expo): fix broken link to new repository (#4772) 2023-12-12 17:23:54 +01:00
Cedric van Putten dde5f78737 refactor(pkcs12): move to expo/expo (#4794) 2023-12-11 18:17:10 +01:00
Cedric van Putten f922410ee1 refactor(schemer): move to expo/expo (#4795)
* refactor(schemer): move to `expo/expo`

* refactor(schemer): drop from ci
2023-12-11 15:35:09 +01:00
Cedric van Putten ad5c0fc770 refactor(osascript): move to `expo/expo (#4793) 2023-12-08 22:49:50 +01:00
Cedric van Putten dab3e6e015 refactor(plist): move to expo/expo (#4792) 2023-12-08 22:49:20 +01:00
Cedric van Putten d435e05275 refactor(uri-scheme): move to expo/expo (#4791) 2023-12-08 22:48:53 +01:00
Cedric van Putten 1a00098629 refactor(expo-doctor): move to expo/expo (#4790) 2023-12-04 17:36:01 +01:00
Cedric van Putten b613575fda refactor(pod-install): move to expo/expo (#4788) 2023-12-04 14:31:52 +01:00
Cedric van Putten 2fa16df0af refactor(image-utils): move to expo/expo (#4787)
* refactor(image-utils): move to `expo/expo`

* refactor(image-utils): drop from CI workflows
2023-12-04 14:11:24 +01:00
Cedric van Putten 0115c578df refactor(env-info): move to expo/expo (#4785) 2023-11-23 11:25:17 +01:00
Cedric van Putten fb48418e44 refactor(json-file): move to expo/expo (#4782) 2023-11-23 11:11:08 +01:00
Cedric van Putten 88e0f57a18 chore(install-expo-modules): move to expo/expo (#4786) 2023-11-23 02:02:01 -08:00
Michael Essiet 2ad3e61df8 Update index.ts (#4771)
I fixed a typo by removing the extra "some" from the promptCliIntegrationAsync function prompt
2023-10-17 16:53:34 -07:00
Kudo Chien 8169c47320 Publish [email protected] 2023-10-03 16:53:32 +08:00
Kudo Chien 61ca5ca2ce [install-expo-modules] fix react-native 0.72.5 support (#4766)
# Why

react-native 0.72.5 has a breaking change for default ios minimal version: https://github.com/facebook/react-native/commit/a5e110adcf21

# How

support parsing the default ios minimal version from the **scripts/cocoapods/helpers.rb**

# Test Plan

tested install-expo-modules on a react-native 0.72.5 project
2023-10-03 16:32:27 +08:00
Kadi Kraman e1f54320c5 [schemer] [ENG-9956]: validate for unsupported images (#4764)
* Add test for invlid app icon path

* Convert tests to ts and tidy assertions

* Ensure schema errors for local webp images

* Ensure tests check for errors

* Validate for file extension mismatch

* Fix test for remote image

* Add changelog entry
2023-09-27 11:16:00 +01:00
Kadi Kraman a100d1bfd4 [image-utils] [ENG-9956] add a function to check whether a PNG is valid (#4761)
* Add a function to check whether a PNG is valid

* Remove unused assignment

* Add missing type

* Add another missing type

* Convert isValidPng to getPngInfo
2023-09-21 11:29:35 +01:00
Cedric van Putten 93afce510e chore: resolve current CI issues (#4763)
* chore(babel-preset-cli): update snapshot failure

* chore(image-utils): add missing `node-fetch` types

* chore(doctor): add missing `debug` package and types
2023-09-21 11:59:21 +02:00
Cedric van Putten 5bac95d361 refactor(create-expo-app): move package to expo/expo (#4759)
* refactor(create-expo-app): move package to `expo/expo`

* refactor(create-expo-app): remove `create-expo-app` from workflows
2023-09-13 16:24:53 +02:00
Brent Vatne ac5097ac00 Udpate changelog and create-expo bin 2023-09-10 18:10:51 -07:00
Brent Vatne 24eb3415f8 Publish
- [email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
2023-09-10 17:56:11 -07:00
Brent Vatne 80c1f0e747 Bump @expo/package-manager and update changelog 2023-09-10 17:55:43 -07:00
Colin McDonnell 171bf4ebb6 feat: detect bun package manager (#4752) 2023-09-10 17:49:23 -07:00
Andrew MeyerandCedric van Putten af2874cf68 fix(create-expo-app): allow scoped template package names (#4750)
* fix: allow scoped template package names

This change detects a scoped package name for templates and correctly determines its location.
Tested with `@realm/expo-template`

* refactor(create-expo-app): move package filename sanitization to separate method

* fix(create-expo-app): correct typo in sanitize method

* chore(create-expo-app): resolve linting issue

---------

Co-authored-by: Cedric van Putten <[email protected]>
2023-08-25 12:29:23 +02:00
Evan Bacon 26142c3da2 feat(webpack): Bump expo to SDK 49 (#4747)
* Bump expo to SDK 49

* bump engines

* drop 18

* 16
2023-08-17 12:58:40 -04:00
Keith Kurak 20d41a7c29 [doctor] @expo/metro-config deep dependency check (#4742)
* [doctor] @expo/metro-config deep dep check

* import order
2023-08-09 12:23:37 -04:00
Bartosz KaszubowskiandBrent Vatne 1e8769cc02 [pod-install] show alternative message in managed projects (#4566)
Co-authored-by: Brent Vatne <[email protected]>
2023-08-09 17:17:53 +02:00
Keith Kurak 785cf1241a Publish (#4737)
- @expo/[email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
2023-07-21 10:13:53 -04:00
Keith Kurak b1852a8a03 [doctor] check for sdkVersion in Expo config (#4732)
* [doctor] check for expo.sdkVersion

* use @expo/config SDK installed version resolution to compare with Expo config

* remove bad mock stuff
2023-07-20 09:58:08 -04:00
Keith Kurak 4cd9960850 [doctor] check for @types/react-native on 48+ (and other things you shouldn't install directly) (#4731)
* [doctor] check for @types/react-native on 48+

* also check for npm/ yarn installs

* add pnpm to direct install check
2023-07-20 09:56:43 -04:00
Keith KurakandCedric van Putten a04201ea8e [doctor] multiple lock file, unintentionally-bare detection (#4734)
* [doctor] multiple lock file, unintentionally-bare detection

* unit tests

* Update packages/expo-doctor/src/checks/ProjectSetupCheck.ts

Co-authored-by: Cedric van Putten <[email protected]>

* use path instead of concatenation

* account for gitignore when checking for native projects

---------

Co-authored-by: Cedric van Putten <[email protected]>
2023-07-20 09:56:22 -04:00
Evan Bacon 71c32d4d15 fix(webpack-config): fix sourcemap bug with expo camera (#4735)
* fix sourcemap bug with expo camera

* Update webpack.config.ts

* Update webpack.config-test.js.snap
2023-07-12 17:10:44 -05:00
Keith Kurak 9250eefb15 Warn if expo-dev-launcher / expo-dev-menu are installed (#4726)
* [doctor] add dev-launcher/ menu to transitive-only check

* tweak auto dependency message
2023-07-06 16:35:41 -04:00
Brent Vatne b417540058 [install-expo-modules] Bump version 2023-07-05 17:04:00 -07:00
Brent Vatne b08630d90f [install-expo-modules] Update text 2023-07-05 12:48:23 -07:00
Brent Vatne c29f53c271 Fix 2023-07-05 12:19:50 -07:00
Brent Vatne 2bc53712a2 Publish
- @expo/[email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - @expo/[email protected]
 - [email protected]
2023-07-05 12:03:05 -07:00
Brent Vatne 2bb101a74f [cli] Improve the Expo CLI deprecation message 2023-07-05 12:01:15 -07:00
Keith Kurak d5d23c4ce5 [doctor] clean up check names (#4727) 2023-07-05 11:21:30 -07:00
Kudo Chien 6977ba9393 [install-expo-modules] add cli integration support (#4728) 2023-07-05 11:21:20 -07:00
evanbacon d31a7c513e drop custom config path 2023-07-05 11:18:53 -07:00
Kudo Chien 76f1ac0325 Publish [email protected] 2023-07-02 00:25:08 +08:00
Kudo Chien 83b7f9ac0b [install-expo-modules] add sdk 49 support (#4722)
# Why

add instal-expo-modules support for sdk 49

# How

sdk 49 doesn't come new changes to templates (in expo-modules point of view). this pr just adds the version mapping.

# Test Plan

```sh
$  npx react-native init RN072 --version 0.72
$ cd RN072
$ /path/to/install-expo-modules/build/index.js
$ yarn android
$ yarn ios
```
2023-06-24 11:44:21 +08:00
6fca69c74e [doctor] Run checks in parallel (#4715)
* [doctor] run tests in parallel

* refactor into separate parallel runner

* unit tests

* prevent null error when there's network errors during checks

* fix verb conjugation to read a little nicer

* Update packages/expo-doctor/src/checks/InstalledDependencyVersionCheck.ts

Co-authored-by: Aman Mittal <[email protected]>

* Update packages/expo-doctor/src/checks/InstalledDependencyVersionCheck.ts

Co-authored-by: Brent Vatne <[email protected]>

* fuzzier string match since debug mode is on for automated tests

---------

Co-authored-by: Aman Mittal <[email protected]>
Co-authored-by: Brent Vatne <[email protected]>
2023-06-06 16:59:12 -04:00
evanbacon 3ad769562c publish 2023-06-02 18:19:55 -05:00
Evan Bacon e38a153634 update name (#4717)
* update name

* Update index-test.js.snap
2023-06-02 18:16:01 -05:00
evanbacon 4ae2863774 Update changelog 2023-05-30 13:09:35 -05:00