chore: rename challenge-md-parser
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
f4efb13a21
commit
e3511f2930
2
tools/challenge-md-parser/package-lock.json
generated
2
tools/challenge-md-parser/package-lock.json
generated
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@freecodecamp/challenge-md-parser",
|
||||
"name": "@freecodecamp/challenge-parser",
|
||||
"version": "2.0.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@freecodecamp/challenge-md-parser",
|
||||
"name": "@freecodecamp/challenge-parser",
|
||||
"version": "2.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
|
@@ -3,7 +3,7 @@ const fs = require('fs');
|
||||
const path = require('path');
|
||||
const { getText } = require('./get-challenge-text');
|
||||
const { challengeToString } = require('./create-challenge-string');
|
||||
const { parseMD } = require('../../challenge-md-parser/mdx');
|
||||
const { parseMD } = require('../../challenge-parser/mdx');
|
||||
|
||||
const challengeDir = '../../../curriculum/challenges/';
|
||||
const enChalDir = path.resolve(__dirname, challengeDir, 'english');
|
||||
|
@@ -1,8 +1,8 @@
|
||||
const { root } = require('mdast-builder');
|
||||
const getAllBetween = require('../../../challenge-md-parser/mdx/plugins/utils/between-headings');
|
||||
const getAllBetween = require('../../../challenge-parser/mdx/plugins/utils/between-headings');
|
||||
const {
|
||||
splitOnThematicBreak
|
||||
} = require('../../../challenge-md-parser/mdx/plugins/utils/split-on-thematic-break');
|
||||
} = require('../../../challenge-parser/mdx/plugins/utils/split-on-thematic-break');
|
||||
|
||||
const { stringifyMd } = require('./text-to-data');
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
const chunk = require('lodash/chunk');
|
||||
const getAllBetween = require('../../../challenge-md-parser/mdx/plugins/utils/between-headings');
|
||||
const getAllBetween = require('../../../challenge-parser/mdx/plugins/utils/between-headings');
|
||||
const { stringifyMd } = require('./text-to-data');
|
||||
|
||||
function plugin() {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
const stringify = require('remark-stringify');
|
||||
const { root } = require('mdast-builder');
|
||||
const unified = require('unified');
|
||||
const getAllBetween = require('../../../challenge-md-parser/mdx/plugins/utils/between-headings');
|
||||
const getAllBetween = require('../../../challenge-parser/mdx/plugins/utils/between-headings');
|
||||
|
||||
const stringifyMd = nodes =>
|
||||
unified()
|
||||
|
@@ -2,7 +2,7 @@ const readdirp = require('readdirp-walk');
|
||||
const { has, isEmpty, isNumber } = require('lodash');
|
||||
const ora = require('ora');
|
||||
|
||||
const { parseMarkdown } = require('../../challenge-md-parser');
|
||||
const { parseMarkdown } = require('../../challenge-parser');
|
||||
const { challengeRoot, checkFrontmatter } = require('./md-testing-utils');
|
||||
|
||||
const scrimbaUrlRE = /^https:\/\/scrimba\.com\//;
|
||||
|
Reference in New Issue
Block a user