summaryrefslogtreecommitdiff
path: root/packages/integrations/react
diff options
context:
space:
mode:
authorGravatar Emanuele Stoppa <ematipico@users.noreply.github.com> 2024-06-13 13:05:54 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2024-06-13 13:05:54 +0000
commita6df7e877f5e485b7f86dd026547e6f58a189edc (patch)
tree886e561f8c142024179b588403d715b5e9ad38b7 /packages/integrations/react
parent4385bf7a4dc9c65bff53a30c660f7a909fcabfc9 (diff)
downloadastro-a6df7e877f5e485b7f86dd026547e6f58a189edc.tar.gz
astro-a6df7e877f5e485b7f86dd026547e6f58a189edc.tar.zst
astro-a6df7e877f5e485b7f86dd026547e6f58a189edc.zip
[ci] format
Diffstat (limited to 'packages/integrations/react')
-rw-r--r--packages/integrations/react/server.js1
-rw-r--r--packages/integrations/react/src/index.ts6
-rw-r--r--packages/integrations/react/tsconfig.json2
3 files changed, 4 insertions, 5 deletions
diff --git a/packages/integrations/react/server.js b/packages/integrations/react/server.js
index efdd72102..c2b255853 100644
--- a/packages/integrations/react/server.js
+++ b/packages/integrations/react/server.js
@@ -230,4 +230,3 @@ export default {
renderToStaticMarkup,
supportsAstroStaticSlot: true,
};
-
diff --git a/packages/integrations/react/src/index.ts b/packages/integrations/react/src/index.ts
index c20146949..f8a9c4ab2 100644
--- a/packages/integrations/react/src/index.ts
+++ b/packages/integrations/react/src/index.ts
@@ -1,12 +1,12 @@
import react, { type Options as ViteReactPluginOptions } from '@vitejs/plugin-react';
-import type {AstroIntegration, ContainerRenderer} from 'astro';
+import type { AstroIntegration, ContainerRenderer } from 'astro';
import type * as vite from 'vite';
import {
+ type ReactVersionConfig,
+ type SupportedReactVersion,
getReactMajorVersion,
isUnsupportedVersion,
versionsConfig,
- type ReactVersionConfig,
- type SupportedReactVersion,
} from './version.js';
export type ReactIntegrationOptions = Pick<
diff --git a/packages/integrations/react/tsconfig.json b/packages/integrations/react/tsconfig.json
index 3d1121296..1504b4b6d 100644
--- a/packages/integrations/react/tsconfig.json
+++ b/packages/integrations/react/tsconfig.json
@@ -3,5 +3,5 @@
"include": ["src"],
"compilerOptions": {
"outDir": "./dist"
- },
+ }
}