Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

chore(deps): update paragon and frontend-build to openedx scope #413

Merged
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
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// eslint-disable-next-line import/no-extraneous-dependencies
const { createConfig } = require('@edx/frontend-build');
const { createConfig } = require('@openedx/frontend-build');

const combined = createConfig('eslint', {});

Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { createConfig } = require('@edx/frontend-build');
const { createConfig } = require('@openedx/frontend-build');

module.exports = createConfig('jest', {
setupFilesAfterEnv: [
Expand Down
17,660 changes: 7,363 additions & 10,297 deletions package-lock.json

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,17 @@
},
"dependencies": {
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.2",
"@edx/frontend-component-footer": "^12.5.1",
"@edx/frontend-component-header": "^4.10.1",
"@edx/frontend-lib-content-components": "^1.175.1",
"@edx/frontend-platform": "5.6.1",
"@edx/frontend-component-footer": "^13.0.2",
"@edx/frontend-component-header": "^5.0.2",
"@edx/frontend-lib-content-components": "^2.0.0",
"@edx/frontend-platform": "7.1.0",
"@edx/openedx-atlas": "^0.6.0",
"@edx/paragon": "^21.5.6",
"@openedx/paragon": "21.11.3",
"@fortawesome/fontawesome-svg-core": "6.5.2",
"@fortawesome/free-brands-svg-icons": "6.5.2",
"@fortawesome/free-regular-svg-icons": "6.5.2",
"@fortawesome/free-solid-svg-icons": "6.5.2",
"@fortawesome/react-fontawesome": "0.2.0",
"@openedx/paragon": "^21.6.0",
"@popperjs/core": "2.11.8",
"@reduxjs/toolkit": "1.9.7",
"core-js": "3.31.1",
Expand All @@ -72,7 +71,7 @@
},
"devDependencies": {
"@edx/browserslist-config": "^1.2.0",
"@edx/frontend-build": "13.0.14",
"@openedx/frontend-build": "13.0.19",
"@edx/reactifex": "^2.1.1",
"@sheerun/mutationobserver-shim": "0.3.3",
"@testing-library/dom": "9.3.4",
Expand Down
2 changes: 1 addition & 1 deletion src/generic/LoadingPage.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { Col } from '@edx/paragon';
import { Col } from '@openedx/paragon';
import PropTypes from 'prop-types';

const LoadingPage = ({ loadingMessage }) => (
Expand Down
4 changes: 2 additions & 2 deletions src/index.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import '~@edx/brand/paragon/fonts';
@import '~@edx/brand/paragon/variables';
@import '~@edx/paragon/scss/core/core';
@import '~@edx/paragon/dist/Icon';
@import '~@openedx/paragon/scss/core/core';
@import '~@openedx/paragon/dist/Icon';
@import '~@edx/brand/paragon/overrides';
@import '~@openedx/paragon/scss/core/core';
@import '~@openedx/paragon/dist/Icon';
Expand Down
4 changes: 2 additions & 2 deletions src/library-authoring/author-library/BlockPreviewBase.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import {
IconButtonWithTooltip,
OverlayTrigger,
Tooltip,
} from '@edx/paragon';
} from '@openedx/paragon';
import {
EditOutline,
MoreVert,
Tag,
} from '@edx/paragon/icons';
} from '@openedx/paragon/icons';
import { EditorPage } from '@edx/frontend-lib-content-components';
import { ensureConfig, getConfig } from '@edx/frontend-platform';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
Expand Down
4 changes: 2 additions & 2 deletions src/library-authoring/author-library/ButtonTogglesBase.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Button } from '@edx/paragon';
import { Add } from '@edx/paragon/icons';
import { Button } from '@openedx/paragon';
import { Add } from '@openedx/paragon/icons';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';

import messages from './messages';
Expand Down
4 changes: 2 additions & 2 deletions src/library-authoring/author-library/LibraryAuthoringPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ import {
Pagination,
SelectableBox,
Icon,
} from '@edx/paragon';
} from '@openedx/paragon';
import {
Add,
HelpOutline,
TextFields,
VideoCamera,
} from '@edx/paragon/icons';
} from '@openedx/paragon/icons';
import { v4 as uuid4 } from 'uuid';
import { connect } from 'react-redux';
import { ensureConfig } from '@edx/frontend-platform';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
ActionRow,
IconButton,
Form,
} from '@edx/paragon';
import { EditOutline } from '@edx/paragon/icons';
} from '@openedx/paragon';
import { EditOutline } from '@openedx/paragon/icons';
import { intlShape } from '@edx/frontend-platform/i18n';
import { libraryShape } from '../common';

Expand Down
2 changes: 1 addition & 1 deletion src/library-authoring/common/ErrorAlert.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Alert, Col } from '@edx/paragon';
import { Alert, Col } from '@openedx/paragon';
import React from 'react';
import PropTypes from 'prop-types';
import { injectIntl } from '@edx/frontend-platform/i18n';
Expand Down
2 changes: 1 addition & 1 deletion src/library-authoring/common/FormGroup.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import { Form } from '@edx/paragon';
import { Form } from '@openedx/paragon';
import PropTypes from 'prop-types';

const FormGroup = (props) => {
Expand Down
4 changes: 2 additions & 2 deletions src/library-authoring/common/License.jsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React from 'react';
import PropTypes from 'prop-types';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
import { Icon, Row } from '@edx/paragon';
import { Icon, Row } from '@openedx/paragon';
import {
Attribution,
Cc,
Copyright,
Nc,
Nd,
Sa,
} from '@edx/paragon/icons';
} from '@openedx/paragon/icons';
import { commonsOptionsFromSpec, commonsOptionsShape, linkFromSpec } from './data';
import messages from './messages';

