fix(tools): rename and update curriculum scripts (#49620)

This commit is contained in:
Mrugesh Mohapatra
2023-03-08 17:32:54 +05:30
committed by GitHub
parent 50bc79fde7
commit 9f80ccd8b2
7 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ const {
CHALLENGES_DIR,
META_DIR,
getChallengesDirForLang
} = require('../../curriculum/getChallenges');
} = require('../../curriculum/get-challenges');
const { curriculumLocale } = envData;
@@ -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';
+1 -1
View File
@@ -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');
+1 -1
View File
@@ -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 -1
View File
@@ -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