104 Commits
Author SHA1 Message Date
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
Mike Grabowski d8fb550f60 Fix init command lookup of package.json 2018-11-06 17:00:54 +01:00
Mike Grabowski 38e6c2ef68 Fix small issue related to the detection of RN folder 2018-11-06 17:00:33 +01:00
Mike Grabowski 2623bf1a82 Support requring React Native paths outside of the CLI 2018-11-06 17:00:27 +01:00
Kacper Wiszczuk 46b128ca43 Make local-cli run 2018-11-06 17:00:04 +01:00
Mike Grabowski 23218bb1b1 Add 'packages/local-cli/' from commit '0cae21561a14af6a8aecce7527e2cf252f053417'
git-subtree-dir: packages/local-cli
git-subtree-mainline: 62e07d1dc0
git-subtree-split: 0cae21561a
2018-11-06 16:46:00 +01:00
Mike Grabowski 62e07d1dc0 Remove local-cli 2018-11-06 16:45:48 +01:00
Mike Grabowski b73159b229 Use resolve 2018-11-06 15:43:46 +01:00
Mike Grabowski e370f8fce2 Replace paths to correctly point to a template folder 2018-11-06 15:42:22 +01:00
Mike Grabowski dc5ba80144 Fix init command lookup of package.json 2018-11-06 15:35:17 +01:00
Mike Grabowski efa0ea7fbd Fix small issue related to the detection of RN folder 2018-11-06 14:06:12 +01:00