Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Saad Najmi 9b379755f5
ci: Make sure macOS arm64 builds (#267) 2021-01-13 11:20:07 +01:00
Tommy Nguyen 0e11850e2a
fix(Apple): Allow passing options to use_react_native! (#266)
Allow options to be passed directly to `use_react_native!`, such as
`:hermes_enabled` introduced in 0.64:

```rb
use_test_app! :hermes_enabled => true
```
2021-01-04 11:57:12 +01:00
Tommy Nguyen 1f3d4a3e78
ci: Run Prettier on JSON and YAML files (#234) 2020-10-08 21:01:16 +02:00
Tommy Nguyen c2a592520c
fix: Add `init-test-app` command to React Native CLI (#232)
```
% yarn react-native init-test-app --help
react-native init-test-app

Initializes a new test app project

Options:
  --destination [string]  Path to the directory where the test app should be created (default: ".")
  --name [string]         Display name of the test app (default: "example-test-app")
  --platform [string]     Specific platform to support: all, android, ios, macos, windows (default: "all")
  -h, --help              output usage information
```
2020-10-06 11:43:59 +02:00
Tommy Nguyen 20e2ca0a42
ci: Fix node_modules cache sometimes getting stale (#217)
The cache of `node_modules` folder can get stale if changes to
`react-native-test-app` was made after the cache has been updated, e.g.
when iterating on a PR.

This change also bumps several packages, addressing
[CVE-2020-15168](https://github.com/advisories/GHSA-w7rc-rwvf-8q5r), and
switches npm registry to https://registry.npmjs.org.
2020-09-14 09:27:39 +02:00
Tommy Nguyen b33b201c68
ci: Fix clang-format diffs not being picked up when quotes are present (#200) 2020-08-27 15:29:12 +02:00
Tommy Nguyen d22a324c11
ci: Run clang-format and submit diff as suggestions (#173) 2020-07-21 17:38:59 +02:00
Tommy Nguyen 7df4c702db
ci: Reduce noisy commits and changes to lock files (#122) 2020-06-17 16:02:31 +02:00
Tommy Nguyen f84e73d263
macOS: Initial test app (#96)
* macOS: Initial test app

* Add macOS to CI

* Update README

* Build macOS separately

* Hide Format menu and move React menu left

* Refactor xcodebuild.sh

* Run SwiftLint

* Autosave window frame

* release should wait on macos build

* Address comments

- Fix pod path checks
- Use `NSApplication.shared.keyWindow`
- Use `simctl` to get device id
- Check for `xcpretty`

* Use device_name

* Remove empty tests

* Fix command check
2020-06-03 15:05:09 +02:00
Tommy Nguyen f61d69a3ac
ci: Test published packages are consumable (#79) 2020-04-28 16:21:08 +02:00
Tommy Nguyen be1f439b10
Add Android support to Plop template (#37) 2020-03-26 21:05:33 +01:00
Tommy Nguyen 1801042081
Build Plop template on CI (#25)
* Build Plop template on CI

* Install react-native first

* Remove node_modules after generating the app

* Don't build-for-testing

* Nits

* Require platform argument
2020-03-20 12:42:06 +01:00
Tommy Nguyen 42b3abae99
iOS: Add Example tests (#15) 2020-03-09 12:42:40 +01:00