Skip to content

Commit ecad9e1

Browse files
Merge pull request #1 from ffmpegwasm/refactor/minor-housekeeping
2 parents a44cf8f + 6edad5e commit ecad9e1

File tree

12 files changed

+3233
-184
lines changed

12 files changed

+3233
-184
lines changed

.github/dependabot.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
version: 2
2+
updates:
3+
# Fetch and update latest `npm` packages
4+
- package-ecosystem: npm
5+
directory: '/'
6+
schedule:
7+
interval: daily
8+
time: '00:00'
9+
timezone: Asia/Calcutta
10+
open-pull-requests-limit: 99
11+
reviewers:
12+
- vinayakkulkarni
13+
assignees:
14+
- vinayakkulkarni
15+
commit-message:
16+
prefix: fix
17+
prefix-development: chore
18+
include: scope
19+
# Fetch and update latest `github-actions` pkgs
20+
- package-ecosystem: github-actions
21+
directory: '/'
22+
schedule:
23+
interval: daily
24+
time: '00:00'
25+
timezone: Asia/Calcutta
26+
open-pull-requests-limit: 99
27+
reviewers:
28+
- vinayakkulkarni
29+
assignees:
30+
- vinayakkulkarni
31+
commit-message:
32+
prefix: fix
33+
prefix-development: chore
34+
include: scope

.github/semantic.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Always validate the PR title AND all the commits
2+
titleAndCommits: true
3+
# Allows use of Merge commits (eg on github: "Merge branch 'master' into feature/ride-unicorns")
4+
# this is only relevant when using commitsOnly: true (or titleAndCommits: true)
5+
allowMergeCommits: true

.github/workflows/ci.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ on:
44
push:
55
branches:
66
- main
7-
- dev
87
pull_request_target:
98
branches:
109
- main
11-
- dev
1210

1311
permissions:
1412
checks: write
@@ -25,7 +23,6 @@ jobs:
2523
strategy:
2624
matrix:
2725
os: [ubuntu-latest]
28-
node: [17]
2926

3027
steps:
3128
- name: Check out repository (push)
@@ -41,14 +38,11 @@ jobs:
4138
- name: Setup node env 🏗
4239
uses: actions/[email protected]
4340
with:
44-
node-version: ${{ matrix.node }}
41+
node-version-file: '.nvmrc'
4542
registry-url: 'https://registry.npmjs.org'
4643
cache: 'npm'
4744
check-latest: true
4845

49-
- name: Upgrade npm ✨
50-
run: npm i -g npm@latest
51-
5246
- name: Install dependencies 👨🏻‍💻
5347
run: npm ci --prefer-offline --no-audit --unsafe-perm=true
5448

@@ -69,4 +63,4 @@ jobs:
6963
neutral_check_on_warning: true
7064

7165
- name: Check build ⚙️
72-
run: npm run build && npm run generate
66+
run: npm run build

.github/workflows/lint-pr.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 'Lint PR'
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
jobs:
11+
main:
12+
name: Validate PR title
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: amannn/action-semantic-pull-request@v4
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Ship js trigger
2+
on:
3+
pull_request:
4+
types:
5+
- closed
6+
jobs:
7+
build:
8+
name: Release
9+
runs-on: ubuntu-latest
10+
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/v')
11+
steps:
12+
- name: Checkout code 🛎
13+
uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
ref: main
17+
18+
- name: Setup node environment 📦
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version-file: '.nvmrc'
22+
registry-url: 'https://registry.npmjs.org'
23+
cache: 'npm'
24+
check-latest: true
25+
26+
- name: Trigger a release 🥳
27+
run: npx shipjs trigger
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
17.8.0

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022-current Vinayak Kulkarni <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 43 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,66 @@
1-
# Nuxt 3 Minimal Starter
1+
# FFMPEG :: Nuxt 3 🕺
22

