chore: land failing renovate updates (#67035)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
Mrugesh Mohapatra
2026-04-21 14:02:02 +05:30
committed by GitHub
parent 32c65547ac
commit 39408b3c83
24 changed files with 632 additions and 460 deletions
+14 -12
View File
@@ -1,12 +1,14 @@
default: true # include all rules, with exceptions below
MD002: false # first heading should not be a top level heading
MD013: false # lines can be any length
MD022: false # headings don't need surrounding by newlines
MD024: false # no duplicate headers
MD025: false # headings are used as markers by the parser
MD031: true # fenced blocks do need surrounding by newlines
MD033: false # inline html is required
MD040: true # fenced code blocks should have a language specified
MD034: false # allow bare-URLs
MD036: false # TODO: **Example** is the main offender, should that be a heading?
whitespace: false # extra whitespace is ignored, so we don't enforce it.
default: true # include all rules, with exceptions below
MD002: false # first heading should not be a top level heading
MD013: false # lines can be any length
MD022: false # headings don't need surrounding by newlines
MD024: false # no duplicate headers
MD025: false # headings are used as markers by the parser
MD031: true # fenced blocks do need surrounding by newlines
MD033: false # inline html is required
MD040: true # fenced code blocks should have a language specified
MD034: false # allow bare-URLs
MD036: false # TODO: **Example** is the main offender, should that be a heading?
MD058: false # allow blanks around tables
MD060: false # disable table column style
whitespace: false # extra whitespace is ignored, so we don't enforce it.
@@ -8,7 +8,7 @@ lang: zh-CN
<!-- (Audio) Chen Na: 四十 (sì shí), 四十一 (sì shí yī), 四十二 (sì shí èr), 四十三 (sì shí sān), 四十四 (sì shí sì), 四十五 (sì shí wǔ), 四十六 (sì shí liù), 四十七 (sì shí qī), 四十八 (sì shí bā), 四十九 (sì shí jiǔ) -->
### type 24 — Numbers (4049)
## type 24 — Numbers (4049)
# --description--
+4 -4
View File
@@ -62,9 +62,9 @@
"@freecodecamp/eslint-config": "workspace:*",
"@freecodecamp/shared": "workspace:*",
"@total-typescript/ts-reset": "0.6.1",
"@types/debug": "4.1.12",
"@types/js-yaml": "4.0.5",
"@types/polka": "0.5.7",
"@types/debug": "4.1.13",
"@types/js-yaml": "4.0.9",
"@types/polka": "0.5.8",
"@typescript/vfs-1.6.1": "npm:@typescript/vfs@1.6.4",
"@vitest/ui": "4.0.15",
"eslint": "9.39.1",
@@ -84,6 +84,6 @@
"vitest": "4.0.15"
},
"dependencies": {
"@types/node": "24.10.8"
"@types/node": "24.12.2"
}
}
+4 -6
View File
@@ -34,9 +34,8 @@ vi.mock(
const tsvfs = await import('@typescript/vfs-1.6.1');
const ts = await import('typescript-5.9.2');
// use the same TS compiler as the challenge-builder
const tsCompiler = await import(
'@freecodecamp/browser-scripts/ts-compiler'
);
const tsCompiler =
await import('@freecodecamp/browser-scripts/ts-compiler');
const compiler = new tsCompiler.Compiler(ts, tsvfs);
let previousTsconfig;
let hasConfiguredCompiler = false;
@@ -170,9 +169,8 @@ async function populateTestsForLang({ lang, challenges, meta }) {
// We have to dynamically import this because otherwise it will not be mocked.
// Presumably this is because we import from_this file in the generated block
// test files and that happens before the mock is applied.
const { buildChallenge } = await import(
'@freecodecamp/challenge-builder/build'
);
const { buildChallenge } =
await import('@freecodecamp/challenge-builder/build');
const validateChallenge = challengeSchemaValidator();
describe(`Language: ${lang}`, function () {