chore: cmon github bruh

This commit is contained in:
EvolutionX
2022-09-13 10:31:15 +05:30
parent e60fb42e3e
commit c302e1e4be
4 changed files with 10 additions and 10 deletions

View File

@@ -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';
/**

View File

@@ -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

View File

@@ -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);

View File

@@ -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';
/**