mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(tools): rename and update curriculum scripts (#49620)
This commit is contained in:
committed by
GitHub
parent
50bc79fde7
commit
9f80ccd8b2
@@ -9,7 +9,7 @@ const {
|
||||
CHALLENGES_DIR,
|
||||
META_DIR,
|
||||
getChallengesDirForLang
|
||||
} = require('../../curriculum/getChallenges');
|
||||
} = require('../../curriculum/get-challenges');
|
||||
|
||||
const { curriculumLocale } = envData;
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
// const path = require('path');
|
||||
|
||||
// const { parseMarkdown } = require('../tools/challenge-parser');
|
||||
// const { parseTranslation } = require('./getChallenges');
|
||||
// const { parseTranslation } = require('./get-challenges');
|
||||
|
||||
// /* eslint-disable max-len */
|
||||
// const {
|
||||
@@ -4,7 +4,7 @@ const {
|
||||
generateChallengeCreator,
|
||||
hasEnglishSource,
|
||||
createCommentMap
|
||||
} = require('./getChallenges');
|
||||
} = require('./get-challenges');
|
||||
|
||||
const EXISTING_CHALLENGE_PATH = 'challenge.md';
|
||||
const MISSING_CHALLENGE_PATH = 'no/challenge.md';
|
||||
@@ -41,7 +41,7 @@ const testEvaluator =
|
||||
|
||||
const { getLines } = require('../../utils/get-lines');
|
||||
|
||||
const { getChallengesForLang, getMetaForBlock } = require('../getChallenges');
|
||||
const { getChallengesForLang, getMetaForBlock } = require('../get-challenges');
|
||||
const { challengeSchemaValidator } = require('../schema/challengeSchema');
|
||||
const { testedLang, getSuperOrder } = require('../utils');
|
||||
const ChallengeTitles = require('./utils/challenge-titles');
|
||||
|
||||
@@ -8,7 +8,7 @@ const envPath = resolve(__dirname, '../../.env');
|
||||
config({ path: envPath });
|
||||
|
||||
import { availableLangs } from '../../config/i18n';
|
||||
import { getChallengesForLang } from '../../curriculum/getChallenges';
|
||||
import { getChallengesForLang } from '../../curriculum/get-challenges';
|
||||
import { SuperBlocks } from '../../config/certification-settings';
|
||||
import { getAuditedSuperBlocks } from '../../config/superblock-order';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
|
||||
import { getChallengesForLang } from '../../../curriculum/getChallenges';
|
||||
import { getChallengesForLang } from '../../../curriculum/get-challenges';
|
||||
import {
|
||||
buildExtCurriculumData,
|
||||
Curriculum
|
||||
|
||||
Reference in New Issue
Block a user