This monorepo contains these packages:
Project | Package |
---|---|
Vue.js PDF-Viewer | @certifaction/vue-pdf-viewer |
- NodeJS >= 22
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 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
, orreleases/v2.0.0-rc.0
). The branch name isn't used for the actual release tough. -
Execute
npm run create-version
and follow the prompts. You can usenpm run force-create-version
to force a new version to be published. -
Commit and push the changes created by Lerna.
-
Create PR based on the release branch and merge it. This will automatically publish the release to GitHub Packages.
Released by Certifaction AG