From 84b0a984b7d6aa68b204a072a87d1bd9d17251fc Mon Sep 17 00:00:00 2001 From: Oleksandr Hladchenko <85172747+OleksandrHladchenko1@users.noreply.github.com> Date: Fri, 28 Feb 2025 13:13:37 +0100 Subject: [PATCH] UIIN-3223: Migrate stripes dependencies to their Sunflower versions and react-intl to v7 (#2769) --- CHANGELOG.md | 2 ++ package.json | 38 +++++++++++++++++++------------------- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1bd89a00..717fd90dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,8 @@ * Provide ids _and `length` param_ when retrieving job profiles. Refs UIIN-3257. * Move ‘Set for deletion’ checkbox field to 4th space in top row of Instance Edit view. Refs UIIN-3259. * Update Inventory: Set records for deletion permission's effect on ‘Set for deletion’ checkbox in Instance Edit view. Refs UIIN-3260. +* *BREAKING* Migrate stripes dependencies to their Sunflower versions. Refs UIIN-3223. +* *BREAKING* Migrate `react-intl` to v7. Refs UIIN-3224. ## [12.0.12](https://github.com/folio-org/ui-inventory/tree/v12.0.12) (2025-01-27) [Full Changelog](https://github.com/folio-org/ui-inventory/compare/v12.0.11...v12.0.12) diff --git a/package.json b/package.json index f55d6dfd3..bd05317c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@folio/inventory", - "version": "13.1.0", + "version": "14.0.0", "description": "Inventory manager", "repository": "folio-org/ui-inventory", "publishConfig": { @@ -1034,7 +1034,7 @@ "test:unit": "jest --ci --coverage", "test:unit:watch": "jest --watch --coverage", "build-mod-descriptor": "stripes mod descriptor --full --strict | jq '.[]' > module-descriptor.json ", - "formatjs-compile": "formatjs compile-folder --ast --format simple ./translations/ui-inventory ./translations/ui-inventory/compiled" + "formatjs-compile": "stripes translate compile" }, "devDependencies": { "@babel/core": "^7.9.0", @@ -1044,19 +1044,19 @@ "@babel/plugin-transform-runtime": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.9.0", - "@folio/eslint-config-stripes": "^7.0.0", - "@folio/jest-config-stripes": "^2.0.0", - "@folio/stripes": "^9.2.2", - "@folio/stripes-cli": "^3.2.0", - "@folio/stripes-components": "^12.2.2", - "@folio/stripes-connect": "^9.2.0", - "@folio/stripes-core": "^10.2.1", + "@folio/eslint-config-stripes": "^8.0.0", + "@folio/jest-config-stripes": "^3.0.0", + "@folio/stripes": "^10.0.0", + "@folio/stripes-cli": "^4.0.0", + "@folio/stripes-components": "^13.0.0", + "@folio/stripes-connect": "^10.0.0", + "@folio/stripes-core": "^11.0.0", "@folio/stripes-inventory-components": "^2.0.0", - "@folio/stripes-marc-components": "^1.1.0", - "@folio/stripes-smart-components": "^9.2.1", - "@folio/stripes-testing": "^4.6.0", - "@folio/stripes-util": "^6.2.0", - "@formatjs/cli": "^6.1.3", + "@folio/stripes-marc-components": "^2.0.0", + "@folio/stripes-smart-components": "^10.0.0", + "@folio/stripes-testing": "^5.0.0", + "@folio/stripes-util": "^7.0.0", + "@formatjs/cli": "^6.6.0", "core-js": "^3.6.4", "eslint": "^7.13.0", "eslint-plugin-filenames": "^1.3.2", @@ -1064,7 +1064,7 @@ "eslint-plugin-jest": "^24.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", - "react-intl": "^6.4.4", + "react-intl": "^7.1.5", "react-query": "^3.6.0", "react-router-dom": "^5.0.1", "regenerator-runtime": "^0.13.3", @@ -1072,7 +1072,7 @@ "zustand": "^4.1.1" }, "dependencies": { - "@folio/stripes-acq-components": "~6.0.0", + "@folio/stripes-acq-components": "^7.0.0", "classnames": "^2.3.2", "file-saver": "^2.0.0", "final-form": "^4.18.2", @@ -1094,11 +1094,11 @@ "use-session-storage-state": "^18.2.0" }, "peerDependencies": { - "@folio/stripes": "^9.2.2", + "@folio/stripes": "^10.0.0", "@folio/stripes-inventory-components": "^2.0.0", - "@folio/stripes-marc-components": "^1.1.0", + "@folio/stripes-marc-components": "^2.0.0", "react": "^18.2.0", - "react-intl": "^6.4.4", + "react-intl": "^7.1.5", "react-query": "^3.6.0", "react-router": "^5.0.1", "react-router-dom": "^5.0.1",