diff --git a/scripts/next-repro-generators/publish.ts b/scripts/next-repro-generators/publish.ts index 5dbca3e6fb4c..72aee2720b78 100755 --- a/scripts/next-repro-generators/publish.ts +++ b/scripts/next-repro-generators/publish.ts @@ -7,7 +7,6 @@ import { copy, emptyDir, readdir, remove, stat, writeFile } from 'fs-extra'; import { getTemplatesData, renderTemplate } from './utils/template'; import { commitAllToGit } from './utils/git'; -import { promiseImpl } from 'ejs'; export const logger = console; diff --git a/scripts/package.json b/scripts/package.json index 7fa7afc67d7f..a5f26c4e4439 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -159,6 +159,7 @@ "serve-static": "^1.14.1", "shelljs": "^0.8.5", "shx": "^0.3.2", + "slash": "^3.0.0", "sort-package-json": "^1.48.1", "tempy": "^1.0.0", "trash": "^7.0.0", diff --git a/scripts/prepare/bundle.ts b/scripts/prepare/bundle.ts index f744220ea5ea..f1c524be8e75 100755 --- a/scripts/prepare/bundle.ts +++ b/scripts/prepare/bundle.ts @@ -5,8 +5,8 @@ import path, { join } from 'path'; import { build } from 'tsup'; import aliasPlugin from 'esbuild-plugin-alias'; import dedent from 'ts-dedent'; -import { exec } from '../utils/exec'; import slash from 'slash'; +import { exec } from '../utils/exec'; const hasFlag = (flags: string[], name: string) => !!flags.find((s) => s.startsWith(`--${name}`)); diff --git a/scripts/yarn.lock b/scripts/yarn.lock index 65d7d3c2f7fe..2c6c89a14b63 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -3449,6 +3449,7 @@ __metadata: serve-static: ^1.14.1 shelljs: ^0.8.5 shx: ^0.3.2 + slash: ^3.0.0 sort-package-json: ^1.48.1 tempy: ^1.0.0 trash: ^7.0.0