38 Commits
Author SHA1 Message Date
Kacper Wiszczuk 8cac6b010d v4.10.0 2020-06-04 20:04:23 +02:00
Eloy Durán 0a93be1a42 feat(cli-platform-ios): add macOS auto-linking support (#1126)
* [platform-ios] Describe native_modules.rb input

* [package] Add native_modules.rb to jest suite

* [platform-ios/native_modules] Use CP API in tests

* [platform-ios/native_modules] Port tests to JS

* [platform-ios/native_modules] Add platform specificity

Only include pods in targets that target platforms the pod supports.

* [platform-ios/native_modules] Disable tests in unssuported envs

* [platform-ios/native_modules] Clean-up test

* [platform-ios/native_modules] Improve output
2020-05-27 12:04:45 +02:00
Kacper Wiszczuk 48136adfb8 v4.9.0 2020-05-18 16:25:48 +02:00
Andrew Coates b92fbc6b9b Allow out of tree platforms to work without custom metro configs (#1115)
* Allow out of tree platforms to work without custom metro configs

* Need to add the platofrm specifc InitializeCore to getModulesRunBeforeMainModule

* lock

* Add npmPackageName to schema

* Some documentation

* Use finally to restore resolveRequest
2020-05-08 09:47:20 +02:00
Michał Pierzchała 65aaa0a113 v4.8.0 2020-04-24 18:53:10 +02:00
Kacper Wiszczuk d72a28ab3a v4.7.0 2020-04-14 15:25:55 +02:00
Michał Pierzchała dca351d037 v4.6.3 2020-04-08 18:01:08 +02:00
Michał Pierzchała 9bd7a5eb5f v4.6.2 2020-04-08 17:43:10 +02:00
Michał Pierzchała 0c068d1d1b v4.6.1 2020-04-08 17:38:51 +02:00
Kacper Wiszczuk 44af4821c5 v4.6.0 2020-04-06 17:08:16 +02:00
Antón Molleda 6c72d03bbc feat: install JDK automatically if missing (#1065)
* feat: install JDK automatically if missing on Windows

Install JDK@11 on Windows if missing. Later version break Gradle and
prior versions do not provide a .zip for easy local installation.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Fix #980

* chore: pr feedback

* chore: replace node-unzipper with node-stream-zip

* chore: pr feedback

* chore: pr feedback
2020-04-06 15:00:10 +02:00
Michał Pierzchała 4824113076 v4.4.0 2020-03-25 12:31:55 +01:00
Michał Pierzchała 79498d598e followup: fix what #1029 broke (#1053)
* followup: fix what #1029 broke

* get rid of appName from dependencies
2020-03-16 16:47:49 +01:00
Michał Pierzchała 19ac71f02c feat(android): add appName; deprecate root, appFolder, appId (#1029)
* feat: add appName; deprecate root, appFolder, appId

* add deprecation warnings
2020-03-16 14:39:08 +01:00
Michał Pierzchała bbbcd140f6 chore: remove haste and rnpm (#1043) 2020-03-11 12:55:06 +01:00
Michał Pierzchała 6cded84050 v4.3.0 2020-03-10 15:40:09 +01:00
Elliot Hesp e092bbee59 fix(cli-types): publish declaration files in npm package (#1044) 2020-03-10 14:36:00 +01:00
Michał Pierzchała 69c3703aad v4.2.1 2020-02-25 18:27:20 +01:00
Michał Pierzchała 59f2ac11d0 chore: don't publish maps and d.ts 2020-02-25 18:26:19 +01:00
Michał Pierzchała c311e02027 v4.2.0 2020-02-25 17:52:53 +01:00
Antón MolledaandMichał Pierzchała be0335be51 Create sourcemaps for easier debugging (#996)
* chore: create sourcemaps

* chore: get coverage for all files

* update collectCoverageFrom

* add files entry to cli-types

* remove scripts from tools

Co-authored-by: Michał Pierzchała <[email protected]>
2020-02-24 20:42:58 +01:00
Michał Pierzchała 0f553e78f5 chore: use script to link packages because lerna is buggy (#1000) 2020-02-21 18:40:40 +01:00
Antón MolledaandMichał Pierzchała 1c93b9b46e fix: script to link all packages (#988)
* fix: script to link all packages

Fix #978

* chore: ignore `global-cli` in lerna config

* adjust glob so it works on mac...

Co-authored-by: Michał Pierzchała <[email protected]>
2020-02-20 22:12:13 +01:00
Michał Pierzchała ba298d9c47 v3.0.0 2019-11-15 10:11:18 +01:00
Michał Pierzchała 2fa7e1f9ce v3.0.0-alpha.7 2019-10-16 11:21:42 +02:00
Michał Pierzchała d89534d820 v3.0.0-alpha.6 2019-10-15 18:32:15 +02:00
Michał Pierzchała 0e6ba4535e chore: set publishConfig for packages 2019-10-15 18:31:19 +02:00
Michał Pierzchała 3916fd3c40 v3.0.0-alpha.5 2019-10-15 18:20:17 +02:00
Michał Pierzchała 4595ab68ba v3.0.0-alpha.4 2019-10-15 18:19:38 +02:00
Michał Pierzchała 726266eb96 v3.0.0-alpha.3 2019-10-15 18:03:21 +02:00
Mike Grabowski 507abc677b chore: rewrite main CLI entry point to TypeScript (#787)
* Updates

* WIP: Save work

* Updatesg

* Update rootDir

* Updates

* Update type

* Updates

* Update bin path

* resolve issues

* Fix e2e tests - a small typo

* Bring back gracefulifyFs

* Do not  change rootDir
2019-10-14 21:13:22 +02:00
Mike Grabowski 5724d29dc9 feat: support autolinking in monorepos (#768)
* Improve handling of files in monorepo

* Fix tests with my poor Ruby haha

* Remove note about monorepo from the docs

* wat

* Okay, this is how you do tests in Ruby

* Fix Ruby tests

* Always resolve correct root

* Move files around

* Add tests - one is failing, need to check why

* Fix tests

* Assert it works from the same level

* Warn if the root is passed

We do not need root anymore. However, we still accept one argument (config) for testing purposes. Without this check, users that pass custom root would accidentially break their projects as CLI would take it as a config value.

* Implement monorepo support for Android

* Note custom paths

* Add quiet flag

* Improve handling of files in monorepo

* Fix tests with my poor Ruby haha

* Remove note about monorepo from the docs

* wat

* Okay, this is how you do tests in Ruby

* Fix Ruby tests

* Always resolve correct root

* Move files around

* Add tests - one is failing, need to check why

* Fix tests

* Assert it works from the same level

* Warn if the root is passed

We do not need root anymore. However, we still accept one argument (config) for testing purposes. Without this check, users that pass custom root would accidentially break their projects as CLI would take it as a config value.

* Implement monorepo support for Android

* Note custom paths

* Add quiet flag

* update locfile

* Fix init - make detachedCommands and remove ugly setProjectDir hack

* Resolve conflicts

* Fix remainig uses or root and get rid of cwd

* Update paths

* Remove unused func

* Update templates.ts

* Fix unit tests

* Better logger

* Debug

* Add deprecations

* Fix a typo

* Better deprecation message
2019-10-11 11:16:07 +02:00
troZee 221dec6a81 chore: convert tools/config folder to TS (#710) 2019-09-26 11:14:12 +02:00
Thibault HENRYandMichał Pierzchała 85198d2115 Migrate the rest of doctor command to TypeScript (#722)
* Migrate the rest of doctor command to TypeScript
Unify type definitions for the command
Remove Flow typings

* Remove useless falsy condition

* Change `any` type to `number`

* Use CommandFunction type
Remove useless arguments

* Export enum syntax

* Update packages/cli/src/commands/doctor/doctor.ts

Co-Authored-By: Michał Pierzchała <[email protected]>

* PR comments @thymikee
2019-09-16 11:38:48 +02:00
AnixandMichał Pierzchała 348a2310ad chore: migrated link command to TS (#696)
* chore: migrated link command to TS

* chore: fixed some typos and type error

* fix: fixed typo

* fix: fixing CI errors

* chore: removed the inquirer type and moved the node type to 8

* fix: resolved the missing platform type

* chore: fixed the CI errors

* fixups

* remove unused types

* less types

* moar types adjustments

* fix projectConfig


Co-authored-by: Michał Pierzchała <[email protected]>
2019-09-16 11:01:01 +02:00
José Chaves Neto 3b6838ad1c chore: migrate config command to TS (#689) 2019-09-15 19:49:16 +02:00
Michał Pierzchała 9069f3f690 chore: setup TS infra for cli package (#686) 2019-09-09 23:12:04 +02:00
Kacper Wiszczuk 4870ac5581 imp: Migrate platform-ios to TypeScript (#620)
* imp: move `platform-ios` to Typescript

* imp: Move tests and fixtures

* Add missing types

* Review fixes

* More review suggestions

* adjust tsdoc

* remove flowfixmes

* fix any from process
2019-09-09 19:05:12 +02:00