diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 5ee2b882d..60a00cacc 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -219,8 +219,8 @@ jobs:
path: ./packages/core/binding
- name: Build Core CJS
run: cd packages/core && pnpm run build:cjs
- - name: Run benchmarks
- uses: CodSpeedHQ/action@v3
- with:
- run: npm exec vitest bench
- token: ${{ secrets.CODSPEED_TOKEN }}
+ # - name: Run benchmarks
+ # uses: CodSpeedHQ/action@v3
+ # with:
+ # run: npm exec vitest bench
+ # token: ${{ secrets.CODSPEED_TOKEN }}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 7dcf831f1..738bd9708 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -4,7 +4,7 @@
"biome.enabled": true,
"editor.defaultFormatter": "biomejs.biome",
"[typescript]": {
- "editor.defaultFormatter": "vscode.typescript-language-features"
+ "editor.defaultFormatter": "biomejs.biome"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
diff --git a/biome.json b/biome.json
index 90d4950eb..dca2c3fc0 100644
--- a/biome.json
+++ b/biome.json
@@ -4,7 +4,7 @@
"clientKind": "git",
"enabled": true,
"useIgnoreFile": true,
- "defaultBranch": "main"
+ "defaultBranch": "v2-dev"
},
"files": {
"ignore": [
diff --git a/docs/scripts/translations.ts b/docs/scripts/translations.ts
index 9c4cccb42..6f6f24642 100644
--- a/docs/scripts/translations.ts
+++ b/docs/scripts/translations.ts
@@ -1,17 +1,17 @@
-import fs from "fs/promises";
-import path from "path";
+import path from 'path';
+import fs from 'fs/promises';
import crowdin, {
Credentials,
- TranslationStatus,
-} from "@crowdin/crowdin-api-client";
+ TranslationStatus
+} from '@crowdin/crowdin-api-client';
const token =
- "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJ3UUVxdmhVM3ZMT2EyWGljbVV5VCIsImp0aSI6IjYxZjI5YjkyYmU4YTUwMjk5MWEzMmM0ZWRmMDQ3ZTk1NjFhZDIyMzk2OGE1MmQ4MGFlNzM1YmY1YWVjNzZiMDVlODk5YjEzMWMzN2MxYWY2IiwiaWF0IjoxNjkwMjg5MTE2LjY2NDAxOCwibmJmIjoxNjkwMjg5MTE2LjY2NDAyMSwiZXhwIjoxNzIxODI1MTE2LjU1NjU4Miwic3ViIjoiMTU5MzQ5MDMiLCJzY29wZXMiOlsicHJvamVjdCJdLCJkb21haW4iOm51bGwsImFzc29jaWF0aW9ucyI6WyIqIl0sInNlc3Npb24iOjB9.rG2dtUOUI6y4YzlL4_AxfHSGhH8XsAQDBIPxb-hts56kOWnaACVHU9-Y2e7ABzaAmEsdxJ4Wl6kByFAF1DJ-n-ga02PVPW1EV8RulXZwram5lofZUjanq8OBuBMnOptJsxhmf962_t8G7lDvN0zYcOuddKg_sBcmEC1QS8ngF0OwDrQhOyzyAavciUIbwZERsLKoXyMj1EDWEtJ8UWePFcCiQUk5pffnOXR-lVgudO9JgK4breoKB6cTKp_J4mj8eFUmEOwgYhciNIxTYhmMrv43l9-sgPQA2NBct5p0ifHrPtktl5uEZYrjMQqwGhVDSVA5OakyYVdp2MsT2dTgBBqd9HY7Cuph9A5JDEL3ZwEW8Exw3qWcBDUKv7-IONcRSrbUIyTzw0ZYBSz5lE--33vsdWEOuZCDaU16pHOjCfudsiDjQI5RFVLYsMo05Qkf0zzse3WYNybxx2YrO2JiYRdjgGzN-inUoMek7phvjbFKq30XCI2CZDa3XrZjwgCF3RTAd-hoFIsi65u1vj-L554xvIU6NITHVklunZcIcZjoRFeDN1uw5pXcRMRcfchjBpSXNQRucdkRN-P2ay5dZS1M8tGlvygJtjc5pFgDGV51Zx_NFVGv75xrQ_UivKE8UIljwt5Aci_eHDE_f8keMANrATdSzMmXlyRUhh-8aWI";
+ 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJ3UUVxdmhVM3ZMT2EyWGljbVV5VCIsImp0aSI6IjYxZjI5YjkyYmU4YTUwMjk5MWEzMmM0ZWRmMDQ3ZTk1NjFhZDIyMzk2OGE1MmQ4MGFlNzM1YmY1YWVjNzZiMDVlODk5YjEzMWMzN2MxYWY2IiwiaWF0IjoxNjkwMjg5MTE2LjY2NDAxOCwibmJmIjoxNjkwMjg5MTE2LjY2NDAyMSwiZXhwIjoxNzIxODI1MTE2LjU1NjU4Miwic3ViIjoiMTU5MzQ5MDMiLCJzY29wZXMiOlsicHJvamVjdCJdLCJkb21haW4iOm51bGwsImFzc29jaWF0aW9ucyI6WyIqIl0sInNlc3Npb24iOjB9.rG2dtUOUI6y4YzlL4_AxfHSGhH8XsAQDBIPxb-hts56kOWnaACVHU9-Y2e7ABzaAmEsdxJ4Wl6kByFAF1DJ-n-ga02PVPW1EV8RulXZwram5lofZUjanq8OBuBMnOptJsxhmf962_t8G7lDvN0zYcOuddKg_sBcmEC1QS8ngF0OwDrQhOyzyAavciUIbwZERsLKoXyMj1EDWEtJ8UWePFcCiQUk5pffnOXR-lVgudO9JgK4breoKB6cTKp_J4mj8eFUmEOwgYhciNIxTYhmMrv43l9-sgPQA2NBct5p0ifHrPtktl5uEZYrjMQqwGhVDSVA5OakyYVdp2MsT2dTgBBqd9HY7Cuph9A5JDEL3ZwEW8Exw3qWcBDUKv7-IONcRSrbUIyTzw0ZYBSz5lE--33vsdWEOuZCDaU16pHOjCfudsiDjQI5RFVLYsMo05Qkf0zzse3WYNybxx2YrO2JiYRdjgGzN-inUoMek7phvjbFKq30XCI2CZDa3XrZjwgCF3RTAd-hoFIsi65u1vj-L554xvIU6NITHVklunZcIcZjoRFeDN1uw5pXcRMRcfchjBpSXNQRucdkRN-P2ay5dZS1M8tGlvygJtjc5pFgDGV51Zx_NFVGv75xrQ_UivKE8UIljwt5Aci_eHDE_f8keMANrATdSzMmXlyRUhh-8aWI';
(async () => {
const credentials: Credentials = {
- token,
+ token
};
const { projectsGroupsApi } = new crowdin(credentials);
const t = await projectsGroupsApi.listProjects();
@@ -25,7 +25,7 @@ const token =
}, {});
fs.writeFile(
- path.join(__dirname, "./progress_translate_lang.json"),
+ path.join(__dirname, './progress_translate_lang.json'),
JSON.stringify(final, null, 4)
);
})();
diff --git a/docs/src/components/HomepageFeatures/index.js b/docs/src/components/HomepageFeatures/index.js
index 20a2a8d04..26227f1b8 100644
--- a/docs/src/components/HomepageFeatures/index.js
+++ b/docs/src/components/HomepageFeatures/index.js
@@ -1,13 +1,13 @@
-import React from "react";
-import clsx from "clsx";
import Translate, { translate } from "@docusaurus/Translate";
-// import Image from "@theme/IdealImage";
-import Rocket from "@site/static/img/rocket.png";
-import Plug from "@site/static/img/plug.png";
-import FeaturePng from "@site/static/img/feature.png";
import Box from "@site/static/img/box.png";
import Compatibility from "@site/static/img/compatible.png";
import Consistency from "@site/static/img/consistency.png";
+import FeaturePng from "@site/static/img/feature.png";
+import Plug from "@site/static/img/plug.png";
+// import Image from "@theme/IdealImage";
+import Rocket from "@site/static/img/rocket.png";
+import clsx from "clsx";
+import React from "react";
import styles from "./styles.module.css";
const FeatureList = [
{
diff --git a/docs/src/components/StarrySky/index.js b/docs/src/components/StarrySky/index.js
index 2a85fcf0b..14f85ea47 100644
--- a/docs/src/components/StarrySky/index.js
+++ b/docs/src/components/StarrySky/index.js
@@ -1,15 +1,15 @@
-import React, { Suspense, useRef } from "react";
-import { Canvas, primitive, useLoader } from "@react-three/fiber";
-import * as THREE from "three";
-import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader";
import {
+ Environment,
Loader,
- useGLTF,
OrbitControls,
PerspectiveCamera,
- Environment,
Stars,
+ useGLTF,
} from "@react-three/drei";
+import { Canvas, primitive, useLoader } from "@react-three/fiber";
+import React, { Suspense, useRef } from "react";
+import * as THREE from "three";
+import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader";
import "./index.css";
diff --git a/docs/src/lib/utils.ts b/docs/src/lib/utils.ts
index abdb16cd2..e708a691d 100644
--- a/docs/src/lib/utils.ts
+++ b/docs/src/lib/utils.ts
@@ -1,6 +1,6 @@
// lib/utils.ts
-import clsx, { ClassValue } from "clsx";
-import { twMerge } from "tailwind-merge";
+import clsx, { ClassValue } from 'clsx';
+import { twMerge } from 'tailwind-merge';
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
diff --git a/docs/src/theme/CodeBlock/svg.ts b/docs/src/theme/CodeBlock/svg.ts
index 09063f134..25dc8a8d2 100644
--- a/docs/src/theme/CodeBlock/svg.ts
+++ b/docs/src/theme/CodeBlock/svg.ts
@@ -1,26 +1,26 @@
export const svgs = [
{
- name: "ts",
- content: ``,
+ name: 'ts',
+ content: ``
},
{
- name: "js",
- content: ``,
+ name: 'js',
+ content: ``
},
{
- name: "css",
- content: ``,
+ name: 'css',
+ content: ``
},
{
- name: "json",
+ name: 'json',
content: ``
},
{
- name: "text",
+ name: 'text',
content: ``
},
{
- name: "vue",
+ name: 'vue',
content: ``
}
];
diff --git a/docs/src/theme/NavbarItem/ComponentTypes.js b/docs/src/theme/NavbarItem/ComponentTypes.js
index 26269b038..cffa717f6 100644
--- a/docs/src/theme/NavbarItem/ComponentTypes.js
+++ b/docs/src/theme/NavbarItem/ComponentTypes.js
@@ -1,12 +1,12 @@
import DefaultNavbarItem from "@theme/NavbarItem/DefaultNavbarItem";
-import DropdownNavbarItem from "@theme/NavbarItem/DropdownNavbarItem";
-import LocaleDropdownNavbarItem from "@theme/NavbarItem/LocaleDropdownNavbarItem";
-import SearchNavbarItem from "@theme/NavbarItem/SearchNavbarItem";
-import HtmlNavbarItem from "@theme/NavbarItem/HtmlNavbarItem";
import DocNavbarItem from "@theme/NavbarItem/DocNavbarItem";
import DocSidebarNavbarItem from "@theme/NavbarItem/DocSidebarNavbarItem";
-import DocsVersionNavbarItem from "@theme/NavbarItem/DocsVersionNavbarItem";
import DocsVersionDropdownNavbarItem from "@theme/NavbarItem/DocsVersionDropdownNavbarItem";
+import DocsVersionNavbarItem from "@theme/NavbarItem/DocsVersionNavbarItem";
+import DropdownNavbarItem from "@theme/NavbarItem/DropdownNavbarItem";
+import HtmlNavbarItem from "@theme/NavbarItem/HtmlNavbarItem";
+import LocaleDropdownNavbarItem from "@theme/NavbarItem/LocaleDropdownNavbarItem";
+import SearchNavbarItem from "@theme/NavbarItem/SearchNavbarItem";
const ComponentTypes = {
default: DefaultNavbarItem,
diff --git a/docs/src/theme/logic/TabDataContext.ts b/docs/src/theme/logic/TabDataContext.ts
index f541711e2..637d38f04 100644
--- a/docs/src/theme/logic/TabDataContext.ts
+++ b/docs/src/theme/logic/TabDataContext.ts
@@ -12,5 +12,5 @@ export interface ITabDataContext {
export const TabDataContext = createContext({
tabData: {},
- setTabData: () => {},
+ setTabData: () => {}
});
diff --git a/docs/src/theme/logic/useStorageValue.ts b/docs/src/theme/logic/useStorageValue.ts
index c8f969026..a46f39939 100644
--- a/docs/src/theme/logic/useStorageValue.ts
+++ b/docs/src/theme/logic/useStorageValue.ts
@@ -12,8 +12,8 @@ export const useStorageValue = (key: string, defaultValue = null) => {
});
const setValue = useCallback(
- value => {
- setValueInternal(prev => {
+ (value) => {
+ setValueInternal((prev) => {
const next = typeof value === 'function' ? value(prev) : value;
if (next == null) {
localStorage.removeItem(key);
@@ -23,7 +23,7 @@ export const useStorageValue = (key: string, defaultValue = null) => {
return next;
});
},
- [key],
+ [key]
);
useEffect(() => {
diff --git a/package.json b/package.json
index bd6582aef..46a33ef9b 100644
--- a/package.json
+++ b/package.json
@@ -28,7 +28,7 @@
"test": "echo 'fixme before merge to main'"
},
"devDependencies": {
- "@biomejs/biome": "1.8.3",
+ "@biomejs/biome": "1.9.4",
"@changesets/cli": "2.27.9",
"@codspeed/vitest-plugin": "^3.1.1",
"@commitlint/cli": "^17.0.3",
@@ -52,10 +52,7 @@
"vitest": "2.0.4"
},
"lint-staged": {
- "packages/**/*.ts": [
- "npx biome check --no-errors-on-unmatched --files-ignore-unknown=true --write"
- ],
- "js-plugins/**/*.ts": [
+ "{packages,js-plugins,docs,scripts}/**/*.{ts,json,yaml,yml}": [
"npx biome check --no-errors-on-unmatched --files-ignore-unknown=true --write"
]
},
diff --git a/packages/core/src/config/index.ts b/packages/core/src/config/index.ts
index 1465e0acb..ce1ae2850 100644
--- a/packages/core/src/config/index.ts
+++ b/packages/core/src/config/index.ts
@@ -6,8 +6,6 @@ import { pathToFileURL } from 'node:url';
import fse from 'fs-extra';
import { bindingPath } from '../../binding/index.js';
-import { OutputConfig } from '../types/binding.js';
-
import { JsPlugin } from '../index.js';
import {
getSortedPlugins,
@@ -17,6 +15,7 @@ import {
resolveConfigResolvedHook,
resolveFarmPlugins
} from '../plugin/index.js';
+
import {
Logger,
clearScreen,
@@ -52,11 +51,12 @@ import {
FARM_DEFAULT_NAMESPACE
} from './constants.js';
import { mergeConfig, mergeFarmCliConfig } from './mergeConfig.js';
-import { normalizeAsset } from './normalize-config/normalize-asset.js';
import { normalizeCss } from './normalize-config/normalize-css.js';
import { normalizeExternal } from './normalize-config/normalize-external.js';
import normalizePartialBundling from './normalize-config/normalize-partial-bundling.js';
import { normalizeResolve } from './normalize-config/normalize-resolve.js';
+
+import type { OutputConfig } from '../types/binding.js';
import type {
ConfigEnv,
FarmCliOptions,
@@ -447,9 +447,7 @@ export async function normalizeUserCompilationConfig(
resolvedUserConfig.logger.info(
`Swc plugins are configured, note that Farm uses ${colors.yellow(
'swc_core v0.96'
- )}, please make sure the plugin is ${colors.green(
- 'compatible'
- )} with swc_core ${colors.yellow(
+ )}, please make sure the plugin is ${colors.green('compatible')} with swc_core ${colors.yellow(
'swc_core v0.96'
)}. Otherwise, it may exit unexpectedly.`
);
@@ -533,7 +531,10 @@ export const DEFAULT_DEV_SERVER_OPTIONS: NormalizedServerConfig = {
9000,
https: undefined,
protocol: 'http',
- hostname: { name: 'localhost', host: undefined },
+ hostname: {
+ name: 'localhost',
+ host: undefined
+ },
host: true,
proxy: undefined,
hmr: DEFAULT_HMR_OPTIONS,
@@ -740,7 +741,13 @@ export async function loadConfigFile(
inlineOptions: any,
configEnv: any,
mode: CompilationMode = 'development'
-): Promise<{ config: any; configFilePath: string } | undefined> {
+): Promise<
+ | {
+ config: any;
+ configFilePath: string;
+ }
+ | undefined
+> {
const { root = '.' } = inlineOptions;
const configRootPath = path.resolve(root);
let resolvedPath: string | undefined;
@@ -795,7 +802,9 @@ export async function checkCompilationInputValue(
const inputValue = Object.values(compilation?.input).filter(Boolean);
const isTargetNode = targetEnv === 'node';
const defaultHtmlPath = './index.html';
- let inputIndexConfig: { index?: string } = { index: '' };
+ let inputIndexConfig: {
+ index?: string;
+ } = { index: '' };
let errorMessage = '';
// Check if input is specified
@@ -811,7 +820,9 @@ export async function checkCompilationInputValue(
try {
const resolvedPath = path.resolve(rootPath, entryFile);
if (await checkFileExists(resolvedPath)) {
- inputIndexConfig = { index: entryFile };
+ inputIndexConfig = {
+ index: entryFile
+ };
break;
}
} catch (error) {
@@ -822,7 +833,9 @@ export async function checkCompilationInputValue(
try {
const resolvedHtmlPath = path.resolve(rootPath, defaultHtmlPath);
if (await checkFileExists(resolvedHtmlPath)) {
- inputIndexConfig = { index: defaultHtmlPath };
+ inputIndexConfig = {
+ index: defaultHtmlPath
+ };
}
} catch (error) {
errorMessage = error.stack;
@@ -1061,7 +1074,7 @@ export function getFormat(configFilePath: string): Format {
? 'cjs'
: process.env.FARM_CONFIG_FORMAT === 'esm'
? 'esm'
- : formatFromExt[path.extname(configFilePath).slice(1)] ?? 'esm';
+ : (formatFromExt[path.extname(configFilePath).slice(1)] ?? 'esm');
}
export function getFilePath(outputPath: string, fileName: string): string {
diff --git a/packages/core/src/plugin/js/farm-to-vite-config.ts b/packages/core/src/plugin/js/farm-to-vite-config.ts
index 5a50a19ca..baa1089e6 100644
--- a/packages/core/src/plugin/js/farm-to-vite-config.ts
+++ b/packages/core/src/plugin/js/farm-to-vite-config.ts
@@ -53,7 +53,7 @@ export function farmUserConfigToViteConfig(config: UserConfig): ViteUserConfig {
open: config.server?.open,
watch:
typeof config.server?.hmr === 'object'
- ? config.server.hmr?.watchOptions ?? {}
+ ? (config.server.hmr?.watchOptions ?? {})
: {}
// other options are not supported in farm
},
diff --git a/packages/core/tsconfig.build.json b/packages/core/tsconfig.build.json
index 14d5897b4..0b7f00c3a 100644
--- a/packages/core/tsconfig.build.json
+++ b/packages/core/tsconfig.build.json
@@ -5,7 +5,7 @@
"outDir": "dist",
"composite": true,
"noUnusedLocals": false,
- "noUnusedParameters": false,
+ "noUnusedParameters": false
},
"include": ["src/**/*.ts", "binding/**/*.d.ts"],
"exclude": ["src/**/*.spec.ts"],
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 64740e3aa..e2b9e1996 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -14,8 +14,8 @@ importers:
.:
devDependencies:
'@biomejs/biome':
- specifier: 1.8.3
- version: 1.8.3
+ specifier: 1.9.4
+ version: 1.9.4
'@changesets/cli':
specifier: 2.27.9
version: 2.27.9
@@ -4212,55 +4212,55 @@ packages:
'@better-scroll/wheel@2.5.0':
resolution: {integrity: sha512-+cru8CtMtgGGMv3yOxn33ApbtatOZBVUCa7+X3UqVVyaxi6FbCrcSZCBlXhXpsFhJo1R282O6nQyik6KUidvoA==}
- '@biomejs/biome@1.8.3':
- resolution: {integrity: sha512-/uUV3MV+vyAczO+vKrPdOW0Iaet7UnJMU4bNMinggGJTAnBPjCoLEYcyYtYHNnUNYlv4xZMH6hVIQCAozq8d5w==}
+ '@biomejs/biome@1.9.4':
+ resolution: {integrity: sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==}
engines: {node: '>=14.21.3'}
hasBin: true
- '@biomejs/cli-darwin-arm64@1.8.3':
- resolution: {integrity: sha512-9DYOjclFpKrH/m1Oz75SSExR8VKvNSSsLnVIqdnKexj6NwmiMlKk94Wa1kZEdv6MCOHGHgyyoV57Cw8WzL5n3A==}
+ '@biomejs/cli-darwin-arm64@1.9.4':
+ resolution: {integrity: sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [darwin]
- '@biomejs/cli-darwin-x64@1.8.3':
- resolution: {integrity: sha512-UeW44L/AtbmOF7KXLCoM+9PSgPo0IDcyEUfIoOXYeANaNXXf9mLUwV1GeF2OWjyic5zj6CnAJ9uzk2LT3v/wAw==}
+ '@biomejs/cli-darwin-x64@1.9.4':
+ resolution: {integrity: sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [darwin]
- '@biomejs/cli-linux-arm64-musl@1.8.3':
- resolution: {integrity: sha512-9yjUfOFN7wrYsXt/T/gEWfvVxKlnh3yBpnScw98IF+oOeCYb5/b/+K7YNqKROV2i1DlMjg9g/EcN9wvj+NkMuQ==}
+ '@biomejs/cli-linux-arm64-musl@1.9.4':
+ resolution: {integrity: sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
- '@biomejs/cli-linux-arm64@1.8.3':
- resolution: {integrity: sha512-fed2ji8s+I/m8upWpTJGanqiJ0rnlHOK3DdxsyVLZQ8ClY6qLuPc9uehCREBifRJLl/iJyQpHIRufLDeotsPtw==}
+ '@biomejs/cli-linux-arm64@1.9.4':
+ resolution: {integrity: sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
- '@biomejs/cli-linux-x64-musl@1.8.3':
- resolution: {integrity: sha512-UHrGJX7PrKMKzPGoEsooKC9jXJMa28TUSMjcIlbDnIO4EAavCoVmNQaIuUSH0Ls2mpGMwUIf+aZJv657zfWWjA==}
+ '@biomejs/cli-linux-x64-musl@1.9.4':
+ resolution: {integrity: sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
- '@biomejs/cli-linux-x64@1.8.3':
- resolution: {integrity: sha512-I8G2QmuE1teISyT8ie1HXsjFRz9L1m5n83U1O6m30Kw+kPMPSKjag6QGUn+sXT8V+XWIZxFFBoTDEDZW2KPDDw==}
+ '@biomejs/cli-linux-x64@1.9.4':
+ resolution: {integrity: sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
- '@biomejs/cli-win32-arm64@1.8.3':
- resolution: {integrity: sha512-J+Hu9WvrBevfy06eU1Na0lpc7uR9tibm9maHynLIoAjLZpQU3IW+OKHUtyL8p6/3pT2Ju5t5emReeIS2SAxhkQ==}
+ '@biomejs/cli-win32-arm64@1.9.4':
+ resolution: {integrity: sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [win32]
- '@biomejs/cli-win32-x64@1.8.3':
- resolution: {integrity: sha512-/PJ59vA1pnQeKahemaQf4Nyj7IKUvGQSc3Ze1uIGi+Wvr1xF7rGobSrAAG01T/gUDG21vkDsZYM03NAmPiVkqg==}
+ '@biomejs/cli-win32-x64@1.9.4':
+ resolution: {integrity: sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [win32]
@@ -22188,39 +22188,39 @@ snapshots:
dependencies:
'@better-scroll/core': 2.5.0
- '@biomejs/biome@1.8.3':
+ '@biomejs/biome@1.9.4':
optionalDependencies:
- '@biomejs/cli-darwin-arm64': 1.8.3
- '@biomejs/cli-darwin-x64': 1.8.3
- '@biomejs/cli-linux-arm64': 1.8.3
- '@biomejs/cli-linux-arm64-musl': 1.8.3
- '@biomejs/cli-linux-x64': 1.8.3
- '@biomejs/cli-linux-x64-musl': 1.8.3
- '@biomejs/cli-win32-arm64': 1.8.3
- '@biomejs/cli-win32-x64': 1.8.3
-
- '@biomejs/cli-darwin-arm64@1.8.3':
+ '@biomejs/cli-darwin-arm64': 1.9.4
+ '@biomejs/cli-darwin-x64': 1.9.4
+ '@biomejs/cli-linux-arm64': 1.9.4
+ '@biomejs/cli-linux-arm64-musl': 1.9.4
+ '@biomejs/cli-linux-x64': 1.9.4
+ '@biomejs/cli-linux-x64-musl': 1.9.4
+ '@biomejs/cli-win32-arm64': 1.9.4
+ '@biomejs/cli-win32-x64': 1.9.4
+
+ '@biomejs/cli-darwin-arm64@1.9.4':
optional: true
- '@biomejs/cli-darwin-x64@1.8.3':
+ '@biomejs/cli-darwin-x64@1.9.4':
optional: true
- '@biomejs/cli-linux-arm64-musl@1.8.3':
+ '@biomejs/cli-linux-arm64-musl@1.9.4':
optional: true
- '@biomejs/cli-linux-arm64@1.8.3':
+ '@biomejs/cli-linux-arm64@1.9.4':
optional: true
- '@biomejs/cli-linux-x64-musl@1.8.3':
+ '@biomejs/cli-linux-x64-musl@1.9.4':
optional: true
- '@biomejs/cli-linux-x64@1.8.3':
+ '@biomejs/cli-linux-x64@1.9.4':
optional: true
- '@biomejs/cli-win32-arm64@1.8.3':
+ '@biomejs/cli-win32-arm64@1.9.4':
optional: true
- '@biomejs/cli-win32-x64@1.8.3':
+ '@biomejs/cli-win32-x64@1.9.4':
optional: true
'@bufbuild/protobuf@1.4.1': {}
diff --git a/vitest.workspace.ts b/vitest.workspace.ts
index c2f39de1b..fa17c5793 100644
--- a/vitest.workspace.ts
+++ b/vitest.workspace.ts
@@ -1,7 +1,7 @@
-import { defineWorkspace } from 'vitest/config'
+import { defineWorkspace } from 'vitest/config';
export default defineWorkspace([
- "./vitest.config.e2e.ts",
- "./vitest.config.ts",
- "./examples/vite-adapter-vue-sfc-src/vite.config.ts"
-])
+ './vitest.config.e2e.ts',
+ './vitest.config.ts',
+ './examples/vite-adapter-vue-sfc-src/vite.config.ts'
+]);