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
Tommy Nguyen
3248030360
feat(metro-plugin-duplicates-checker): differentiate between banned and duplicate modules ( #1886 )
...
BREAKING CHANGES: Signature of `checkForDuplicatePackages` changed to
return an object to differentiate between banned and duplicate modules.
2022-09-16 08:36:39 +02:00
Frank Oppervoll-Larsen
5314ae944c
fix(metro-config): add "react-native" to resolverMainFields ( #1888 )
...
For packages that include both `react-dom` and `react-native` code and
differentiate by using the `"react-native"` directive in `package.json`,
the current list of mainFields will pick the `react-dom` module.
Seen in the wild with projects using Recoil:
https://github.com/facebookexperimental/Recoil
2022-09-14 14:24:43 +00:00
github-actions[bot]
1880505d85
RELEASING: Releasing 1 package(s) ( #1882 )
...
Releases:
@rnx-kit/metro-config@1.2.39
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-12 09:22:44 +02:00
Tommy Nguyen
3e706f3ee3
fix(metro-config): fix asset plugin breaking bundling ( #1881 )
2022-09-11 11:29:13 +02:00
github-actions[bot]
2675b83dc4
RELEASING: Releasing 1 package(s) ( #1876 )
...
Releases:
@rnx-kit/dep-check@1.13.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-07 15:59:05 +02:00
Jordan Becker
127b2bee7a
fix(dep-check): remove react-native-linear-gradient from banned libraries ( #1875 )
...
At the time of this commit, React Native Linear Gradient has been
updated 2 months ago (2022/07/04), thus invalidating the "unmaintained"
adjective. Not sure about the actual performance implications so I might
also simply update the message to something less alarming.
See also
https://github.com/react-native-linear-gradient/react-native-linear-gradient/issues/570
2022-09-07 15:09:40 +02:00
github-actions[bot]
0b7c833728
RELEASING: Releasing 6 package(s) ( #1868 )
...
Releases:
@rnx-kit/babel-preset-metro-react-native@1.1.1
@rnx-kit/metro-serializer-esbuild@0.1.14
@rnx-kit/cli@0.14.3
@rnx-kit/dep-check@1.12.23
@rnx-kit/metro-config@1.2.38
@rnx-kit/build@0.3.3
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-09-07 10:39:22 +02:00
Tommy Nguyen
a929617549
fix(metro-config): ensure `server.enhanceMiddleware` is consistent with `transformer.assetPlugins` ( #1851 )
2022-09-07 08:29:03 +00:00
Tommy Nguyen
c067c1be1e
fix(dep-check): allow specifying multiple packages ( #1873 )
2022-09-07 07:52:14 +00:00
Tommy Nguyen
f80cff5a42
fix: use `esbuild` transform profile when `metro-serializer-esbuild` is used ( #1871 )
2022-09-07 07:41:44 +00:00
Tommy Nguyen
74fa8fe2c0
fix(metro-serializer-esbuild): support Metro 0.72 ( #1870 )
2022-09-07 08:22:35 +02:00
Tommy Nguyen
42b6b6a524
fix(metro-serializer-esbuild): removing `"use strict";` breaks source maps ( #1869 )
2022-09-06 19:23:24 +02:00
github-actions[bot]
e56db00fed
RELEASING: Releasing 2 package(s) ( #1860 )
...
Releases:
@rnx-kit/metro-config@1.2.37
@rnx-kit/dep-check@1.12.22
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-01 08:19:19 +02:00
Tommy Nguyen
17b7666fb2
fix(dep-check): react-native-gesture-handler 2.6.0 supports 0.70 ( #1858 )
2022-08-31 10:48:23 -07:00
Tommy Nguyen
be0b651142
fix(metro-config): publish type declaration files ( #1855 )
2022-08-31 16:34:43 +02:00
github-actions[bot]
ebe655a28a
RELEASING: Releasing 1 package(s) ( #1859 )
...
Releases:
@rnx-kit/metro-serializer-esbuild@0.1.13
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-31 12:19:17 +02:00
Tommy Nguyen
61151646d4
fix(metro-serializer-esbuild): fix source maps not pointing to source ( #1856 )
2022-08-31 11:48:42 +02:00
David Narbutovich
7d82009815
docs(metro-resolver-symlinks): update JS comments in an example [skip ci] ( #1857 )
2022-08-30 18:38:35 +02:00
github-actions[bot]
90c59a6a1b
RELEASING: Releasing 2 package(s) ( #1844 )
...
Releases:
@rnx-kit/dep-check@1.12.21
@rnx-kit/react-native-auth@0.1.5
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-29 10:54:31 +02:00
Kitavi Joseph
e3fd2c45aa
fix(dep-check): change file not found error to warning ( #1854 )
2022-08-29 08:42:40 +00:00
Tommy Nguyen
e78e4daec6
fix(dep-check): add profile for 0.70 ( #1748 )
2022-08-25 10:04:05 +00:00
Tommy Nguyen
a2ce9fface
test: fix `createDiagnosticWriter` mock ( #1846 )
...
`createDiagnosticWriter` is a read-only property. Some Jest transformers
may trip if we overwrite it directly.
2022-08-25 10:53:37 +01:00
github-actions[bot]
4e65bc2e64
RELEASING: Releasing 2 package(s) ( #1841 )
...
Releases:
@rnx-kit/metro-serializer-esbuild@0.1.12
@rnx-kit/metro-service@3.0.1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-24 11:29:48 +02:00
Tommy Nguyen
a05a17730f
fix(metro-serializer-esbuild): fix missing `sourceMappingURL` comment ( #1843 )
2022-08-24 11:00:15 +02:00
Tommy Nguyen
2aaf2804be
fix(metro-service): replace `cp-file`, `make-dir` with Node API ( #1836 )
2022-08-23 11:04:18 +02:00
github-actions[bot]
1153f9450b
RELEASING: Releasing 2 package(s) ( #1808 )
...
Releases:
@rnx-kit/metro-serializer-esbuild@0.1.11
@rnx-kit/react-native-test-app-msal@1.0.5
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-22 19:05:11 +02: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]
fcc0bd2126
fix(deps): update dependency androidx.activity:activity-ktx to v1.5.1 ( #1829 )
...
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 14:25:01 +00:00
renovate[bot]
f40eb0bab8
chore(deps): update dependency @fluentui/utilities to v8.12.0 ( #1820 )
...
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 14:13:48 +00:00
renovate[bot]
162211c83a
fix(deps): update dependency androidx.swiperefreshlayout:swiperefreshlayout to v1.1.0 ( #1830 )
...
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 14:03:24 +00:00
renovate[bot]
7b8379d933
fix(deps): update dependency com.google.android.material:material to v1.6.1 ( #1832 )
...
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 14:02:54 +00:00
renovate[bot]
f9c0cf46d0
fix(deps): update dependency com.android.tools.build:gradle to v7.2.2 ( #1831 )
...
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 14:02:38 +00:00
renovate[bot]
cfd0b5fab8
chore(deps): update dependency react-native-test-app to v1.6.8 ( #1825 )
...
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 14:02:19 +00:00
renovate[bot]
d092be1f6a
chore(deps): update dependency gradle to v7.5.1 ( #1823 )
...
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:52:57 +00:00
renovate[bot]
263a77715d
fix(deps): update dependency react-native to v0.68.3 ( #1817 )
...
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:47:37 +00:00
Tommy Nguyen
aeb1e5b5da
fix(metro-serializer-esbuild): enable arrow functions and generators when targeting Hermes ( #1812 )
2022-08-22 13:07:12 +02: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
github-actions[bot]
dbe43abdc2
RELEASING: Releasing 2 package(s) ( #1798 )
...
Releases:
@rnx-kit/metro-service@3.0.0
@rnx-kit/cli@0.14.2
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-05 01:14:41 -07:00
Tommy Nguyen
93dda3ab3b
chore: bump Node requirement so we can target ES2019 ( #1793 )
...
* chore: bump Node requirement so we can target ES2019
According to https://kangax.github.io/compat-table/es2016plus/ , we can
target ES2019 with Node 12+
* update dep-check's tsconfig
2022-08-05 00:58:22 -07:00
github-actions[bot]
b96764555f
RELEASING: Releasing 1 package(s) ( #1790 )
...
Releases:
@rnx-kit/dep-check@1.12.20
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-27 16:46:54 +02:00
Tommy Nguyen
cc0ac7bfa3
fix(dep-check): update packages for 0.68, 0.69 ( #1789 )
...
- 0.68
- @react-native-clipboard/clipboard -> ^1.10
- react-native-svg -> ^12.3
- react-native-webview -> ^11.22.6
- 0.69
- @react-native-async-storage/async-storage -> ^1.17.7
- @react-native-masked-view/masked-view -> ^0.2.7
- react-native-reanimated -> ^2.9
- react-native-screens -> ^3.14.1
- react-native-webview -> ^11.23
2022-07-27 16:19:12 +02:00
github-actions[bot]
10e06d632e
RELEASING: Releasing 5 package(s) ( #1786 )
...
Releases:
@rnx-kit/dep-check@1.12.19
@rnx-kit/build@0.3.1
@rnx-kit/react-native-auth@0.1.4
@rnx-kit/react-native-test-app-msal@1.0.4
@rnx-kit/metro-serializer-esbuild@0.1.10
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-26 11:44:43 +02:00
Tommy Nguyen
8c325887f7
fix(metro-serializer-esbuild): default to the new `hermes` target (retry) ( #1761 )
...
The `hermes` target was fixed in esbuild 0.14.49.
2022-07-25 12:00:35 +02:00
Tommy Nguyen
203f327cfc
fix: depend on an explicit version of Kotlin Android plugin ( #1760 )
2022-07-25 12:00:11 +02:00
renovate[bot]
f12c006918
chore(deps): update dependency @types/eslint to v8 ( #1784 )
...
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:24:14 +00:00
renovate[bot]
582bb0e351
chore(deps): update dependency @types/react-native to ~0.68.0 ( #1777 )
...
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:21:15 +00:00
github-actions[bot]
a909da62cd
RELEASING: Releasing 1 package(s) ( #1754 )
...
Releases:
@rnx-kit/metro-config@1.2.36
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-20 11:47:56 +02:00
Tommy Nguyen
c03934317b
fix(metro-config): fix invalid regular expression on Windows ( #1753 )
...
The regular expression `[/\\]` is clashing with path separator escaping
in upstream `metro-config`:
https://github.com/facebook/metro/blob/v0.71.3/packages/metro-config/src/defaults/exclusionList.js#L25
Replacing it with OS specific separators since it's what Metro wants
anyway.
2022-07-20 11:29:40 +02:00
github-actions[bot]
7999315dfa
RELEASING: Releasing 3 package(s) ( #1741 )
...
Releases:
@rnx-kit/metro-config@1.2.35
@rnx-kit/build@0.3.0
@rnx-kit/build-plugin-firebase@0.1.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-18 11:52:07 +02:00
Tommy Nguyen
7f0a738d74
docs(metro-serializer-esbuild): document options ( #1745 )
2022-07-18 11:40:10 +02:00
Tommy Nguyen
cca36af264
fix(build): implement plugin system for app distribution ( #1742 )
2022-07-17 10:26:21 +02:00
Tommy Nguyen
54edf48a1e
fix(metro-config): cannot resolve react-native when using pnpm + GitHub URLs ( #1747 )
2022-07-17 10:24:28 +02:00
Tommy Nguyen
a99b796979
feat(rnx-build): add support for Firebase App Distribution ( #1739 )
2022-07-14 08:01:09 +02:00
github-actions[bot]
f807dc1dac
RELEASING: Releasing 1 package(s) ( #1740 )
...
Releases:
@rnx-kit/third-party-notices@1.2.16
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-13 09:10:20 +02:00
dannyvv
008474cac7
fix(third-party-notices): fix code to deal with nested node_modules ( #1738 )
...
Fix code to deal with nested node_modules. Should take the last one to
get the most specific module
2022-07-13 08:57:18 +02:00
github-actions[bot]
befacc5214
RELEASING: Releasing 4 package(s) ( #1728 )
...
Releases:
@rnx-kit/build@0.2.0
@rnx-kit/metro-service@2.0.1
@rnx-kit/jest-preset@0.1.11
@rnx-kit/tools-workspaces@0.1.1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-11 12:58:21 +02:00
Tommy Nguyen
8c6757705d
chore: address unmet peer dependency warnings ( #1736 )
...
This should fix warnings output by npm and Yarn v3. Yarn v1 has false
positives that should be ignored.
2022-07-11 10:48:32 +00:00
Tommy Nguyen
641d8978cf
chore: bump react-native to 0.68 ( #1735 )
2022-07-11 12:09:15 +02:00
Tommy Nguyen
bfe29746a7
fix(tools-workspaces): remove `node:` prefix to support Node <14.18 ( #1732 )
2022-07-09 07:50:11 +02:00
github-actions[bot]
453695097f
RELEASING: Releasing 3 package(s) ( #1725 )
...
Releases:
@rnx-kit/metro-serializer-esbuild@0.1.9
@rnx-kit/cli@0.14.1
@rnx-kit/config@0.5.1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-06 14:52:47 +02:00
Tommy Nguyen
80333120e0
fix(cli): unable to enable `treeShaking` ( #1726 )
...
- Updates config schema to reflect breaking changes
- Reverts #1706 - "Default to the new `hermes` target"
2022-07-06 14:37:54 +02:00
github-actions[bot]
2221c96f2f
RELEASING: Releasing 5 package(s) ( #1720 )
...
Releases:
@rnx-kit/tools-workspaces@0.1.0
@rnx-kit/dep-check@1.12.18
@rnx-kit/metro-config@1.2.34
@rnx-kit/build@0.1.3
@rnx-kit/golang@0.2.2
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-05 18:03:16 +02:00
Tommy Nguyen
cf4070acae
fix(metro-config): migrate to `@rnx-kit/tools-workspaces` ( #1721 )
2022-07-05 17:50:47 +02:00
Tommy Nguyen
37245c33c6
feat(tools-workspaces): slimmer workspaces package ( #1717 )
...
| @rnx-kit/dep-check w/ | workspace-tools | @rnx-kit/tools-workspaces |
| ------------------------ | --------------: | ------------------------: |
| Bundle size (unminified) | 1 531 380 | 1 063 232 |
| Find ~1000 packages | ~367 ms | ~120 ms |
| Package footprint | 368 KB | 100 KB |
2022-07-05 16:07:43 +02:00
Tommy Nguyen
f9ba2aa56f
fix(rnx-build): add `scheme` as build parameter ( #1719 )
2022-07-05 15:40:01 +02:00
Tommy Nguyen
32cfa7b24e
fix(golang): replace `workspace-tools` with a call to `find-up` ( #1718 )
2022-07-05 15:39:42 +02:00
Tommy Nguyen
caaa2345c4
chore: replace `@ts-ignore` with `@ts-expect-error` ( #1711 )
...
With `@ts-expect-error`, TypeScript will let you know if the comment is
no longer necessary.
See also
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-9.html#-ts-expect-error-comments
2022-07-01 13:48:50 +00:00
github-actions[bot]
9e20303c4e
RELEASING: Releasing 5 package(s) ( #1682 )
...
Releases:
@rnx-kit/build@0.1.1
@rnx-kit/expo-app@0.0.2
@rnx-kit/metro-serializer-esbuild@0.1.8
@rnx-kit/test-app@0.0.3
@rnx-kit/scripts@1.1.3
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-30 17:32:09 +02:00
Tommy Nguyen
38a1065ead
fix(metro-serializer-esbuild): default to the new `hermes` target ( #1706 )
2022-06-30 17:00:27 +02:00
Tommy Nguyen
1e0705a073
ci(ios): simplify destination parameter ( #1705 )
2022-06-30 13:34:21 +02:00
Tommy Nguyen
76b6fb70f2
fix(build/windows): replace W11 only solution with code signing ( #1701 )
2022-06-29 08:51:07 +02:00
renovate[bot]
a5541cd4aa
chore(deps): update dependency @fluentui/utilities to v8.8.3 ( #1687 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-06-23 17:41:45 +00:00
renovate[bot]
49bc8fba29
chore(deps): update dependency com.microsoft.identity.client:msal to v2.2.3 ( #1688 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-06-23 17:34:58 +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
Tommy Nguyen
3c69d42eae
chore: address CVE-2021-42740 ( #1683 )
...
For more details, see https://github.com/advisories/GHSA-g4rg-993r-mgx7
2022-06-23 10:58:56 +00:00
github-actions[bot]
a1ee940744
RELEASING: Releasing 4 package(s) ( #1667 )
...
Releases:
@rnx-kit/react-native-test-app-msal@1.0.3
@rnx-kit/dep-check@1.12.17
@rnx-kit/build@0.1.0
@rnx-kit/react-native-auth@0.1.3
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-23 10:50:34 +02:00
Tommy Nguyen
01e91b071b
fix(build): add macOS and Windows support ( #1676 )
2022-06-23 10:40:02 +02:00
Tommy Nguyen
641edba5f8
fix(dep-check): add profile for 0.69 ( #1447 )
2022-06-21 14:03:54 +02:00
dependabot[bot]
d535e6aecb
build(deps): bump esbuild from 0.14.43 to 0.14.47 ( #1669 )
...
* build(deps): bump esbuild from 0.14.43 to 0.14.47
Bumps [esbuild](https://github.com/evanw/esbuild ) from 0.14.43 to 0.14.47.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.14.43...v0.14.47 )
---
updated-dependencies:
- dependency-name: esbuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* esbuild adds `use strict` because of `alwaysStrict: true`
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-06-21 09:01:22 +00:00
Tommy Nguyen
9341c417e5
feat(build): introduce experimental `rnx-build` command ( #1659 )
2022-06-21 10:15:50 +02:00
Adam Foxman
8391972e9e
Add expo test app ( #1657 )
...
* add expo-app package
* docs(changeset): Add new expo test app
* docs(changeset): Add react-native as an explicit dev dependency
* docs(changeset): Update tests and test snapshots
* docs(changeset): Exclude expo-app from dep-check since it uses different versions of RN and RN dependencies
* Add react-native as an explicit dev dependency
* Update tests and test snapshots
* change file
* Exclude expo-app from dep-check since it uses different versions of RN and RN dependencies
* don't hoist expo-app dependencies as it uses different versions of RN and RN dependencies
* ignore expo temp files
* update yarn lockfile to include expo-app dependencies
* fix bundling commands
2022-06-20 10:51:43 -07:00
github-actions[bot]
4304629eab
RELEASING: Releasing 4 package(s) ( #1637 )
...
Releases:
@rnx-kit/cli@0.14.0
@rnx-kit/docsite@0.1.3
@rnx-kit/metro-service@2.0.0
@rnx-kit/config@0.5.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-20 10:41:55 -07:00
Adam Foxman
e25358660a
Align our CLI and configuration with @react-native-community/cli ( #1618 )
...
* Breaking-change update to config package:
(1) Only search for rnx-kit configuration in package.json. We no longer search for config in places like rnx-kit.config.js (e.g. no more cosmiconfig). Why this change? In all the places we use rnx-kit internally, no one is using this mechanism. Further, in external forums, there have been general complaints about JS devs having to manage too many config files -- package.json is the preferred single source. It didn't seem worth it to continue carrying comsmiconfig as a dependency, since we aren't using it.
(2) Remove defaults from the config package. They are going into the CLI where they can be conditionally defined based on variables like the current platform. This is needed for bundleOutput. As a result, all config is now optional.
(3) Function that get bundle and server config now validate input and fail accordingly.
(4) Server config can now be absent when bundling is enabled, and it will default to using the bundle configuration. This is a convenience, and will help devs avoid duplicating config between bundle and server props.
(5) Introduce TypeScriptValidationOptions to give fine-grained control over how TS checking behaves.
(6) Align bundling properties with RN CLI names. Add: bundleOutput. Remove: distPath. Rename: entryPath -> entryFile, sourceMapPath -> sourcemapOutput, sourceMapSourcesRootPath -> sourcemapSourcesRoot, assetsPath -> assetsDest.
(7) Remove support for deprecated property experimental_treeShake.
(8) Add helpful errors when accessing removed properties. This is to assist devs who upgrade across the breaking version change without fixing up all areas of their code that are impacted.
* docs(changeset): Breaking-change update to config package:(1) Only search for rnx-kit configuration in package.json. We no longer search for config in places like rnx-kit.config.js (e.g. no more cosmiconfig). Why this change? In all the places we use rnx-kit internally, no one is using this mechanism. Further, in external forums, there have been general complaints about JS devs having to manage too many config files -- package.json is the preferred single source. It didn't seem worth it to continue carrying comsmiconfig as a dependency, since we aren't using it.(2) Remove defaults from the config package. They are going into the CLI where they can be conditionally defined based on variables like the current platform. This is needed for bundleOutput. As a result, all config is now optional.(3) Function that get bundle and server config now validate input and fail accordingly.(4) Server config can now be absent when bundling is enabled, and it will default to using the bundle configuration. This is a convenience, and will
* Update change file to be more descriptive about the breaking changes going into @rnx-kit/config.
* Manually update package version while keeping changelog entry
* Change bundle definition to bundle config. Stop throwing exceptions and instead return undefined.
* Final updates to config package. Includes doc updates and comment updates.
* update config package changeset entry
* fix config package changeset file
* Remove defaults from server config
* cli update
* reorder params for TPN
* update changeset descriptions
* fix aar tests
* Update bundling guide and cli/config READMEs. Update test-app to use new CLI/config packages.
* fix typos
* tweaks after a final read-through
* fixes
* update bundling guide
* Remove unnecessary getServerConfig API. Make server use bundle config when server config is not present. On server, never use tree shaking.
* Update metro version to align with other packages
* remove + from command-line for windows runs
* fix changelog file
* pr feedback
* pr feedback
* pr feedback
* RELEASING: Releasing 3 package(s)
Releases:
@rnx-kit/cli@0.14.0
@rnx-kit/metro-service@2.0.0
@rnx-kit/config@0.5.0
* revert manual version updates
* Revert "RELEASING: Releasing 3 package(s)"
This reverts commit d6c6c028a1
.
* Update docsite/docs/guides/bundling.mdx
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
* pr feedback
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-06-20 10:30:28 -07:00
github-actions[bot]
a7e1da7d17
RELEASING: Releasing 7 package(s) ( #1607 )
...
Releases:
@rnx-kit/tools-node@1.3.0
@rnx-kit/react-native-test-app-msal@1.0.2
@rnx-kit/metro-resolver-symlinks@0.1.21
@rnx-kit/react-native-auth@0.1.2
@rnx-kit/metro-config@1.2.33
@rnx-kit/dep-check@1.12.16
@rnx-kit/jest-preset@0.1.10
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-07 11:27:02 +02:00
Tommy Nguyen
b56846f2b5
fix(metro-resolver-symlinks): fix handling of empty modules ( #1609 )
2022-06-07 09:16:22 +00:00
Tommy Nguyen
4674e76147
fix: enable `resolveSymlinks` and remove dupe code ( #1608 )
2022-06-07 10:58:43 +02:00
Tommy Nguyen
aec1f83830
fix(react-native-auth): rename `acquireToken` to fit Swift naming conventions ( #1600 )
...
* fix(react-native-auth): rename `acquireToken` to fit Swift naming conventions
If we don't explicitly specify the signature, Swift will rename it to
`acquireToken(withScopes:userPrincipalName:accountType:onTokenAcquired:)`
* docs(changeset): Rename `acquireToken` to better fit Swift naming conventions
* fix(react-native-test-app-msal): fix git tag format in podspec
2022-06-07 08:32:20 +02:00
Tommy Nguyen
28a302a156
fix(metro-resolver-symlinks): don't interfere with browser redirection ( #1597 )
2022-06-07 08:31:59 +02:00
Tommy Nguyen
78a6c4edc5
fix(jest-preset): use public `loadConfig` if it exists ( #1596 )
2022-06-07 08:31:14 +02:00
Tommy Nguyen
1edb9acd3b
fix(dep-check): dep-check fails to visit dependencies ( #1595 )
2022-06-07 08:29:38 +02:00
github-actions[bot]
06b187b819
RELEASING: Releasing 3 package(s) ( #1591 )
...
Releases:
@rnx-kit/react-native-auth@0.1.1
@rnx-kit/metro-resolver-symlinks@0.1.20
@rnx-kit/metro-config@1.2.32
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-31 23:52:29 +02:00
Tommy Nguyen
c064bb2122
fix(react-native-auth): update tag format in `.podspec` ( #1589 )
...
Also include both package and repository relative path to allow podspec
to be consumed from a local path and outside a spec repository.
2022-05-31 23:19:06 +02:00
Tommy Nguyen
d6665cd398
chore(deps): bump `jest-extended` to 2.0.0 ( #1584 )
2022-05-31 23:18:00 +02:00
Tommy Nguyen
77b9f0d96f
fix(metro-resolver-symlinks): correctly resolve symlinks with relative paths ( #1583 )
2022-05-31 23:17:45 +02:00
Tommy Nguyen
6b8efc81a0
refactor(dep-check): move core profiles into Microsoft preset ( #1580 )
2022-05-31 23:17:30 +02:00
github-actions[bot]
c03c97a8c9
RELEASING: Releasing 1 package(s) ( #1574 )
...
Releases:
@rnx-kit/typescript-react-native-resolver@0.2.3
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-27 11:44:48 -07:00
dependabot[bot]
7cf554bf1b
build(deps): bump typescript from 4.6.4 to 4.7.2 ( #1564 )
...
* build(deps): bump typescript from 4.6.4 to 4.7.2
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.6.4 to 4.7.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.4...v4.7.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Adapt to expanded API syntax for ts.resolveTypeReferenceDirectives.
* docs(changeset): Add support for new type-directive resolution in TS 4.7
* docs(changeset):
* update
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam Foxman <adam@thefoxmans.net>
2022-05-27 11:11:18 -07:00
github-actions[bot]
147e629c6b
RELEASING: Releasing 1 package(s) ( #1533 )
...
Releases:
@rnx-kit/dep-check@1.12.15
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-24 11:32:59 +02:00
Tommy Nguyen
4b777cf988
fix(dep-check): bump react-navigation for 0.66 ( #1551 )
2022-05-24 10:52:04 +02:00
Tommy Nguyen
f6555b07bf
chore(dep-check): add script for generating new profiles ( #1513 )
2022-05-23 09:56:31 +02:00