Commit Graph
9 Commits
Author SHA1 Message Date
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
Evan BaconandEvan Bacon d081399b29 [expo cli] Added platform prefixes to logs (#3769)
* Added logger platform tags (in-line style)

* Added platform to middleware logs

* Update clientLogsMiddleware.ts

* Update clientLogsMiddleware.ts

* Use expo-platform

* Update clientLogsMiddleware-test.ts

Co-authored-by: Evan Bacon <[email protected]>
2021-08-16 11:43:45 -06:00
Evan Bacon 320f1b2982 Refactor projectDir -> projectRoot (#3292) 2021-03-16 15:18:15 -07:00
Ville Immonen cac8bdfbd7 Remove unused detach code from XDL and rename the package (#3268)
* Rename @expo/xdl to xdl
* Remove unused modules from the xdl interface
* Remove unused TurtleApi
* Remove unused Detach.detachAsync
* Remove unused code in src/detach folder
  - Remove StandaloneContextService (this code now always runs in user context)
  - Remove unused functions in ExponentTools and IosWorkspace
  - Remove unused modules
  - All of the remaining files in src/detach folder are now TypeScript for easier refactoring
* Remove `xdl.Modules`
2021-03-15 15:26:36 +02:00
Will Schurman e958ff848c Update eslint-config-universe to 4.0.0 (#2396) 2020-07-24 15:25:32 -07:00
Brent Vatne 138d65e5b5 Revert "[dev-tools] refactor: Convert DevTools to Expo Web from NextJS (#1824)"
This reverts commit dd469ae8a2.
2020-04-15 22:06:26 -07:00
Juwan WheatleyandEvan Bacon dd469ae8a2 [dev-tools] refactor: Convert DevTools to Expo Web from NextJS (#1824)
* [dev-tools] Initialize new Expo app

* [dev-tools] remove decorators

* [dev-tools] get UI rendering via Expo Web instead of NextJS

* [dev-tools] use path.resolve to remove leading slash

* [dev-tools] get Expo Web dev-tools running on `expod start`

* [dev-tools] get local dev server working with `expo start`-ed UI

* [dev-tools] add nodemon watcher for developing DevToolsServer and create script for developing DevTools UI.

This also removes the `yarn start` script, as you should run `yarn dev-server <path>` and `yarn dev-ui` in separate terminals.

* [dev-tools] update README.md

* [dev-tools] build/develop DevTools client using xdl directly

* [dev-tools] add emotion babel plugin dep

* [website] remember to install client dependencies

* [dev-tools] check before cleaning dist path

* [dev-tools] remove nextjs config files

* [dev-tools] test if adding next back to the devtools package unbreaks CI

* Revert "[dev-tools] test if adding next back to the devtools package unbreaks CI"

This reverts commit 3647e51eff44eaddb65c322a66c9728e97b5a0b6.

* [dev-tools] try to add *correct* NextJS back to fix CI

* [dev-tools] use correct start script to not start metro

* [dev-tools] remove redundant main field
we should stop generating this in the template if it's default now

* [dev-tools] remove redundant platforms field

* [dev-tools] moved indexpage to appjs

* Update packages/dev-tools/client/.gitignore

Co-Authored-By: Evan Bacon <[email protected]>

* [dev-tools] be more specific about what version of dev-tools you should be testing

* [dev-toold] reduce size from 4.3mb to 1.2mb (on-par with nextjs predecessor)

* [dev-tools] import name properly

* [dev-tools] tell developers to not run `expo start` when trying to `yarn dev`

* [dev-tools] retake: remove manifest, run on port 19002, and support relative paths

Co-authored-by: Evan Bacon <[email protected]>
2020-04-14 18:55:28 -07:00
Evan Bacon 5c3339592c [dev-tools] Upgrade dev-tools (#1633)
* Migrate dev-tools to typescript

* fix scripts

* fix tests

* upgrade to next.js v8
2020-03-04 17:15:58 -08:00