114 Commits
Author SHA1 Message Date
Telmen Munkhdalai 6441f4d152 style: remove double default value description in react-native run-ios (#86) 2019-01-14 13:02:23 +01:00
Alexander Zubko 9ed4c55688 fix: Prevent crash in findMatchingSimulator (#59) 2019-01-11 19:02:32 +01:00
Ferran Negre 9aaa508981 feat: be able to use link for specific --platforms only (#77)
* feat: be able to use link for specific --platforms only

* fix rawPackageName

* fix flow

* Fix test specifying package name.

* Minor corrections.

* Replace setMock for doMock.
2019-01-11 18:45:45 +01:00
Michał Pierzchała 4b1aa98af8 fix: android duplicates in linked packages (#81)
* fix: android duplicates in linked packages

* chore: add a comment
2019-01-11 17:53:19 +01:00
Michał Pierzchała 12eb5a834e chore: update global-cli paths (#82)
chore: update global-cli paths
2019-01-11 17:53:04 +01:00
Kacper Wiszczuk de2c1966de Merge pull request #83 from thymikee/chore/jest-projects
chore: better monorepo with jest packages and global Flow
2019-01-11 17:51:10 +01:00
Michał Pierzchała abc00a372b chore: ease work with monorepo with jest packages and global Flow 2019-01-11 17:37:25 +01:00
Kacper Wiszczuk 89cdd7921f fix: revert dependencies removal (#80)
Bring back `dependencies` command with a deprecation warning.
2019-01-11 14:25:20 +01:00
Kacper Wiszczuk a88c78f18b fix: Flow erros (#79)
* fix: Fix flow erros

* fix: fix lint
2019-01-11 13:31:33 +01:00
ferrannp 4db5fc01f3 fix: link tests 2019-01-10 17:23:01 +01:00
Ferran Negre 5c35f00311 fix: --appFolder should only install specific app on Android. (#67)
* fix: --appFolder should only install specific app on Android.

* Extract function from runAndroid and add tests for runOnAllDevices.

* Default to installDebug if no --appFolder is specified.

* Update the `getCommand`
2019-01-10 15:52:13 +01:00
Kacper Wiszczuk 1e83499f3b imp: Make package name a required argument in link (#64)
* imp: Make package name a required argument in link

* imp: Change function comment

* Update link.js

* Update link.js
2019-01-10 15:49:33 +01:00
Janic Duplessis 6de63fed2c Fix launching chrome dev tools (#63) 2019-01-08 18:18:23 +01:00
Kacper Wiszczuk 260874d20c fix: Re-enable some unit tests (#58) 2018-12-20 23:24:42 +01:00
Mike Grabowski 861947180c Bump Metro dependency, use new Metro Transformer and remove old packages (#55) 2018-12-19 20:25:31 +01:00
Mike Grabowski 08962ecfc9 Add ESLint (#52)
* Fix skipped test for add file to project

* Add ESLint config and fix all the errors

* Use proper lint command

* Function is required here

* This file is unused

* Remove extraneous files and move utils to correct folders

* Add strict mode to global-cli again and use preset for other places

* Revert changes to debugger-ui for browser compatibility

* Revert changes in global-cli, package should run on older Node too
2018-12-19 17:49:48 +01:00
Ignacio 601cbd4b42 Fix skipped test for add file to project (#44) 2018-12-15 11:03:11 +01:00
Mike Grabowski b8b5c98fff Remove manual check of the node version 2018-12-15 10:54:23 +01:00
Ville Immonen f9bf60e858 Add repository URLs to package.json files (#45) 2018-12-15 10:51:19 +01:00
Michał Pierzchała 6b598eb6a6 feat: restrict Node with engineStrict (#24) 2018-12-15 10:50:34 +01:00
Mike Grabowski f344c9c4c9 Decouple Metro config from CLI config (#30)
* Initial commit - delete Metro-related config

* Rewrite of the config, part 2

* Finish adopting link & unlink to new config format

* Rewrite 'server' command and the way we load config

* Fix errors and make server run

* Use require.resolve

* Simplify runServer code

* Updates to the config

* Remove duplicate platforms

* Use real and unified project root

* Fix projectRoots

* Unifiy root paths

* Remove projectRoot from type

* Leave two todos for tomororw

* Use projectRoot to read the root

* Fix projectRoot and implement config again

* Improve Metro config

* Fix configuration again

* Fix remaining Flow issues inside bundle

* Fix two failing test suites

* Fix getDependencyConfig tests and use snapshots

* Remove console

* Fix remaining Jest tests

* Remove console.log

* Fix issues with link/unlink tested in production

* Add legacy config to avoid breaking changes

* Fix a typo

* Exclude React Native CLI from being linked

* Remove console.log from production code

* Update getCommands.js

* Update loadMetroConfig.js

* Update package.json

* Update package.json
2018-12-15 10:49:21 +01:00
Mike Grabowski f0576af072 Bump Metro and Flow dependencies 2018-12-03 14:06:41 +01:00
Mike Grabowski c10eef8880 Import latest changes from React Native upstream 2018-12-03 14:01:37 +01:00
Kacper Wiszczuk 2ed7b80096 fix: Fix opening dev tools (#28)
* fix: Fix opening dev tools

* fix: fix argument typo

* fix: fix nits
2018-11-19 04:47:00 -08:00
Michał Pierzchała 32c34e9051 fix: move @babel/core to deps (#23) 2018-11-09 06:50:16 -08:00
Mike Grabowski 3865818503 Bump version 2018-11-09 15:35:30 +01:00
Mike Grabowski 42feb5259f Fix Babel issues on the CI 2018-11-09 15:35:14 +01:00
Mike Grabowski 45439393c3 Bump dependency 2018-11-09 14:17:43 +01:00
Mike Grabowski d5040321fa Fix Babel Require not firing 2018-11-09 14:17:32 +01:00
Mike Grabowski a3ffb3ad32 Release new version for review 2018-11-09 11:46:47 +01:00
Mike Grabowski 8c6198781f Refactor MiddlewareManager to not use class properties 2018-11-09 11:42:52 +01:00
Mike Grabowski c9828efeb3 Remove extraneous plugins 2018-11-09 11:37:27 +01:00
Mike Grabowski d40e62b3c3 Merge pull request #20 from thymikee/chore/circleci
chore: setup CircleCI
2018-11-09 02:27:33 -08:00
Mike Grabowski 24afeda0d6 Small clean up and fix main start up script 2018-11-09 11:20:48 +01:00
Michał Pierzchała b4b9d077ea chore: setup CircleCI 2018-11-09 11:17:06 +01:00
Michał Pierzchała ca2653ac33 add class properties transform 2018-11-08 23:58:45 +01:00
Michał Pierzchała bd10d94316 use @babel/register instead of metro-babel-register 2018-11-08 23:49:49 +01:00
Michał Pierzchała 3396cf8a7d chore: use babel7 for tests 2018-11-08 23:47:48 +01:00
Mike Grabowski dc20ec46c1 Fix typo 2018-11-08 15:45:11 +01:00
Mike Grabowski d63276a1a5 Release new version 2018-11-08 15:42:08 +01:00
Mike Grabowski b354d4f515 Make Flow pass 2018-11-08 15:41:07 +01:00
Mike Grabowski 55a4323960 Simplify Jest transformer 2018-11-08 15:35:47 +01:00
Mike Grabowski 11471680b0 Release a new version 2018-11-08 11:15:52 +01:00
Mike Grabowski c391af5f80 Small clean up 2018-11-08 11:06:33 +01:00
Mike Grabowski 09150a1270 Add bin property to the CLI 2018-11-08 11:02:09 +01:00
Mike Grabowski daa70be368 Fix test ignore paths 2018-11-07 14:48:27 +01:00
Mike Grabowski 9e6d069677 Make Jest tests run 2018-11-07 14:46:26 +01:00
Mike Grabowski c7b2b3d0b0 Make CLI run detached from React Native 2018-11-07 14:35:07 +01:00
Mike Grabowski 4e24d3287b Use resolve 2018-11-06 17:01:08 +01:00
Mike Grabowski be9e6c139d Replace paths to correctly point to a template folder 2018-11-06 17:01:01 +01:00