Skip to content

Commit b877d5c

Browse files
authored
fix(tools/build): remove new SBs from mobile curriculum v1 (freeCodeCamp#63806)
1 parent 6dc706a commit b877d5c

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

tools/scripts/build/build-external-curricula-data-v1.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ describe('external curriculum data build', () => {
146146
return (
147147
stage !== SuperBlockStage.Next &&
148148
stage !== SuperBlockStage.Upcoming &&
149-
stage !== SuperBlockStage.Catalog
149+
stage !== SuperBlockStage.Catalog &&
150+
stage !== SuperBlockStage.Core
150151
);
151152
})
152153
.flatMap(([, superBlocks]) => superBlocks);

tools/scripts/build/build-external-curricula-data-v1.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,10 @@ interface Block<T> {
3939

4040
const ver = 'v1';
4141

42+
// NOTE: Please don't add new superblocks to this list as this version is being deprecated.
43+
// New superblocks should be added to v2 of the external curriculum data at
44+
// tools/scripts/build/build-external-curricula-data-v2.ts
4245
export const orderedSuperBlockInfo = [
43-
{ dashedName: SuperBlocks.RespWebDesignV9, public: false },
44-
{ dashedName: SuperBlocks.JsV9, public: false },
45-
{ dashedName: SuperBlocks.FrontEndDevLibsV9, public: false },
46-
{ dashedName: SuperBlocks.PythonV9, public: false },
47-
{ dashedName: SuperBlocks.RelationalDbV9, public: false },
48-
{ dashedName: SuperBlocks.BackEndDevApisV9, public: false },
49-
{ dashedName: SuperBlocks.FullStackDeveloperV9, public: false },
5046
{ dashedName: SuperBlocks.RespWebDesignNew, public: true },
5147
{ dashedName: SuperBlocks.DataAnalysisPy, public: true },
5248
{ dashedName: SuperBlocks.MachineLearningPy, public: true },

0 commit comments

Comments
 (0)