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
fengyuanchen committed Jul 6, 2024
1 parent d9cff71 commit 1a290d5
Show file tree
Hide file tree
Showing 16 changed files with 3,236 additions and 2,009 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# [2.0.0-rc.1](https://github.com/fengyuanchen/cropperjs/compare/v2.0.0-rc.0...v2.0.0-rc.1) (2024-07-06)


### Bug Fixes

* **element-image:** zoom when the selection is both zoomable and dynamic ([0193036](https://github.com/fengyuanchen/cropperjs/commit/019303684580749ec17bd49ffdbd59779f1fbf33))
* **element-selection:** backward compatible with `linked="true"` only ([64e2714](https://github.com/fengyuanchen/cropperjs/commit/64e271403c97844ef6bbe040592f4b89478496a1))
* **element-selection:** fix wrong action end listener ([5f764a1](https://github.com/fengyuanchen/cropperjs/commit/5f764a1efc5070fe984a46712d5f0031a391db6f))


### Features

* **element-selection:** pass zoom events down to image when selection is not zoomable ([3aa7ff4](https://github.com/fengyuanchen/cropperjs/commit/3aa7ff4ec374bbfdb05e0d2978b0e245a18b6563)), closes [#1182](https://github.com/fengyuanchen/cropperjs/issues/1182)



# [2.0.0-rc.0](https://github.com/fengyuanchen/cropperjs/compare/v2.0.0-rc...v2.0.0-rc.0) (2024-06-22)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"command": {
"version": {
"conventionalCommits": true,
Expand Down
5,113 changes: 3,162 additions & 1,951 deletions package-lock.json

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cropperjs",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"private": true,
"workspaces": [
"packages/*"
Expand All @@ -21,10 +21,10 @@
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@microsoft/api-extractor": "^7.44.1",
"@microsoft/api-extractor": "^7.47.0",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-typescript": "^11.1.6",
"@types/estree": "^1.0.5",
"@types/jest": "^29.5.12",
Expand All @@ -41,28 +41,28 @@
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^46.10.1",
"eslint-plugin-vue": "^9.26.0",
"eslint-plugin-vue": "^9.27.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lerna": "^7.4.2",
"lint-staged": "^14.0.1",
"markdown-it-container": "^3.0.0",
"postcss": "^8.4.38",
"postcss": "^8.4.39",
"postcss-cli": "^10.1.0",
"postcss-html": "^1.7.0",
"rgb-hex": "^4.1.0",
"rollup": "^2.79.1",
"rollup-plugin-inline-postcss": "^3.0.1",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.77.2",
"sass": "^1.77.6",
"stylelint": "^14.16.1",
"stylelint-config-recommended-scss": "^8.0.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-order": "^5.0.0",
"ts-jest": "^29.1.3",
"tslib": "^2.6.2",
"ts-jest": "^29.1.5",
"tslib": "^2.6.3",
"typescript": "^4.9.5",
"vitepress": "^1.2.2"
"vitepress": "^1.2.3"
}
}
6 changes: 3 additions & 3 deletions packages/cropperjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cropperjs",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "JavaScript image cropper.",
"main": "dist/cropper.raw.js",
"module": "dist/cropper.esm.raw.js",
Expand Down Expand Up @@ -49,8 +49,8 @@
"bugs": "https://github.com/fengyuanchen/cropperjs-next/issues",
"homepage": "https://github.com/fengyuanchen/cropperjs-next/tree/next/packages/cropperjs/#readme",
"dependencies": {
"@cropper/elements": "^2.0.0-rc.0",
"@cropper/utils": "^2.0.0-rc.0"
"@cropper/elements": "^2.0.0-rc.1",
"@cropper/utils": "^2.0.0-rc.1"
},
"publishConfig": {
"tag": "next"
Expand Down
6 changes: 3 additions & 3 deletions packages/element-canvas/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cropper/element-canvas",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "A custom canvas element for the Cropper.",
"main": "dist/element-canvas.raw.js",
"module": "dist/element-canvas.esm.raw.js",
Expand Down Expand Up @@ -36,8 +36,8 @@
"bugs": "https://github.com/fengyuanchen/cropperjs-next/issues",
"homepage": "https://github.com/fengyuanchen/cropperjs-next/tree/next/packages/element-canvas/#readme",
"dependencies": {
"@cropper/element": "^2.0.0-rc.0",
"@cropper/utils": "^2.0.0-rc.0"
"@cropper/element": "^2.0.0-rc.1",
"@cropper/utils": "^2.0.0-rc.1"
},
"publishConfig": {
"access": "public",
Expand Down
6 changes: 3 additions & 3 deletions packages/element-crosshair/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cropper/element-crosshair",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "A custom crosshair element for the Cropper.",
"main": "dist/element-crosshair.raw.js",
"module": "dist/element-crosshair.esm.raw.js",
Expand Down Expand Up @@ -36,8 +36,8 @@
"bugs": "https://github.com/fengyuanchen/cropperjs-next/issues",
"homepage": "https://github.com/fengyuanchen/cropperjs-next/tree/next/packages/element-crosshair/#readme",
"dependencies": {
"@cropper/element": "^2.0.0-rc.0",
"@cropper/utils": "^2.0.0-rc.0"
"@cropper/element": "^2.0.0-rc.1",
"@cropper/utils": "^2.0.0-rc.1"
},
"publishConfig": {
"access": "public",
Expand Down
6 changes: 3 additions & 3 deletions packages/element-grid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cropper/element-grid",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "A custom grid element for the Cropper.",
"main": "dist/element-grid.raw.js",
"module": "dist/element-grid.esm.raw.js",
Expand Down Expand Up @@ -36,8 +36,8 @@
"bugs": "https://github.com/fengyuanchen/cropperjs-next/issues",
"homepage": "https://github.com/fengyuanchen/cropperjs-next/tree/next/packages/element-grid/#readme",
"dependencies": {
"@cropper/element": "^2.0.0-rc.0",
"@cropper/utils": "^2.0.0-rc.0"
"@cropper/element": "^2.0.0-rc.1",
"@cropper/utils": "^2.0.0-rc.1"
},
"publishConfig": {
"access": "public",
Expand Down
6 changes: 3 additions & 3 deletions packages/element-handle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cropper/element-handle",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "A custom handle element for the Cropper.",
"main": "dist/element-handle.raw.js",
"module": "dist/element-handle.esm.raw.js",
Expand Down Expand Up @@ -36,8 +36,8 @@
"bugs": "https://github.com/fengyuanchen/cropperjs-next/issues",
"homepage": "https://github.com/fengyuanchen/cropperjs-next/tree/next/packages/element-handle/#readme",
"dependencies": {
"@cropper/element": "^2.0.0-rc.0",
"@cropper/utils": "^2.0.0-rc.0"
"@cropper/element": "^2.0.0-rc.1",
"@cropper/utils": "^2.0.0-rc.1"
},
"publishConfig": {
"access": "public",
Expand Down
8 changes: 4 additions & 4 deletions packages/element-image/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cropper/element-image",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "A custom image element for the Cropper.",
"main": "dist/element-image.raw.js",
"module": "dist/element-image.esm.raw.js",
Expand Down Expand Up @@ -36,9 +36,9 @@
"bugs": "https://github.com/fengyuanchen/cropperjs-next/issues",
"homepage": "https://github.com/fengyuanchen/cropperjs-next/tree/next/packages/element-image/#readme",
"dependencies": {
"@cropper/element": "^2.0.0-rc.0",
"@cropper/element-canvas": "^2.0.0-rc.0",
"@cropper/utils": "^2.0.0-rc.0"
"@cropper/element": "^2.0.0-rc.1",
"@cropper/element-canvas": "^2.0.0-rc.1",
"@cropper/utils": "^2.0.0-rc.1"
},
"publishConfig": {
"access": "public",
Expand Down
10 changes: 5 additions & 5 deletions packages/element-selection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cropper/element-selection",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "A custom selection element for the Cropper.",
"main": "dist/element-selection.raw.js",
"module": "dist/element-selection.esm.raw.js",
Expand Down Expand Up @@ -36,10 +36,10 @@
"bugs": "https://github.com/fengyuanchen/cropperjs-next/issues",
"homepage": "https://github.com/fengyuanchen/cropperjs-next/tree/next/packages/element-selection/#readme",
"dependencies": {
"@cropper/element": "^2.0.0-rc.0",
"@cropper/element-canvas": "^2.0.0-rc.0",
"@cropper/element-image": "^2.0.0-rc.0",
"@cropper/utils": "^2.0.0-rc.0"
"@cropper/element": "^2.0.0-rc.1",
"@cropper/element-canvas": "^2.0.0-rc.1",
"@cropper/element-image": "^2.0.0-rc.1",
"@cropper/utils": "^2.0.0-rc.1"
},
"publishConfig": {
"access": "public",
Expand Down
10 changes: 5 additions & 5 deletions packages/element-shade/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cropper/element-shade",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "A custom shade element for the Cropper.",
"main": "dist/element-shade.raw.js",
"module": "dist/element-shade.esm.raw.js",
Expand Down Expand Up @@ -36,10 +36,10 @@
"bugs": "https://github.com/fengyuanchen/cropperjs-next/issues",
"homepage": "https://github.com/fengyuanchen/cropperjs-next/tree/next/packages/element-shade/#readme",
"dependencies": {
"@cropper/element": "^2.0.0-rc.0",
"@cropper/element-canvas": "^2.0.0-rc.0",
"@cropper/element-selection": "^2.0.0-rc.0",
"@cropper/utils": "^2.0.0-rc.0"
"@cropper/element": "^2.0.0-rc.1",
"@cropper/element-canvas": "^2.0.0-rc.1",
"@cropper/element-selection": "^2.0.0-rc.1",
"@cropper/utils": "^2.0.0-rc.1"
},
"publishConfig": {
"access": "public",
Expand Down
12 changes: 6 additions & 6 deletions packages/element-viewer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cropper/element-viewer",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "A custom viewer element for the Cropper.",
"main": "dist/element-viewer.raw.js",
"module": "dist/element-viewer.esm.raw.js",
Expand Down Expand Up @@ -36,11 +36,11 @@
"bugs": "https://github.com/fengyuanchen/cropperjs-next/issues",
"homepage": "https://github.com/fengyuanchen/cropperjs-next/tree/next/packages/element-viewer/#readme",
"dependencies": {
"@cropper/element": "^2.0.0-rc.0",
"@cropper/element-canvas": "^2.0.0-rc.0",
"@cropper/element-image": "^2.0.0-rc.0",
"@cropper/element-selection": "^2.0.0-rc.0",
"@cropper/utils": "^2.0.0-rc.0"
"@cropper/element": "^2.0.0-rc.1",
"@cropper/element-canvas": "^2.0.0-rc.1",
"@cropper/element-image": "^2.0.0-rc.1",
"@cropper/element-selection": "^2.0.0-rc.1",
"@cropper/utils": "^2.0.0-rc.1"
},
"publishConfig": {
"access": "public",
Expand Down
4 changes: 2 additions & 2 deletions packages/element/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cropper/element",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "An abstract class for constructing Cropper elements.",
"main": "dist/element.raw.js",
"module": "dist/element.esm.raw.js",
Expand Down Expand Up @@ -36,7 +36,7 @@
"bugs": "https://github.com/fengyuanchen/cropperjs-next/issues",
"homepage": "https://github.com/fengyuanchen/cropperjs-next/tree/next/packages/element/#readme",
"dependencies": {
"@cropper/utils": "^2.0.0-rc.0"
"@cropper/utils": "^2.0.0-rc.1"
},
"publishConfig": {
"access": "public",
Expand Down
20 changes: 10 additions & 10 deletions packages/elements/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cropper/elements",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "A series of custom elements for the Cropper.",
"main": "dist/elements.raw.js",
"module": "dist/elements.esm.raw.js",
Expand Down Expand Up @@ -33,15 +33,15 @@
"bugs": "https://github.com/fengyuanchen/cropperjs-next/issues",
"homepage": "https://github.com/fengyuanchen/cropperjs-next/tree/next/packages/elements/#readme",
"dependencies": {
"@cropper/element": "^2.0.0-rc.0",
"@cropper/element-canvas": "^2.0.0-rc.0",
"@cropper/element-crosshair": "^2.0.0-rc.0",
"@cropper/element-grid": "^2.0.0-rc.0",
"@cropper/element-handle": "^2.0.0-rc.0",
"@cropper/element-image": "^2.0.0-rc.0",
"@cropper/element-selection": "^2.0.0-rc.0",
"@cropper/element-shade": "^2.0.0-rc.0",
"@cropper/element-viewer": "^2.0.0-rc.0"
"@cropper/element": "^2.0.0-rc.1",
"@cropper/element-canvas": "^2.0.0-rc.1",
"@cropper/element-crosshair": "^2.0.0-rc.1",
"@cropper/element-grid": "^2.0.0-rc.1",
"@cropper/element-handle": "^2.0.0-rc.1",
"@cropper/element-image": "^2.0.0-rc.1",
"@cropper/element-selection": "^2.0.0-rc.1",
"@cropper/element-shade": "^2.0.0-rc.1",
"@cropper/element-viewer": "^2.0.0-rc.1"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cropper/utils",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "A series of common constants and utility functions for Cropper.",
"main": "dist/utils.raw.js",
"module": "dist/utils.esm.raw.js",
Expand Down

0 comments on commit 1a290d5

Please sign in to comment.