Giter Club home page Giter Club logo

ffmpeg-pipeline's Introduction

Fingerprint logo

Build status coverage Release status MIT license Discord server Documentation

This is template repository for creating TypeScript libraries by FingerprintJS team.

Features

Quick start

  1. Clone this repository, remove .git folder and call git init / Use Use this template GitHub button
  2. Setup project specific fields in package.json
  3. Setup artifactName and other build properties in rollup.config.js
  4. If your project emits .d.ts typings, set correct path in package.json for test:dts command or remove it
  5. Use src folder to organize your code and put tests in __test__ folder
  6. If you want isolated run you can use Docker
  7. Push your repo, check that GitHub actions works
  8. Add badges
  9. You are awesome!

Best practice

Choosing name for repository

Check FingerprintJS naming conventions

Team best practise

Described in Integrations and repositories best practices

Tests

For unit tests, we use jest, because of the good infrastructure, flexible instruments for mocks and big community.

This repository contains example of how to configure code coverage reporting without SaaS solutions like codecov (such solutions require token with full access to the repository). In PR#13 you can find what you need to configure:

  • workflow to update the coverage badge in the readme and publish a full report for the main branch
  • workflow to add a comment to pr with coverage of the current branch and diff with main

Documentation

For API reference we use typedoc package and publish documentation in GitHub Pages.

Publish to npm

Publishing to NPM is automated thanks to semantic-release. On every push to main branch it will analyze commits and release new version accordingly to changes.

To set it up:

  1. Add NPM_AUTH_TOKEN to the repository secrets area
  2. Add GH_RELEASE_TOKEN to the repository secrets area, it should have following permissions: public_repo, or repo if your repository is private. Thanks to that, you will get automatic releases on GitHub, comments on issues and more!
  3. Package will publish automatically to NPM when there are relevant changes
  4. You are awesome!

Preparing product for release

Just follow checklist for publishing new integration

ffmpeg-pipeline's People

Contributors

jasongdove avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.