From bde715700ccb5a64302da4c7676b5f5658e365a7 Mon Sep 17 00:00:00 2001 From: matthewp Date: Wed, 26 Oct 2022 14:20:41 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/@types/astro.ts | 2 +- packages/astro/src/core/config/settings.ts | 2 +- packages/astro/src/core/routing/manifest/create.ts | 2 +- packages/astro/src/core/util.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 90c815b3c..12452e9bf 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -1,4 +1,3 @@ -import { SUPPORTED_MARKDOWN_FILE_EXTENSIONS } from './../core/constants.js'; import type { MarkdownHeading, MarkdownMetadata, @@ -18,6 +17,7 @@ import type { PageBuildData } from '../core/build/types'; import type { AstroConfigSchema } from '../core/config'; import type { AstroCookies } from '../core/cookies'; import type { AstroComponentFactory } from '../runtime/server'; +import { SUPPORTED_MARKDOWN_FILE_EXTENSIONS } from './../core/constants.js'; export type { MarkdownHeading, MarkdownMetadata, diff --git a/packages/astro/src/core/config/settings.ts b/packages/astro/src/core/config/settings.ts index 48cc4a73b..3b562697e 100644 --- a/packages/astro/src/core/config/settings.ts +++ b/packages/astro/src/core/config/settings.ts @@ -1,5 +1,5 @@ -import { SUPPORTED_MARKDOWN_FILE_EXTENSIONS } from './../constants.js'; import type { AstroConfig, AstroSettings } from '../../@types/astro'; +import { SUPPORTED_MARKDOWN_FILE_EXTENSIONS } from './../constants.js'; import jsxRenderer from '../../jsx/renderer.js'; import { loadTSConfig } from './tsconfig.js'; diff --git a/packages/astro/src/core/routing/manifest/create.ts b/packages/astro/src/core/routing/manifest/create.ts index 7a9c62798..4cb2cb141 100644 --- a/packages/astro/src/core/routing/manifest/create.ts +++ b/packages/astro/src/core/routing/manifest/create.ts @@ -13,11 +13,11 @@ import { createRequire } from 'module'; import path from 'path'; import slash from 'slash'; import { fileURLToPath } from 'url'; +import { SUPPORTED_MARKDOWN_FILE_EXTENSIONS } from '../../constants.js'; import { warn } from '../../logger/core.js'; import { removeLeadingForwardSlash } from '../../path.js'; import { resolvePages } from '../../util.js'; import { getRouteGenerator } from './generator.js'; -import { SUPPORTED_MARKDOWN_FILE_EXTENSIONS } from '../../constants.js'; const require = createRequire(import.meta.url); interface Item { diff --git a/packages/astro/src/core/util.ts b/packages/astro/src/core/util.ts index 1213c776c..17adce83f 100644 --- a/packages/astro/src/core/util.ts +++ b/packages/astro/src/core/util.ts @@ -6,8 +6,8 @@ import slash from 'slash'; import { fileURLToPath, pathToFileURL } from 'url'; import { ErrorPayload, normalizePath, ViteDevServer } from 'vite'; import type { AstroConfig, AstroSettings, RouteType } from '../@types/astro'; -import { prependForwardSlash, removeTrailingForwardSlash } from './path.js'; import { SUPPORTED_MARKDOWN_FILE_EXTENSIONS } from './constants.js'; +import { prependForwardSlash, removeTrailingForwardSlash } from './path.js'; /** Returns true if argument is an object of any prototype/class (but not null). */ export function isObject(value: unknown): value is Record {