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

68 Коммитов

Автор SHA1 Сообщение Дата
github-actions[bot] 31dea743c4
Version Packages (#1204)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-09 17:00:27 +01:00
Lorenzo Sciandra 648ce3cb2c
chore(incubator): create a more structured approach for experimental packages (#1189)
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-03-09 14:27:17 +00:00
github-actions[bot] 39df0c8840
Version Packages (#1155)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-02 13:19:47 +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
Tommy Nguyen 3b436479ef
fix(dep-check): do not rewrite superset ranges in vigilant mode (#1148) 2022-02-28 12:27:09 +00:00
Tommy Nguyen 0eb8b8bdec
fix: bump workspace-tools for improved perf (#1111) 2022-02-16 19:29:00 +01:00
Tommy Nguyen 945a5d03dc
chore: bump @types/node to 16.0 (#1065) 2022-02-08 12:52:40 +00:00
Tommy Nguyen 6d3ac902a0
chore: bump @babel/core to 7.16.12 (#1020) 2022-02-01 15:14:42 +01:00
Tommy Nguyen a50e4a3146
fix(metro-serializer-esbuild): bump esbuild to 0.14.10 (#980) 2022-01-05 21:43:54 +01:00
Tommy Nguyen adf6feb85d
feat(tools-react-native): add function to get available platforms (#974) 2022-01-04 23:25:22 +01:00
Tommy Nguyen 77cd6d5e37
ci: workaround for release PR skipping CI (#927) 2021-12-02 21:53:19 +00:00
Tommy Nguyen b47fc9425e
chore: clean up Beachball artifacts in change logs (#924) 2021-12-02 16:31:54 +00: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
React Native Bot 06a9974767 📦 applying package updates [skip ci] 2021-11-30 17:24:14 +00:00
Tommy Nguyen 9635d55ae6
chore: restore ability to build dependencies in package (#906)
Restores the ability to navigate directly to a package and build it
including its dependencies when `--dependencies` is specified.
2021-11-30 18:17:06 +01:00
React Native Bot 224bb2e7c1 📦 applying package updates [skip ci] 2021-11-18 20:51:05 +00:00
Tommy Nguyen 856118d45b
chore: replace just-scripts (#869)
We are replacing just-scripts to:

1. Make it easier to add/modify commands as we work with our own tools
2. Remove the confusion from having two Just configs and not consuming
   the defined tasks within the scripts package
3. Reduce the overhead of managing transitive (dated) dependencies
2021-11-18 20:43:56 +00:00
Tommy Nguyen 8dee7f7d5a
chore: disable install scripts (#860) 2021-11-18 08:22:25 +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 646b90d577
fix(dep-check): fix dep-check not being executable (#842) 2021-11-12 12:58:10 +00:00
Tommy Nguyen c40418e515
fix(dep-check): bundle dep-check to avoid conflicting dependencies (#837)
`dep-check` is currently depending on `jest-diff` for displaying diffs.
This could potentially conflict with existing dependencies and cause
issues.

We're also pulling in more than 10 MBs worth of dependencies. Bundling
makes this package bigger, but the overall installation size is much
smaller.
2021-11-11 18:44:00 +01:00
Lorenzo Sciandra b358aaa8cd
chore: add a fake package to use as template for creating new packages (#800)
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2021-11-11 12:25:15 +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
React Native Bot e233f45305 📦 applying package updates ***NO_CI*** 2021-11-05 19:24:49 +00:00
React Native Bot 5856c2d375 📦 applying package updates ***NO_CI*** 2021-11-05 07:33:42 +00:00
React Native Bot 8572d4a476 📦 applying package updates ***NO_CI*** 2021-11-03 18:15:40 +00:00
React Native Bot 6be02d15d7 📦 applying package updates ***NO_CI*** 2021-10-29 12:14:32 +00:00
React Native Bot cb5a541558 📦 applying package updates ***NO_CI*** 2021-10-29 10:31:10 +00:00
React Native Bot 80e951a2e4 📦 applying package updates ***NO_CI*** 2021-10-29 08:51:30 +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
Tommy Nguyen 21aa5e4a86
chore: bump react-native to 0.66 (#711) 2021-10-12 09:04:44 +01:00
Tommy Nguyen 3c831c6482
feat(metro-serializer-esbuild): bump esbuild to 0.13.4 (#705) 2021-10-11 20:05:16 +02:00
Tommy Nguyen 3cac437e53
chore: bump jest to 27.2.1 (#660) 2021-09-22 17:59:14 +02:00
Tommy Nguyen b9e6eb9079
chore: enable `--isolatedModules` by default (#645)
Enable isolated modules to ensure compatibility with transpilers that
only operate on a single file at a time, e.g. Babel or esbuild.

See also https://www.typescriptlang.org/tsconfig#isolatedModules.
2021-09-21 14:39:49 +02:00
Tommy Nguyen 01595b237b
chore: add repo jest-preset (#579) 2021-09-08 06:37:48 +00:00
Tommy Nguyen 0eecc568dd
chore: add script for updating tools' READMEs (#554) 2021-08-31 06:53:08 +00:00
Tommy Nguyen 25b936b378
chore: upgrade to TypeScript 4.4 (#553)
As of 4.4, the parameter in the `catch` clause is `unknown` by default:
https://devblogs.microsoft.com/typescript/announcing-typescript-4-4-beta/#use-unknown-catch-variables
2021-08-31 06:37:17 +00:00
Tommy Nguyen 0ef4221058
chore: bump react-native to 0.65 (#523) 2021-08-25 08:08:14 +02:00
Tommy Nguyen 54ba95c4ef
chore: @rnx-kit/metro-config supports multiple versions of react-native (#511) 2021-08-23 20:09:49 +02:00
Tommy Nguyen dd66becefd
fix(third-party-notices): add JSON output format (#443) 2021-07-30 19:56:13 +02:00
Tommy Nguyen bf6cf5092d
feat: add 'rnx-test' to cli and introduce @rnx-kit/jest-preset (#433) 2021-07-29 19:36:57 +00:00
Tommy Nguyen c329f9ae51
feat: Jest resolver that supports out-of-tree platforms (#364) 2021-07-23 21:43:36 +02:00
Tommy Nguyen 3ee1585ab2
chore: remove deprecated just-repo-utils (#405) 2021-07-16 23:27:44 +02:00
Tommy Nguyen d5dc6a4691
chore: allow dependencies to be included with build (#401)
Rather than having to run `yarn build` or `yarn build-scope` from
workspace root, we can now run `yarn build --dependencies` within any
package. This allows us to stay within the package we're currently
working on.
2021-07-15 16:46:33 +02:00
Tommy Nguyen 1ecc428526
chore: add prettier task (#384) 2021-07-10 09:23:23 +02:00
Tommy Nguyen 4794d9d1b5
ci: check for missing/unused dependencies (#322) 2021-06-28 14:15:24 +00:00
Tommy Nguyen 4d6844b9cf
chore: add @types packages for Metro (#321) 2021-06-24 15:52:30 +02:00
Tommy Nguyen a557826de3
chore: bump @types/node to 14.17.4 (#319) 2021-06-23 10:34:11 -07: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