Skip to content

Commit

Permalink
build: release 2.0.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
malkomich committed May 14, 2020
1 parent 5c384a7 commit 7991b6c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm release
- run: npm run release
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
Expand All @@ -42,7 +42,7 @@ jobs:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm release
- run: npm run release
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
16 changes: 3 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
# Changelog

## 2.1.1 (May 13, 2020)
## 2.0.0-rc.1 (May 12, 2020)

- Fix npm published ignored files

## 2.1.0 (May 13, 2020)

- Disable context menu && any mouse event on canvas elements to prevent image download
- Fix a bug regarding the reference name for Viewer class
- Create Github workflows for npm building & publishing

## 2.0.0 (May 12, 2020)

- Canvas support, to improve privacy disabling image saving or copying (#383)
- Canvas data encryption to hide source images (#383)
- Canvas support, with image download disabled and data encryption to improve privacy (#383)
- Sanitize dependencies && fix compatibility issues.
- Create Github workflows for npm building & publishing

## 1.5.0 (Nov 23, 2019)

Expand Down
4 changes: 2 additions & 2 deletions docs/css/viewerjs.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* viewerjs.js v2.1.1
* viewerjs.js v2.0.0-rc.1
* https://malkomich.github.io/viewerjs
*
* Copyright 2020 Juan Carlos Gonzalez
* Released under the MIT license
*
* Date: 2020-05-13T21:46:51.757Z
* Date: 2020-05-13T23:16:06.263Z
*/

.viewer-zoom-in::before,
Expand Down
4 changes: 2 additions & 2 deletions docs/js/viewerjs.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* viewerjs.js v2.1.1
* viewerjs.js v2.0.0-rc.1
* https://malkomich.github.io/viewerjs
*
* Copyright 2020 Juan Carlos Gonzalez
* Released under the MIT license
*
* Date: 2020-05-13T21:46:55.098Z
* Date: 2020-05-13T23:16:09.969Z
*/

(function (global, factory) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@malkomich/viewerjs",
"description": "JavaScript image viewer.",
"version": "2.1.1",
"version": "2.0.0-rc.1",
"main": "dist/viewerjs.common.js",
"module": "dist/viewerjs.esm.js",
"browser": {
Expand Down

0 comments on commit 7991b6c

Please sign in to comment.