mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
[ci] format
This commit is contained in:
parent
75921b3cd9
commit
e1858e6334
3 changed files with 9 additions and 11 deletions
|
@ -1,22 +1,20 @@
|
|||
/* eslint-disable no-console */
|
||||
import { AstroCheck, DiagnosticSeverity, GetDiagnosticsResult } from '@astrojs/language-server';
|
||||
import type { FSWatcher } from 'chokidar';
|
||||
import glob from 'fast-glob';
|
||||
import * as fs from 'fs';
|
||||
import fsMod, * as fs from 'fs';
|
||||
import { bold, dim, red, yellow } from 'kleur/colors';
|
||||
import { createRequire } from 'module';
|
||||
import { join } from 'node:path';
|
||||
import ora from 'ora';
|
||||
import { fileURLToPath, pathToFileURL } from 'url';
|
||||
import { Arguments } from 'yargs-parser';
|
||||
import type { Arguments as Flags } from 'yargs-parser';
|
||||
import type { AstroSettings } from '../../@types/astro';
|
||||
import type { LogOptions } from '../../core/logger/core.js';
|
||||
import { printHelp } from '../../core/messages.js';
|
||||
import { printDiagnostic } from './print.js';
|
||||
import type { Arguments as Flags } from 'yargs-parser';
|
||||
import { debug, info } from '../../core/logger/core.js';
|
||||
import { printHelp } from '../../core/messages.js';
|
||||
import type { ProcessExit, SyncOptions } from '../../core/sync';
|
||||
import fsMod from 'fs';
|
||||
import type { FSWatcher } from 'chokidar';
|
||||
import { join } from 'node:path';
|
||||
import { printDiagnostic } from './print.js';
|
||||
|
||||
type DiagnosticResult = {
|
||||
errors: number;
|
||||
|
|
|
@ -18,7 +18,7 @@ import { enableVerboseLogging, nodeLogDestination } from '../core/logger/node.js
|
|||
import { formatConfigErrorMessage, formatErrorMessage, printHelp } from '../core/messages.js';
|
||||
import * as event from '../events/index.js';
|
||||
import { eventConfigError, eventError, telemetry } from '../events/index.js';
|
||||
import { check, CheckResult } from './check/index.js';
|
||||
import { check } from './check/index.js';
|
||||
import { openInBrowser } from './open.js';
|
||||
|
||||
type Arguments = yargs.Arguments;
|
||||
|
|
|
@ -2,17 +2,17 @@ import { dim } from 'kleur/colors';
|
|||
import type fsMod from 'node:fs';
|
||||
import { performance } from 'node:perf_hooks';
|
||||
import { createServer } from 'vite';
|
||||
import type { Arguments } from 'yargs-parser';
|
||||
import type { AstroSettings } from '../../@types/astro';
|
||||
import { createContentTypesGenerator } from '../../content/index.js';
|
||||
import { globalContentConfigObserver } from '../../content/utils.js';
|
||||
import { runHookConfigSetup } from '../../integrations/index.js';
|
||||
import { setUpEnvTs } from '../../vite-plugin-inject-env-ts/index.js';
|
||||
import { getTimeStat } from '../build/util.js';
|
||||
import { createVite } from '../create-vite.js';
|
||||
import { AstroError, AstroErrorData } from '../errors/index.js';
|
||||
import { info, LogOptions } from '../logger/core.js';
|
||||
import { printHelp } from '../messages.js';
|
||||
import type { Arguments } from 'yargs-parser';
|
||||
import { createVite } from '../create-vite.js';
|
||||
|
||||
export type ProcessExit = 0 | 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue