Prefix node protocol (#26391)
This commit is contained in:
1 parent
fed6899c36
commit
a1e5384859
129 files changed
+182
-177
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { readFileSync, readdirSync, writeFileSync } from "fs";
|
||||
import { join } from "path";
|
||||
import { readFileSync, readdirSync, writeFileSync } from "node:fs";
|
||||
import { join } from "node:path";
|
||||
|
||||
const TEMPLATE_LANGUAGE = "en";
|
||||
const SPECIFIC_LOCALES = process.argv.slice(2) || [];
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const fs = require("node:fs");
|
||||
const path = require("node:path");
|
||||
const glob = require("glob");
|
||||
const crypto = require("crypto");
|
||||
const crypto = require("node:crypto");
|
||||
|
||||
const copyAppStoreStatic = () => {
|
||||
// Get all static files from app-store packages
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const { execSync } = require("child_process");
|
||||
const { execSync } = require("node:child_process");
|
||||
|
||||
const CLIENT_FILES_PATH = ".next/static/chunks";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { execSync } from "child_process";
|
||||
import { execSync } from "node:child_process";
|
||||
|
||||
type Err = {
|
||||
stdout: string;
|
||||
|
||||
Reference in new issue
Block a user