Skip to content

Commit

Permalink
STCOR-945 update react-intl to v7
Browse files Browse the repository at this point in the history
* Update react-intl
* Use stripes-cli to compile translations, allowing us to eliminate the
  `@formatjs/cli-lib` dep

Refs STCOR-945
  • Loading branch information
zburke committed Feb 7, 2025
1 parent 7f5344a commit 9c80921
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* Provide `useModuleInfo(path)` hook that maps paths to their implementing modules. Refs STCOR-932.
* Remove remaining references to stripes.isEureka. Refs STCOR-938.
* *BREAKING* Upgrade `@folio/stripes-*` dependencies.
* *BREAKING* Upgrade `react-intl` to `^v7`. Refs STCOR-945.

## [10.2.0](https://github.com/folio-org/stripes-core/tree/v10.2.0) (2024-10-11)
[Full Changelog](https://github.com/folio-org/stripes-core/compare/v10.1.1...v10.2.0)
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"lint": "eslint . && stylelint \"src/**/*.css\"",
"eslint": "eslint .",
"stylelint": "stylelint \"src/**/*.css\"",
"formatjs-compile": "formatjs compile-folder --ast --format simple ./translations/stripes-core ./translations/stripes-core/compiled",
"formatjs-compile": "stripes translate compile",
"build-mod-descriptor": "stripes mod descriptor --full --strict | jq '.[]' > module-descriptor.json"
},
"stripes": {
Expand Down Expand Up @@ -54,7 +54,6 @@
"@folio/stripes-connect": "^10.0.0",
"@folio/stripes-logger": "^1.0.0",
"@folio/stripes-testing": "^5.0.0",
"@formatjs/cli": "^6.1.3",
"chai": "^4.1.2",
"eslint": "^7.32.0",
"jest-fetch-mock": "^3.0.3",
Expand All @@ -63,7 +62,7 @@
"moment": "^2.29.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.4.4",
"react-intl": "^7.1.5",
"react-redux": "^8.0.5",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
Expand Down

0 comments on commit 9c80921

Please sign in to comment.