Expand Down
2 changes: 1 addition & 1 deletion src/library-authoring/common/LicenseField.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
Col,
Form,
Row,
} from '@edx/paragon';
} from '@openedx/paragon';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
import { LicenseContainer } from './License';
import {
Expand Down
2 changes: 1 addition & 1 deletion src/library-authoring/common/SuccessAlert.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Alert, Col } from '@edx/paragon';
import { Alert, Col } from '@openedx/paragon';
import React from 'react';
import PropTypes from 'prop-types';
import { injectIntl } from '@edx/frontend-platform/i18n';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import {
Icon,
Row,
StatefulButton,
} from '@edx/paragon';
} from '@openedx/paragon';
import { connect } from 'react-redux';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
import { AppContext } from '@edx/frontend-platform/react';
import { SpinnerSimple } from '@edx/paragon/icons';
import { SpinnerSimple } from '@openedx/paragon/icons';

import { LoadingPage } from '../../generic';
import {
Expand Down
4 changes: 2 additions & 2 deletions src/library-authoring/course-import/CourseImportListItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import {
ActionRow,
StatefulButton,
Icon,
} from '@edx/paragon';
} from '@openedx/paragon';
import {
Add,
Check,
SpinnerSimple,
Sync,
} from '@edx/paragon/icons';
} from '@openedx/paragon/icons';

import { paginationParamsShape } from '../common';
import { courseShape } from './data';
Expand Down
4 changes: 2 additions & 2 deletions src/library-authoring/course-import/CourseImportPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import {
IconButton,
Pagination,
Row,
} from '@edx/paragon';
} from '@openedx/paragon';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
import { Search, Sync } from '@edx/paragon/icons';
import { Search, Sync } from '@openedx/paragon/icons';
import { useParams } from 'react-router-dom';

import { LoadingPage } from '../../generic';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
import { Card, Badge } from '@edx/paragon';
import { Card, Badge } from '@openedx/paragon';

import { importTaskShape } from './data';
import messages from './messages';
Expand Down
4 changes: 2 additions & 2 deletions src/library-authoring/create-library/LibraryCreatePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
AlertModal,
ActionRow,
Card,
} from '@edx/paragon';
import { Info } from '@edx/paragon/icons';
} from '@openedx/paragon';
import { Info } from '@openedx/paragon/icons';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
import { AppContext } from '@edx/frontend-platform/react';
import { TypeaheadDropdown } from '@edx/frontend-lib-content-components';
Expand Down
2 changes: 1 addition & 1 deletion src/library-authoring/edit-block/LibraryBlockAssets.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useCallback } from 'react';
import { useDropzone } from 'react-dropzone';
import PropTypes from 'prop-types';
import { Button } from '@edx/paragon';
import { Button } from '@openedx/paragon';
import { fetchable } from '../common';
import { LoadingPage } from '../../generic';

Expand Down
2 changes: 1 addition & 1 deletion src/library-authoring/edit-block/LibraryBlockOlx.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Button } from '@edx/paragon';
import { Button } from '@openedx/paragon';
import { fetchable } from '../common';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/library-authoring/edit-block/LibraryBlockPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
Container,
Row,
Spinner,
} from '@edx/paragon';
} from '@openedx/paragon';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
import { logError } from '@edx/frontend-platform/logging';
import { AppContext } from '@edx/frontend-platform/react';
Expand Down
2 changes: 1 addition & 1 deletion src/library-authoring/empty-page/EmptyPage.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Card } from '@edx/paragon';
import { Card } from '@openedx/paragon';

const EmptyPage = ({
heading,
Expand Down
2 changes: 1 addition & 1 deletion src/library-authoring/library-access/LibraryAccessForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Form for adding a new Library user.
*/
import {
Button, Card, Icon, Row, StatefulButton, Form,
} from '@edx/paragon';
} from '@openedx/paragon';
import React, { useCallback, useState } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
Expand Down
4 changes: 2 additions & 2 deletions src/library-authoring/library-access/LibraryAccessPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import {
Button,
Col,
Row,
} from '@edx/paragon';
import { Add } from '@edx/paragon/icons';
} from '@openedx/paragon';
import { Add } from '@openedx/paragon/icons';
import { AppContext } from '@edx/frontend-platform/react';
import { useNavigate, useParams } from 'react-router-dom';
import messages from './messages';
Expand Down
4 changes: 2 additions & 2 deletions src/library-authoring/library-access/UserAccessWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
Icon,
IconButton,
ModalDialog,
} from '@edx/paragon';
import { DeleteOutline } from '@edx/paragon/icons';
} from '@openedx/paragon';
import { DeleteOutline } from '@openedx/paragon/icons';
import React, { useContext, useState } from 'react';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
import { AppContext } from '@edx/frontend-platform/react';
Expand Down
4 changes: 2 additions & 2 deletions src/library-authoring/list-libraries/LibraryListPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import {
Breadcrumb, Button, Pagination, ActionRow, Card,
} from '@edx/paragon';
import { Add } from '@edx/paragon/icons';
} from '@openedx/paragon';
import { Add } from '@openedx/paragon/icons';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
import { AppContext } from '@edx/frontend-platform/react';

Expand Down
2 changes: 1 addition & 1 deletion webpack.dev.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require('path');
const { createConfig } = require('@edx/frontend-build');
const { createConfig } = require('@openedx/frontend-build');
const CopyPlugin = require('copy-webpack-plugin');

const config = createConfig('webpack-dev', {
Expand Down
2 changes: 1 addition & 1 deletion webpack.prod.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require('path');
const { createConfig } = require('@edx/frontend-build');
const { createConfig } = require('@openedx/frontend-build');
const CopyPlugin = require('copy-webpack-plugin');

const config = createConfig('webpack-prod', {
Expand Down