mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
feat(tools): release python certs on mobile (#50832)
Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
This commit is contained in:
co-authored by
Niraj Nandish
parent
6ca64c8a57
commit
fb1228546e
@@ -1,8 +1,14 @@
|
||||
import currData from '../../../config/curriculum.json';
|
||||
import { orderedSuperBlockInfo } from '../../../tools/scripts/build/build-external-curricula-data';
|
||||
|
||||
const nonEditorSB = [
|
||||
'scientific-computing-with-python',
|
||||
'data-analysis-with-python',
|
||||
'machine-learning-with-python'
|
||||
];
|
||||
|
||||
const publicSB = orderedSuperBlockInfo
|
||||
.filter(sb => sb.public === true)
|
||||
.filter(sb => sb.public === true && !nonEditorSB.includes(sb.dashedName))
|
||||
.map(sb => sb.dashedName);
|
||||
|
||||
describe('Test challenges in mobile', () => {
|
||||
|
||||
@@ -35,19 +35,19 @@ interface Block<T> {
|
||||
|
||||
export const orderedSuperBlockInfo = [
|
||||
{ dashedName: SuperBlocks.RespWebDesignNew, public: true },
|
||||
{ dashedName: SuperBlocks.RespWebDesign, public: true },
|
||||
{ dashedName: SuperBlocks.SciCompPy, public: true },
|
||||
{ dashedName: SuperBlocks.DataAnalysisPy, public: true },
|
||||
{ dashedName: SuperBlocks.MachineLearningPy, public: true },
|
||||
{ dashedName: SuperBlocks.JsAlgoDataStruct, public: false },
|
||||
{ dashedName: SuperBlocks.FrontEndDevLibs, public: false },
|
||||
{ dashedName: SuperBlocks.DataVis, public: false },
|
||||
{ dashedName: SuperBlocks.BackEndDevApis, public: false },
|
||||
{ dashedName: SuperBlocks.QualityAssurance, public: false },
|
||||
{ dashedName: SuperBlocks.SciCompPy, public: false },
|
||||
{ dashedName: SuperBlocks.DataAnalysisPy, public: false },
|
||||
{ dashedName: SuperBlocks.InfoSec, public: false },
|
||||
{ dashedName: SuperBlocks.MachineLearningPy, public: false },
|
||||
{ dashedName: SuperBlocks.CodingInterviewPrep, public: false },
|
||||
{ dashedName: SuperBlocks.ProjectEuler, public: false },
|
||||
{ dashedName: SuperBlocks.RelationalDb, public: false }
|
||||
{ dashedName: SuperBlocks.RelationalDb, public: false },
|
||||
{ dashedName: SuperBlocks.RespWebDesign, public: true }
|
||||
];
|
||||
|
||||
const dashedNames = orderedSuperBlockInfo.map(({ dashedName }) => dashedName);
|
||||
|
||||
Reference in New Issue
Block a user