Skip to content

certifaction/js-pdf-viewer

Repository files navigation

@certifaction/js-pdf-viewer

Branch 1.x is for Vue2. Branch main is for Vue3

lerna

Table of contents

Packages

This monorepo contains these packages:

Project Package
Vue.js PDF-Viewer @certifaction/vue-pdf-viewer

Development

Requirements

Getting started

Clone the git repo and install dependencies.

git clone https://github.com/certifaction/js-pdf-viewer.git
cd js-pdf-viewer
npm install

Check and fix linting errors

npm run lint

Build libraries

npm run build

Create new release / publish to GitHub Packages

  1. Create release branch (has to start with releases/). It's best to name the branch according to the version you want to release (ex. releases/v1.2.3, or releases/v2.0.0-rc.0). The branch name isn't used for the actual release tough.

  2. Execute npm run create-version and follow the prompts. You can use npm run force-create-version to force a new version to be published.

  3. Commit and push the changes created by Lerna.

  4. Create PR based on the release branch and merge it. This will automatically publish the release to GitHub Packages.

License

License

Released by Certifaction AG