Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
lightrow committed Feb 9, 2024
2 parents 69fa9d2 + 2c0e009 commit 80ab444
Show file tree
Hide file tree
Showing 345 changed files with 23,623 additions and 10,281 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
examples/
lib/
14 changes: 12 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
{
"extends": "@react-native-community",
}
"plugins": ["@typescript-eslint"],
"extends": [
"@react-native",
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"requireConfigFile": false
}
}
64 changes: 64 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Bug report
description: Create a report to help us improve
title: "[BUG]: "
labels: ["bug"]
assignees: []
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out this bug report!

- type: dropdown
id: version
attributes:
label: Version
description: What version are you using?
options:
- v6 (Beta)
- v5 (Stable)
validations:
required: true

- type: dropdown
id: platforms
attributes:
label: What platforms are you having the problem on?
multiple: true
options:
- iOS
- Android
- Windows
- visionOS
- Android TV
- Apple tvOS

- type: dropdown
id: architecture
attributes:
label: Architecture
description: What architecture are you using?
options:
- Old architecture
- New architecture with interop layer
validations:
required: true

- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true

- type: textarea
id: reproduction
attributes:
label: Reproduction
description: Tell us how can we reproduce this bug
placeholder: Reproduction
value: "Step to reproduce this bug are: "
validations:
required: true
67 changes: 0 additions & 67 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: GitHub Discussions
url: https://github.com/react-native-video/react-native-video/discussions
about: Please ask and answer questions here.
- name: Slack Channel
url: https://join.slack.com/t/video-dev/shared_invite/zt-24kgmctuv-2z0O9J_v6q_rg~x1RujdOA
about: You can find us on the VideoDev Slack in the react-native-video channel.
- name: TheWidlarzGroup Discord
url: https://discord.gg/7Y6eE62hXM
about: Feel free to join our Discord server and ask questions there.
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Feature request
description: Suggest an idea for this project
title: "[Feature]: "
labels: ["feature"]
assignees: []
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out this feature report!

- type: textarea
id: description
attributes:
label: Description
description: Tell us your idea and why will concern if we implement it. You can also create a PR 😄
placeholder: Tell us your idea!
value: "Very cool idea!"
validations:
required: true

- type: textarea
id: why-it-is-needed
attributes:
label: Why it is needed ?
description: Tell us your why it is needed!
placeholder: Why it is needed ?
value: "Because it is cool!"
validations:
required: true

- type: textarea
id: possible-implementation
attributes:
label: Possible implementation
description: |
Tell us your possible implementation! It really helps if you could describe from a technical POV how this new feature would work, which code it rely on, etc
placeholder: How to implement ?
value: "Technical POV how to do it"
validations:
required: false

- type: textarea
id: code-sample
attributes:
label: Code sample
description: Please show how the new code could work, if doable
placeholder: Code sample
value: "Code sample"
validations:
required: false


32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

21 changes: 13 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
<!--
Thanks for opening a PR!
Since this is a volunteer project and is very active, anything you can do to reduce the amount of time needed to review and merge your PR is appreciated.
The following steps will help get your PR merged quickly:
#### Update the documentation
- Update the documentation
If you've added new functionality, update the README.md with an entry for your prop or event.
The entry should be inserted in alphabetical order.
#### Update the changelog
After you open the PR, update the CHANGELOG.md file with an entry pointing to your PR.

#### Provide an example of how to test the change
- Provide an example of how to test the change
If the PR requires special testing setup provide all the relevant instructions and files. This may include a sample video file or URL, configuration, or setup steps.
#### Focus the PR on only one area
Testing multiple features takes longer than isolated changes and if there is a bug in one feature, prevents the other parts of your PR from getting merged until it gets fixed.
- Focus the PR on only one area
If you're touching multiple different areas that aren't related, break the changes up into multiple PRs.
#### Describe the changes
- Describe the changes
Add a note describing what your PR does. If there is a change to the behavior of the code, explain why it needs to be updated.
-->
## Summary

### Motivation

### Changes

## Test plan
34 changes: 34 additions & 0 deletions .github/actions/setup-bun/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: setup bun
description: Setup bun and install dependencies

inputs:
working-directory:
description: 'working directory for bun install'
default: ./
required: false

runs:
using: composite
steps:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.4

- name: Cache dependencies
id: bun-cache
uses: actions/cache@v3
with:
path: |
**/node_modules
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
${{ runner.os }}-bun-
- name: Install dependencies
working-directory: ${{ inputs.working-directory }}
if: steps.bun-cache.outputs.cache-hit != 'true'
run: bun install
shell: bash

34 changes: 34 additions & 0 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Setup node_modules
description: Setup Node.js and install dependencies

inputs:
working-directory:
description: 'working directory for yarn install'
default: ./
required: false

runs:
using: composite
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Cache dependencies
id: yarn-cache
uses: actions/cache@v3
with:
path: |
**/node_modules
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
restore-keys: |
${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
${{ runner.os }}-yarn-
- name: Install dependencies
working-directory: ${{ inputs.working-directory }}
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --immutable --ignore-scripts
shell: bash

Loading

0 comments on commit 80ab444

Please sign in to comment.