Skip to content

Commit

Permalink
Merge pull request #2337 from openedx/vrusakov/sync-alpha
Browse files Browse the repository at this point in the history
sync: alpha with master
  • Loading branch information
viktorrusakov authored and PKulkoRaccoonGang committed Aug 1, 2024
2 parents 98dcf76 + 45494f1 commit 0f12165
Show file tree
Hide file tree
Showing 4,551 changed files with 3,633 additions and 14,097 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
92 changes: 48 additions & 44 deletions .github/workflows/analyze-dependents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,193 +11,193 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout edx/credentials-themes
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/credentials-themes
path: dependent-usage-analyzer/.projects/credentials-themes
- name: Checkout edx/credentials
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/credentials
path: dependent-usage-analyzer/.projects/credentials
- name: Checkout edx/edx-enterprise
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/edx-enterprise
path: dependent-usage-analyzer/.projects/edx-enterprise
- name: Checkout edx/edx-ora2
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/edx-ora2
path: dependent-usage-analyzer/.projects/edx-ora2
- name: Checkout edx/edx-platform
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/edx-platform
path: dependent-usage-analyzer/.projects/edx-platform
- name: Checkout edx/frontend-app-account
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-account
path: dependent-usage-analyzer/.projects/frontend-app-account
- name: Checkout edx/frontend-app-admin-portal
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-admin-portal
path: dependent-usage-analyzer/.projects/frontend-app-admin-portal
- name: Checkout edx/frontend-app-authn
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-authn
path: dependent-usage-analyzer/.projects/frontend-app-authn
- name: Checkout edx/frontend-app-communications
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-communications
path: dependent-usage-analyzer/.projects/frontend-app-communications
- name: Checkout edx/frontend-app-course-authoring
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-course-authoring
path: dependent-usage-analyzer/.projects/frontend-app-course-authoring
- name: Checkout edx/frontend-app-discussions
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-discussions
path: dependent-usage-analyzer/.projects/frontend-app-discussions
- name: Checkout edx/frontend-app-ecommerce
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-ecommerce
path: dependent-usage-analyzer/.projects/frontend-app-ecommerce
- name: Checkout edx/frontend-app-enterprise-public-catalog
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-enterprise-public-catalog
path: dependent-usage-analyzer/.projects/frontend-app-enterprise-public-catalog
- name: Checkout edx/frontend-app-gradebook
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-gradebook
path: dependent-usage-analyzer/.projects/frontend-app-gradebook
- name: Checkout edx/frontend-app-learner-portal-enterprise
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-learner-portal-enterprise
path: dependent-usage-analyzer/.projects/frontend-app-learner-portal-enterprise
- name: Checkout edx/frontend-app-learner-portal-programs
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-learner-portal-programs
path: dependent-usage-analyzer/.projects/frontend-app-learner-portal-programs
- name: Checkout edx/frontend-app-learner-record
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-learner-record
path: dependent-usage-analyzer/.projects/frontend-app-learner-record
- name: Checkout edx/frontend-app-learning
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-learning
path: dependent-usage-analyzer/.projects/frontend-app-learning
- name: Checkout edx/frontend-app-library-authoring
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-library-authoring
path: dependent-usage-analyzer/.projects/frontend-app-library-authoring
- name: Checkout edx/frontend-app-ora-grading
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-ora-grading
path: dependent-usage-analyzer/.projects/frontend-app-ora-grading
- name: Checkout edx/frontend-app-payment
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-payment
path: dependent-usage-analyzer/.projects/frontend-app-payment
- name: Checkout edx/frontend-app-profile
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-profile
path: dependent-usage-analyzer/.projects/frontend-app-profile
- name: Checkout edx/frontend-app-program-console
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-program-console
path: dependent-usage-analyzer/.projects/frontend-app-program-console
- name: Checkout edx/frontend-app-publisher
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-publisher
path: dependent-usage-analyzer/.projects/frontend-app-publisher
- name: Checkout edx/frontend-app-support-tools
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-support-tools
path: dependent-usage-analyzer/.projects/frontend-app-support-tools
- name: Checkout edx/frontend-component-cookie-policy-banner
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-component-cookie-policy-banner
path: dependent-usage-analyzer/.projects/frontend-component-cookie-policy-banner
- name: Checkout edx/frontend-component-header-edx
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-component-header-edx
path: dependent-usage-analyzer/.projects/frontend-component-header-edx
- name: Checkout edx/frontend-component-header
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-component-header
path: dependent-usage-analyzer/.projects/frontend-component-header
- name: Checkout edx/frontend-enterprise
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-enterprise
path: dependent-usage-analyzer/.projects/frontend-enterprise
- name: Checkout edx/frontend-learner-portal-base
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-learner-portal-base
path: dependent-usage-analyzer/.projects/frontend-learner-portal-base
- name: Checkout edx/frontend-lib-content-components
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-lib-content-components
path: dependent-usage-analyzer/.projects/frontend-lib-content-components
- name: Checkout edx/frontend-lib-special-exams
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-lib-special-exams
path: dependent-usage-analyzer/.projects/frontend-lib-special-exams
- name: Checkout edx/frontend-platform
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-platform
path: dependent-usage-analyzer/.projects/frontend-platform
- name: Checkout edx/frontend-template-application
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-template-application
path: dependent-usage-analyzer/.projects/frontend-template-application
- name: Checkout edx/prospectus
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/prospectus
path: dependent-usage-analyzer/.projects/prospectus
token: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
- name: Checkout edx/studio-frontend
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/studio-frontend
path: dependent-usage-analyzer/.projects/studio-frontend
- name: Checkout edx/frontend-app-communications
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-communications
path: dependent-usage-analyzer/.projects/frontend-app-communications
- name: Checkout edx/frontend-app-learner-dashboard
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-learner-dashboard
path: dependent-usage-analyzer/.projects/frontend-app-learner-dashboard
Expand All @@ -219,11 +219,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
- name: Setup Nodejs
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ env.NODE_VER }}
- name: Install dependencies
run: npm ci
working-directory: dependent-usage-analyzer
Expand Down Expand Up @@ -255,13 +257,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Nodejs
uses: actions/setup-node@v2
uses: actions/setup-node@v3
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
with:
node-version: 16
node-version: ${{ env.NODE_VER }}
- name: Download analysis output
uses: actions/download-artifact@v2
with:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
- name: Setup Nodejs
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
node-version: ${{env.NODE_VER }}
- name: Install dependencies
run: npm ci
- name: Check Types
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lockfileversion-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ on:

