Skip to content

Commit 1a2068d

Browse files
brian-smith-tcrilarbrandes
authored andcommitted
chore(deps): update paragon and frontend-build to openedx scope
1 parent 3a7b705 commit 1a2068d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+6026
-8839
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { createConfig } = require('@edx/frontend-build');
1+
const { createConfig } = require('@openedx/frontend-build');
22

33
module.exports = createConfig(
44
'eslint',

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { createConfig } = require('@edx/frontend-build');
1+
const { createConfig } = require('@openedx/frontend-build');
22

33
module.exports = createConfig('jest', {
44
// setupFilesAfterEnv is used after the jest environment has been loaded. In general this is what you want.

package-lock.json

Lines changed: 5886 additions & 8702 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
},
3535
"dependencies": {
3636
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.2",
37-
"@edx/frontend-component-footer": "12.6.1",
38-
"@edx/frontend-component-header": "4.10.1",
39-
"@edx/frontend-platform": "5.6.1",
37+
"@edx/frontend-component-footer": "^13.0.2",
38+
"@edx/frontend-component-header": "^5.0.2",
39+
"@edx/frontend-platform": "^7.1.0",
4040
"@edx/openedx-atlas": "^0.6.0",
41-
"@edx/paragon": "20.46.3",
41+
"@openedx/paragon": "^22.1.1",
4242
"@reduxjs/toolkit": "1.9.7",
4343
"@tinymce/tinymce-react": "3.13.1",
4444
"babel-polyfill": "6.26.0",
@@ -62,11 +62,12 @@
6262
},
6363
"devDependencies": {
6464
"@edx/browserslist-config": "1.2.0",
65-
"@edx/frontend-build": "13.0.14",
65+
"@openedx/frontend-build": "^13.0.28",
6666
"@edx/reactifex": "1.1.0",
6767
"@testing-library/jest-dom": "5.17.0",
6868
"@testing-library/react": "12.1.5",
6969
"@testing-library/user-event": "13.5.0",
70+
"axios": "^0.28.0",
7071
"axios-mock-adapter": "1.22.0",
7172
"babel-plugin-react-intl": "8.2.25",
7273
"eslint-plugin-simple-import-sort": "7.0.0",

src/components/FilterBar.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import React, { useCallback, useMemo, useState } from 'react';
22
import PropTypes from 'prop-types';
33

4+
import {
5+
Collapsible, Form, Icon, Spinner,
6+
} from '@openedx/paragon';
7+
import { Tune } from '@openedx/paragon/icons';
48
import { capitalize, toString } from 'lodash';
59
import { useSelector } from 'react-redux';
610

711
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
8-
import {
9-
Collapsible, Form, Icon, Spinner,
10-
} from '@edx/paragon';
11-
import { Tune } from '@edx/paragon/icons';
1212

1313
import {
1414
PostsStatusFilter, RequestStatus,

src/components/FormikErrorFeedback.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
33

4+
import { Form, TransitionReplace } from '@openedx/paragon';
45
import { getIn, useFormikContext } from 'formik';
56

6-
import { Form, TransitionReplace } from '@edx/paragon';
7-
87
const FormikErrorFeedback = ({ name }) => {
98
const { touched, errors } = useFormikContext();
109
const fieldTouched = getIn(touched, name);

src/components/NavigationBar/navBar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import "~@edx/brand/paragon/fonts.scss";
22
@import "~@edx/brand/paragon/variables.scss";
3-
@import "~@edx/paragon/scss/core/core.scss";
3+
@import "~@openedx/paragon/scss/core/core.scss";
44
@import "~@edx/brand/paragon/overrides.scss";
55

66
$fa-font-path: "~font-awesome/fonts";

src/components/NavigationBar/tabs/Tabs.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import React, { useMemo } from 'react';
22
import PropTypes from 'prop-types';
33

4+
import { Dropdown } from '@openedx/paragon';
45
import classNames from 'classnames';
56

67
import { FormattedMessage } from '@edx/frontend-platform/i18n';
7-
import { Dropdown } from '@edx/paragon';
88

99
import useIndexOfLastVisibleChild from './useIndexOfLastVisibleChild';
1010

src/components/NavigationBar/tabs/useIndexOfLastVisibleChild.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useLayoutEffect, useRef, useState } from 'react';
22

3-
import { useWindowSize } from '@edx/paragon';
3+
import { useWindowSize } from '@openedx/paragon';
44

55
const invisibleStyle = {
66
position: 'absolute',

src/components/PostPreviewPanel.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import React, { useState } from 'react';
22
import PropTypes from 'prop-types';
33

4+
import { Button, Icon, IconButton } from '@openedx/paragon';
5+
import { Close } from '@openedx/paragon/icons';
6+
47
import { useIntl } from '@edx/frontend-platform/i18n';
5-
import { Button, Icon, IconButton } from '@edx/paragon';
6-
import { Close } from '@edx/paragon/icons';
78

89
import messages from '../discussions/posts/post-editor/messages';
910
import HTMLLoader from './HTMLLoader';

0 commit comments

Comments
 (0)