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

3063 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 37afa2bc6a
build(deps): bump @babel/preset-env from 7.13.15 to 7.14.0 (#177)
* build(deps): bump @babel/preset-env from 7.13.15 to 7.14.0

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.15 to 7.14.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.0/packages/babel-preset-env)

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

* fixup! build(deps): bump @babel/preset-env from 7.13.15 to 7.14.0

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2021-04-30 15:14:56 +02:00
dependabot[bot] 8251901466
build(deps-dev): bump @babel/runtime from 7.13.17 to 7.14.0 (#176)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.13.17 to 7.14.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.0/packages/babel-runtime)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 14:31:39 +02:00
dependabot[bot] b045db71d7
build(deps): bump @babel/types from 7.13.17 to 7.14.0 (#175)
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.13.17 to 7.14.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.0/packages/babel-types)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 14:30:46 +02:00
React-Native Bot 96f5128d35 📦 applying package updates ***NO_CI*** 2021-04-29 13:47:02 +00:00
Tommy Nguyen 15c1e30a91
chore(test-app): integrate @rnx-kit/dep-check (#170) 2021-04-29 14:41:58 +01:00
dependabot[bot] e55eec6673
build(deps-dev): bump react-native-test-app from 0.5.5 to 0.5.6 (#172)
Bumps [react-native-test-app](https://github.com/microsoft/react-native-test-app) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/microsoft/react-native-test-app/releases)
- [Commits](https://github.com/microsoft/react-native-test-app/compare/0.5.5...0.5.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-29 14:41:30 +02:00
dependabot[bot] e3b804805e
build(deps-dev): bump lage from 0.29.1 to 0.29.2 (#171)
Bumps [lage](https://github.com/microsoft/lage) from 0.29.1 to 0.29.2.
- [Release notes](https://github.com/microsoft/lage/releases)
- [Changelog](https://github.com/microsoft/lage/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microsoft/lage/compare/lage_v0.29.1...lage_v0.29.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-29 14:41:17 +02:00
React-Native Bot 25e31cb361 📦 applying package updates ***NO_CI*** 2021-04-29 12:34:45 +00:00
Tommy Nguyen e928742399
chore: bump Beachball to 2.2.0 (#169) 2021-04-29 13:29:23 +01:00
React-Native Bot 93c461bf6d 📦 applying package updates ***NO_CI*** 2021-04-28 17:08:34 +00:00
Tommy Nguyen 2ee84ee361
feat: added tool for diffing content of JS bundles (#166) 2021-04-28 19:04:49 +02:00
Tommy Nguyen 39c57b8e5d
feat(cli): add 'rnx-dep-check' command (#165) 2021-04-28 19:04:32 +02:00
React-Native Bot bd39b496ef 📦 applying package updates ***NO_CI*** 2021-04-28 16:03:56 +00:00
Tommy Nguyen 1f697f4a4c
fix(dep-check): expose cli for cli related integrations (#164) 2021-04-28 17:59:55 +02:00
React-Native Bot be42795fcb 📦 applying package updates ***NO_CI*** 2021-04-28 15:54:06 +00:00
Tommy Nguyen c79828791a
fix(dep-check): add 'hermes' capability (#167) 2021-04-28 17:48:50 +02:00
React-Native Bot 9bc7a51dda 📦 applying package updates ***NO_CI*** 2021-04-27 19:43:40 +00:00
Tommy Nguyen 87ec0aec3a
feat(sdk): initial dependencies checker (#149) 2021-04-27 21:39:10 +02:00
React-Native Bot 3db4c66a12 📦 applying package updates ***NO_CI*** 2021-04-27 09:54:28 +00:00
dependabot[bot] 936b4eb3a3
build(deps-dev): bump lage from 0.29.0 to 0.29.1 (#155)
* build(deps-dev): bump lage from 0.29.0 to 0.29.1

Bumps [lage](https://github.com/microsoft/lage) from 0.29.0 to 0.29.1.
- [Release notes](https://github.com/microsoft/lage/releases)
- [Changelog](https://github.com/microsoft/lage/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microsoft/lage/compare/lage_v0.29.0...lage_v0.29.1)

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

* fixup! build(deps-dev): bump lage from 0.29.0 to 0.29.1

* Change files

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2021-04-27 11:49:31 +02:00
dependabot[bot] b238fa6d05
build(deps-dev): bump @types/react from 17.0.3 to 17.0.4 (#156)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.3 to 17.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 19:00:25 +02:00
dependabot[bot] bb46f35d36
build(deps-dev): bump eslint from 7.24.0 to 7.25.0 (#154)
Bumps [eslint](https://github.com/eslint/eslint) from 7.24.0 to 7.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.24.0...v7.25.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 18:58:19 +02:00
dependabot[bot] 63eaeb26db
build(deps-dev): bump @types/semver from 7.3.4 to 7.3.5 (#153)
Bumps [@types/semver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver) from 7.3.4 to 7.3.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/semver)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 18:58:03 +02:00
dependabot[bot] 73497cdef5
build(deps): bump @types/jest from 26.0.22 to 26.0.23 (#152)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.22 to 26.0.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 18:57:47 +02:00
dependabot[bot] 60be69ef63
build(deps): bump chalk from 4.1.0 to 4.1.1 (#148)
Bumps [chalk](https://github.com/chalk/chalk) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.1.0...v4.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 18:08:22 +02:00
dependabot[bot] f5c98f5a34
build(deps): bump @babel/types from 7.13.16 to 7.13.17 (#147)
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.13.16 to 7.13.17.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.17/packages/babel-types)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 18:08:06 +02:00
dependabot[bot] 3335f97924
build(deps-dev): bump @babel/runtime from 7.13.16 to 7.13.17 (#146)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.13.16 to 7.13.17.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.17/packages/babel-runtime)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 18:07:49 +02:00
dependabot[bot] 53c16b5ddb
build(deps-dev): bump @babel/runtime from 7.13.10 to 7.13.16 (#145)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.13.10 to 7.13.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-runtime)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 14:57:47 +02:00
dependabot[bot] 250ed9269a
build(deps): bump @babel/core from 7.13.15 to 7.13.16 (#143)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.15 to 7.13.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-core)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 14:57:30 +02:00
dependabot[bot] 2afdb23434
build(deps): bump @babel/types from 7.13.14 to 7.13.16 (#144)
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.13.14 to 7.13.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-types)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 14:50:37 +02:00
React-Native Bot ec456bc34e 📦 applying package updates ***NO_CI*** 2021-04-16 23:29:39 +00:00
Tommy Nguyen 0358ff6025
feat: remove `rnx-start` command (#139)
This command currently does not provide any additional value over
`react-native start`.
2021-04-17 01:25:20 +02:00
dependabot[bot] c4fe98f3ef
build(deps): bump just-scripts from 1.5.3 to 1.5.4 (#138)
Bumps [just-scripts](https://github.com/microsoft/just) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/microsoft/just/releases)
- [Commits](https://github.com/microsoft/just/compare/just-scripts_v1.5.3...just-scripts_v1.5.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-16 12:14:23 +00:00
dependabot[bot] fefdb4a987
build(deps): bump ts-jest from 26.5.4 to 26.5.5 (#137)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.5.4 to 26.5.5.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.5.4...v26.5.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-16 12:13:56 +00:00
React-Native Bot 54a1ceff6a 📦 applying package updates ***NO_CI*** 2021-04-16 12:03:52 +00:00
Tommy Nguyen 770100be65
fix(babel-preset-metro-react-native): forward options to Metro (#136) 2021-04-16 13:59:07 +02:00
React-Native Bot a4391ce3b2 📦 applying package updates ***NO_CI*** 2021-04-13 15:58:06 +00:00
Tommy Nguyen 156e4465b4
fix(metro-plugin-duplicates-checker): support packages published with dual-publish (#131) 2021-04-13 17:53:03 +02:00
dependabot[bot] 61459d5c32
build(deps): bump actions/cache from v2.1.4 to v2.1.5 (#129)
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 15:44:42 +02:00
dependabot[bot] c1ab1e413c
build(deps-dev): bump react-native-test-app from 0.5.4 to 0.5.5 (#128)
Bumps [react-native-test-app](https://github.com/microsoft/react-native-test-app) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/microsoft/react-native-test-app/releases)
- [Commits](https://github.com/microsoft/react-native-test-app/compare/0.5.4...0.5.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 15:44:18 +02:00
React-Native Bot ce2f142fe4 📦 applying package updates ***NO_CI*** 2021-04-13 08:39:11 +00:00
Tommy Nguyen 5e69d665fb
feat(metro-plugin-duplicates-checker): support metro-serializer plugins (#120)
`metro-plugin-duplicates-checker` now supports `metro-serializer` plugin
infrastructure. Example usage:

```js
const { makeMetroConfig } = require("@rnx-kit/metro-config");
const {
  DuplicateDependencies,
} = require("@rnx-kit/metro-plugin-duplicates-checker");
const { MetroSerializer } = require("@rnx-kit/metro-serializer");

module.exports = makeMetroConfig({
  projectRoot: __dirname,
  serializer: {
    customSerializer: MetroSerializer([DuplicateDependencies()]),
  },
});
```

Example output:

```
fbjs (found 2 copies)
  1.0.0 /~/rnx-kit/node_modules/fbjs
  3.0.0 /~/rnx-kit/packages/test-app/node_modules/fbjs
error Duplicates found. Run CLI with --verbose flag for more details.
Error: Duplicates found
    at /~/rnx-kit/packages/metro-plugin-duplicates-checker/lib/index.js:37:23
    at /~/rnx-kit/packages/metro-serializer/lib/index.js:42:37
    at Array.forEach (<anonymous>)
    at Object.customSerializer (/~/rnx-kit/packages/metro-serializer/lib/index.js:42:17)
    at /~/rnx-kit/node_modules/metro/src/Server.js:562:50
    at Generator.next (<anonymous>)
    at asyncGeneratorStep (/~/rnx-kit/node_modules/metro/src/Server.js:99:24)
    at _next (/~/rnx-kit/node_modules/metro/src/Server.js:119:9)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
```
2021-04-13 08:34:54 +00:00
React-Native Bot 1ceaade5a7 📦 applying package updates ***NO_CI*** 2021-04-12 18:24:47 +00:00
Tommy Nguyen a5dbb7309f fix(metro-plugin-cyclic-dependencies-detector): node_modules check fails on Windows 2021-04-12 20:19:43 +02:00
Tommy Nguyen 70dc353e03 chore(test-app): consume `metro-plugin-cyclic-dependencies-detector` 2021-04-12 20:19:43 +02:00
React-Native Bot de56e17235 📦 applying package updates ***NO_CI*** 2021-04-12 17:12:34 +00:00
Tommy Nguyen 584d92e28c
feat: cyclic dependencies plugin for Metro (#116)
Metro plugin for detecting cyclic dependencies. To use it, add it to
`metro-serializer` introduced in #115:

```js
const { makeMetroConfig } = require("@rnx-kit/metro-config");
const {
  CyclicDependencies,
} = require("@rnx-kit/metro-plugin-cyclic-dependencies-detector");
const { MetroSerializer } = require("@rnx-kit/metro-serializer");

module.exports = makeMetroConfig({
  projectRoot: __dirname,
  serializer: {
    customSerializer: MetroSerializer([
      CyclicDependencies(),
    ]),
  },
});
```

Example output:

```
@rnx-kit/test-app/lib/src/App.js
└── @rnx-kit/test-app/lib/src/cyclicExample.js
    └── @rnx-kit/test-app/lib/src/App.js
        └── @rnx-kit/test-app/lib/src/index.js

error Require cycles detected. Run CLI with --verbose flag for more details.
Error: Require cycles detected
    at Object.detectCycles (/~/rnx-kit/packages/metro-plugin-cyclic-dependencies-detector/lib/detectCycles.js:82:15)
    at /~/rnx-kit/packages/metro-plugin-cyclic-dependencies-detector/lib/index.js:7:24
    at /~/rnx-kit/packages/metro-serializer/lib/index.js:42:37
    at Array.forEach (<anonymous>)
    at Object.customSerializer (/~/rnx-kit/packages/metro-serializer/lib/index.js:42:17)
    at /~/rnx-kit/node_modules/metro/src/Server.js:562:50
    at Generator.next (<anonymous>)
    at asyncGeneratorStep (/~/rnx-kit/node_modules/metro/src/Server.js:99:24)
    at _next (/~/rnx-kit/node_modules/metro/src/Server.js:119:9)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
```
2021-04-12 19:07:59 +02:00
React-Native Bot a7ed3f9d66 📦 applying package updates ***NO_CI*** 2021-04-12 12:44:24 +00:00
Tommy Nguyen dfb56e105d
feat: introduce `metro-serializer` for plugin support (#115)
This new package enables plugin support in Metro. It does the exact same
thing Metro does when serialising the JS bundle, but after running
through specified plugins.

Example usage:

```js
const { makeMetroConfig } = require("@rnx-kit/metro-config");
const {
  CyclicDependencies,
} = require("@rnx-kit/metro-plugin-cyclic-dependencies-detector");
const { MetroSerializer } = require("@rnx-kit/metro-serializer");

module.exports = makeMetroConfig({
  projectRoot: __dirname,
  serializer: {
    customSerializer: MetroSerializer([
      CyclicDependencies(),
    ]),
  },
});
```
2021-04-12 14:39:17 +02:00
dependabot[bot] 235ea973c0
build(deps-dev): bump eslint from 7.23.0 to 7.24.0 (#114)
Bumps [eslint](https://github.com/eslint/eslint) from 7.23.0 to 7.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.23.0...v7.24.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 14:26:15 +02:00