Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
extends:
- '@inveniosoftware/eslint-config-invenio'
- '@inveniosoftware/eslint-config-invenio/prettier'
- "@inveniosoftware/eslint-config-invenio/configs/react18.yaml"
- "@inveniosoftware/eslint-config-invenio/prettier"
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* under the terms of the GPL-2.0 License; see LICENSE file for more details.
*/

import React from "react";
import PropTypes from "prop-types";
import { Image } from "react-invenio-forms";
import { Card } from "semantic-ui-react";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* under the terms of the GPL-2.0 License; see LICENSE file for more details.
*/

import React from "react";
import PropTypes from "prop-types";
import { i18next } from "@translations/invenio_communities/i18next";
import { Transition, Container, Grid, Header, Icon } from "semantic-ui-react";
Expand Down
2 changes: 1 addition & 1 deletion assets/js/components/deposit/BasicInformation.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { Component } from "react";
import { Component } from "react";
import PropTypes from "prop-types";
import { CustomFields } from "react-invenio-forms";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// CDS RDM is free software; you can redistribute it and/or modify it
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import React from "react";
import PropTypes from "prop-types";
import { Header, Image, Label } from "semantic-ui-react";

Expand Down
1 change: 0 additions & 1 deletion assets/js/components/deposit/overrides/PublishModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// CDS RDM is free software; you can redistribute it and/or modify it
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import React from "react";
import { i18next } from "@translations/invenio_rdm_records/i18next";
import { SubmitReviewModal, PublishModal } from "@js/invenio_rdm_records";
import { parametrize } from "react-overridable";
Expand Down
1 change: 0 additions & 1 deletion assets/js/components/frontpage/overrides/RecordsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// CDS RDM is free software; you can redistribute it and/or modify it
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import React from "react";
import PropTypes from "prop-types";
import isEmpty from "lodash/isEmpty";
import { Loader, Container, Header, Item, Button, Message } from "semantic-ui-react";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import _get from "lodash/get";
import _truncate from "lodash/truncate";
import _upperCase from "lodash/upperCase";
import React from "react";
import PropTypes from "prop-types";
import { Image } from "react-invenio-forms";
import { Container, Item, Label, Icon, Grid } from "semantic-ui-react";
Expand Down
2 changes: 1 addition & 1 deletion assets/js/components/record_details/CommitteeApproval.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// CDS RDM is free software; you can redistribute it and/or modify it
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import React, { Component } from "react";
import { Component } from "react";
import { Button, Divider, Grid, Header, Icon, Step } from "semantic-ui-react";
import { i18next } from "@translations/invenio_app_rdm/i18next";
import { CommitteeApprovalSubmitModal } from "./CommitteeApprovalSubmitModal";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// CDS RDM is free software; you can redistribute it and/or modify it
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import React, { Component } from "react";
import { Component } from "react";
import PropTypes from "prop-types";
import { Button, Checkbox, Form, Header, Message, Modal } from "semantic-ui-react";
import { http } from "react-invenio-forms";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// CDS RDM is free software; you can redistribute it and/or modify it
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import React, { Component } from "react";
import { Component } from "react";
import PropTypes from "prop-types";
import { Button, Checkbox, Header, Icon, Message, Modal } from "semantic-ui-react";
import { http } from "react-invenio-forms";
Expand Down
2 changes: 1 addition & 1 deletion assets/js/components/record_details/NewVersionButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import PropTypes from "prop-types";
import React, { useCallback, useMemo, useState } from "react";
import { useCallback, useMemo, useState } from "react";
import { http } from "react-invenio-forms";
import { Button, Icon, Modal, Popup } from "semantic-ui-react";
import { i18next } from "@translations/invenio_rdm_records/i18next";
Expand Down
2 changes: 1 addition & 1 deletion assets/js/components/record_details/RecordVersionItem.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useMemo } from "react";
import { useMemo } from "react";
import { Icon, Label, List } from "semantic-ui-react";
import { i18next } from "@translations/invenio_app_rdm/i18next";
import PropTypes from "prop-types";
Expand Down
2 changes: 1 addition & 1 deletion assets/js/components/record_details/clc_sync.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { Component } from "react";
import { Component } from "react";
import PropTypes from "prop-types";
import {
Button,
Expand Down
1 change: 0 additions & 1 deletion assets/js/components/requests/overrides/LockRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// CDS RDM is free software; you can redistribute it and/or modify it
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import React from "react";
import { i18next } from "@translations/invenio_rdm_records/i18next";
import { LockRequest } from "@js/invenio_requests/request/LockRequest";
import { parametrize } from "react-overridable";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// CDS RDM is free software; you can redistribute it and/or modify it
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import React from "react";
import TimelineEventBodyContainer from "@js/invenio_requests/components/TimelineEventBody";
import { parametrize } from "react-overridable";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import _get from "lodash/get";
import PropTypes from "prop-types";
import React from "react";
import { Item, Label } from "semantic-ui-react";

export const CDSRecordsResultsListItemDescription = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import _get from "lodash/get";
import _truncate from "lodash/truncate";
import PropTypes from "prop-types";
import React from "react";
import { Item } from "semantic-ui-react";

export const CDSRecordsResultsListItemTitle = ({
Expand Down
2 changes: 1 addition & 1 deletion assets/js/invenio_app_rdm/overridableRegistry/mapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// CDS RDM is free software; you can redistribute it and/or modify it
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import React, { useContext } from "react";
import { useContext } from "react";
import { DatasetContext } from "@js/invenio_requests/data";
import { i18next as requestsI18next } from "@translations/invenio_requests/i18next";
import { Label } from "semantic-ui-react";
Expand Down
2 changes: 1 addition & 1 deletion assets/templates/custom_fields/CDSMeeting.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import { i18next } from "@translations/invenio_rdm_records/i18next";
import React, { Component } from "react";
import { Component } from "react";
import { IdentifiersField, getInputFromDOM } from "@js/invenio_rdm_records";
import { ArrayField, Input } from "react-invenio-forms";
import { Button, Divider, Form, Grid } from "semantic-ui-react";
Expand Down
2 changes: 1 addition & 1 deletion assets/templates/custom_fields/CERNFields.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Invenio-RDM-Records is free software; you can redistribute it and/or modify it
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import React, { Component } from "react";
import { Component } from "react";

import { FieldLabel } from "react-invenio-forms";
import { Divider, Grid } from "semantic-ui-react";
Expand Down
2 changes: 1 addition & 1 deletion assets/templates/custom_fields/CERNPublication.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Invenio-RDM-Records is free software; you can redistribute it and/or modify it
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import React, { Component } from "react";
import { Component } from "react";

import { Grid } from "semantic-ui-react";

Expand Down
2 changes: 1 addition & 1 deletion assets/templates/custom_fields/DepartmentDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// CDS-RDM is free software; you can redistribute it and/or modify it
// under the terms of the GPL-2.0 License; see LICENSE file for more details.

import React, { Component } from "react";
import { Component } from "react";
import { FieldLabel, SelectField } from "react-invenio-forms";
import { Dropdown as SUIDropdown } from "semantic-ui-react";
import PropTypes from "prop-types";
Expand Down
35 changes: 16 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
"dependencies": {
"@artsy/fresnel": "^6.1.0",
"@babel/runtime": "^7.9.0",
"@ckeditor/ckeditor5-build-classic": "^16.0.0",
"@ckeditor/ckeditor5-react": "^2.1.0",
"@microlink/react-json-view": "^1.21.3",
"@hugerte/hugerte-react": "^2.0.2",
"@microlink/react-json-view": "^1.31.20",
"@semantic-ui-react/css-patch": "^1.0.0",
"@tinymce/tinymce-react": "^4.3.0",
"@uppy/aws-s3-multipart": "^3.12.0",
"@uppy/core": "^3.13.1",
"@uppy/dashboard": "^3.9.1",
Expand All @@ -28,8 +26,9 @@
"eslint": "^8",
"flightjs": "~1.5.1",
"font-awesome": "~4.5.0",
"formik": "^2.2.9",
"formik": "^2.4.9",
"hash-wasm": "^4.12.0",
"hugerte": "^1.0.11",
"i18next": "^20.3.0",
"i18next-browser-languagedetector": "^6.1.0",
"jquery": "^3.3.1",
Expand All @@ -44,47 +43,45 @@
"prop-types": "^15.7.2",
"qs": "^6.9.1",
"query-string": "^7.0.0",
"react": "^16.13.0",
"react": "^18.3.1",
"react-copy-to-clipboard": "^5.0.0",
"react-dnd": "^11.1.0",
"react-dnd-html5-backend": "^11.1.0",
"react-dom": "^16.13.0",
"react-dom": "^18.3.1",
"react-dropzone": "^11.0.0",
"react-i18next": "^11.11.0",
"react-invenio-forms": "^4.11.0",
"react-json-view": "^1.21.3",
"react-invenio-forms": "^5.0.0",
"react-overridable": "^1.0.0",
"react-redux": "^7.2.0",
"react-searchkit": "^3.0.0",
"react-searchkit": "^4.0.0",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
"redux-thunk": "^2.3.0",
"replaywebpage": "^2.3.16",
"select2": "~4.0.2",
"semantic-ui-css": "^2.4.1",
"semantic-ui-css": "^2.5.0",
"semantic-ui-less": "^2.4.1",
"semantic-ui-react": "^2.1.1",
"semantic-ui-react": "^3.0.0-beta.2",
"three": "^0.182.0",
"three-addons": "^1.2.0",
"tinymce": "^6.7.2",
"video.js": "^8.6.1",
"yup": "^0.32.11"
},
"description": "Invenio assets",
"devDependencies": {
"@inveniosoftware/eslint-config-invenio": "^2.0.0",
"@rspack/cli": ">1.0.0",
"@rspack/core": "<1.7.0",
"@rspack/dev-server": ">1.0.0",
"@rspack/cli": "^2.0.0",
"@rspack/core": "^2.0.0",
"@rspack/dev-server": "^2.0.0",
"@swc/core": "^1.6.13",
"@swc/helpers": "^0.5.11",
"autoprefixer": "^10.4.0",
"babel-loader": "^9.0.0",
"css-loader": "^6.0.0",
"css-loader": "^7.1.4",
"eventsource-polyfill": "^0.9.0",
"expose-loader": "^4.0.0",
"file-loader": "^6.0.0",
"less": "^4.0.0",
"less": "<4.8.0",
"less-loader": "^11.0.0",
"ora": "^6.0.0",
"patch-package": "^6.5.0",
Expand Down Expand Up @@ -112,5 +109,5 @@
"postinstall": "patch-package",
"start": "NODE_PRESERVE_SYMLINKS=1 rspack --mode development --watch --config ./build/rspack.config.js"
},
"version": "2.0.0"
"version": "4.2.6"
}
Loading
Loading