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

124 Коммитов

Автор SHA1 Сообщение Дата
Tommy Nguyen f4d3785bff
fix(windows): template `NuGet.Config` was renamed to `NuGet_Config` (#921)
See 3bc05e058d
2022-06-07 08:21:13 +02:00
Tommy Nguyen 4c6a405185
fix(windows): fix duplicate NuGet packages when on 0.68+ (#837) 2022-03-30 12:03:08 +02:00
Tommy Nguyen 30050a046c
fix(windows): fix wrong preprocessor check (#838) 2022-03-29 11:58:23 +00:00
Tommy Nguyen 4c027b0959
fix(windows): don't overwrite existing `NuGet.Config` (#831) 2022-03-28 14:09:01 +02:00
Tommy Nguyen bb53a7ddde
feat(windows): allow custom dev server address (#823) 2022-03-24 13:34:18 +00:00
Tommy Nguyen a17eb12e80
feat: add support for single-app mode (#817) 2022-03-24 13:39:13 +01:00
Tommy Nguyen b732bc67ab
fix(windows): don't overwrite existing `ExperimentalFeatures.props` (#796) 2022-03-09 12:59:19 +01:00
Tommy Nguyen c3fe98f5fb
fix(windows): workaround for building with VS 2022 (#786) 2022-02-28 08:55:51 +01:00
Tommy Nguyen e77fc8a7bc
fix(windows): use latest installed Windows SDK (#777) 2022-02-18 20:57:40 +01:00
Tommy Nguyen ec2adceaea
fix(windows): .appxmanifest path should always be relative to project (#776)
Similar to #764, the path to the `.appxmanifest` file should be
relative to the project dir.
2022-02-17 12:04:41 +01:00
Tommy Nguyen e4ea674953
feat(windows): add signing capability (#762)
And refactor in preparation for react-native-windows 0.68.
2022-02-16 19:26:22 +01:00
Tommy Nguyen 970e764e84
fix(windows): find `app.json` starting from the solution dir (#764)
In some projects, the example app is just another directory in the
repository. The Windows test app script fails to find `app.json` because
it assumes that the file lives next to the nearest `node_modules`
folder.
2022-02-13 10:30:15 +01:00
Tommy Nguyen 4471ba112e
fix(windows): crash on startup with cannot find resource (#745)
Windows test app crashes on startup with react-native 0.66:

```
Cannot find a Resource with the Name/Key TabViewScrollButtonBackground
Cannot find a Resource with the Name/Key TabViewScrollButtonBackground [Line: 2854 Position: 35]
Cannot find a Resource with the Name/Key TabViewButtonBackground
Cannot find a Resource with the Name/Key TabViewScrollButtonBackground [Line: 2570 Position: 35]
```
2022-02-07 13:01:55 +01:00
Tommy Nguyen 6ddac2da87
fix(windows): format `packages.config` to avoid autolink check fail (#718) 2022-01-28 13:12:50 +01:00
Tommy Nguyen 98cace2706
refactor: generate data models from schema (#666) 2022-01-14 14:15:56 +01:00
Tommy Nguyen e788829de1
test: fix tests failing to run on Windows (#676) 2022-01-05 14:02:26 +01:00
Tommy Nguyen aa7ca5396c
docs: remove copyright header from all files (#667) 2022-01-05 13:15:59 +01:00
Tommy Nguyen bf49d5d0f5
fix(ios): replace QRCodeReader with custom implementation (#677) 2022-01-03 12:49:57 +01:00
Tommy Nguyen 496e7fd0e2
feat: validate `app.json` at build time (#653) 2021-12-17 19:52:15 +01:00
Tommy Nguyen 592a229f3f
fix(windows): support Visual Studio 2022 (#656)
Use default value for PlatformToolset to not be bound to a specific
version of Visual Studio.
2021-12-16 19:20:48 +01:00
Tommy Nguyen 4130a166d2
fix(windows): disable appx package signing (#654) 2021-12-16 13:41:14 +01:00
Tommy Nguyen baa2b47661
fix(windows): remove the self-signed test certificate (#648)
It's not needed for local development and is just a pain to maintain.
2021-12-13 13:16:57 +01:00
Tommy Nguyen 8df5b6423c
fix(windows): wildcards in project items are not supported (#549) 2021-10-17 07:51:02 +00:00
Tommy Nguyen 65c3cbfaf2
test: use `memfs` to mock file system operations (#535) 2021-10-17 09:16:01 +02:00
Tommy Nguyen 396a8b7ba1
fix(windows): present React menu if no React view is loaded (#522) 2021-10-17 09:15:28 +02:00
Tommy Nguyen 711f9f8942
feat: add support for custom bundle root (#529) 2021-09-28 15:53:24 +02:00
Tommy Nguyen 5f0f9fd2c0
feat: populate home screen with AppRegistry entries (#482)
* feat: populate home screen with AppRegistry entries

* i -> reverseIndex

* fix ManifestTests.swift

* add common/AppRegistry.*

* add common/AppRegistry.* to podspec

* Windows implementation

* publish /common

* comment

* more comments

* align const placement

* comment #endif

* use ReactInstanceSettings.InstanceLoaded

* unused capture
2021-09-27 14:42:56 +02:00
Tommy Nguyen be0d87d136
fix(windows): fix error parsing Hermes engine version (#523) 2021-09-23 11:58:42 +02:00
renovate[bot] 8e577f58a0
chore(deps): update dependency @types/node to v14 (#502) 2021-09-17 16:21:55 +02:00
Tommy Nguyen a6eda67823
fix(windows): invariant violation when web debugging is enabled (#493) 2021-09-15 20:56:09 +02:00
dependabot[bot] 203f872bb2
chore(deps-dev): bump typescript from 4.3.5 to 4.4.2 (#475)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2021-08-30 09:16:50 +00:00
Tommy Nguyen 2c416986d4
chore: fix `pod install` breaking when symlinked (#448)
Regressed with #445.
2021-08-16 10:29:27 +02:00
Tommy Nguyen 88dac65bf4
chore: fix `install-windows-test-app` failing with `yarn link` (#434)
The symlink pointing to `react-native-test-app` may not always point to
a path that includes `/node_modules/` (e.g. in a monorepo setup).
2021-08-13 14:52:10 +02:00
Anna Dingler 44d93b7025
fix(windows): bump XAML for WinUI 2.6 (#446) 2021-08-11 21:34:13 +02:00
Tommy Nguyen d8f4de99df
fix(windows): fix RedBox not appearing on error (#401) 2021-07-08 22:02:40 +02:00
Tommy Nguyen e0cc6d09ae
fix(windows): renew self-signed test certificate (#385) 2021-07-01 09:35:44 +01:00
Tommy Nguyen 93cde8c855
fix(windows): add flag for enabling Hermes (#376) 2021-06-28 19:12:30 +02:00
Tommy Nguyen 1338ce13d7
fix(windows): crash when no JS bundle is found (#348) 2021-06-24 12:36:04 +02:00
Tommy Nguyen cd3d26a2a2
fix(windows): `REACT_NATIVE_VERSION` is 0 for canary (#362) 2021-06-21 11:45:51 +02:00
Tommy Nguyen 2ebb906a4f
chore: bump Prettier to 2.3.1 (#352) 2021-06-21 02:38:47 +02:00
Tommy Nguyen d154511b34
fix(windows): `JavaScriptMainModuleName` is deprecated (#347)
`JavaScriptMainModuleName` was deprecated in 0.64, and removed in
22e1206ce2.
2021-06-18 14:07:01 +00:00
Tommy Nguyen 23ee7204c2
ci: nightly builds against react-native-macos/-windows canaries (#328) 2021-06-13 12:43:59 +02:00
Tommy Nguyen 76286ee50a
fix(windows): support for custom Package.appxmanifest (#302) 2021-04-13 12:12:29 +02:00
Tommy Nguyen 1b24a0d6a2
fix(windows): restore ability to use NuGet (#301) 2021-04-07 16:35:14 +02:00
Tommy Nguyen 082040f195
fix: add support for react-native-windows 0.64 (#296) 2021-03-30 19:22:27 +02:00
Tommy Nguyen 058461bcea
fix(windows): unhandled exception thrown in std::_Xlen_string() (#288)
Current working directory when running tests (with `VSTest.Console.exe`)
changed between Visual Studio 16.8 and 16.9 and broke our pipelines. To
prevent future build failures, we'll use the absolute path to the test
source file to build the path to the test fixtures.
2021-03-16 07:32:03 +00:00
Tommy Nguyen 0518e1e27b
fix(Windows): hard-coded react-native-windows path in .sln (#274)
The app solution template provided by `react-native-windows` currently
assumes that `react-native-windows` is always installed in
`..\node_modules\react-native-windows`.
2021-01-25 00:08:19 +01:00
Tommy Nguyen 6f64e208e0
fix: Reopen last component from previous session (#262) 2021-01-04 22:13:50 +01:00
Tommy Nguyen 27cbff8cfb
fix(Windows): Fix build failing on 0.63.13+ (#261)
A new file, AutolinkedNativeModules.g.props, was introduced to fix some
autlinking issues in
https://github.com/microsoft/react-native-windows/pull/6375.
2021-01-04 11:00:59 +01:00
Tommy Nguyen 6b0b0931d5
fix: Support for specifying presentation style (#254)
Adds support for specifying presentation style in `app.json`. Only modal
is implemented for now.
2020-12-06 19:07:51 +01:00
Tommy Nguyen aada321fa1
chore(Windows): Resolve paths from SolutionDir instead (#253)
As now recommended by
[Referencing React Native Windows in your Project](https://microsoft.github.io/react-native-windows/docs/native-modules-setup#cwinrt).
2020-12-04 11:39:59 +01:00
Tommy Nguyen b5903cc798
fix(Windows): `install-windows-test-app` fails with yarn link (#252) 2020-11-25 09:14:05 +01:00
Tommy Nguyen f877c09305
fix(Windows): Test app fails to load embedded JS bundle (#250) 2020-11-24 10:44:46 +01:00
Tommy Nguyen e8b5bc1109
fix(Windows): Cannot install release build (#241)
- Fixed `run-windows` failing to find the test app project on 0.63
- Workaround for `EBUSY: resource busy or locked, open '~\msbuild.ProjectImports.zip'`
- Enabled Appx package signing to allow release builds to be installed
2020-11-09 14:28:16 +01:00
Tommy Nguyen c943788e12
fix(Windows): Debug settings are not persisted across sessions (#212) 2020-10-16 17:55:15 +02:00
Tommy Nguyen 971df74b9b
fix(Windows): Don't hard-code paths to project files (#227)
Of all 0.63 versions, only 0.63.2 currently works as the project file
has hard-coded paths to `.targets` files.
2020-10-01 18:11:08 +02:00
Tommy Nguyen 7b9b9e7aaa
fix(Windows): Support autolinking (#222) 2020-09-23 11:41:11 +02:00
Tommy Nguyen 022de149d6
fix(Windows): Include user projects in the generated solution (#220) 2020-09-17 16:10:34 +02:00
Tommy Nguyen 86a3596ea6
fix(Windows): Support for 0.63 (#216) 2020-09-16 08:25:16 +02:00
Tommy Nguyen 4f128daf7a test(Windows): Add tests for solution generator 2020-09-07 11:05:39 +02:00
Anastasia Orishchenko 4d48d1cac4 fix(Windows): Add method comments and provide better error messages 2020-09-07 11:05:39 +02:00
AnastasiaOrishchenko d83a9712c9 fix(Windows): Add Windows to the Plop template (#205) 2020-09-07 11:05:39 +02:00
AnastasiaOrishchenko 79e31cd4d4 test(Windows): Add manifest parsing tests (#202) 2020-09-07 11:05:39 +02:00
AnastasiaOrishchenko 93c5a5c6a9 fix(Windows): Generate Visual Studio solution for the test app (#192) 2020-09-07 11:05:39 +02:00
AnastasiaOrishchenko 9517db37d3 fix(Windows): Add debug menu option and key accelerators to React component items (#194) 2020-09-07 11:05:39 +02:00
Tommy Nguyen 37aa72c256 refactor(Windows): Avoid making copies of manifest components 2020-09-07 11:05:39 +02:00
Tommy Nguyen 13d83d7c31 fix(Windows): Simplify MainPage.xaml and add acrylic background 2020-09-07 11:05:39 +02:00
AnastasiaOrishchenko 56a44cf137 fix(Windows): Initial props parsing (#182) 2020-09-07 11:05:39 +02:00
Tommy Nguyen 21b6bf07a8 fix(Windows): Initial build can fail because RN NuGet packages aren't downloaded yet 2020-09-07 11:05:39 +02:00
AnastasiaOrishchenko 0db047af03 fix(Windows): Move React menu to title bar (#178) 2020-09-07 11:05:39 +02:00
AnastasiaOrishchenko fcd7f95640 fix(Windows): Load React components (#166) 2020-09-07 11:05:39 +02:00
Tommy Nguyen 45b4ed6c97
refactor(Windows): Reuse result element when parsing manifest (#165)
Reuse the iterator returned by `nlohmann::json::find()` and avoid
performing another lookup.

Also bump target platform minimum version to 10.0.17763.0 so we don't
get warnings on `MenuBar` and `MenuBarItem`.
2020-07-10 08:59:53 +02:00
AnastasiaOrishchenko 1202884f4a
Windows: Load components from manifest (#142) 2020-07-06 10:27:54 +02:00
AnastasiaOrishchenko 003282f32c
Initial Windows test app skeleton (#136) 2020-07-02 09:24:54 +02:00