We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1abb281 commit b0d0bf0Copy full SHA for b0d0bf0
updateLockfiles.js renamed to update-lockfiles.js
@@ -1,8 +1,8 @@
1
-const fs = require("fs");
2
-const path = require("path");
3
-const { execSync } = require("child_process");
4
-const { cwd } = require("process");
5
-const yargs = require("yargs");
+import { execSync } from "node:child_process";
+import { cwd } from "node:process";
+import * as fs from "node:fs";
+import path from "node:path";
+import yargs from "yargs";
6
7
const args = yargs(process.argv)
8
.usage("$0 [--frameworks-dir]")
@@ -44,7 +44,7 @@ function getFrameworks() {
44
fs.readdirSync(path.join(frameworksDir, type)).map((framework) => ({
45
name: framework,
46
type,
47
- }))
+ })),
48
);
49
50
return frameworks;
0 commit comments