Skip to content

Commit

Permalink
feat: updated major versions for frontend-platform & paragon (#947)
Browse files Browse the repository at this point in the history
  • Loading branch information
BilalQamar95 authored Aug 2, 2024
1 parent 14ac1ab commit b8be886
Show file tree
Hide file tree
Showing 66 changed files with 11,203 additions and 13,254 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// eslint-disable-next-line import/no-extraneous-dependencies
const { createConfig } = require('@edx/frontend-build');
const { createConfig } = require('@openedx/frontend-build');

module.exports = createConfig('eslint');
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const { createConfig } = require('@edx/frontend-build');
const { createConfig } = require('@openedx/frontend-build');

module.exports = createConfig('babel');
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');

const config = createConfig('jest', {
setupFiles: [
Expand Down
17,305 changes: 7,627 additions & 9,678 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
"prepublishOnly": "npm run build",
"start": "fedx-scripts webpack-dev-server --progress",
"debug-test": "node --inspect-brk node_modules/.bin/jest --coverage --runInBand",
"test": "TZ=GMT fedx-scripts jest --coverage --runInBand",
"test": "TZ=GMT fedx-scripts jest --coverage --maxWorkers=2",
"snapshot": "TZ=GMT fedx-scripts jest --updateSnapshot",
"stylelint": "stylelint '**/*.scss'"
},
"license": "AGPL-3.0",
"dependencies": {
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.2",
"@edx/frontend-component-footer": "npm:@edx/frontend-component-footer-edx@^6.4.0",
"@edx/frontend-platform": "5.6.1",
"@edx/frontend-component-footer": "npm:@edx/frontend-component-footer-edx@^7.1.0",
"@edx/frontend-platform": "^8.0.0",
"@edx/openedx-atlas": "^0.6.0",
"@edx/paragon": "^20.44.0",
"@openedx/paragon": "^21.11.3",
"@edx/tinymce-language-selector": "1.1.0",
"@fortawesome/free-regular-svg-icons": "6.5.2",
"@fortawesome/free-solid-svg-icons": "6.5.2",
Expand Down Expand Up @@ -64,7 +64,7 @@
},
"devDependencies": {
"@edx/browserslist-config": "^1.2.0",
"@edx/frontend-build": "13.0.14",
"@openedx/frontend-build": "^14.0.14",
"@edx/stylelint-config-edx": "^2.3.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"axios": "0.27.2",
Expand Down
2 changes: 1 addition & 1 deletion src/components/ActionButton/index.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 classNames from 'classnames';
import { StatefulButton } from '@edx/paragon';
import { StatefulButton } from '@openedx/paragon';

// Just a tiny wrapper around StatefulButton to provide some good defaults
const ActionButton = ({ className, primary, ...passThroughProps }) => (
Expand Down
2 changes: 1 addition & 1 deletion src/components/Collaborator/index.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 { Icon } from '@edx/paragon';
import { Icon } from '@openedx/paragon';
import { Link } from 'react-router-dom';

import sourceInfo from '../../data/actions/sourceInfo';
Expand Down
2 changes: 1 addition & 1 deletion src/components/CollaboratorPage/index.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 { Helmet } from 'react-helmet';
import { Alert } from '@edx/paragon';
import { Alert } from '@openedx/paragon';

import CollaboratorForm from './CollaboratorForm';
import PageContainer from '../PageContainer';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Collapsible/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useContext } from 'react';
import PropTypes from 'prop-types';
import { Collapsible } from '@edx/paragon';
import { Collapsible } from '@openedx/paragon';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faPlus, faMinus } from '@fortawesome/free-solid-svg-icons';

Expand Down
2 changes: 1 addition & 1 deletion src/components/ConfirmationModal/index.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 { ActionRow, Button, ModalDialog } from '@edx/paragon';
import { ActionRow, Button, ModalDialog } from '@openedx/paragon';

const ConfirmationModal = ({
onSubmit,
Expand Down
Loading

0 comments on commit b8be886

Please sign in to comment.