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

1004 Коммитов

Автор SHA1 Сообщение Дата
github-actions[bot] 5705cdc498
RELEASING: Releasing 1 package(s) (#2176)
Releases:
  @rnx-kit/align-deps@2.1.3

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-03 11:23:33 +01:00
Tommy Nguyen ea68e9b39e
fix(align-deps): fix write inconsistency (#2175)
In vigilant mode + `--write`, align-deps only writes the changes
reported by the unconfigured check.
2023-02-03 11:08:55 +01:00
github-actions[bot] 672353c2a2
RELEASING: Releasing 1 package(s) (#2173)
Releases:
  @rnx-kit/align-deps@2.1.2

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-02 13:06:14 +01:00
Tommy Nguyen 8198e0b8cd
fix(align-deps): always run unconfigured check (#2172) 2023-02-02 11:51:57 +00:00
github-actions[bot] 7504144212
RELEASING: Releasing 3 package(s) (#2165)
Releases:
  @rnx-kit/bundle-diff@1.0.12
  @rnx-kit/metro-plugin-typescript@0.3.2
  @rnx-kit/eslint-plugin@0.4.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-02 08:57:58 +01:00
Tommy Nguyen 218e1a76fc
feat(eslint-plugin): add `no-const-enum` rule (#2166) 2023-02-02 07:49:11 +00:00
Andrew Coates 6a63f4374c
@rnx-kit/metro-plugin-typescript fails to typecheck on windows (#2167) 2023-02-02 08:25:40 +01:00
Tommy Nguyen 5fcfb87a98
fix(bundle-diff): ignore inlined source map (#2164) 2023-02-01 18:01:42 +01:00
github-actions[bot] e889b790e6
RELEASING: Releasing 1 package(s) (#2163)
Releases:
  @rnx-kit/metro-resolver-symlinks@0.1.25

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-01 17:53:57 +01:00
Tommy Nguyen fa2c3b29ed
fix(metro-resolver-symlinks): disable exports map (#2162) 2023-02-01 16:02:04 +01:00
github-actions[bot] 8631db4676
RELEASING: Releasing 1 package(s) (#2161)
Releases:
  @rnx-kit/metro-serializer-esbuild@0.1.20

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-01 11:24:25 +01:00
Tommy Nguyen d566998e56
fix(metro-serializer-esbuild): virtual pre-modules should inherit namespace (#2160) 2023-01-31 21:00:40 +00:00
github-actions[bot] 2aa0198b39
RELEASING: Releasing 2 package(s) (#2159)
Releases:
  @rnx-kit/metro-serializer-esbuild@0.1.19
  @rnx-kit/third-party-notices@1.3.2

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-31 19:07:58 +01:00
Tommy Nguyen efc3a9ed66
fix(metro-serializer-esbuild): don't add namespace to all source files (#2157) 2023-01-31 18:56:51 +01:00
Tommy Nguyen 1e706d07d8
fix(third-party-notices): simplify text output (#2158) 2023-01-31 13:15:19 +01:00
github-actions[bot] 3db2274360
RELEASING: Releasing 2 package(s) (#2154)
Releases:
  @rnx-kit/align-deps@2.1.1
  @rnx-kit/eslint-plugin@0.3.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-27 12:02:09 +01:00
Tommy Nguyen cdac1d2217
fix(align-deps): validate input package paths (#2153) 2023-01-27 11:38:34 +01:00
Tommy Nguyen 8da1b4dde4
feat(eslint-plugin): add `consistent-type-imports` rule (#2152) 2023-01-27 11:38:19 +01:00
Tommy Nguyen c852b7ca54
chore(template): add 'Installation' and modify title (#2151) 2023-01-26 12:39:44 +00:00
github-actions[bot] c03e869e48
Version Packages (#2150)
* RELEASING: Releasing 2 package(s)

Releases:
  @rnx-kit/cli@0.16.2
  @rnx-kit/metro-config@1.3.5

* typo

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2023-01-25 15:58:15 +01:00
Tommy Nguyen 4b73250bbe
fix(metro-config): skip populating `watchFolders` if provided by user config (#2149) 2023-01-25 14:41:19 +00:00
Tommy Nguyen 341d28472f
fix(cli): resolve `cli-server-api` starting from `react-native` (#2148) 2023-01-25 15:27:21 +01:00
github-actions[bot] a7cb195022
RELEASING: Releasing 3 package(s) (#2146)
Releases:
  @rnx-kit/config@0.6.1
  @rnx-kit/align-deps@2.1.0
  @rnx-kit/metro-plugin-typescript@0.3.1

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-25 11:58:39 +01:00
Tommy Nguyen 95a3512685
fix(metro-plugin-typescript): lower Node version requirement (#2145) 2023-01-25 10:46:09 +00:00
Tommy Nguyen 15baa5d503
feat(align-deps): add `@react-native-community/cli` to profiles (#2144) 2023-01-25 11:25:23 +01:00
github-actions[bot] da7c972a96
RELEASING: Releasing 1 package(s) (#2141)
Releases:
  @rnx-kit/align-deps@2.0.4

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-24 14:25:29 +01:00
Tommy Nguyen f6dced6df9
fix(align-deps): bump dependencies with new arch support (#2140) 2023-01-23 12:53:20 +00:00
github-actions[bot] 525eaa8372
RELEASING: Releasing 2 package(s) (#2137)
Releases:
  @rnx-kit/babel-preset-metro-react-native@1.1.4
  @rnx-kit/metro-config@1.3.4

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-21 00:30:11 +01:00
Vicary A 5455c23442
fix(deps): include missing peers for Yarn (#2136) 2023-01-20 15:34:31 +00:00
Tommy Nguyen ad9f348918
chore: enable `consistent-type-imports` ESLint rule (#2135) 2023-01-20 16:07:50 +01:00
github-actions[bot] a64b8274c2
RELEASING: Releasing 1 package(s) (#2134)
Releases:
  @rnx-kit/third-party-notices@1.3.1

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-20 10:40:42 +01:00
AAHAbbas b29492d09c
fix(third-party-notices): normalize module path to resolve errors on Windows (#2133) 2023-01-20 08:40:58 +00:00
github-actions[bot] cd7fda775c
RELEASING: Releasing 3 package(s) (#2123)
Releases:
  @rnx-kit/third-party-notices@1.3.0
  @rnx-kit/metro-swc-worker@0.1.9
  @rnx-kit/cli@0.16.1

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-19 18:59:13 +01:00
AAHAbbas 20d81d18d8
feat(third-party-notices): add Metro plugin support (#2127) 2023-01-19 16:45:41 +00:00
Tommy Nguyen 8b7618028d
fix(cli): increase version range of `@react-native-community/cli-server-api` (#2132) 2023-01-19 14:54:10 +00:00
Tommy Nguyen 48e45b73cd
chore: bump markdown-table to 3.0.3 (#2129) 2023-01-18 20:24:20 +01:00
Tommy Nguyen f719c3dd52
chore(align-deps): replace pacote with package-json (#2126) 2023-01-18 16:11:41 +01:00
github-actions[bot] 6661d2438f
RELEASING: Releasing 7 package(s) (#2116)
Releases:
  @rnx-kit/cli@0.16.0
  @rnx-kit/config@0.6.0
  @rnx-kit/react-native-test-app-msal@2.0.2
  @rnx-kit/metro-plugin-cyclic-dependencies-detector@1.1.0
  @rnx-kit/metro-plugin-duplicates-checker@2.1.0
  @rnx-kit/metro-plugin-typescript@0.3.0
  @rnx-kit/build@0.4.2

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-17 18:09:47 +01:00
Tommy Nguyen d8d0cf37b8
feat(cli): add new `plugins` option (#2084) 2023-01-17 17:59:29 +01:00
Tommy Nguyen 7a9e4faa4f
chore: remove `jest-extended` to reduce maintenance overhead (#2115) 2023-01-17 16:05:08 +01:00
Tommy Nguyen 015a2b3a1c
chore(align-deps): bump jest-diff to 27.5.1 (#2114) 2023-01-17 15:02:45 +01:00
Tommy Nguyen 1b080e9b01
fix(react-native-test-app-msal): bump dependencies (#2112)
- `androidx.activity:activity-ktx` 1.5.1 -> 1.6.1
- `com.google.android.material:material` 1.6.1 -> 1.7.0
- `com.microsoft.identity.client:msal` 4.0.4 -> 4.1.3
2023-01-17 15:02:18 +01:00
Tommy Nguyen 776addd0ad
chore: bump npm dependencies (#2111) 2023-01-17 15:02:06 +01:00
Tommy Nguyen f4094996f1
chore(metro-config): bump type-fest to 3.5.1 (#2113) 2023-01-17 15:01:51 +01:00
github-actions[bot] d8cd2135cc
RELEASING: Releasing 1 package(s) (#2109)
Releases:
  @rnx-kit/metro-resolver-symlinks@0.1.24

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-17 12:36:52 +01:00
Tommy Nguyen e5aff35152
fix(metro-resolver-symlinks): also load `require` if `default` and `node` are missing (#2108) 2023-01-17 12:27:51 +01:00
github-actions[bot] bfcad00c7b
RELEASING: Releasing 3 package(s) (#2107)
Releases:
  @rnx-kit/cli@0.15.4
  @rnx-kit/esbuild-plugin-import-path-remapper@2.0.0
  @rnx-kit/metro-serializer-esbuild@0.1.18

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-16 15:34:11 +01:00
Tommy Nguyen 909b3d0d3a
fix(cli): fix broken bundle when `dev=true` `treeShake=true` (#2106) 2023-01-16 15:08:45 +01:00
Tommy Nguyen e1a215d069
chore: bump esbuild to 0.17.0 (#2105) 2023-01-16 15:08:29 +01:00
github-actions[bot] a0a0ed2178
RELEASING: Releasing 2 package(s) (#2096)
Releases:
  @rnx-kit/metro-service@3.0.3
  @rnx-kit/align-deps@2.0.3

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-13 13:45:58 +01:00
Tommy Nguyen dcb3158e7c
chore: remove unused 'expo-app' (#2099)
It doesn't look like it was testing any rnx-kit packages (besides
calling `@rnx-kit/scripts`). We've also not seen any significant usage
among Expo users. Removing it to reduce maintenance overhead.
2023-01-13 11:58:46 +00:00
Tommy Nguyen f3ec2994bc
fix(align-deps): add profile for react-native 0.71 (#2032) 2023-01-13 12:24:45 +01:00
Tommy Nguyen febf2c4c17
chore: remove deprecated dep-check (#2097) 2023-01-13 09:39:05 +01:00
Tommy Nguyen 775ef91de4
fix(metro-service): our try-catch is catching too many things (#2094) 2023-01-12 12:33:23 +00:00
Tommy Nguyen 70b9bd84e9
chore: remove deprecated typescript-react-native-compiler (#2093) 2023-01-11 14:49:33 +01:00
github-actions[bot] 6135bea8a5
RELEASING: Releasing 4 package(s) (#2092)
Releases:
  @rnx-kit/typescript-react-native-compiler@0.0.10
  @rnx-kit/typescript-react-native-resolver@0.3.1
  @rnx-kit/metro-plugin-typescript@0.2.0
  @rnx-kit/cli@0.15.3

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-11 12:02:51 +01:00
Adam Foxman f01bdef696
Delegate RN module resolution directly to TypeScript (4.7+ only), rather than our own resolver (#2071)
* Add note to set experimentalImportSupport in metro.config.js when turning on tree shaking.

* Revert "Add note to set experimentalImportSupport in metro.config.js when turning on tree shaking."

This reverts commit 3b7ab97e2a.

* Explicitly fail when our custom resolver encounters TS path-remapping. It can't handle this, and will do the wrong thing.

* Add an export

* docs(changeset): Explicitly fail when our custom resolver encounters TS path-remapping. It can't handle this, and will do the wrong thing. Also, export an existing function as part of the public interface.

* Add a new TypeScript module resolver for React Native projects which uses the `moduleSuffixes` compiler option. All resolution is delegated to TypeScript, rather than run through our custom resolvers, since TypeScript's resolvers are more feature-rich and in sync with the node ecosystem.

* docs(changeset): Add a new TypeScript module resolver for React Native projects which uses the `moduleSuffixes` compiler option. All resolution is delegated to TypeScript, rather than run through our custom resolvers, since TypeScript's resolvers are more feature-rich and in sync with the node ecosystem.

* Add a blank file extension to the list of platform extensions when using the TS 47 delegating resolver. This ensures that we fall back to "no extension" when resolving modules using TS.

* add tests

* Add deprecation notes/messages to the typescrpit-react-native-compiler/-resolver packages.

* docs(changeset): Mark this package as depcrecated.

* Add code/test to ensure moduleSuffixes when resolving type reference directives.

* Allow packages which set moduleSuffixes to use the convention of omitting the platform name.

* typos

* use `import type`

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2023-01-11 10:45:06 +00:00
github-actions[bot] c2c01d82f7
RELEASING: Releasing 1 package(s) (#2083)
Releases:
  @rnx-kit/align-deps@2.0.2

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-04 11:48:43 +01:00
Tommy Nguyen ceb635874b
fix(align-deps): fix `--exclude-packages` not working with plain check (#2081) 2023-01-04 11:09:23 +01:00
Tommy Nguyen d2468c3d2c
fix(align-deps): improve requirements check (#2082) 2023-01-04 11:09:03 +01:00
github-actions[bot] 42577ce873
RELEASING: Releasing 2 package(s) (#2070)
Releases:
  @rnx-kit/cli@0.15.2
  @rnx-kit/metro-plugin-typescript@0.1.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-05 12:22:38 -08:00
Tommy Nguyen 2f0c782e1f
refactor(cli): extract TypeScript plugin to separate package (#2046)
* refactor(cli): extract TypeScript plugin to separate package

* formatting

* don't export createProjectCache

* add entry under docsite

* Fix dependency version

* Remove unused dependencies brough in during merge from main

Co-authored-by: Adam Foxman <5109471+afoxman@users.noreply.github.com>
2022-12-05 20:08:51 +00:00
github-actions[bot] 068cd385ef
RELEASING: Releasing 4 package(s) (#2069)
Releases:
  @rnx-kit/jest-preset@0.1.13
  @rnx-kit/typescript-react-native-resolver@0.3.0
  @rnx-kit/typescript-react-native-compiler@0.0.9
  @rnx-kit/cli@0.15.1

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-05 08:10:08 -08:00
Adam Foxman 94aeb460a0
Revert specialized trace logging in our React Native TypeScript resolver (#2062)
* Add note to set experimentalImportSupport in metro.config.js when turning on tree shaking.

* Revert "Add note to set experimentalImportSupport in metro.config.js when turning on tree shaking."

This reverts commit 3b7ab97e2a.

* Remove the specialized trace logging that exists in our custom TypeScript module resolver. Revert to using TypeScript's trace() function for logging, and only invoking it when the compiler option traceResolution is true. This matches the convention in TypeScript itself.

This impacts our TypeScript resolver, our "rn-tsc" TypeScript compiler wrapper, and our CLI (no client-facing impacts).

* docs(changeset): BREAKING: update the public method 'changeHostToUseReactNativeResolver'. Remove trace logging parameters. From this version onward, standard TypeScript module resolution tracing applies. Set the compiler option 'traceResolution' to true, and you will see trace messages appear in the console. Logging to a file is no longer supported.

* docs(changeset): BREAKING: remove command-line parameters 'traceReactNativeModuleResolutionErrors' and 'traceResolutionLog' which were used for configuring custom trace logging. From this version onward, standard TypeScript trace logging should be used. This amounts to setting the compiler option 'traceResolution' to true. Trace messages will appear on the console. Logging to a file is no longer supported.

* Update change files
2022-12-05 07:57:51 -08:00
Andrew Coates 6c59f781c9
fix(jest-preset): add support for react-native-windows (#2061) 2022-12-05 10:37:06 +01:00
github-actions[bot] a9fd54dedc
RELEASING: Releasing 3 package(s) (#2052)
Releases:
  @rnx-kit/tools-language@1.4.2
  @rnx-kit/react-native-auth@0.2.1
  @rnx-kit/metro-resolver-symlinks@0.1.23

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-01 11:23:40 +01:00
Tommy Nguyen 80e6557d33
feat(metro-resolver-symlinks): experimental option to retry resolving from disk (#2044) 2022-11-30 18:35:36 +01:00
Tommy Nguyen 62b188767c
fix(react-native-auth): add TurboModule spec (#2024) 2022-11-29 19:38:20 +01:00
Tommy Nguyen 786e24c746
docs: replace tsdoc with typedoc (#2048) 2022-11-28 10:26:56 +01:00
renovate[bot] 2b11d7984c
chore(deps): update expo monorepo (#2015)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-11-17 18:34:34 +01:00
Tommy Nguyen 790b915bc8
chore: bump typescript to 4.9.3 (#2042) 2022-11-17 13:48:33 +00:00
github-actions[bot] 50e823183b
RELEASING: Releasing 2 package(s) (#2041)
Releases:
  @rnx-kit/babel-preset-metro-react-native@1.1.3
  @rnx-kit/metro-serializer-esbuild@0.1.17

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-17 12:19:05 +01:00
Tommy Nguyen a1fcd9eb1c
fix: fix modules not being resolved in pnpm-like setups (#2040) 2022-11-17 11:05:06 +00:00
Tommy Nguyen 3d738d8c00
docs: update code examples for more clarity (#2038) 2022-11-16 10:23:44 +00:00
github-actions[bot] 88276b4d6f
RELEASING: Releasing 2 package(s) (#2030)
Releases:
  @rnx-kit/dep-check@1.14.0
  @rnx-kit/cli@0.15.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-11 09:58:24 +01:00
Tommy Nguyen d563e22fa3
feat(cli): migrate to `align-deps` (#1976) 2022-11-11 09:40:37 +01:00
Tommy Nguyen 93b480ab8e
feat(dep-check): add migration message (#1941) 2022-11-11 08:53:04 +01:00
github-actions[bot] 0956e7de57
RELEASING: Releasing 1 package(s) (#2028)
Releases:
  @rnx-kit/align-deps@2.0.1

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-10 21:55:16 +01:00
Tommy Nguyen 430dd69a24
fix(align-deps): fix not being able to load `microsoft/react-native` (#2026)
We can't dynamically load the preset because we ship a bundled JS.
2022-11-10 20:44:08 +00:00
github-actions[bot] 7dfee00fec
RELEASING: Releasing 3 package(s) (#2025)
Releases:
  @rnx-kit/metro-resolver-symlinks@0.1.22
  @rnx-kit/align-deps@2.0.0
  @rnx-kit/tools-react-native@1.2.3

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-10 20:01:25 +01:00
Tommy Nguyen fbff74c8a5
feat(align-deps)!: release 2.0 (#1981) 2022-11-10 17:53:08 +01:00
Tommy Nguyen b73738428e
fix(align-deps): remove ability for partial config (#2023)
Partially reverts 8cd4405997.
2022-11-10 17:52:26 +01:00
Tommy Nguyen 53df63dd47
fix(metro-resolver-symlinks): use `extraNodeModules` if present (#1988) 2022-11-10 17:17:20 +01:00
github-actions[bot] 011e040b40
RELEASING: Releasing 7 package(s) (#2009)
Releases:
  @rnx-kit/metro-config@1.3.3
  @rnx-kit/react-native-test-app-msal@2.0.1
  @rnx-kit/cli@0.14.10
  @rnx-kit/dep-check@1.13.5
  @rnx-kit/tools-workspaces@0.1.3
  @rnx-kit/tools-language@1.4.1
  @rnx-kit/golang@0.2.3

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-08 13:41:40 +01:00
Tommy Nguyen c14e998e49
fix(metro-config): add support for Rush + pnpm setup (#2019) 2022-11-08 13:24:47 +01:00
Tommy Nguyen 80f823dfdb
fix(cli): fail gracefully if `jest-cli` is missing (part 2) (#2018) 2022-11-08 13:24:35 +01:00
Tommy Nguyen d87656e139
docs(metro-serializer-esbuild): correct dev server workaround (#2017)
I forgot to account for the additional changes made to
`metro.config.js`, applying `esbuildTransformerConfig`. This config does
not work with dev server. We still need two separate config files (or
some other mechanism to conditionally apply `esbuildTransformerConfig`).
2022-11-07 19:01:19 +01:00
renovate[bot] bfba7dffa1
fix(deps): update dependency react-native to v0.68.5 (#2016)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-11-07 13:19:15 +00:00
Tommy Nguyen ed9936e8c3
chore: extract preset from `rnx-align-deps.js` (#2013) 2022-11-04 12:00:24 +01:00
Tommy Nguyen 8ab4a45a58
chore: bump react-native-test-app to 2.0.1 (#2011) 2022-11-03 20:43:26 +01:00
renovate[bot] a5810bb86e
fix(deps): update dependency typescript to v4.8.4 (#2010)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-11-03 14:23:27 +00:00
renovate[bot] 945251cc9f
fix(deps): update babel monorepo (#2007)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-11-03 14:04:45 +00:00
renovate[bot] c467ca8ba6
chore(deps): update module go to 1.19 (#2006)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-11-03 13:05:53 +00:00
renovate[bot] 0d8fa3b8c3
fix(deps): update dependency react-native to v0.68.4 (#1998)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-11-03 13:03:59 +00:00
renovate[bot] 234c51e287
fix(deps): update dependency com.microsoft.identity.client:msal to v4.0.4 (#1994)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-11-03 12:45:57 +00:00
github-actions[bot] 93f91a243c
RELEASING: Releasing 2 package(s) (#1989)
Releases:
  @rnx-kit/babel-preset-metro-react-native@1.1.2
  @rnx-kit/metro-serializer-esbuild@0.1.16

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-03 09:26:14 +01:00
Tommy Nguyen 8147a812bc
fix(metro-serializer-esbuild): use esbuild only for prod (#1987) 2022-11-03 09:10:40 +01:00
github-actions[bot] 690e77839b
RELEASING: Releasing 3 package(s) (#1974)
Releases:
  @rnx-kit/dep-check@1.13.4
  @rnx-kit/tools-language@1.4.0
  @rnx-kit/cli@0.14.9

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-01 13:00:43 +01:00
Tommy Nguyen 34b8303284
fix(dep-check): fix exit code not propagating in vigilant mode (#1984) 2022-11-01 10:51:18 +00:00
Tommy Nguyen bdeda331d5
fix(dep-check): ban `@react-native-community/clipboard` (#1986) 2022-11-01 11:40:40 +01:00
Tommy Nguyen f28cc77ace
fix(align-deps): app requirements must resolve to a single profile (#1980) 2022-10-29 10:47:14 +02:00
Tommy Nguyen 8a8c548c4b
fix(align-deps): reduce diff output (#1979) 2022-10-27 13:28:44 +02:00
Tommy Nguyen e823ec9e2e
fix(align-deps): fix capability aliases being checked twice (#1972) 2022-10-27 09:15:00 +02:00
Tommy Nguyen 404c2e67ea
fix(align-deps): export cli options for `@rnx-kit/cli` (#1977) 2022-10-26 12:19:03 +00:00
Tommy Nguyen 496a6f4a66
feat(tools-language): add `keysOf` as a type-safe alt to `Object.keys` (#1975) 2022-10-26 13:42:28 +02:00
Tommy Nguyen a442cb6a2e
fix(align-deps): fix commander vs yargs differences (#1973) 2022-10-26 13:41:48 +02:00
Tommy Nguyen 8a25ff3e62
fix(align-deps): provide more context in error messages (#1958) 2022-10-26 13:00:19 +02:00
github-actions[bot] 143059203c
RELEASING: Releasing 2 package(s) (#1968)
Releases:
  @rnx-kit/jest-preset@0.1.12
  @rnx-kit/dep-check@1.13.3

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-25 11:49:19 +02:00
Tommy Nguyen a1c819b7ae
fix(jest-preset): `react-native-macos`/`-win32` needs to be transformed (#1969) 2022-10-25 09:39:45 +00:00
Tommy Nguyen 4af0dc3fd8
fix(dep-check): bump `datetime-picker` and `screens` for better 0.70 support (#1967) 2022-10-24 14:27:56 +00:00
github-actions[bot] 49d638d922
RELEASING: Releasing 2 package(s) (#1966)
Releases:
  @rnx-kit/metro-config@1.3.2
  @rnx-kit/dep-check@1.13.2

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-24 13:51:35 +02:00
Tommy Nguyen 0de1a0aa67
fix: bump `@rnx-kit/tools-workspaces` to 0.1.2 (#1965) 2022-10-24 13:38:38 +02:00
Tommy Nguyen 2ba2ac77b6
ci: migrate to `align-deps` (#1960) 2022-10-24 13:38:21 +02:00
github-actions[bot] 72bebebda2
RELEASING: Releasing 3 package(s) (#1947)
Releases:
  @rnx-kit/tools-node@1.3.1
  @rnx-kit/tools-workspaces@0.1.2
  @rnx-kit/build@0.4.1

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-24 12:16:48 +02:00
Tommy Nguyen 0d6e0db1f3
fix(tools-node): allow aliases of the form `@alias` (#1964) 2022-10-24 11:56:24 +02:00
Tommy Nguyen 513bc1f5d4
fix(align-deps): cache "vigilant" mode profiles (#1959)
In repos with 1000+ packages, runtime went from 2.2s -> 0.8s.
2022-10-24 11:50:56 +02:00
Tommy Nguyen 0b8a7b2f90
fix(tools-workspaces): exclude packages that don't have a manifest (#1957) 2022-10-24 11:50:05 +02:00
Tommy Nguyen 8cd4405997
fix(align-deps): allow partial configuration in 'vigilant' mode (#1951) 2022-10-23 18:53:12 +02:00
Tommy Nguyen f48573e342
fix(align-deps): handle capabilities resolving to the same package (#1950) 2022-10-23 18:52:36 +02:00
Tommy Nguyen 49412e1cc1
fix(align-deps): fix trace output missing requirements for initial entry (#1953) 2022-10-21 21:29:43 +02:00
Tommy Nguyen c862cad7df
feat(align-deps): add `--migrate-config` flag (#1949) 2022-10-21 21:26:14 +02:00
Tommy Nguyen c9c8236d18
refactor(align-deps): migrate set-version command (#1948) 2022-10-21 09:33:09 +02:00
Tommy Nguyen 1a13c1fdcb
refactor(align-deps): migrate init command (#1938) 2022-10-20 19:27:55 +02:00
github-actions[bot] 21835693ba
RELEASING: Releasing 3 package(s) (#1928)
Releases:
  @rnx-kit/react-native-test-app-msal@2.0.0
  @rnx-kit/react-native-auth@0.2.0
  @rnx-kit/test-app@0.1.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-20 14:56:07 +02:00
Sam Mathias Weggersen afd170e65f
Rename acquireToken to acquireTokenWithScopes and add acquireTokenWithResources for non-MSAL compatibility (#1943) 2022-10-20 14:33:31 +02:00
Tommy Nguyen f82c3bf880
docs(align-deps): update documentation on website (#1940) 2022-10-20 10:54:00 +02:00
Tommy Nguyen 4b35264a0d
refactor(align-deps): explicitly export built-in presets (#1937) 2022-10-18 08:23:47 +00:00
Tommy Nguyen e77b03bf8c
docs(align-deps): update README (#1931) 2022-10-18 09:47:01 +02:00
Tommy Nguyen d9f3e450bc
refactor(align-deps): migrate vigilant mode (#1930) 2022-10-18 08:59:00 +02:00
Tommy Nguyen e1d4b24843
refactor(dep-check): introduce the new configuration schema (#1911) 2022-10-13 11:16:37 +02:00
Tommy Nguyen c4ee2f8405
feat(align-deps): copy from dep-check (#1927) 2022-10-10 14:30:54 +02:00
github-actions[bot] d588c35761
RELEASING: Releasing 3 package(s) (#1922)
Releases:
  @rnx-kit/react-native-auth@0.1.6
  @rnx-kit/build@0.4.0
  @rnx-kit/build-plugin-firebase@1.0.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-07 11:58:33 +02:00
Tommy Nguyen 8bc3f7897c
fix(react-native-auth): `redirectURI` should be nullable (#1924) 2022-10-07 11:47:32 +02:00
github-actions[bot] 57b8e2f9b7
RELEASING: Releasing 1 package(s) (#1918)
Releases:
  @rnx-kit/dep-check@1.13.1

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-06 12:29:08 +02:00
Tommy Nguyen 86bf8afa38
fix(dep-check): bump `react-native-safe-area-context` for 0.70 (#1920) 2022-10-05 18:27:42 +02:00
Tommy Nguyen fc6e46c09b
docs(metro-serializer-esbuild): document ESM support in Metro (#1919) 2022-10-05 16:41:03 +01:00
Tommy Nguyen fda5a3fb7b
fix(dep-check): `@types/react-native` won't be needed from 0.71 on (#1917) 2022-10-04 12:38:22 +00:00
github-actions[bot] 34d516a631
RELEASING: Releasing 1 package(s) (#1915)
Releases:
  @rnx-kit/metro-serializer-esbuild@0.1.15

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-03 14:11:15 +02:00
Tommy Nguyen 23c49af72f
fix(metro-serializer-esbuild): resolve all files in a namespace (#1914)
We don't resolve files from disk, and it is required for certain
functionalities such as app bundle preludes.
2022-10-03 14:00:37 +02:00
github-actions[bot] 41795ec054
RELEASING: Releasing 1 package(s) (#1909)
Releases:
  @rnx-kit/cli@0.14.8

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-29 13:59:03 +02:00
Tommy Nguyen 659a4423d1
fix(cli): fail gracefully if `jest-cli` is missing (#1908) 2022-09-29 13:48:53 +02:00
github-actions[bot] 1d73d47295
RELEASING: Releasing 1 package(s) (#1907)
Releases:
  @rnx-kit/metro-config@1.3.1

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-27 08:40:22 +02:00
Tommy Nguyen e0d01e305e
fix(metro-config): remove `module` from `resolverMainFields` (#1906) 2022-09-27 08:30:59 +02:00
github-actions[bot] 6e30333428
RELEASING: Releasing 1 package(s) (#1897)
Releases:
  @rnx-kit/cli@0.14.7

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-21 13:31:00 +02:00
Su Su 6d48c95cad
fix(cli): quick security and Windows-compatibility fix (#1896) 2022-09-21 12:32:18 +02:00
github-actions[bot] 29ef387d9d
RELEASING: Releasing 1 package(s) (#1895)
Releases:
  @rnx-kit/cli@0.14.6

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-20 15:08:01 +02:00
Tommy Nguyen 94c95d8139
fix(cli): fix CLI not parsing numbers correctly (#1894) 2022-09-20 14:54:27 +02:00
github-actions[bot] 7aa9da4ba2
RELEASING: Releasing 3 package(s) (#1891)
Releases:
  @rnx-kit/cli@0.14.5
  @rnx-kit/config@0.5.2
  @rnx-kit/metro-service@3.0.2

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-19 08:50:20 +02:00
Tommy Nguyen d71505951e
feat(cli): add support for "Random Access Module" bundle (#1850) 2022-09-17 12:56:35 +02:00
github-actions[bot] 3704a7c9aa
RELEASING: Releasing 3 package(s) (#1887)
Releases:
  @rnx-kit/metro-config@1.3.0
  @rnx-kit/metro-plugin-duplicates-checker@2.0.0
  @rnx-kit/cli@0.14.4

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-16 08:48:14 +02:00