Skip to content

Commit b2559da

Browse files
authored
Merge pull request #333 from tjallingt/canary
chore: release
2 parents 863ee32 + 8298e8a commit b2559da

14 files changed

Lines changed: 4459 additions & 4059 deletions

File tree

.codesandbox/ci.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"buildCommand": "compile"
2+
"buildCommand": "compile",
3+
"node": "16"
34
}

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": ["react-app", "plugin:prettier/recommended", "prettier/react"],
2+
"extends": ["react-app", "plugin:prettier/recommended", "prettier"],
33
"env": {
44
"browser": true,
55
"jest": true

.github/workflows/commitlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v2
10+
uses: actions/checkout@v3
1111
with:
1212
fetch-depth: 0
1313
- name: Lint commit messages

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1414
- name: Setup Node.js
15-
uses: actions/setup-node@v2
15+
uses: actions/setup-node@v3
1616
with:
1717
node-version-file: '.nvmrc'
1818
cache: 'yarn'
1919
- name: Install dependencies
20-
run: yarn install
20+
run: yarn install --frozen-lockfile
2121
- name: Build example
2222
run: yarn example:build
2323
- name: Deploy to GitHub pages

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515
- name: Setup Node.js
16-
uses: actions/setup-node@v2
16+
uses: actions/setup-node@v3
1717
with:
1818
node-version-file: '.nvmrc'
1919
cache: 'yarn'
2020
- name: Install dependencies
21-
run: yarn install
21+
run: yarn install --frozen-lockfile
2222
- name: Run tests
2323
run: yarn test
2424
- name: Build
2525
run: yarn compile
2626
- name: Semantic Release
27-
uses: cycjimmy/semantic-release-action@v2
27+
uses: cycjimmy/semantic-release-action@v3
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88
name: Node.js ${{ matrix.node }}
99
strategy:
1010
matrix:
11-
node: ['10.x', '11.x', '12.x', '13.x', '14.x', '15.x', '16.x', '17.x']
11+
node: ['14.x', '16.x', '17.x']
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515
- name: Setup Node.js ${{ matrix.node }}
16-
uses: actions/setup-node@v2
16+
uses: actions/setup-node@v3
1717
with:
1818
node-version: ${{ matrix.node }}
1919
cache: 'yarn'

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn commitlint --edit $1

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn lint-staged

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.13
1+
16.14

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ $ npm install react-youtube
2424
id={string} // defaults -> null
2525
className={string} // defaults -> null
2626
containerClassName={string} // defaults -> ''
27+
containerStyle={object} // defaults -> null
2728
title={string} // defaults -> null
2829
opts={obj} // defaults -> {}
2930
onReady={func} // defaults -> noop

0 commit comments

Comments
 (0)