From 8da07ab754af11c053e91144b313e22f11450690 Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Tue, 30 May 2023 20:21:13 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/content/types-generator.ts | 2 +- packages/astro/src/content/vite-plugin-content-imports.ts | 4 ++-- packages/astro/src/content/vite-plugin-content-virtual-mod.ts | 2 +- packages/integrations/markdoc/src/index.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/astro/src/content/types-generator.ts b/packages/astro/src/content/types-generator.ts index 538b267ff6..0280fc08b6 100644 --- a/packages/astro/src/content/types-generator.ts +++ b/packages/astro/src/content/types-generator.ts @@ -11,12 +11,12 @@ import { info, warn, type LogOptions } from '../core/logger/core.js'; import { isRelativePath } from '../core/path.js'; import { CONTENT_TYPES_FILE, VIRTUAL_MODULE_ID } from './consts.js'; import { - getEntryConfigByExtMap, getContentEntryIdAndSlug, getContentPaths, getDataEntryExts, getDataEntryId, getEntryCollectionName, + getEntryConfigByExtMap, getEntrySlug, getEntryType, reloadContentConfigObserver, diff --git a/packages/astro/src/content/vite-plugin-content-imports.ts b/packages/astro/src/content/vite-plugin-content-imports.ts index 899ce02cd4..8e8ee0ba0f 100644 --- a/packages/astro/src/content/vite-plugin-content-imports.ts +++ b/packages/astro/src/content/vite-plugin-content-imports.ts @@ -14,16 +14,16 @@ import type { } from '../@types/astro.js'; import { AstroErrorData } from '../core/errors/errors-data.js'; import { AstroError } from '../core/errors/errors.js'; -import { escapeViteEnvReferences, getFileInfo } from '../vite-plugin-utils/index.js'; +import { escapeViteEnvReferences } from '../vite-plugin-utils/index.js'; import { CONTENT_FLAG, DATA_FLAG } from './consts.js'; import { - getEntryConfigByExtMap, getContentEntryExts, getContentEntryIdAndSlug, getContentPaths, getDataEntryExts, getDataEntryId, getEntryCollectionName, + getEntryConfigByExtMap, getEntryData, getEntryType, globalContentConfigObserver, diff --git a/packages/astro/src/content/vite-plugin-content-virtual-mod.ts b/packages/astro/src/content/vite-plugin-content-virtual-mod.ts index 9b0a1becc8..78a8cd24d2 100644 --- a/packages/astro/src/content/vite-plugin-content-virtual-mod.ts +++ b/packages/astro/src/content/vite-plugin-content-virtual-mod.ts @@ -9,12 +9,12 @@ import { AstroError, AstroErrorData } from '../core/errors/index.js'; import { rootRelativePath } from '../core/util.js'; import { VIRTUAL_MODULE_ID } from './consts.js'; import { - getEntryConfigByExtMap, getContentEntryIdAndSlug, getContentPaths, getDataEntryExts, getDataEntryId, getEntryCollectionName, + getEntryConfigByExtMap, getEntrySlug, getEntryType, getExtGlob, diff --git a/packages/integrations/markdoc/src/index.ts b/packages/integrations/markdoc/src/index.ts index ef50768fe6..17f0123606 100644 --- a/packages/integrations/markdoc/src/index.ts +++ b/packages/integrations/markdoc/src/index.ts @@ -8,10 +8,10 @@ import { isValidUrl, MarkdocError, parseFrontmatter, prependForwardSlash } from // @ts-expect-error Cannot find module 'astro/assets' or its corresponding type declarations. import { emitESMImage } from 'astro/assets'; import { bold, red, yellow } from 'kleur/colors'; +import path from 'node:path'; import type * as rollup from 'rollup'; import { loadMarkdocConfig, type MarkdocConfigResult } from './load-config.js'; import { setupConfig } from './runtime.js'; -import path from 'node:path'; type SetupHookParams = HookParameters<'astro:config:setup'> & { // `contentEntryType` is not a public API