diff --git a/src/commands/plugins.ts b/src/commands/plugins.ts index b7f0d5d..719b774 100644 --- a/src/commands/plugins.ts +++ b/src/commands/plugins.ts @@ -1,8 +1,8 @@ -import { pluginsQ } from '../prompts/plugin.js'; +import { greenBright } from 'colorette'; +import fs from 'fs'; import prompt from 'prompts'; import { fetch } from 'undici'; -import fs from 'fs'; -import { greenBright } from 'colorette'; +import { pluginsQ } from '../prompts/plugin.js'; import { fromCwd } from '../utilities/fromCwd.js'; /** diff --git a/src/index.ts b/src/index.ts index 553df19..4bc325f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,12 +1,12 @@ #!/usr/bin/env node -import { init } from './commands/init.js'; -import { help } from './commands/help.js'; import { extra } from './commands/extra.js'; +import { help } from './commands/help.js'; +import { init } from './commands/init.js'; import { Command } from 'commander'; -import { version } from './utilities/version.js'; import { plugins } from './commands/plugins.js'; +import { version } from './utilities/version.js'; export const program = new Command(); program diff --git a/src/utilities/create.ts b/src/utilities/create.ts index 19e2aaf..7172101 100644 --- a/src/utilities/create.ts +++ b/src/utilities/create.ts @@ -1,6 +1,6 @@ -import { URL, fileURLToPath } from 'url'; -import { resolve, dirname } from 'node:path'; -import { readFile, mkdir, writeFile } from 'fs/promises'; +import { mkdir, readFile, writeFile } from 'fs/promises'; +import { dirname, resolve } from 'node:path'; +import { fileURLToPath, URL } from 'url'; const root = new URL('../../', import.meta.url); const templates = new URL('./templates/', root); diff --git a/src/utilities/edits.ts b/src/utilities/edits.ts index 0ff551d..8d6bd5a 100644 --- a/src/utilities/edits.ts +++ b/src/utilities/edits.ts @@ -1,5 +1,5 @@ -import { readFile, rename, writeFile } from 'node:fs/promises'; import { findUp } from 'find-up'; +import { readFile, rename, writeFile } from 'node:fs/promises'; import { fromCwd } from './fromCwd.js'; /**