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

4 Коммитов

Автор SHA1 Сообщение Дата
Tommy Nguyen bf893a2e82
feat(tsconfig): base TypeScript configs for working with Node (#2886) 2023-12-18 12:05:07 +01:00
Tommy Nguyen 1a2cf6720d
fix(metro-resolver-symlinks): add lib -> src remapper util (#905)
- Refactored resolvers to conform to a single interface
- Added a utility for remapping import paths (akin to babel-plugin-import-path-remapper)
- Updated README
2021-12-02 18:44: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
Tommy Nguyen dcb826baf0
feat: add Metro resolver with support for symlinks (#543) 2021-08-27 20:36:12 +02:00