-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: remove docusaurus temp * chore: add pull request template * chore: add issue templates * chore: update continuous github workflow * chore: add eslint config * chore: add pre-commit, pre-push and commit-msg git hooks * chore: add .nx to .gitinore * chore: update lint staged rc * chore: add top-level changelog.md placeholder * chore: upd jest.config.js * chore: update package*.json * chore: add jest eslit configs * chore: remove legacy eslitrc.json * chore: add comment about globster.xyz * chore: update nx configuration * chore: fix lint issues in hls-parser * chore: add rollup base config * chore: update hls package json * chore: update rollup config, add bundlesize generation and verification * chore: add typedoc support * chore: add verify bundle size to ci * chore: add release updates * chore: add nx release list of projects * chore: add release workflow * chore: update dash-parser scripts * chore: update playback scripts * chore: add clean install script * chore: migrate to vitest * chore: include only src folder for coverage --------- Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
- Loading branch information
1 parent
d4da952
commit e016531
Showing
107 changed files
with
9,940 additions
and
20,297 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
name: Bug Report | ||
description: Bug report | ||
labels: [Bug, Needs Triage] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for using Video.js and contributing by opening an issue. Before you start, please check this list: | ||
- type: checkboxes | ||
id: checklist | ||
attributes: | ||
label: Checklist | ||
options: | ||
- label: The issue observed is not already reported by searching on Github under https://github.com/videojs/monorepo/issues | ||
required: true | ||
- label: The issue occurs in the latest version of the package on <tbd-demo-app> | ||
required: true | ||
- type: dropdown | ||
id: package | ||
attributes: | ||
label: Package | ||
description: Select a package for which you want to report a bug | ||
options: | ||
- @videojs/playback | ||
- @videojs/hls-parser | ||
- @videos/dash-parser | ||
- videojs.dev | ||
default: 0 | ||
validations: | ||
required: true | ||
- type: input | ||
id: version | ||
attributes: | ||
label: What version of the package are you using? | ||
placeholder: e.g. vX.Y.Z | ||
validations: | ||
required: true | ||
- type: input | ||
id: browser | ||
attributes: | ||
label: What browser are you using? (please, including version) | ||
placeholder: e.g. Chrome 128.0.6613.85 (Official Build) (arm64) | ||
validations: | ||
required: true | ||
- type: input | ||
id: os | ||
attributes: | ||
label: What operation system are you using? (please, including version) | ||
placeholder: e.g. MacOS 14.6.1 (23G93) | ||
validations: | ||
required: true | ||
- type: input | ||
id: stream | ||
attributes: | ||
label: Test stream | ||
description: If possible, please provide a test stream. (While this is optional, we highly recommend providing a test stream since it will help us to find the root cause faster. Please, make sure that the stream does not have network or CORS issues) | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: configuration | ||
attributes: | ||
label: Configuration | ||
description: Please provide the package's configuration. (if applicable) | ||
value: '{}' | ||
render: JavaScript | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description of the issue | ||
description: Please give a detailed description of the issue. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: steps | ||
attributes: | ||
label: Steps to reproduce | ||
description: Please provide clear steps to reproduce your problem. If the bug is intermittent, give a rough frequency. | ||
value: | | ||
1. | ||
2. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected behaviour | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: actual | ||
attributes: | ||
label: What actually happened? | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Feature Request | ||
description: Suggest an idea for this project | ||
labels: [RFC, Needs Triage] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for using Video.js and contributing by requesting a new feature. Before you start, please create your request for change in thr RFC repo: https://github.com/videojs/rfcs | ||
- type: input | ||
id: rfc | ||
attributes: | ||
label: Request for change PR | ||
description: Add a link to your RFC PR | ||
placeholder: https://github.com/videojs/rfcs/pull/3 | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Question | ||
description: Need help with something not related to a Bug or Feature Request? | ||
labels: [Question, Needs Triage] | ||
body: | ||
- type: textarea | ||
id: question | ||
attributes: | ||
label: Question | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Description | ||
Please describe the change as necessary. | ||
If it's a feature or enhancement please be as detailed as possible. | ||
If it's a bug fix, please link the issue that it fixes or describe the bug in as much detail. | ||
|
||
## Specific Changes proposed | ||
Please list the specific changes involved in this pull request. | ||
|
||
## Requirements Checklist | ||
- [ ] Feature implemented / Bug fixed | ||
- [ ] Change has been verified in an actual browser (Chrome, Firefox, Safari, Edge) (if applicable) | ||
- [ ] Unit Tests updated or fixed (if applicable) | ||
- [ ] Docs/guides updated (if applicable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: release | ||
on: | ||
push: | ||
tags: | ||
# match semver versions | ||
- "v[0-9]+.[0-9]+.[0-9]+" | ||
# match semver pre-releases | ||
- "v[0-9]+.[0-9]+.[0-9]+-*" | ||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
id-token: write # needed for provenance data generation | ||
name: Release | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# Install node version from .nvmrc | ||
- name: Install Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
# Install deps | ||
- name: Install Dependencies | ||
run: npm ci | ||
|
||
# Print nx env info | ||
- name: Print Environment Info | ||
run: npx nx report | ||
|
||
# Publish to NPM via NX | ||
- name: Publish to NPM | ||
run: npm run release:publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NPM_CONFIG_PROVENANCE: true | ||
|
||
# Generate release-info-latest.md file for GitHub releases | ||
- name: Generate release-info-latest.md | ||
run: node cli/generate-release-info-latest.js > RELEASE-INFO-LATEST.md | ||
|
||
# Create GitHub release | ||
- name: Create Github release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
body_path: RELEASE-INFO-LATEST.md | ||
token: ${{github.token}} | ||
files: | | ||
packages/dash-parser/videojs-dash-parser-*.tgz | ||
packages/hls-parser/videojs-hls-parser-*.tgz | ||
packages/playback/videojs-playback-*.tgz | ||
# Deploy Demo apps to netlify (TBD) | ||
# Deploy API references to netlify (TBD) | ||
# Deploy IIFE bundles to CDN (TBD) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
bun run commitlint ${1} | ||
npx --no -- commitlint --edit ${1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
bunx lint-staged | ||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"*.{js,ts}": ["eslint --fix", "eslint"], | ||
"*": ["prettier --write"] | ||
"*.{js,ts,json}": ["prettier --write"] | ||
} |
File renamed without changes.
Oops, something went wrong.