From 5c755aaaa95ced20be898fbea34d81c0a7f87258 Mon Sep 17 00:00:00 2001 From: hinakhadim Date: Fri, 21 Jun 2024 19:22:28 +0500 Subject: [PATCH] feat!: Indigo redwood changes BREAKING CHANGE: Upgrade to Redwood --- .releaserc | 30 ---------- package.json | 2 +- src/components/Footer.jsx | 10 ++-- .../__snapshots__/Footer.test.jsx.snap | 57 +------------------ 4 files changed, 8 insertions(+), 91 deletions(-) delete mode 100644 .releaserc diff --git a/.releaserc b/.releaserc deleted file mode 100644 index 75a050e30f..0000000000 --- a/.releaserc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "branches": [ - "master", - {name: "alpha", prerelease: true} - ], - "tagFormat": "v${version}", - "verifyConditions": [ - "@semantic-release/npm", - { - "path": "@semantic-release/github", - "assets": { - "path": "dist/*" - } - } - ], - "analyzeCommits": "@semantic-release/commit-analyzer", - "generateNotes": "@semantic-release/release-notes-generator", - "prepare": "@semantic-release/npm", - "publish": [ - "@semantic-release/npm", - { - "path": "@semantic-release/github", - "assets": { - "path": "dist/*" - } - } - ], - "success": [], - "fail": [] -} diff --git a/package.json b/package.json index 6342322498..b7416bc90d 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "release": { "tagFormat": "indigo-${version}", "branches": [ - "quince/indigo" + "redwood/indigo" ] } } diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index b0b5f46210..8a5b4b4b6f 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -2,10 +2,8 @@ import React from 'react'; import PropTypes from 'prop-types'; import { injectIntl, intlShape } from '@edx/frontend-platform/i18n'; import { sendTrackEvent } from '@edx/frontend-platform/analytics'; -import { ensureConfig } from '@edx/frontend-platform'; +import { ensureConfig, getConfig } from '@edx/frontend-platform'; import { AppContext } from '@edx/frontend-platform/react'; -import { Image } from '@edx/paragon'; -import { getConfig } from '@edx/frontend-platform'; import messages from './Footer.messages'; import LanguageSelector from './LanguageSelector'; @@ -54,8 +52,8 @@ class SiteFooter extends React.Component {
  • {intl.formatMessage(messages['footer.poweredby.text'])}
  • - {intl.formatMessage(messages['footer.tutorlogo.altText'])} @@ -63,7 +61,7 @@ class SiteFooter extends React.Component {
  • - {intl.formatMessage(messages['footer.logo.altText'])} renders correctly renders with a language selector 1`] = ` className="tutor-container" id="footer" > - - Powered by Open edX -
    @@ -43,8 +28,7 @@ exports[`