Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</a>
</p>

![Hero Image with Logo](./.github/hero2.png)
![Hero Image with Logo](https://github.com/microsoft/react-native-windows/raw/master/.github/hero2.png)

> See the official [React Native website](https://reactnative.dev/) for an introduction to React Native.

Expand Down Expand Up @@ -57,7 +57,7 @@ Search the [existing issues](https://github.com/microsoft/react-native-windows/i
The GitHub issues are intended for bug reports and feature requests. For help and questions with using the React Native Windows plugin please make use of the resources listed our main README's the [Getting Help](https://github.com/microsoft/react-native-windows#getting-help) section.

## Contributing
See [Contributing guidelines](./docs/contributing.md) for how to setup your fork of the repo and start a PR to contribute to React Native for Windows.
See [Contributing guidelines](https://github.com/microsoft/react-native-windows/blob/master/docs/contributing.md) for how to setup your fork of the repo and start a PR to contribute to React Native for Windows.

[Good First Task](https://github.com/microsoft/react-native-windows/labels/Good%20First%20Task) and [help wanted](https://github.com/microsoft/react-native-windows/labels/help%20wanted) are great starting points for PRs.

Expand Down
8 changes: 8 additions & 0 deletions change/react-native-windows-2020-04-27-11-58-10-readme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "prerelease",
"comment": "Use readme file from root of repo for react-native-windows",
"packageName": "react-native-windows",
"email": "acoates@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-04-27T18:58:10.453Z"
}
3 changes: 3 additions & 0 deletions vnext/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,6 @@ temp
/coverage
/third-party
/packages/

# Copied from root as part of build
/README.md
33 changes: 0 additions & 33 deletions vnext/README.md

This file was deleted.

9 changes: 9 additions & 0 deletions vnext/just-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const {
cleanTask,
} = require('just-scripts');
const {execSync} = require('child_process');
const fs = require('fs');
const libPath = path.resolve(process.cwd(), 'lib');
const srcPath = path.resolve(process.cwd(), 'src');

Expand Down Expand Up @@ -61,6 +62,13 @@ task('initRNLibraries', () => {
require('./Scripts/copyRNLibraries').copyRNLibraries(__dirname);
});

task('copyReadmeFromRoot', () => {
fs.copyFileSync(
path.resolve(__dirname, '../README.md'),
path.resolve(__dirname, 'README.md'),
);
});

task('ts', () => {
return tscTask({
pretty: true,
Expand All @@ -86,6 +94,7 @@ task(
condition('clean', () => true || argv().clean),
'initRNLibraries',
'copyFlowFiles',
'copyReadmeFromRoot',
'ts',
'codegen',
condition('apiExtractorVerify', () => argv().ci),
Expand Down