3-
We recommend to look at the [documentation](https://v3.nuxtjs.org).
3+
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-green.svg)](https://conventionalcommits.org)
4+
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/ffmpegwasm/nuxt-app/ci?logo=github-actions)](https://github.com/ffmpegwasm/nuxt-app/actions/workflows/ci.yml)
5+
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/ffmpegwasm/nuxt-app/Ship%20js%20trigger?label=⛴%20Ship.js%20trigger)](https://github.com/ffmpegwasm/nuxt-app/actions/workflows/shipjs-trigger.yml)
6+
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/ffmpegwasm/nuxt-app?sort=semver&logo=github)](https://github.com/ffmpegwasm/nuxt-app/releases)
7+
[![Netlify Status](https://img.shields.io/netlify/cf1e046d-7a81-425a-814c-4015370e9426?logo=netlify)](https://app.netlify.com/sites/ffmpegwasm-nuxt/deploys)
8+
9+
[![@ffmpeg/ffmpeg](https://img.shields.io/github/package-json/dependency-version/ffmpegwasm/nuxt-app/@ffmpeg/ffmpeg?logo=ffmpeg)](https://ffmpegwasm.netlify.app/)
10+
[![@ffmpeg/core](https://img.shields.io/github/package-json/dependency-version/ffmpegwasm/nuxt-app/dev/@ffmpeg/core?logo=ffmpeg)](https://ffmpegwasm.netlify.app/)
11+
[![eslint](https://img.shields.io/github/package-json/dependency-version/ffmpegwasm/nuxt-app/dev/eslint?logo=eslint)](https://eslint.org/)
12+
[![prettier](https://img.shields.io/github/package-json/dependency-version/ffmpegwasm/nuxt-app/dev/prettier?logo=prettier)](https://prettier.io/)
13+
[![nuxt](https://img.shields.io/github/package-json/dependency-version/ffmpegwasm/nuxt-app/dev/nuxt3?logo=nuxt.js)](https://v3.nuxtjs.org/)
14+
[![typescript](https://img.shields.io/github/package-json/dependency-version/ffmpegwasm/nuxt-app/dev/typescript?logo=TypeScript)](https://www.typescriptlang.org/)
15+
16+
## Features
17+
18+
- 💪 Built with [TypeScript](https://www.typescriptlang.org/).
19+
- 🌠 Built with the all new [Nuxt 3](https://v3.nuxtjs.org/)
420

521
## Setup
622

723
Make sure to install the dependencies
824

925
```bash
10-
yarn install
26+
npm install
1127
```
1228

1329
## Development
1430

1531
Start the development server on http://localhost:3000
1632

1733
```bash
18-
yarn dev
34+
npm run dev
1935
```
2036

2137
## Production
2238

2339
Build the application for production:
2440

2541
```bash
26-
yarn build
42+
npm run build
2743
```
2844

29-
Checkout the [deployment documentation](https://v3.nuxtjs.org/docs/deployment).
45+
Checkout the [deployment documentation](https://v3.nuxtjs.org/docs/deployment).
46+
47+
## Contributing
48+
49+
1. Create your feature branch from `dev` (`git checkout -b feat/new-feature`)
50+
2. Commit your changes (`git commit -S -m 'feat: add feature'`)
51+
3. Push to the branch (`git push origin feat/new-feature`)
52+
4. Create a new [Pull Request](https://github.com/ffmpegwasm/nuxt-app/compare)
53+
54+
_Note_:
55+
56+
1. Please contribute using [GitHub Flow](https://web.archive.org/web/20191104103724/https://guides.github.com/introduction/flow/)
57+
2. Commits & PRs will be allowed only if the commit messages & PR titles follow the [conventional commit standard](https://www.conventionalcommits.org/), _read more about it [here](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#type-enum)_
58+
3. PS. Ensure your commits are signed. _[Read why](https://withblue.ink/2020/05/17/how-and-why-to-sign-git-commits.html)_
59+
60+
## Author
61+
62+
**nuxt-app** &copy; [Vinayak](https://vinayakkulkarni.dev), Released under the [MIT](./LICENSE) License.<br>
63+
Authored and maintained by Vinayak Kulkarni with help from contributors ([list](https://github.com/ffmpegwasm/nuxt-app/graphs/contributors)).
64+
65+
> [vinayakkulkarni.dev](https://vinayakkulkarni.dev) · GitHub [@vinayakkulkarni](https://github.com/vinayakkulkarni) · Twitter [@\_vinayak_k](https://twitter.com/_vinayak_k)
66+

lgtm.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)