diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000000..5a182ef106 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +yarn lint-staged diff --git a/app/package.json b/app/package.json index 6a257b3d06..6816ae0b7b 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "@epam/app", - "version": "5.3.0", + "version": "5.3.0-rc.1", "description": "EPAM Unified UI landing", "author": "EPAM", "license": "MIT", @@ -15,19 +15,19 @@ "cracoConfig": "./build-config/craco.config.js", "dependencies": { "@elastic/apm-rum": "^5.14.0", - "@epam/assets": "5.3.0", - "@epam/draft-rte": "5.3.0", - "@epam/electric": "5.3.0", + "@epam/assets": "5.3.0-rc.1", + "@epam/draft-rte": "5.3.0-rc.1", + "@epam/electric": "5.3.0-rc.1", "@epam/internal": "0.0.1", - "@epam/loveship": "5.3.0", - "@epam/promo": "5.3.0", - "@epam/uui": "5.3.0", - "@epam/uui-components": "5.3.0", - "@epam/uui-core": "5.3.0", - "@epam/uui-db": "5.3.0", - "@epam/uui-docs": "5.3.0", - "@epam/uui-editor": "5.3.0", - "@epam/uui-timeline": "5.3.0", + "@epam/loveship": "5.3.0-rc.1", + "@epam/promo": "5.3.0-rc.1", + "@epam/uui": "5.3.0-rc.1", + "@epam/uui-components": "5.3.0-rc.1", + "@epam/uui-core": "5.3.0-rc.1", + "@epam/uui-db": "5.3.0-rc.1", + "@epam/uui-docs": "5.3.0-rc.1", + "@epam/uui-editor": "5.3.0-rc.1", + "@epam/uui-timeline": "5.3.0-rc.1", "@udecode/plate-common": "24.5.2", "amplitude-js": "8.9.1", "classnames": "2.2.6", diff --git a/draft-rte/package.json b/draft-rte/package.json index 2559fcb1fa..ddf48a8036 100644 --- a/draft-rte/package.json +++ b/draft-rte/package.json @@ -1,6 +1,6 @@ { "name": "@epam/draft-rte", - "version": "5.3.0", + "version": "5.3.0-rc.1", "author": "EPAM", "license": "MIT", "main": "index.js", @@ -11,10 +11,10 @@ "prepublish": "yarn build" }, "dependencies": { - "@epam/assets": "5.3.0", - "@epam/loveship": "5.3.0", - "@epam/uui-components": "5.3.0", - "@epam/uui-core": "5.3.0", + "@epam/assets": "5.3.0-rc.1", + "@epam/loveship": "5.3.0-rc.1", + "@epam/uui-components": "5.3.0-rc.1", + "@epam/uui-core": "5.3.0-rc.1", "@types/draft-js": "0.10.23", "classnames": "^2.2.6", "draft-convert": "^2.1.2", diff --git a/epam-assets/package.json b/epam-assets/package.json index d2ed087826..9b4c554e42 100644 --- a/epam-assets/package.json +++ b/epam-assets/package.json @@ -1,6 +1,6 @@ { "name": "@epam/assets", - "version": "5.3.0", + "version": "5.3.0-rc.1", "description": "EPAM Assets Library", "author": "EPAM", "license": "MIT", diff --git a/epam-electric/package.json b/epam-electric/package.json index d3332944c4..c6bd23dc9b 100644 --- a/epam-electric/package.json +++ b/epam-electric/package.json @@ -1,6 +1,6 @@ { "name": "@epam/electric", - "version": "5.3.0", + "version": "5.3.0-rc.1", "description": "EPAM UUI components set branded with 'electric' style", "author": "EPAM", "license": "MIT", @@ -12,10 +12,10 @@ "prepublish": "yarn build" }, "dependencies": { - "@epam/assets": "5.3.0", - "@epam/uui": "5.3.0", - "@epam/uui-components": "5.3.0", - "@epam/uui-core": "5.3.0" + "@epam/assets": "5.3.0-rc.1", + "@epam/uui": "5.3.0-rc.1", + "@epam/uui-components": "5.3.0-rc.1", + "@epam/uui-core": "5.3.0-rc.1" }, "devDependencies": { "mockdate": "^3.0.5" diff --git a/epam-promo/package.json b/epam-promo/package.json index 3bc466202f..7fcec948f6 100644 --- a/epam-promo/package.json +++ b/epam-promo/package.json @@ -1,6 +1,6 @@ { "name": "@epam/promo", - "version": "5.3.0", + "version": "5.3.0-rc.1", "description": "EPAM UUI4 components set", "author": "EPAM", "license": "MIT", @@ -12,10 +12,10 @@ "prepublish": "yarn build" }, "dependencies": { - "@epam/assets": "5.3.0", - "@epam/uui": "5.3.0", - "@epam/uui-components": "5.3.0", - "@epam/uui-core": "5.3.0", + "@epam/assets": "5.3.0-rc.1", + "@epam/uui": "5.3.0-rc.1", + "@epam/uui-components": "5.3.0-rc.1", + "@epam/uui-core": "5.3.0-rc.1", "@types/classnames": "2.2.6", "@types/lodash.isequal": "4.5.5", "@types/lodash.sortby": "4.7.6", diff --git a/extra/package.json b/extra/package.json index 2cf34da020..4c6038d508 100644 --- a/extra/package.json +++ b/extra/package.json @@ -1,6 +1,6 @@ { "name": "@epam/uui-extra", - "version": "5.3.0", + "version": "5.3.0-rc.1", "description": "EPAM UUI components set branded with 'loveship' style", "author": "EPAM", "license": "MIT", @@ -12,10 +12,10 @@ }, "dependencies": { "@epam/assets": "4.5.3", - "@epam/loveship": "5.3.0", - "@epam/promo": "5.3.0", - "@epam/uui-components": "5.3.0", - "@epam/uui-core": "5.3.0", + "@epam/loveship": "5.3.0-rc.1", + "@epam/promo": "5.3.0-rc.1", + "@epam/uui-components": "5.3.0-rc.1", + "@epam/uui-core": "5.3.0-rc.1", "@types/shallowequal": "^1.1.1", "immutable": "3.8.2", "shallowequal": "^1.1.0" diff --git a/lerna.json b/lerna.json index 4e223f9094..4e20902190 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "5.3.0", + "version": "5.3.0-rc.1", "npmClient": "yarn", "useWorkspaces": true, "exact": true diff --git a/loveship/package.json b/loveship/package.json index eab8d37b91..4f4ea341d2 100644 --- a/loveship/package.json +++ b/loveship/package.json @@ -1,6 +1,6 @@ { "name": "@epam/loveship", - "version": "5.3.0", + "version": "5.3.0-rc.1", "description": "EPAM UUI components set branded with 'loveship' style", "author": "EPAM", "license": "MIT", @@ -12,10 +12,10 @@ "prepublish": "yarn build" }, "dependencies": { - "@epam/assets": "5.3.0", - "@epam/uui": "5.3.0", - "@epam/uui-components": "5.3.0", - "@epam/uui-core": "5.3.0", + "@epam/assets": "5.3.0-rc.1", + "@epam/uui": "5.3.0-rc.1", + "@epam/uui-components": "5.3.0-rc.1", + "@epam/uui-core": "5.3.0-rc.1", "@types/classnames": "2.2.6", "@types/lodash.isequal": "4.5.5", "@types/lodash.sortby": "4.7.6", diff --git a/templates/uui-cra-template/package.json b/templates/uui-cra-template/package.json index 302641a8a4..96f20ea1cd 100644 --- a/templates/uui-cra-template/package.json +++ b/templates/uui-cra-template/package.json @@ -1,6 +1,6 @@ { "name": "@epam/cra-template-uui", - "version": "5.3.0", + "version": "5.3.0-rc.1", "keywords": [ "UUI", "react", diff --git a/test-utils/package.json b/test-utils/package.json index 3b784e5a9e..9be1fe871d 100644 --- a/test-utils/package.json +++ b/test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@epam/uui-test-utils", - "version": "5.3.0", + "version": "5.3.0-rc.1", "author": "EPAM", "license": "MIT", "private": false, @@ -11,7 +11,7 @@ "prepublish": "yarn build" }, "dependencies": { - "@epam/uui-core": "5.3.0", + "@epam/uui-core": "5.3.0-rc.1", "@testing-library/react": "14.0.0", "@testing-library/user-event": "14.4.3", "@types/react-test-renderer": "18.0.0", diff --git a/uui-build/package.json b/uui-build/package.json index 0af04d69d0..975103d476 100644 --- a/uui-build/package.json +++ b/uui-build/package.json @@ -1,6 +1,6 @@ { "name": "@epam/uui-build", - "version": "5.3.0", + "version": "5.3.0-rc.1", "bin": { "epam-uui-build": "./bin/cli.js" }, diff --git a/uui-components/package.json b/uui-components/package.json index ffe2706144..0b71750a1f 100644 --- a/uui-components/package.json +++ b/uui-components/package.json @@ -1,6 +1,6 @@ { "name": "@epam/uui-components", - "version": "5.3.0", + "version": "5.3.0-rc.1", "description": "EPAM UUI Components", "author": "EPAM", "license": "MIT", @@ -12,7 +12,7 @@ "prepublish": "yarn build" }, "dependencies": { - "@epam/uui-core": "5.3.0", + "@epam/uui-core": "5.3.0-rc.1", "@popperjs/core": "2.9.0", "@types/classnames": "2.2.6", "@types/lodash.clone": "4.5.6", diff --git a/uui-core/package.json b/uui-core/package.json index 0818890288..e1d367d004 100644 --- a/uui-core/package.json +++ b/uui-core/package.json @@ -1,6 +1,6 @@ { "name": "@epam/uui-core", - "version": "5.3.0", + "version": "5.3.0-rc.1", "description": "EPAM UUI Core", "author": "EPAM", "license": "MIT", diff --git a/uui-db/package.json b/uui-db/package.json index d6013bc325..91e6ad6f4c 100644 --- a/uui-db/package.json +++ b/uui-db/package.json @@ -1,6 +1,6 @@ { "name": "@epam/uui-db", - "version": "5.3.0", + "version": "5.3.0-rc.1", "description": "UUI - client-side relational state cache", "author": "EPAM", "license": "MIT", @@ -14,7 +14,7 @@ "prepublish": "yarn build" }, "dependencies": { - "@epam/uui-core": "5.3.0", + "@epam/uui-core": "5.3.0-rc.1", "@types/lodash.countby": "4.6.6", "@types/lodash.filter": "4.6.6", "@types/lodash.foreach": "4.5.6", diff --git a/uui-docs/package.json b/uui-docs/package.json index 397272b5cf..df98783495 100644 --- a/uui-docs/package.json +++ b/uui-docs/package.json @@ -1,6 +1,6 @@ { "name": "@epam/uui-docs", - "version": "5.3.0", + "version": "5.3.0-rc.1", "description": "EPAM UUI Documentation infrastructure", "author": "EPAM", "license": "MIT", @@ -12,10 +12,10 @@ "prepublish": "yarn build" }, "dependencies": { - "@epam/promo": "5.3.0", - "@epam/uui": "5.3.0", - "@epam/uui-components": "5.3.0", - "@epam/uui-core": "5.3.0", + "@epam/promo": "5.3.0-rc.1", + "@epam/uui": "5.3.0-rc.1", + "@epam/uui-components": "5.3.0-rc.1", + "@epam/uui-core": "5.3.0-rc.1", "@types/classnames": "2.2.6", "classnames": "^2.2.6" }, diff --git a/uui-editor/package.json b/uui-editor/package.json index e18e7c09be..758ce46d55 100644 --- a/uui-editor/package.json +++ b/uui-editor/package.json @@ -1,6 +1,6 @@ { "name": "@epam/uui-editor", - "version": "5.3.0", + "version": "5.3.0-rc.1", "author": "EPAM", "license": "MIT", "main": "index.js", @@ -12,10 +12,10 @@ }, "dependencies": { "@braintree/sanitize-url": "4.0.1", - "@epam/assets": "5.3.0", - "@epam/uui": "5.3.0", - "@epam/uui-components": "5.3.0", - "@epam/uui-core": "5.3.0", + "@epam/assets": "5.3.0-rc.1", + "@epam/uui": "5.3.0-rc.1", + "@epam/uui-components": "5.3.0-rc.1", + "@epam/uui-core": "5.3.0-rc.1", "@udecode/plate-basic-marks": "22.0.2", "@udecode/plate-block-quote": "22.0.2", "@udecode/plate-break": "22.0.2", diff --git a/uui-timeline/package.json b/uui-timeline/package.json index 1240b66ab6..7d3d0b6d05 100644 --- a/uui-timeline/package.json +++ b/uui-timeline/package.json @@ -1,6 +1,6 @@ { "name": "@epam/uui-timeline", - "version": "5.3.0", + "version": "5.3.0-rc.1", "author": "EPAM", "license": "MIT", "main": "index.js", @@ -11,8 +11,8 @@ "prepublish": "yarn build" }, "dependencies": { - "@epam/uui-components": "5.3.0", - "@epam/uui-core": "5.3.0", + "@epam/uui-components": "5.3.0-rc.1", + "@epam/uui-core": "5.3.0-rc.1", "@types/lodash.sortby": "4.7.6", "@types/lodash.sortedindex": "4.1.6", "classnames": "^2.2.6", diff --git a/uui/package.json b/uui/package.json index e87d7cfc07..9845b32ea2 100644 --- a/uui/package.json +++ b/uui/package.json @@ -1,6 +1,6 @@ { "name": "@epam/uui", - "version": "5.3.0", + "version": "5.3.0-rc.1", "description": "EPAM UUI components set", "author": "EPAM", "license": "MIT", @@ -12,9 +12,9 @@ "prepublish": "yarn build" }, "dependencies": { - "@epam/assets": "5.3.0", - "@epam/uui-components": "5.3.0", - "@epam/uui-core": "5.3.0", + "@epam/assets": "5.3.0-rc.1", + "@epam/uui-components": "5.3.0-rc.1", + "@epam/uui-core": "5.3.0-rc.1", "classnames": "2.2.6", "dayjs": "1.10.7", "lodash.sortby": "4.7.0",