jobs:
version-check:
uses: openedx/.github/.github/workflows/lockfileversion-check.yml@master
uses: openedx/.github/.github/workflows/lockfileversion-check-v3.yml@master
8 changes: 5 additions & 3 deletions .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ env.NODE_VER }}
- name: Install dependencies
run: npm ci
- name: Validate package-lock.json changes
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ env.NODE_VER }}
- name: Install dependencies
run: npm ci
- name: Lint
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
14 changes: 13 additions & 1 deletion icons/copy-mui-icons.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
const fs = require('fs');

// These name conflict with Paragon's component names, so we rename them to {iconName}_icon.
const CONFLICTING_ICONS = [
'badge',
'check_box',
'image',
'input',
'menu',
'spinner',
'tab',
]

/*
Copies all sharp svg mui icons from @material-icons package to svg directory skipping existing ones.
*/
const muiIcons = fs.readdirSync('../node_modules/@material-icons/svg/svg/');
muiIcons.forEach((iconName) => {
if (!fs.existsSync(`./svg/${iconName}.svg`) && !fs.existsSync(`./svg/${iconName.replaceAll('-', '').replaceAll('_', '')}.svg`)) {
fs.copyFileSync(`../node_modules/@material-icons/svg/svg/${iconName}/sharp.svg`, `./svg/${iconName}.svg`);
const resolvedName = CONFLICTING_ICONS.includes(iconName) ? `${iconName}_icon` : iconName;
fs.copyFileSync(`../node_modules/@material-icons/svg/svg/${iconName}/sharp.svg`, `./svg/${resolvedName}.svg`);
}
})
5 changes: 1 addition & 4 deletions icons/es5/0.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
import * as React from "react";

function Svg0(props) {
return /*#__PURE__*/React.createElement("svg", _extends({
width: 24,
Expand All @@ -21,5 +19,4 @@ function Svg0(props) {
fill: "currentColor"
}));
}

export default Svg0;
5 changes: 1 addition & 4 deletions icons/es5/10K.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
import * as React from "react";

function Svg10K(props) {
return /*#__PURE__*/React.createElement("svg", _extends({
xmlns: "http://www.w3.org/2000/svg",
Expand All @@ -14,5 +12,4 @@ function Svg10K(props) {
fill: "currentColor"
}));
}

export default Svg10K;
Loading

0 comments on commit 0f12165

Please sign in to comment.