Commit Graph
53 Commits
Author SHA1 Message Date
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
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 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 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 fb48418e44 refactor(json-file): move to expo/expo (#4782) 2023-11-23 11:11:08 +01: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
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
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
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 d1df936bab [test] re-enable codecov (#4222) 2022-03-14 17:42:57 +01: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
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
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 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
Ville Immonen d1e02e31a4 chore: format all files with Prettier (#2112)
* chore: update prettier config

- add all build folders to prettierignore
- add "yarn format" script in the root package
- set "arrowParens": "avoid" to match the default of Prettier 1.x,
  the new default "always" makes sense, but it's better to make this
  change in a separate commit
- remove unnecessary .prettierrc from dev-tools

* chore: format all files with Prettier
2020-05-13 15:27:42 +03:00
Ville ImmonenandEvan Bacon 0cb5979475 refactor: add @expo/dev-server (#1845)
Co-authored-by: Evan Bacon <[email protected]>
2020-04-29 18:33:19 +03:00
Evan Bacon 515cc3711e [uri-scheme] add basic tests (#1968)
* Added basic tests for uri-scheme

* Update test.yml
2020-04-22 23:53:21 -07:00
Evan Bacon 126f4c29ec [metro config] fix jest config (#1963)
* fix jest config

* Update test.yml

* Update config.yml
2020-04-22 19:23:53 -07:00
Evan Bacon 93bbb50949 fix jest config (#1964) 2020-04-22 19:22:48 -07:00
Evan Bacon 375654bb79 Remove duplicate tests (#1962) 2020-04-22 18:27:27 -07:00
Evan Bacon 9ddc46518e [babel preset cli] add tests (#1958)
* Update test.yml

* Add tests for our current use cases

* Update index.js
2020-04-22 17:53:40 -07:00
Evan Bacon 95531fe014 Remove node (#1960) 2020-04-22 16:36:56 -07:00
Evan Bacon 97343d7e83 @evanbacon/actions/common build step (#1959)
* Update test.yml

* Create common build action for coverage tests

* Update test.yml

* Update test.yml
2020-04-22 16:23:35 -07:00