69 Commits
Author SHA1 Message Date
Brent Vatne 46f80b057a [github] Remove webpack workflows 2023-07-03 14:54:01 -07:00
905f7497e8 Standalone Expo Doctor (#4641)
* start scaffolding expo doctor

* standalone doctor building, able to validate sdk version

* OG 44/45+ checks are working again (online only)

* invoking npx expo install --check now working

* added schema check; started refactor

* added remaining checks, error handling

* moved dependency check to spawnAsync

* put commented out commands back in

* npm/ watchman check

* add projectRoot to deep dep checks

* reorganize, clean up text

* moved spinner to top-level checks

* unit tests

* [schemer] make asset traversal compatible with default schema from API

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

Co-authored-by: Evan Bacon <[email protected]>

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

Co-authored-by: Evan Bacon <[email protected]>

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

Co-authored-by: Evan Bacon <[email protected]>

* move mocks to top level

* copied/ adapted log.ts from versioned cli

* updated unit tests to check Log mock

* inline object creation in tests

* chain global prereq checks in Promise.all

* added console grouping to Log

* fix typos

* remove unsupported node version

* remove unused parameter

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

Co-authored-by: Kim Brandwijk <[email protected]>

* Update log.ts

* add types

* Update packages/expo-doctor/src/index.ts

Co-authored-by: Kim Brandwijk <[email protected]>

* restrict to SDK 46+; fix compile errors

* better handling for invalid SDK version in app.json

* basic debug support

* modest renaming for explain code

* refactor try/ catch

* add FYI for unimodules check failure

* clean up conditional

* attempt to handle upper and lowercase asset validation paths

* downgraded @expo/config to remove config-plugins dep

* remove unused types

* explainDependencies tests

* remove comment that doesn't make sense

* added references to copied code from expo-cli doctor

* Add doctor to automated tests

* added SDK version filter for tests

* removed module

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

Co-authored-by: Evan Bacon <[email protected]>

* fix broken tests

* use Log.exit for fatal errors

* use chalk for color

* fix tests

* switch to debug package

* more ora.fail so logging happens under correct heading

---------

Co-authored-by: Evan Bacon <[email protected]>
Co-authored-by: Kim Brandwijk <[email protected]>
2023-02-15 19:33:16 -05:00
Evan Bacon d6329a4a98 Update PULL_REQUEST_TEMPLATE 2022-11-05 10:38:21 -05:00
evanbacon 9c98504756 Delete enhancement.yml 2022-10-28 00:59:06 -07:00
evanbacon 3f6f2049fb Create config.yml 2022-10-28 00:58:28 -07:00
Cedric van Putten 83d5f7539e [package-manager] Move package manager to expo/expo repository (#4506)
* [package-manager] Move package manager to expo/expo repository

* Update yarn lockfile

* Remove workflow tests for package-manager
2022-08-10 16:36:05 +02:00
Evan Bacon a36ab5ac7b Deleted config packages (#4449) 2022-07-20 16:10:32 -07:00
Evan Bacon fdacd1d183 Deleted metro packages (#4465)
* Deleted metro packages

* add dev deps back
2022-07-15 12:51:49 +02:00
Brent Vatne 7e6251d317 [github] Add issue-triage workflows 2022-06-30 10:18:32 -07:00
Evan Bacon 46620025d2 ci: disable codecov for expo-cli (#4425)
codecov is throwing too many false positives in PRs. When CI fails consistently and constantly then it reduces confidence in the review cycle.

We won't be drastically improving the testing of this repo since it is pretty much in maintenance mode until the versioned CLI migration is complete.
2022-06-15 18:20:06 +02:00
Evan Bacon 86c81a715a feat(create-expo-app): rewrite CLI interface (#4395)
* feat: rewrite CLI to use arg instead of commander

* feat: use npm pack

* feat: rewrite

* chore: drop CommandError

Update npm.ts

Update index-test.js

Update test_windows.yml

Update npm.ts

Update index.ts

Update npm.ts

Update npm.test.ts

try another thing

drop extra template

Update jest.config.js

Update test.yml

Update npm.ts

* Add EXPO_NO_TELEMETRY

* improve debug

* Update test_windows.yml
2022-06-15 15:58:54 +02:00
kgc00 4e5855f050 [ci/cd] Add node 16 testing and drop node 12 (#4399) 2022-05-30 13:01:42 -05: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
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
Cedric van Putten 139a09fbc0 [ci] Set timeout to 2 minutes and remove check files on windows (#4302)
* [ci] Debug the current yarn settings in actions

* [ci] Set timeout to 2 minutes and remove check files on windows
2022-04-14 20:06:55 +02:00
Kim Brandwijk 6b6b1e9a11 chore: sync stale config with other repo (#4297) 2022-04-14 00:13:53 +02:00
Evan Bacon fa1286115c ci: add stale bot from expo/expo (#4295) 2022-04-12 11:31:46 -05:00
Kim Brandwijk feb67f8344 chore: update bugreport template label (#4272) 2022-03-25 18:53:55 +01:00
Kim Brandwijk d1df936bab [test] re-enable codecov (#4222) 2022-03-14 17:42:57 +01:00
Kim Brandwijk d224ac08f1 [chore] switch issue template to expo-env-info (#4233) 2022-02-24 12:22:07 -07:00
Evan Bacon bf8edaea7b Revert "Created @expo/api package (#3361)" (#4165)
This reverts commit 282ac13a1b.
2022-01-26 15:42:58 -07:00
Evan Bacon 282ac13a1b Created @expo/api package (#3361)
* Created expo/api package

* Update Env.ts

* Update package.json

* fix ApiV2Error

* fix imports

* Move downloadAppAsync to api

* Update downloadAppAsync.ts

* move ip

* fix downloadAppAsync

* yarn update

* Update internal.ts

* Update package.json

* reduce cross-package communication

* fix bugs

* Move Versions module to api

* Move Exp into User

* Move ExpSchema to api

* Convert all API usage to typed functions

* Update yarn.lock

* Update startAsync.ts

* fix imports

* Switch up Env shape

Consolidate settings

Drop lodash

dotExpoHomeDirectory -> getDirectory

rename lte and gte methods

ExpSchema -> ExpoConfigSchema

Refactor Cache

fix bugs

* fix type errors

fix up function names

* Update User.ts

Update README.md

Update startAsync.ts

lint fix

fixup tests

Split up Publish API

Refactor API

Refactor

Update getPublishExpConfigAsync.ts

* Update User.ts

* Update package.json

Cleaned up API

Moved ProjectSettings to api

Delete unused Session module

Update ArtifactUtils.ts

Config -> ProcessSettings

move downloadAppAsync back to xdl

Updated Versions API

Clean up API

fixed whoami

fix tests

fix bugs

Update exportAppAsync-test.ts

Update exportAppAsync-test.ts

Update npm-test.ts

Updated docs

Updated docs

Update ProjectSettings.ts

fix mocks for path

fix mocks

fix dev tools mock

Update autoAddConfigPluginsAsync-test.ts

split up e2e

split up e2e

added node matrix

* Update UserManager.ts
2022-01-24 14:07:30 -07:00
Brent Vatne c24263b4df Rename master branch to main 2021-11-24 14:24:18 -08:00
Brent VatneandJames Ide 20e0d2015f expo.io -> expo.dev (#3771)
Co-authored-by: James Ide <[email protected]>
2021-08-16 12:41:10 -07:00
Evan Bacon e72c6e3492 Update enhancement.yml 2021-07-19 19:25:21 -06:00
Evan Bacon b92adc139a Update bug_report.yml 2021-07-19 19:25:05 -06:00
Evan Bacon 1fd764b96b Update bug_report.yml 2021-07-19 19:23:24 -06:00
Evan Bacon ec5c7ceebd Update bug_report.yml 2021-07-19 19:22:43 -06:00
Evan Bacon 3d021f60b5 Add prebuild-config to CI (#3564)
* Add prebuild-config to CI

* Update withAndroidNotifications-test.ts
2021-06-09 14:10:38 -05: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 19dc61a90b [CI] add tests on Windows (#3428)
* [CI] add tests on Windows

* [CI] fix Prettier EoL warnings
2021-04-28 14:49:10 -06:00
Evan Bacon c72b4fb3a6 Update test.yml (#3388) 2021-04-14 11:40:11 -07:00
Ville Immonen e2a3469ebe [expo-cli] Change template project default branch from master to main (#3297) 2021-03-18 17:34:07 +02:00
Charlie Cruzan 888e4183c7 [github] quote option values in template 2021-02-22 10:08:03 -05:00
Charlie Cruzan 5074f89153 [github] fix enhancement template 2021-02-22 10:07:08 -05:00
Charlie Cruzan c1d544ff8d [github] fix validations in bug report template 2021-02-22 10:05:54 -05:00
Charlie Cruzan 4460e4ab1e [github] gix bug report template 2021-02-22 10:03:26 -05:00
Evan Bacon 49f3977ea5 Create PULL_REQUEST_TEMPLATE 2021-02-08 12:38:02 -08:00
cruzach 781afa25b5 remove old issue templates 2021-01-28 15:59:38 -05:00
cruzach 0c4787cbfe [issue template] new form input issue templates 2021-01-28 15:58:40 -05:00
Evan Bacon e4fd024e18 [config plugins] fix tests (#3077)
* add tests to CI

* Update core-plugins-test.ts

* Update Paths-test.ts

* fixed tests
2021-01-13 15:40:53 -08:00
Evan Bacon 41fa07c053 Update bug_report.md 2020-12-07 08:36:09 -08:00
Evan Bacon 5e481abdf1 updated issue templates 2020-12-06 23:14:52 -08:00
Evan Bacon 9bd2f8fe14 [actions] Upgrade cache to v2 (#2872)
* Upgrade cache to v2

* update key

* Update test.yml
2020-11-12 02:06:08 +01:00
Quinlan JungandJames Ide 635275e3c2 [pkcs12] new package for PKCS#12 utilities (#2773)
* [pkcs12] refactored utility package

* tweak packagejson

* new pkg nits

* autogen readme stuff

* Update packages/pkcs12/README.md

Co-authored-by: James Ide <[email protected]>

* Update packages/pkcs12/README.md

Co-authored-by: James Ide <[email protected]>

* Update packages/pkcs12/README.md

Co-authored-by: James Ide <[email protected]>

* Update packages/pkcs12/src/__tests__/pkcs12-test.ts

Co-authored-by: James Ide <[email protected]>

* Update packages/pkcs12/src/index.ts

Co-authored-by: James Ide <[email protected]>

* Update packages/pkcs12/src/__tests__/pkcs12-test.ts

Co-authored-by: James Ide <[email protected]>

* Update packages/pkcs12/src/index.ts

Co-authored-by: James Ide <[email protected]>

* Update packages/pkcs12/src/index.ts

Co-authored-by: James Ide <[email protected]>

* Update packages/pkcs12/src/index.ts

Co-authored-by: James Ide <[email protected]>

* Update packages/pkcs12/src/__tests__/pkcs12-test.ts

Co-authored-by: James Ide <[email protected]>

* Update packages/pkcs12/src/__tests__/pkcs12-test.ts

Co-authored-by: James Ide <[email protected]>

* Update packages/pkcs12/src/__tests__/pkcs12-test.ts

Co-authored-by: James Ide <[email protected]>

* some pr feedback

* more pr feedback

* more feedback

* Update packages/pkcs12/README.md

Co-authored-by: James Ide <[email protected]>

Co-authored-by: James Ide <[email protected]>
2020-10-12 17:53:52 -07:00
Will Schurman 2287b17008 [lint] Enforce no lint warnings in CI (#2734) 2020-09-29 22:35:17 -07:00
Evan BaconandJames Ide ef74bf4943 Delete Circle CI (#2628)
* Move more tests to GH actions

* Update config.yml

* test against node 10 and 12

* Delete Circle CI

* Update .github/workflows/test.yml

Co-authored-by: James Ide <[email protected]>

Co-authored-by: James Ide <[email protected]>
2020-09-12 20:20:52 +02:00
Evan Bacon a82a87f28f Comment out codecov stuff (#2349) 2020-07-09 12:22:41 -07:00
Evan Bacon 2f660a52ab [image-utils] add env variable to disable sharp resolution (#2269)
* Added an environment variable for disabling sharp-cli resolution.

* Update test.yml
2020-06-17 16:51:21 -07:00
Evan Bacon f4e844d3a0 Created puppeteer GH action (#2205)
* Created puppeteer GH action

* Update jest-puppeteer.config.js

* Update test.yml
2020-06-01 12:04:03 -07:00