mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
🤖 Merge PR #60664 [DT Infrastructure] Fix failing jobs since change from CJS to ESM by @MysteryBlokHed
* Fix `fs-extra` import in update-codeowners.js * Fix `fs-extra` import in ghostbuster.js
This commit is contained in:
committed by
GitHub
parent
8efc27c9d6
commit
84ceb576a8
@@ -1,7 +1,8 @@
|
||||
// @ts-check
|
||||
import { flatMap, mapDefined } from "@definitelytyped/utils";
|
||||
import * as os from "node:os";
|
||||
import { writeFileSync, readFileSync, readdirSync, existsSync } from "fs-extra";
|
||||
import fsExtra from 'fs-extra';
|
||||
const { writeFileSync, readFileSync, readdirSync, existsSync } = fsExtra;
|
||||
import hp from "@definitelytyped/header-parser";
|
||||
import { Octokit } from "@octokit/core";
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ import * as cp from 'node:child_process';
|
||||
import * as os from 'node:os';
|
||||
import { AllPackages, getDefinitelyTyped, parseDefinitions, clean } from '@definitelytyped/definitions-parser';
|
||||
import { loggerWithErrors } from '@definitelytyped/utils';
|
||||
import { writeFile } from 'fs-extra';
|
||||
import fsExtra from 'fs-extra';
|
||||
const { writeFile } = fsExtra;
|
||||
|
||||
async function main() {
|
||||
const options = { definitelyTypedPath: '.', progress: false, parseInParallel: true };
|
||||
|
||||
Reference in New Issue
Block a user