Commit Graph
59 Commits
Author SHA1 Message Date
Evan BaconandEvan Bacon 3052b9d0c7 [webpack] Upgrade to Webpack 5 (#3763)
* Upgraded deps

* Update withDevServer.ts

* Running with Webpack 5

* New logging

* Fixed asset creation

* Fixed sockets

* Update TerminalUI.ts

* Added bundling support

* Update TerminalUI.ts

* fixed startup logic

* Updated dev tools web start

* Update startAsync.ts

* Update yarn.lock

* [wip] working again

* remove unused

* wip -- native fast refresh

* remove unused

* wip

* fixed fast refresh dev server across web/ios

* support arbitrary ports

* fixed image loading on web

* fixup refresh

* wip multi-config -- not working with fast refresh

* wip kinda working

* wip -- native fast refresh working

* wip -- working all platforms

* Added asset Metro middleware interop

* Disable react-error-overlay

* add web stuff back

* improve symbolication

* added proper patches

* patch package

* Update webpackHotDevClient.ts

* Update __webpack_require__.l.ts

* wip -- no merge

* wip -- no merge

* wip

* wip -- no commit

* wip -- updated interface

* wip -- update runtime

* fix versions

* Fix types

fixed all runtime/ TS errors

fix ts errors

change redirects

drop deprecations

Drop native output

Update embed.ts

Delete embed.ts

revert extras

remove asset middleware

updated ops

split out HMR plugin

Update webpack.config.ts

* Remove patches

* Delete webpack-dev-middleware_dist_utils_setupOutputFileSystem.js

* Drop extra native features

* revert code

* Update defaults.ts

* added types

* fix yarn

Update PackagerLogsStream.ts

Update yarn.lock

* Update getFileAsync.ts

* Update webpack.config.ts

* Update Webpack.ts

* Fix splitChunks

* Remove react-dev-utils to add Node LTS (v12) support back

Update ModuleNotFoundPlugin.ts

Update formatWebpackMessages.ts

* fix types

* Update createAllLoaders-test.js

* Update paths-test.js.snap

* fix tests

* Update webpack.config-test.js.snap

* Fix merge

* Fix find-up

* Update package.json

Update ManifestHandler.ts

Update .eslintrc.js

Update parseStartOptions.ts

fix types

Update yarn.lock

Delete more unused code and fix types

fix types

drop unimodules helper (no longer used in Next.js adapter)

update tests

drop more native support

wip -- drop native

update deps

Update basic-test.js

updated tests

Update startAsync.ts

drop / revert

Update package.json

* update tests

* fix tests

* fix tests

---------

Co-authored-by: Evan Bacon <[email protected]>
2023-01-27 10:38:59 -06: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
Kim Brandwijk 208354c051 [expo-env-info] prepare repo to convert expo-env-info to esm (#4312) 2022-04-23 02:01:30 +02:00
Will Schurman 285efe2734 [schemer] Update user-facing error message for not fields (#4308) 2022-04-18 10:56:32 -07:00
Kim Brandwijk 6fbf7c83ff chore: lerna version bump and config update (#4117) 2022-01-07 11:24:56 -07:00
Kudo Chien 57d74b63d5 [config-plugins] introduce codeMod (#3909) 2021-10-19 10:30:08 -07:00
Evan Bacon 77dc305d61 Remove shared monorepo deps (#3704) 2021-07-20 11:55:04 -06:00
Evan Bacon dff8aec4a8 Update tsconfig to support node 12 (#3489) 2021-05-14 09:36:46 -07:00
Bartosz Kaszubowski 292a5e9617 [workspace] update TypeScript to latest release (#3454) 2021-05-07 17:44:08 -07: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
Brent Vatne 6241a71902 devDependencies -> dependencies in root package.json 2021-03-02 15:04:45 -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 563bdcabb7 upgrade ncc (#3140) 2021-01-27 14:55:56 -08:00
Evan Bacon 9151695f70 resolve empty hermes package (#2913) 2020-11-18 13:54:32 +01:00
Dominik Sokal e242299dc4 Upgrade jest to v26 (#2421)
* upgrade jest to v26

* [xdl] require.requireActual -> jest.requireActual
2020-08-04 11:02:43 +02:00
Will Schurman e958ff848c Update eslint-config-universe to 4.0.0 (#2396) 2020-07-24 15:25:32 -07:00
Evan Bacon 80b9197ef7 Updated webpack version (#2336)
* Updated webpack version

* Fixed noop sw

* Update index.ts

* updated tests
2020-07-02 13:07:04 -07:00
Evan Bacon 2dfc929b78 Added jest watch plugins (#2202) 2020-05-29 13:20:55 -07:00
Cedric van Putten b49f88d1f0 [expo-cli] unify and remove duplicated jest configuration (#2117)
* refactor: simplify and unify all jest config

* chore: add missing projects to root jest

* refactor: remove package file jest config

* refactor(dev-tools): remove extraneous default config override

* refactor(dev-server): add roots back to jest config

* chore: add test script to root package file
2020-05-20 22:24:17 +02:00
Ville Immonen c0c7b5bba6 chore: clean up @expo/babel-preset-cli (#2131) 2020-05-15 12:17:09 -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 Immonen 61c994e49b chore: upgrade to TypeScript 3.8 (#2090) 2020-05-08 17:17:43 +03:00
Ville Immonen bcb78008fb chore: fix type checking in CI, remove bootstrap (#2085) 2020-05-08 12:19:05 +03:00
Julian HundelohandEvan Bacon 098b38a37a chore: update webpack (#1726)
* fix: update webpack-dev-server

* chore: update dependencies

* fix: fix type issues

* Update yarn.lock

Co-authored-by: Evan Bacon <[email protected]>
2020-05-06 14:24:07 -07:00
Evan Bacon 92253bf96e Remove jest message utils (#2033) 2020-04-28 19:20:51 -07:00
Evan Bacon 24c3edeab9 Add codecov action (#1950)
* Add codecov action

* Update test.yml

* fix tests

* Update config.yml

* Update test.yml

* Update test.yml
2020-04-22 11:42:50 -07:00
Evan Bacon 1644dd4b6d updated to jest 25 (#1922)
* Migrate to jest 25

* dedup lock file

* updated babel-jest
2020-04-18 22:33:07 -07:00
Evan Bacon c74ac9e831 Remove bootstrap from yarn start (#1869)
* Remove bootstrap from yarn start

* Remove prebootstrap because yarn is already run in learna bootstrap
2020-04-12 21:33:57 -07:00
Evan Bacon 78849758f8 Added expo-yarn-workspaces (#1788) 2020-04-01 16:30:31 -07:00
Evan Bacon 6d9db5b3ce Ignore more packages 2020-03-21 15:56:23 -07:00
Evan Bacon cba5fb0293 Setup codecov (#1578)
* Setup codecov

* updated jest config
2020-02-19 16:45:09 -08:00
Brent Vatne b810269440 Update TypeScript, ESLint, Prettier, and run them everywhere (#1304) 2019-12-05 16:39:48 -08:00
Will Schurman 6ac0f9bec3 [cli] Run prettier on TypeScript precommit (#1296) 2019-12-05 13:39:18 -08:00
Ville Immonen c3d0575096 refactor: convert @expo/osascript to TypeScript (#651)
* Convert @expo/osascript to TypeScript
* Upgrade @expo/spawn-async
2019-05-30 16:15:51 +03:00
Dominik Sokal 4e22925447 [xdl][expo-cli] update @expo/spawn-async to 1.4.2 (#530) 2019-04-19 15:57:41 +03:00
Ville Immonen 72e35aea64 Add a note about deprecated publish script 2019-04-19 01:05:11 +03:00
Ville Immonen 5a61fa9e24 Remove publish.js from npm scripts
npm scripts don't run the underlying script with in a TTY,
which causes `npm publish` to not prompt for 2FA OTP in the terminal.

This script should be run directly in the terminal instead.
2019-04-19 00:58:45 +03:00
Ville Immonen 6ad63c4390 Fix publish script (#529) 2019-04-19 00:07:52 +03:00
Ville Immonen 9c98be07fe Update ESLint config and fix errors (#443)
* Update the whole repo to use the latest ESLint config

* Edit ESLint ignores

* Only use universe/web config in dev-tools

* Fix class/decorators syntax error

* Fix react/react-in-jsx-scope

* Fix 'cp is undefined' (no-undef)

* Fix duplicate import

* Fix unexpected keyword

* Remove legacy web (Electron) specific code paths in XDL

These code paths were used in XDE, which is long gone.
They are no longer used or tested.

Fixes these lint errors:
- 'FormData' is not defined (no-undef)
- 'window' is not defined (no-undef)

* Fix 'error is undefined' (no-undef)

* Ensure newline at EOF
2019-03-21 11:48:17 +02:00
Ville Immonen a28c18ac95 Pin Lerna version 2019-03-20 19:35:08 +02:00
Ville Immonen 83e1d135f5 Update Prettier
This fixes the Sublime Text (JsPrettier) integration of Prettier,
which now requires Prettier 1.16.x.
2019-02-04 17:32:08 +02:00
Ville Immonen 197bd3e6cb Revert to using the publish script 2018-12-03 19:21:12 +00:00
Ville Immonen 1813ccdf6c Use lerna version 2018-12-03 19:16:05 +00:00
Ville Immonen 91642bf9a4 Use npm for publishing 2018-12-03 19:08:53 +00:00
Ville Immonen 0b230b2154 Fix lerna publish 2018-12-03 18:54:35 +00:00
Ville Immonen 8b3fb32cd5 Revert "Prompt for the OTP in each package when publishing"
This reverts commit dd2de5432a.
2018-12-03 18:36:14 +00:00
Ville Immonen dd2de5432a Prompt for the OTP in each package when publishing 2018-12-03 18:24:45 +00:00
Ville Immonen f9da2a5ba9 Add prettier configuration back (#172) 2018-11-08 16:48:50 +02:00