diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 38d9cc7a..e5a97508 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -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}} @@ -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}} diff --git a/CHANGELOG.md b/CHANGELOG.md index 59da0cea..76e44b80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/docs/css/viewerjs.css b/docs/css/viewerjs.css index 4045c246..70c71017 100644 --- a/docs/css/viewerjs.css +++ b/docs/css/viewerjs.css @@ -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, diff --git a/docs/js/viewerjs.js b/docs/js/viewerjs.js index 99e6f0fa..84655894 100644 --- a/docs/js/viewerjs.js +++ b/docs/js/viewerjs.js @@ -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) { diff --git a/package.json b/package.json index 544df91f..4ccc8897 100644 --- a/package.json +++ b/package.json @@ -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": {