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

179 Коммитов

Автор SHA1 Сообщение Дата
Tommy Nguyen ddb143ff2a
fix(build): disable sanitizers via `xcodebuild` build settings (#1861) 2022-09-05 10:00:24 +02:00
Tommy Nguyen 4e5b133e05
chore: lock Jest to 27.x (#1849)
Jest 28 does not work with react-native.
2022-08-25 11:48:14 +00:00
Tommy Nguyen 4c462bf399
fix(react-native-test-app-msal): bump MSAL to 4.x (#1834) 2022-08-22 18:21:44 +02:00
renovate[bot] 20cd900a78
chore(deps): update gradle/gradle-build-action action to v2.2.5 (#1813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-08-22 13:43:10 +00:00
Adam Foxman e98dd546ad
Update docusaurus (#1797)
* Update to docusaurus release 2.0. Fix MDX inline plugin to fit with updated docusaurus mdx loader.

* docs(changeset): Update to docusaurus 2.0 release build, fix MDX-include plugin

* "eject" docsite from the monorepo. Give it a private lock file and node version. Update PR/build steps to run yarn specifically for docsite.

* trying to find a yaml bug - attempt 1

* trying to find a yaml bug - attempt 2

* docusaurus can no longer be managed by changesets since it isn't part of the monorepo anymore

* update test
2022-08-16 08:53:40 -07:00
Tommy Nguyen f495c8aff0
fix(rnx-build): add support for Apple M1 (#1787) 2022-07-25 12:00:50 +02:00
renovate[bot] d2e0f4c34f
chore(deps): update actions/setup-node action to v3.4.1 (#1775)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-07-25 07:38:36 +00:00
renovate[bot] 4a30b7e39a
chore(deps): update gradle/gradle-build-action action to v2.2.2 (#1767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-07-25 06:55:46 +00:00
Lorenzo Sciandra f37adca516
add a few mentions to the RFC process in the repo (#1756) 2022-07-21 11:33:21 +00:00
renovate[bot] 6ef6217e7b
chore(deps): update actions/setup-java action to v3.4.1 (#1749)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-07-18 09:58:13 +02:00
Tommy Nguyen a99b796979
feat(rnx-build): add support for Firebase App Distribution (#1739) 2022-07-14 08:01:09 +02:00
Tommy Nguyen 641d8978cf
chore: bump react-native to 0.68 (#1735) 2022-07-11 12:09:15 +02:00
Tommy Nguyen 1caac7c150
fix(rnx-build): properly handle multiple GitHub jobs (#1729) 2022-07-08 09:26:46 +02:00
Tommy Nguyen deb82d8424
fix(rnx-build): add support for other package managers (#1722) 2022-07-07 09:30:31 +02:00
Tommy Nguyen f9ba2aa56f
fix(rnx-build): add `scheme` as build parameter (#1719) 2022-07-05 15:40:01 +02:00
Tommy Nguyen 565b308286
fix(build/ios): prompt user for device rather than failing (#1702) 2022-06-29 11:34:54 +02:00
Tommy Nguyen 76b6fb70f2
fix(build/windows): replace W11 only solution with code signing (#1701) 2022-06-29 08:51:07 +02:00
Tommy Nguyen ddb7f40f87
fix(build/ios): add ability to launch on device (#1700) 2022-06-29 08:50:37 +02:00
Tommy Nguyen b4af4f6bd9
fix(build): better handling of iOS device selection (#1696) 2022-06-27 11:04:34 +02:00
Tommy Nguyen 459b67f521
ci: ensure `@rnx-kit/build` workflows are consistent (#1689) 2022-06-23 19:19:51 -07:00
renovate[bot] 8bd75c650c
chore(deps): update actions/setup-java action to v3.4.0 (#1686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-23 16:43:47 +00:00
Adam Foxman a455cb2dfb
CI workflow update, integrate expo-app into repo (#1658)
* baseline commit - merge from add-expo-app2

* factor out iOS builds for expo-app and test-app. set up a cache for cocoapods.

* update dependencies

* GitHub actions: factor out toolchain setup into a local action

* GitHub actions: factor out yarn caching and package installation

* fix indenting issue

* add shell parameter

* GitHub actions: factor out cocoapods installation and caching

* GitHub actions: factor out android build, add Android build job for expo-app

* fix callout to android build workflow

* Upgrade expo-app to a TypeScript version that matches the repo

* Fix version-out-of-sync issue in scripts package

* Add build-ios and build-android commands to rnx-kit-scripts

* Add ios and android build commands to test-app and expo-app. Update CI loops to use the new commands.

* Update test-app pod versions

* docs(changeset): Integrate rnx-kit-scripts with expo-app (as much as possible). Add script commands for building ios and android projects.

* docs(changeset): Add android and ios build scripts. Update pod versions.

* changefile

* trying out using action/setup-node's cache instead of actions/cache

* Remove xcpretty and formatted output that is already shown by xcodebuild. Add set -eo pipefail to halt the script on an error.

* factor out GH agent types into shared env vars. move off of *-latest and onto specific versions for more stability.

* fix matrix definition

* revert vars for controlling agent machine types since they don't work

* labeler doesn't work when submitting a PR from a fork. restrict to PRs originating from microsoft/rnx-kit.

* remove unnecessary error handling

* Use default node version in setup-toolchain script, rather than being explicit everywhere

* Change default device to iPhone 13

* Add clang caching and integrate with CI

* remove unnecessary exit 0

* setup apple after installing dependencies (RNTA is needed and is an external dependency)

* add ccache config

* take 2 for fixing labeler on PRs from a fork

* fix cache-key for ios projects
2022-06-23 09:12:21 -07:00
renovate[bot] 5c311e6a0f
chore: configure Renovate (#1677)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Adam Foxman <adam@thefoxmans.net>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-06-23 08:52:15 +00:00
Tommy Nguyen 01e91b071b
fix(build): add macOS and Windows support (#1676) 2022-06-23 10:40:02 +02:00
Tommy Nguyen 3fe939f755
fix(build): prompt to add workflow file (#1671) 2022-06-21 21:21:27 +02:00
dependabot[bot] 1d8ce5721f
build(deps): bump gradle/gradle-build-action from 2.2.0 to 2.2.1 (#1675)
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 13:33:01 +00:00
Tommy Nguyen 9341c417e5
feat(build): introduce experimental `rnx-build` command (#1659) 2022-06-21 10:15:50 +02:00
Lorenzo Sciandra 1ad631f6aa
chore (msbot): relax time parameters (#1630) 2022-06-14 13:36:15 +01:00
Adam Foxman f7845b3f16
Turn on fabric bot (#1606)
* add fabricbot config

* docs(changeset):
2022-06-07 08:35:58 +02:00
dependabot[bot] 23e54e4c4e
build(deps): bump actions/setup-node from 3.2.0 to 3.3.0 (#1604)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 08:34:14 +02:00
Tommy Nguyen 6732bdeaa9
chore: address Dependabot alerts (#1592)
- https://github.com/advisories/GHSA-93q8-gq69-wqmw
- https://github.com/advisories/GHSA-gff7-g5r8-mg8m
2022-06-01 08:22:44 +02:00
Tommy Nguyen 008f3703b0
chore: migrate to Nx (#1543) 2022-05-31 21:43:39 +00:00
dependabot[bot] 08c0c5f605
build(deps): bump actions/setup-node from 3.1.1 to 3.2.0 (#1512)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.1.1...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 14:01:49 +00:00
dependabot[bot] 023865d880
build(deps): bump actions/setup-java from 3.2.0 to 3.3.0 (#1461)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 13:26:31 +00:00
Adam Foxman d2d429cd75
Website publishing, root README update (#1455)
* experimenting with readme file

* update readme

* Configure docsite for GitHub pages

* Update PR and Build loops to build and publish the website.

* fix typo

* docs(changeset):
2022-05-03 12:35:33 -07:00
dependabot[bot] 300d205f22
build(deps): bump actions/setup-java from 3.1.1 to 3.2.0 (#1431)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.1.1...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 13:31:09 +00:00
Tommy Nguyen 8562bbf318
chore: add @kelset to `CODEOWNERS` [skip ci (#1413)
I keep adding him manually so he might as well be on the list of owners.
2022-04-21 15:08:04 +02:00
dependabot[bot] 712d79d8a5
build(deps): bump actions/setup-node from 3.1.0 to 3.1.1 (#1389)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 16:57:36 +00:00
dependabot[bot] b48001f4de
build(deps): bump actions/setup-java from 3.1.0 to 3.1.1 (#1388)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 09:38:22 -07:00
dependabot[bot] 28e7867ac2
build(deps): bump actions/setup-go from 2 to 3 (#1386)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 09:37:17 -07:00
Tommy Nguyen aa82475b42
ci: fix unexpected symbol in `build.yml` (#1377) 2022-04-08 11:05:20 +02:00
Tommy Nguyen 081b25a027
ci: disable publish in forks (#1376) 2022-04-08 10:58:11 +02:00
Adam Foxman 66709fc1fe
Remove suggestion-bot, as it does not work with GH-fork development (#1373)
* remove suggestion-bot

* Remove suggestion-bot from PR loop

* Cleanup

* cause a formatting error

* docs(changeset): Making the changelog happy - no changes here

* fix formatting error. introduce dependency error.

* Revert package change. Introduce a change which requires a README update, expecting the PR loop to fail with an error.

* Fix readme error
2022-04-07 18:06:08 +00:00
dependabot[bot] cae1f1fb31
build(deps): bump actions/setup-java from 3.0.0 to 3.1.0 (#1348)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 13:30:42 +00:00
dependabot[bot] 6f82b0bc53
build(deps): bump actions/setup-node from 3.0.0 to 3.1.0 (#1347)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 13:30:14 +00:00
dependabot[bot] 6085a9a1a1
build(deps): bump actions/cache from 2.1.7 to 3 (#1305)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 14:45:35 +01:00
dependabot[bot] b086ab99eb
build(deps): bump actions/checkout from 2.4.0 to 3 (#1170)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 15:34:28 +01:00
dependabot[bot] 94daef9fe1
build(deps): bump actions/labeler from 3.1.0 to 4 (#1169)
Bumps [actions/labeler](https://github.com/actions/labeler) from 3.1.0 to 4.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v3.1.0...v4)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 15:34:21 +01:00
Lorenzo Sciandra f9c6049f98
feat(patch-rnmacos): adding new DRAFT package, patch-rnmacos (#1135)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-02 12:04:52 +00:00
dependabot[bot] 72a03b45e0
build(deps): bump actions/labeler from 3.0.2 to 3.1.0 (#1162)
Bumps [actions/labeler](https://github.com/actions/labeler) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v3.0.2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-01 16:14:49 +01:00
dependabot[bot] 0a73d3472d
build(deps): bump actions/setup-node from 2.5.1 to 3.0.0 (#1138)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.1 to 3.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.5.1...v3.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-24 14:32:45 +00:00
dependabot[bot] 7f25b80cb5
build(deps): bump actions/setup-java from 2.5.0 to 3.0.0 (#1139)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.5.0 to 3.0.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.5.0...v3.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-24 14:30:50 +00:00
Tommy Nguyen 6507cb5cfb
feat: prototype auth module for RNSDK (#857) 2022-02-17 11:35:07 +01:00
Tommy Nguyen 945a5d03dc
chore: bump @types/node to 16.0 (#1065) 2022-02-08 12:52:40 +00:00
Tommy Nguyen f85dfae07a
ci: correctly increase JVM heap space to fix Gradle oom-ing (#1058) 2022-02-04 11:26:47 +01:00
Tommy Nguyen d10f4b0faa
fix(dep-check): use react-native-test-app 1.0 from react-native 0.66+ (#1044) 2022-02-02 14:39:57 +00:00
Tommy Nguyen fa7ef12757
feat(cli): show QR code for use with react-native-test-app (#982) 2022-01-06 19:32:54 +01:00
dependabot[bot] 2e2f8b94ad
build(deps): bump actions/setup-node from 2.5.0 to 2.5.1 (#969)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-29 10:55:01 +01:00
Tommy Nguyen 1c5e36da93
feat(react-native-test-app-msal): add support for Android (#894) 2021-12-07 13:58:15 +01:00
Tommy Nguyen 77cd6d5e37
ci: workaround for release PR skipping CI (#927) 2021-12-02 21:53:19 +00:00
Tommy Nguyen 0d1b98f082
ci: publish with the GitHub provided token (#914) 2021-12-02 19:05:22 +01:00
Tommy Nguyen 9121b1116c
ci: bump changesets/action to 1.0 (#913) 2021-11-30 12:29:30 -08:00
Tommy Nguyen 9cfe0d73fc
chore: migrate from Beachball to Changesets (#880)
- `change` remains mostly the same. The difference now is that we select
  the packages that should have the same change log entry. Where we used
  to specify `--type none`, we can do `yarn change --empty` instead.
- `publish:beachball` was split into `version:changesets` (for bumping
  version numbers) and `publish:changesets` (actually publishing).
2021-11-30 20:34:07 +01:00
dependabot[bot] 8191742327
build(deps): bump actions/setup-node from 2.4.1 to 2.5.0 (#902)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.1...v2.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 18:43:37 +01:00
dependabot[bot] 4c8de2cc31
build(deps): bump actions/cache from 2.1.6 to 2.1.7 (#892)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-23 14:31:27 +00:00
Tommy Nguyen 28052286ec
refactor(react-native-test-app-msal): refactor for future extensibility (#881) 2021-11-22 13:07:36 +01:00
Tommy Nguyen 212309afcb
fix(eslint/no-export-all): fix dupes sometimes showing up (#873)
ESLint sometimes revisits the same nodes in a single traversal. If there
are exported names, they can show up multiple times in the fixed code.
2021-11-19 09:17:19 +00:00
Tommy Nguyen 636c1ac5aa
ci: [skip ci] is now supported by GitHub Actions (#859) 2021-11-17 11:36:04 +01:00
Lorenzo Sciandra 71e4bc28d4
feat: add a new package: rn-changelog-generator (#841)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
Co-authored-by: Adam Foxman <adam@thefoxmans.net>
2021-11-12 18:24:04 +00:00
Tommy Nguyen 83db2a2f3d
chore(security): scope internal scripts package to prevent hijacking (#830)
We don't publish `rnx-kit-scripts` and are using Yarn workspaces to
consume the package internally within the repository. Since we are using
Yarn Classic, it does not understand `workspace:*` version syntax, which
would've ensured that we will always resolve to a package within the
workspace, but have to rely on `*` or matching exact version number. We
are only using exact version number in one package, but that would've
been enough to trigger an exploit if the version number of
`rnx-kit-scripts` changed for any reason.

To mitigate this, the package has been moved under the `@rnx-kit` scope
to prevent us from consuming malware. I've also made sure that we are
using `*` everywhere, and added a CI step to scan `yarn.lock` for
packages that should've come from the repository. In the future, when we
migrate to npm or some later version of Yarn, we should start using
`workspace:*` instead.
2021-11-09 20:21:15 +01:00
Tommy Nguyen fc715196af
fix(eslint-plugin): prefer `module` over `main` and add debug options (#809) 2021-11-04 18:49:43 +01:00
dependabot[bot] 3bbcd777b4
build(deps): bump actions/checkout from 2.3.5 to 2.4.0 (#804)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 13:21:31 +00:00
Adam Foxman 3c965a3209
Add Go to the build environment (#731)
* Move TPN CLI from bin to lib and publish from there.

* Fix TPN CLI path

* Add tasks to download, install, build, and run Go programs as part of the build environment. In each package, Go source is under /go/<project> and binaries are compiled to /bin.

* repalce ?. with equivalent code

* Replace ?. with equivalent code

* fix windows plaform name in go distro list

* fix go executable filename on windows

* Change files

* Change build-tools build output to verbose for CI loops. Doesn't appear to be a way to keep dev builds as warning-only without duplicating preinstall/posinstall commands (which I don't want to maintain).

* separate go task for hello world example

* Add a Go build step to each package build

* Add missing dependency

* Change files

* Move Go infra into its own package so other repos can use it. Add documentation. Remove dependency on just-scripts.

* Change files

* update readme file

* Update packages/go/README.md

Co-authored-by: Lorenzo Sciandra <lsciandra@microsoft.com>

* Update packages/go/README.md

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>

* Rename package from go to golang. Revert loglevel on yarn build-tools.

* Add handling for non-monorepo cases.

* Update packages/golang/package.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Co-authored-by: Lorenzo Sciandra <lsciandra@microsoft.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-22 18:24:53 +00:00
dependabot[bot] 20c9192836
build(deps): bump actions/checkout from 2.3.4 to 2.3.5 (#738)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-18 15:42:46 +02:00
dependabot[bot] 0c95b30485
build(deps): bump actions/setup-node from 2.4.0 to 2.4.1 (#679)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 13:19:38 +00:00
Tommy Nguyen c85e9aa2ea
chore: use GitHub's form schema for bug reports (#527) 2021-08-24 17:13:56 +00:00
Tommy Nguyen 58265529f0
chore: post more useful PR comments (#510) 2021-08-23 20:08:54 +02:00
Tommy Nguyen 9a0239bcec
ci: test on two latest LTS versions of Node (#496) 2021-08-17 22:14:40 +02:00
Tommy Nguyen 150ed8e6ff
feat(dep-check): add command for setting react-native version (#455) 2021-08-17 11:33:19 +02:00
dependabot[bot] f8f9598f2b
build(deps): bump actions/setup-node from 2.3.2 to 2.4.0 (#472)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.3.2...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-06 15:07:41 -07:00
Adam Foxman e0c49e3c2e
Refactor config package and add bundle-definition tests (#445)
* Add a custom write function for redirecting diagnostic output.

* Add additional metro types in support of this (and upcoming) PRs.

* Remove props that have no effect from bundle API. Update loadMetroConfig to support more overrides. Export Metro's runServer API as startServer. Export createTerminal API which instantiates a new Metro terminal and terminal reporter.

* update dependencies

* Remove props which have no effect from bundle command.

* Change files

* Refactor config types, pulling out bundler runtime parameters. This does not impact the package API, but is important for the upcoming Metro server work. Add tests for the bundle definition code. Move existing tests into their own directory, and update jest config and snapshots.

* Remove old change files

* Change files

* remove unneeded change files

* dump env as a test

* Fix PR loop to check for change file using the "from" branch of the merge. Usually origin/main, but not always.

* 2nd attempt

* 3rd attempt

* 4th attempt

* fetch more history so we can see all branches/refs for changefile checks

* 5th attempt

* Fix spacing
2021-08-06 11:00:55 -07:00
dependabot[bot] f71e0a175f
build(deps): bump actions/setup-node from 2.3.1 to 2.3.2 (#468)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.3.1...v2.3.2)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-05 09:04:37 -07:00
dependabot[bot] a7b4b99bed
build(deps): bump actions/setup-node from 2.3.0 to 2.3.1 (#461)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-04 17:14:03 +02:00
Tommy Nguyen c329f9ae51
feat: Jest resolver that supports out-of-tree platforms (#364) 2021-07-23 21:43:36 +02:00
dependabot[bot] d03ca7ad39
build(deps): bump actions/setup-node from 2.2.0 to 2.3.0 (#416)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-20 13:15:30 +00:00
Tommy Nguyen 8fabe49aa5
ci: `beachball check` needs more git history (#406) 2021-07-19 09:31:37 +01:00
dependabot[bot] 35d0a60700
build(deps): bump actions/labeler from 2 to 3.0.2 (#402)
Bumps [actions/labeler](https://github.com/actions/labeler) from 2 to 3.0.2.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v2...v3.0.2)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-15 13:17:43 +00:00
Tommy Nguyen ff4f41509f
chore: automatically label new pull requests (#400) 2021-07-14 09:42:55 -07:00
Tommy Nguyen 0f0c380b62
fix(cli): add `--experimental-tree-shake` feature flag (#394) 2021-07-13 19:27:32 +02:00
Tommy Nguyen 0de555701c
fix(metro-serializer-esbuild): conditionally add lodash transformer (#391) 2021-07-12 23:50:44 +02:00
Adam Foxman 24dca16757
Documentation update (#385)
* Update top-level README

* Fix link

* fix link

* Fix type

* Update language regarding status of rnx-kit and our support statement.

* Update config package docs

* Update READMEs using automation

* Remove parameters which have no effect in Metro.

* fix typos

* Write a CLI readme file. Update RN CLI docs. Remove unused CLI options.

* update generated tables in readme

* fix typo

* add notes on contributing and releasing

* fix dep-check generated package versions
2021-07-12 19:24:23 +02:00
Tommy Nguyen 12196abcec
ci: ensure `yarn.lock` is deduplicated (#377) 2021-07-10 09:23:43 +02:00
Tommy Nguyen 4f065cdca3
chore: add templates for bug report and PR (#374) 2021-07-08 21:39:38 +02:00
Tommy Nguyen 761a1994bb
fix(metro-serializer-esbuild): assert Metro >=0.66.1 (#349) 2021-07-08 13:36:40 +02:00
dependabot[bot] 64baa0ab5e
build(deps): bump actions/setup-node from 2.1.5 to 2.2.0 (#348)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-01 13:15:32 +00:00
Tommy Nguyen 4794d9d1b5
ci: check for missing/unused dependencies (#322) 2021-06-28 14:15:24 +00:00
Tommy Nguyen 4701f7a40c
chore: eslint all the things (#314) 2021-06-23 09:23:31 +00:00
Tommy Nguyen 1e8b8f1c05
chore: bump lage and use rnx-dep-check to align dependencies (#310) 2021-06-22 16:58:22 +02:00
Tommy Nguyen 693d313e7a
ci: format all the things (#274) 2021-06-03 11:10:51 +01:00
dependabot[bot] b5fc9a0b37
build(deps): bump actions/cache from 2.1.5 to 2.1.6 (#265)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-28 13:16:20 +00:00