0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00

[ci] format

This commit is contained in:
Princesseuh 2023-03-20 16:05:06 +00:00 committed by fredkbot
parent 1e7d6af412
commit 97f876abba
9 changed files with 10 additions and 10 deletions

View file

@ -10,13 +10,13 @@ import { info, warn, type LogOptions } from '../core/logger/core.js';
import { isRelativePath } from '../core/path.js';
import { CONTENT_TYPES_FILE } from './consts.js';
import {
NoCollectionError,
getContentEntryExts,
getContentPaths,
getEntryInfo,
getEntrySlug,
getEntryType,
loadContentConfig,
NoCollectionError,
parseFrontmatter,
type ContentConfig,
type ContentObservable,

View file

@ -4,7 +4,7 @@ import fsMod from 'node:fs';
import path from 'node:path';
import { fileURLToPath, pathToFileURL } from 'node:url';
import type { EmitFile } from 'rollup';
import { normalizePath, type ViteDevServer, type ErrorPayload as ViteErrorPayload } from 'vite';
import { normalizePath, type ErrorPayload as ViteErrorPayload, type ViteDevServer } from 'vite';
import { z } from 'zod';
import type { AstroConfig, AstroSettings } from '../@types/astro.js';
import { emitESMImage } from '../assets/utils/emitAsset.js';

View file

@ -5,7 +5,7 @@ import type {
RouteData,
SSRElement,
} from '../../@types/astro';
import type { SSRManifest as Manifest, RouteInfo } from './types';
import type { RouteInfo, SSRManifest as Manifest } from './types';
import mime from 'mime';
import { attachToResponse, getSetCookiesFromResponse } from '../cookies/index.js';

View file

@ -1,7 +1,7 @@
import * as crypto from 'node:crypto';
import * as npath from 'node:path';
import type { GetModuleInfo } from 'rollup';
import { transformWithEsbuild, type ResolvedConfig, type Plugin as VitePlugin } from 'vite';
import { transformWithEsbuild, type Plugin as VitePlugin, type ResolvedConfig } from 'vite';
import { isBuildableCSSRequest } from '../../render/dev/util.js';
import type { BuildInternals } from '../internal';
import type { AstroBuildPlugin } from '../plugin';

View file

@ -6,7 +6,7 @@ import { ASTRO_VERSION } from '../constants.js';
import { AstroCookies, attachToResponse } from '../cookies/index.js';
import { AstroError, AstroErrorData } from '../errors/index.js';
import { warn, type LogOptions } from '../logger/core.js';
import { GetParamsAndPropsError, getParamsAndProps } from '../render/core.js';
import { getParamsAndProps, GetParamsAndPropsError } from '../render/core.js';
const clientAddressSymbol = Symbol.for('astro.clientAddress');

View file

@ -1,6 +1,6 @@
export { createRenderContext } from './context.js';
export type { RenderContext } from './context.js';
export { GetParamsAndPropsError, getParamsAndProps, renderPage } from './core.js';
export { getParamsAndProps, GetParamsAndPropsError, renderPage } from './core.js';
export type { Environment } from './environment';
export { createBasicEnvironment, createEnvironment } from './environment.js';
export { loadRenderer } from './renderer.js';

View file

@ -10,9 +10,9 @@ import type {
SSRResult,
} from '../../@types/astro';
import {
ScopeFlags,
createScopedResult,
renderSlot,
ScopeFlags,
stringifyChunk,
type ComponentSlots,
} from '../../runtime/server/index.js';

View file

@ -2,8 +2,8 @@
import type { SSRResult } from '../../@types/astro.js';
import { AstroJSX, isVNode, type AstroVNode } from '../../jsx-runtime/index.js';
import {
HTMLString,
escapeHTML,
HTMLString,
markHTMLString,
renderComponentToIterable,
renderToString,
@ -12,7 +12,7 @@ import {
} from './index.js';
import { HTMLParts } from './render/common.js';
import type { ComponentIterable } from './render/component';
import { ScopeFlags, createScopedResult } from './render/scope.js';
import { createScopedResult, ScopeFlags } from './render/scope.js';
const ClientOnlyPlaceholder = 'astro-client-only';

View file

@ -9,7 +9,7 @@ import {
type PrescriptType,
} from '../scripts.js';
import { renderAllHeadContent } from './head.js';
import { ScopeFlags, hasScopeFlag } from './scope.js';
import { hasScopeFlag, ScopeFlags } from './scope.js';
import { isSlotString, type SlotString } from './slot.js';
export const Fragment = Symbol.for('astro:fragment');