Skip to content

Commit

Permalink
Another invenio-rdm dependency fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mesemus committed Dec 23, 2023
1 parent dd8acfa commit 6d20c22
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions oarepo_ui/theme/webpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@
"react-datepicker": "^4.21.0",
}
else:
# RDM 12 webpack dependencies are already included in the oarepo python package
dependencies = {}
# RDM 12 webpack dependencies are already included in the oarepo python package, so we just include
# those used in our own components here
dependencies = {
"react-datepicker": "^4.21.0",
}

theme = WebpackThemeBundle(
__name__,
Expand All @@ -72,8 +75,13 @@
# search and edit
"@less/oarepo_ui": "less/oarepo_ui",
"@js/oarepo_ui": "js/oarepo_ui",

# hack for communities being dependent on RDM
"@translations/invenio_app_rdm/i18next": "translations/oarepo_ui/i18next.js",

# hack for vocabularies being dependent on RDM
"@translations/invenio_rdm_records/i18next": "translations/oarepo_ui/i18next.js",

# another hack for communities
"@templates/custom_fields": "js/custom_fields",
},
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = oarepo-ui
version = 5.0.92
version = 5.0.93
description = UI module for invenio 3.5+
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit 6d20c22

Please sign in to comment.