From 8cb3793e359a33fefa2629b32352286478adfce1 Mon Sep 17 00:00:00 2001 From: konnorrogers Date: Fri, 27 Jun 2025 12:26:46 -0400 Subject: [PATCH] prettier --- packages/webawesome/docs/.eleventy.js | 12 ++++++------ packages/webawesome/docs/_utils/manifest.js | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/webawesome/docs/.eleventy.js b/packages/webawesome/docs/.eleventy.js index cf9dcbb12..619ed70d3 100644 --- a/packages/webawesome/docs/.eleventy.js +++ b/packages/webawesome/docs/.eleventy.js @@ -27,15 +27,15 @@ export default async function (eleventyConfig) { const allComponents = getComponents(); /** - * If you plan to add or remove any of these extensions, make sure to let either Konnor or Cory know as these - * passthrough extensions will also need to be updated in the Web Awesome App. - */ + * If you plan to add or remove any of these extensions, make sure to let either Konnor or Cory know as these + * passthrough extensions will also need to be updated in the Web Awesome App. + */ const passThrough = [...passThroughExtensions.map(ext => path.join(docsDir, '**/*.' + ext))]; /** - * This is the guard we use for now to make sure our final built files don't need a 2nd pass by the server. This keeps - * us able to still deploy the bare HTML files on Vercel until the app is ready. - */ + * This is the guard we use for now to make sure our final built files don't need a 2nd pass by the server. This keeps + * us able to still deploy the bare HTML files on Vercel until the app is ready. + */ const serverBuild = process.env.WEBAWESOME_SERVER === 'true'; // diff --git a/packages/webawesome/docs/_utils/manifest.js b/packages/webawesome/docs/_utils/manifest.js index 79e5c6a76..1eec825be 100644 --- a/packages/webawesome/docs/_utils/manifest.js +++ b/packages/webawesome/docs/_utils/manifest.js @@ -1,5 +1,5 @@ import { readFileSync } from 'fs'; -import { dirname, resolve, join } from 'path'; +import { dirname, join, resolve } from 'path'; import { fileURLToPath } from 'url'; const __dirname = dirname(fileURLToPath(import.meta.url)); @@ -7,7 +7,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url)); * @returns Fetches components from custom-elements.json and returns them in more sane format. */ export function getComponents() { - const distDir = process.env.UNBUNDLED_DIST_DIRECTORY || resolve(__dirname, '../../dist') + const distDir = process.env.UNBUNDLED_DIST_DIRECTORY || resolve(__dirname, '../../dist'); const manifest = JSON.parse(readFileSync(join(distDir, 'custom-elements.json'), 'utf-8')); const components = [];