diff options
author | 2023-03-20 16:05:06 +0000 | |
---|---|---|
committer | 2023-03-20 16:05:06 +0000 | |
commit | 97f876abba31438ae4cc41fdbae276fbbc78e98b (patch) | |
tree | 149b5c0cd8f3026c880c469f5d5340ef78da48a3 | |
parent | 1e7d6af41219644516757a1bf21d36cdb8795f50 (diff) | |
download | astro-97f876abba31438ae4cc41fdbae276fbbc78e98b.tar.gz astro-97f876abba31438ae4cc41fdbae276fbbc78e98b.tar.zst astro-97f876abba31438ae4cc41fdbae276fbbc78e98b.zip |
[ci] format
-rw-r--r-- | packages/astro/src/content/types-generator.ts | 2 | ||||
-rw-r--r-- | packages/astro/src/content/utils.ts | 2 | ||||
-rw-r--r-- | packages/astro/src/core/app/index.ts | 2 | ||||
-rw-r--r-- | packages/astro/src/core/build/plugins/plugin-css.ts | 2 | ||||
-rw-r--r-- | packages/astro/src/core/endpoint/index.ts | 2 | ||||
-rw-r--r-- | packages/astro/src/core/render/index.ts | 2 | ||||
-rw-r--r-- | packages/astro/src/core/render/result.ts | 2 | ||||
-rw-r--r-- | packages/astro/src/runtime/server/jsx.ts | 4 | ||||
-rw-r--r-- | packages/astro/src/runtime/server/render/common.ts | 2 |
9 files changed, 10 insertions, 10 deletions
diff --git a/packages/astro/src/content/types-generator.ts b/packages/astro/src/content/types-generator.ts index 508463a9e..e695f9e60 100644 --- a/packages/astro/src/content/types-generator.ts +++ b/packages/astro/src/content/types-generator.ts @@ -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, diff --git a/packages/astro/src/content/utils.ts b/packages/astro/src/content/utils.ts index 93405b231..e162ff735 100644 --- a/packages/astro/src/content/utils.ts +++ b/packages/astro/src/content/utils.ts @@ -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'; diff --git a/packages/astro/src/core/app/index.ts b/packages/astro/src/core/app/index.ts index 0643dc812..ca66d87e8 100644 --- a/packages/astro/src/core/app/index.ts +++ b/packages/astro/src/core/app/index.ts @@ -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'; diff --git a/packages/astro/src/core/build/plugins/plugin-css.ts b/packages/astro/src/core/build/plugins/plugin-css.ts index af316cf41..826058b4e 100644 --- a/packages/astro/src/core/build/plugins/plugin-css.ts +++ b/packages/astro/src/core/build/plugins/plugin-css.ts @@ -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'; diff --git a/packages/astro/src/core/endpoint/index.ts b/packages/astro/src/core/endpoint/index.ts index e2303464d..876c21aa5 100644 --- a/packages/astro/src/core/endpoint/index.ts +++ b/packages/astro/src/core/endpoint/index.ts @@ -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'); diff --git a/packages/astro/src/core/render/index.ts b/packages/astro/src/core/render/index.ts index 83a243261..99d680549 100644 --- a/packages/astro/src/core/render/index.ts +++ b/packages/astro/src/core/render/index.ts @@ -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'; diff --git a/packages/astro/src/core/render/result.ts b/packages/astro/src/core/render/result.ts index 41249efa5..523a0776a 100644 --- a/packages/astro/src/core/render/result.ts +++ b/packages/astro/src/core/render/result.ts @@ -10,9 +10,9 @@ import type { SSRResult, } from '../../@types/astro'; import { - ScopeFlags, createScopedResult, renderSlot, + ScopeFlags, stringifyChunk, type ComponentSlots, } from '../../runtime/server/index.js'; diff --git a/packages/astro/src/runtime/server/jsx.ts b/packages/astro/src/runtime/server/jsx.ts index 032d82366..0823b54d7 100644 --- a/packages/astro/src/runtime/server/jsx.ts +++ b/packages/astro/src/runtime/server/jsx.ts @@ -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'; diff --git a/packages/astro/src/runtime/server/render/common.ts b/packages/astro/src/runtime/server/render/common.ts index c70685448..3c0f8d50d 100644 --- a/packages/astro/src/runtime/server/render/common.ts +++ b/packages/astro/src/runtime/server/render/common.ts @@ -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'); |