From 5588497de5e66a7888af4b46fae0918ce96208f8 Mon Sep 17 00:00:00 2001 From: Kris McGinnes Date: Tue, 13 Oct 2026 15:51:55 -0500 Subject: [PATCH 1/7] Run vp migrate (Vite+ 1.1.0) --- .gitignore | 1 + .oxfmtrc.jsonc | 30 - .oxlintrc.json | 191 --- package.json | 17 +- .../graph-explorer-proxy-server/package.json | 2 +- .../src/app.test.ts | 2 +- .../src/config-pipeline.test.ts | 9 +- .../src/docker-entrypoint.test.ts | 2 +- .../src/env.test.ts | 2 +- .../src/error-handler.test.ts | 2 +- .../src/errors.test.ts | 2 +- .../src/logging.test.ts | 2 +- .../src/paths.test.ts | 2 +- .../src/permitted-db-origins.test.ts | 2 +- .../src/process-environment.test.ts | 2 +- .../src/server-config.test.ts | 2 +- .../src/server-lifecycle.test.ts | 2 +- .../src/server.test.ts | 2 +- .../src/setup-ssl.test.ts | 2 +- .../src/test-setup.ts | 2 +- .../vitest.config.ts | 2 +- packages/graph-explorer/buildTarget.test.ts | 2 +- packages/graph-explorer/package.json | 8 +- .../src/components/Button/Button.test.tsx | 2 +- .../src/components/Button/NavButton.test.tsx | 2 +- .../src/components/CodeEditor.test.tsx | 2 +- .../src/components/Combobox.test.tsx | 2 +- .../EdgePreview/EdgePreview.test.tsx | 2 +- .../EdgePreview/arrowShapes.test.ts | 2 +- .../components/Graph/SelectLayout.test.tsx | 2 +- .../src/components/IconPicker.test.tsx | 2 +- .../src/components/LabelPreview.test.tsx | 2 +- .../src/components/NumberInput.test.tsx | 2 +- .../PersistenceStatusIndicator.test.tsx | 2 +- .../src/components/RouteButton.test.tsx | 2 +- ...hemaDiscoveryBoundary.integration.test.tsx | 2 +- .../SchemaDiscoveryBoundary.test.tsx | 2 +- .../src/components/SelectField.test.tsx | 2 +- .../ExportControl/transformToCsv.test.ts | 2 +- .../ExportControl/transformToJson.test.ts | 2 +- .../src/components/VertexIcon.test.tsx | 2 +- .../VertexSymbol/VertexPreview.test.tsx | 2 +- .../VertexSymbol/VertexSymbol.test.tsx | 2 +- .../VertexSymbol/nodeShapes.test.ts | 2 +- .../numberFormat/numberFormat.test.ts | 2 +- .../src/components/previewLabels.test.ts | 2 +- .../src/connections/activeConnection.test.ts | 2 +- .../connectionFileGoldenFiles.test.ts | 2 +- .../src/connections/defaultConnection.test.ts | 9 +- .../src/connections/legacyConnection.test.ts | 2 +- .../connections/normalizeConnection.test.ts | 2 +- .../connections/parseConnectionFile.test.ts | 2 +- .../connections/saveConnectionToFile.test.ts | 2 +- .../src/connections/types.test.ts | 2 +- .../connections/useActivateConnection.test.ts | 2 +- .../connections/useDeleteConnection.test.ts | 2 +- .../useImportConnectionFile.test.tsx | 2 +- .../src/connector/LoggerConnector.test.ts | 2 +- .../src/connector/emptyExplorer.test.ts | 2 +- .../src/connector/entities/bundle.test.ts | 2 +- .../src/connector/entities/edge.test.ts | 2 +- .../src/connector/entities/entities.test.ts | 2 +- .../src/connector/entities/scalar.test.ts | 2 +- .../src/connector/entities/vertex.test.ts | 2 +- .../connector/fetchDatabaseRequest.test.ts | 9 +- .../src/connector/gremlin/edgeDetails.test.ts | 2 +- .../edgeConnectionsTemplate.test.ts | 2 +- .../fetchEdgeConnections/index.test.ts | 2 +- .../gremlin/fetchNeighbors/index.test.ts | 2 +- .../fetchNeighbors/oneHopTemplate.test.ts | 2 +- .../fetchSchema/edgesSchemaTemplate.test.ts | 2 +- .../gremlin/fetchSchema/index.test.ts | 2 +- .../verticesSchemaTemplate.test.ts | 2 +- .../vertexTypeCountTemplate.test.ts | 2 +- .../src/connector/gremlin/fragments.test.ts | 2 +- .../connector/gremlin/gremlinExplorer.test.ts | 9 +- .../gremlin/keywordSearch/index.test.ts | 2 +- .../keywordSearchTemplate.test.ts | 2 +- .../gremlin/mappers/mapApiEdge.test.ts | 2 +- .../gremlin/mappers/mapApiVertex.test.ts | 2 +- .../gremlin/mappers/mapResults.test.ts | 2 +- .../gremlin/mappers/parseProperty.test.ts | 2 +- .../connector/gremlin/neighborCounts.test.ts | 2 +- .../src/connector/gremlin/splitLabel.test.ts | 2 +- .../connector/gremlin/vertexDetails.test.ts | 2 +- .../connector/openCypher/edgeDetails.test.ts | 2 +- .../edgeConnectionsTemplate.test.ts | 2 +- .../fetchEdgeConnections/index.test.ts | 2 +- .../fetchNeighbors/oneHopTemplate.test.ts | 2 +- .../fetchSchema/edgeSchemaTemplate.test.ts | 2 +- .../openCypher/fetchSchema/index.test.ts | 2 +- .../verticesSchemaTemplate.test.ts | 2 +- .../vertexTypeCountTemplate.test.ts | 2 +- .../connector/openCypher/fragments.test.ts | 2 +- .../keywordSearchTemplate.test.ts | 2 +- .../openCypher/mappers/mapApiEdge.test.ts | 2 +- .../mappers/mapApiProperties.test.ts | 2 +- .../openCypher/mappers/mapApiVertex.test.ts | 2 +- .../openCypher/mappers/mapResults.test.ts | 2 +- .../openCypher/neighborCounts.test.ts | 2 +- .../openCypher/openCypherExplorer.test.ts | 9 +- .../openCypher/vertexDetails.test.ts | 2 +- .../queries/bulkEdgeDetailsQuery.test.ts | 2 +- .../queries/bulkNeighborCountsQuery.test.ts | 2 +- .../queries/bulkVertexDetailsQuery.test.ts | 2 +- .../queries/edgeConnectionsQuery.test.ts | 2 +- .../queries/edgeDetailsQuery.test.ts | 2 +- .../queries/executeUserQuery.test.ts | 2 +- .../queries/fetchEntityDetails.test.ts | 2 +- .../src/connector/queries/helpers.test.ts | 2 +- .../queries/nodeCountByNodeTypeQuery.test.ts | 2 +- .../queries/patchEntityDetails.test.ts | 2 +- .../connector/queries/schemaSyncQuery.test.ts | 2 +- .../src/connector/queries/searchQuery.test.ts | 2 +- .../queries/vertexDetailsQuery.test.ts | 2 +- .../src/connector/queryValueError.test.ts | 2 +- .../connector/representabilityGuard.test.ts | 2 +- .../src/connector/sparql/edgeDetails.test.ts | 2 +- .../blankNodeOneHopNeighborsTemplate.test.ts | 2 +- .../edgeConnectionsTemplate.test.ts | 2 +- .../sparql/fetchEdgeConnections/index.test.ts | 2 +- .../sparql/fetchNeighbors/index.test.ts | 2 +- ...eHopNeighborsBlankNodesIdsTemplate.test.ts | 2 +- .../oneHopNeighborsTemplate.test.ts | 2 +- .../storedBlankNodeNeighborsRequest.test.ts | 2 +- .../sparql/fetchSchema/index.test.ts | 2 +- .../predicatesByClassTemplate.test.ts | 2 +- .../classWithCountsTemplates.test.ts | 2 +- .../connector/sparql/filterHelpers.test.ts | 2 +- .../src/connector/sparql/fragments.test.ts | 2 +- ...keywordSearchBlankNodesIdsTemplate.test.ts | 2 +- .../keywordSearchTemplate.test.ts | 2 +- .../sparql/mappers/mapQuadToEntities.test.ts | 2 +- .../mappers/mapSparqlValueToScalar.test.ts | 2 +- .../connector/sparql/neighborCounts.test.ts | 2 +- .../connector/sparql/parseAndMapQuads.test.ts | 2 +- .../src/connector/sparql/parseEdgeId.test.ts | 2 +- .../src/connector/sparql/rawQuery.test.ts | 2 +- .../connector/sparql/sparqlExplorer.test.ts | 9 +- .../connector/sparql/vertexDetails.test.ts | 2 +- .../connector/testUtils/globalMockFetch.ts | 2 +- .../src/connector/utils/apiUrl.test.ts | 2 +- .../connector/utils/isErrorResponse.test.ts | 2 +- .../connector/utils/warnMissingIds.test.ts | 2 +- .../src/core/AppStatusLoader.test.tsx | 2 +- .../activeConnectionStorage.test.ts | 2 +- .../StateProvider/atomWithLocalForage.test.ts | 2 +- .../StateProvider/displayAttribute.test.ts | 2 +- .../core/StateProvider/displayEdge.test.ts | 2 +- .../StateProvider/displayTypeConfigs.test.ts | 2 +- .../core/StateProvider/displayVertex.test.ts | 2 +- .../StateProvider/edgeConnectionId.test.ts | 2 +- .../core/StateProvider/featureFlags.test.ts | 2 +- .../core/StateProvider/graphStyles.test.ts | 2 +- .../StateProvider/graphViewLayout.test.ts | 2 +- .../graphViewLayoutDefaults.test.ts | 2 +- .../src/core/StateProvider/localDb.test.ts | 10 +- .../StateProvider/migrateUserLayout.test.ts | 2 +- .../StateProvider/migrateUserStyling.test.ts | 2 +- .../src/core/StateProvider/neighbors.test.ts | 2 +- .../persistence/classifyStorageError.test.ts | 2 +- .../persistenceStatusStore.test.ts | 2 +- .../persistence/writeQueue.test.ts | 2 +- .../StateProvider/renderedEntities.test.ts | 2 +- .../StateProvider/safeSessionStorage.test.ts | 2 +- .../src/core/StateProvider/schema.test.ts | 2 +- .../schemaViewLayoutDefaults.test.ts | 2 +- .../core/StateProvider/serializeData.test.ts | 2 +- .../sessionScopedStorage.test.ts | 2 +- .../core/StateProvider/storageAtoms.test.ts | 2 +- .../storedConnectionShapes.test.ts | 2 +- .../core/StateProvider/typeConfigs.test.ts | 2 +- .../core/StateProvider/useResetState.test.ts | 2 +- .../vertexStylesTransform.test.ts | 2 +- .../src/core/connectionLink/matching.test.ts | 2 +- .../core/connectionLink/validation.test.ts | 2 +- .../graph-explorer/src/core/connector.test.ts | 2 +- .../src/core/entities/edge.test.ts | 2 +- .../src/core/entities/entityIdType.test.ts | 2 +- .../src/core/entities/vertex.test.ts | 2 +- .../core/fileEnvelope/fileEnvelope.test.ts | 2 +- .../src/core/fileEnvelope/goldenFiles.test.ts | 2 +- .../src/core/icons/iconGeometry.test.ts | 2 +- .../src/core/icons/iconImageUrl.test.ts | 2 +- .../src/core/icons/iconRegistry.test.ts | 9 +- .../src/core/icons/iconSource.test.ts | 2 +- .../src/core/icons/iconSurfaces.test.tsx | 9 +- .../src/core/icons/svgMarkup.test.ts | 2 +- .../src/core/queryClient.test.ts | 2 +- .../src/core/styling/roundTrip.test.ts | 2 +- .../src/core/styling/sampleStyles.test.ts | 2 +- .../src/core/styling/stylingParser.test.ts | 2 +- .../styling/useStylingImportExport.test.ts | 2 +- .../src/hooks/useAddToGraph.test.ts | 2 +- .../src/hooks/useContextMenuTarget.test.ts | 2 +- .../src/hooks/useEntitiesCounts.test.ts | 2 +- .../src/hooks/useEntityCountFormatter.test.ts | 2 +- .../src/hooks/useExpandNode.test.ts | 2 +- .../useHasVertexBeenAddedToGraph.test.ts | 2 +- .../src/hooks/useNeighborsOptions.test.ts | 2 +- .../src/hooks/usePrevious.test.ts | 2 +- .../src/hooks/useRefreshEntities.test.ts | 2 +- .../src/hooks/useRemoveFromGraph.test.ts | 2 +- .../src/hooks/useSchemaSync.test.ts | 2 +- .../src/hooks/useTextTransform.test.ts | 2 +- .../AvailableConnections.test.tsx | 2 +- .../ConnectionRow.test.tsx | 2 +- .../ConnectionDeleteButton.test.tsx | 2 +- .../ConnectionDetail.test.tsx | 2 +- .../ConnectionDetail/exportConnection.test.ts | 2 +- .../CreateConnection.test.tsx | 2 +- .../connectionFormModel.test.ts | 2 +- .../EntitiesFilter/useFiltersConfig.test.ts | 2 +- .../GraphViewer/ImportGraphButton.test.tsx | 2 +- .../modules/GraphViewer/exportedGraph.test.ts | 9 +- .../GraphViewer/useBackgroundImageMap.test.ts | 9 +- .../GraphViewer/useGraphSelection.test.ts | 2 +- .../GraphViewer/useGraphStyles.test.tsx | 2 +- .../SchemaGraph/SchemaGraphToolbar.test.tsx | 2 +- .../SchemaGraph/Sidebar/Details.test.tsx | 2 +- .../Sidebar/SchemaExplorerSidebar.test.tsx | 2 +- .../Sidebar/schemaViewLayout.test.ts | 2 +- .../schemaViewLayoutAlgorithm.test.ts | 2 +- .../toSchemaGraphSelection.test.ts | 2 +- .../QuerySearchTabContent.test.tsx | 2 +- .../useEdgeAttributesAsScalars.test.ts | 2 +- .../SearchSidebar/useKeywordSearch.test.ts | 2 +- .../useVertexAttributesAsScalars.test.ts | 2 +- .../StyleImport/LoadStylesButton.test.tsx | 2 +- .../StyleImport/styleImportPlan.test.ts | 2 +- .../StyleImport/styleImportView.test.ts | 2 +- .../StyleImport/useApplyStyleImport.test.ts | 2 +- .../src/modules/Styles/Styles.test.tsx | 2 +- .../src/routes/Connect/Connect.test.tsx | 2 +- .../routes/Connections/Connections.test.tsx | 9 +- .../routes/DataExplorer/DataExplorer.test.tsx | 2 +- .../Settings/ResetStylesButton.test.tsx | 2 +- .../routes/Settings/SaveStylesButton.test.tsx | 2 +- packages/graph-explorer/src/setupTests.ts | 2 +- .../src/utils/DatabaseTimeoutError.test.ts | 2 +- .../src/utils/FetchTimeoutError.test.ts | 2 +- .../src/utils/NetworkError.test.ts | 2 +- .../src/utils/ServerConnectionError.test.ts | 2 +- .../src/utils/createDisplayError.test.ts | 2 +- .../src/utils/createErrorDetails.test.ts | 2 +- .../src/utils/extractErrorMessage.test.ts | 2 +- .../graph-explorer/src/utils/fileData.test.ts | 2 +- .../src/utils/isCancellationError.test.ts | 2 +- .../graph-explorer/src/utils/logger.test.ts | 2 +- .../src/utils/lucideIcons.test.ts | 2 +- .../src/utils/mapWithConcurrency.test.ts | 2 +- .../src/utils/rdf/PrefixLookup.test.ts | 2 +- .../src/utils/rdf/commonPrefixes.test.ts | 2 +- .../src/utils/rdf/generatePrefix.test.ts | 2 +- .../src/utils/rdf/generatePrefixes.test.ts | 2 +- .../src/utils/rdf/replacePrefixes.test.ts | 2 +- .../src/utils/rdf/splitIri.test.ts | 2 +- .../src/utils/sanitizeQuery.test.ts | 2 +- .../src/utils/setHelpers.test.ts | 2 +- .../src/utils/testing/createMockExplorer.ts | 2 +- .../utils/testing/exportConnectionFileText.ts | 2 +- .../utils/testing/mockVirtualizedLayout.ts | 2 +- .../src/utils/testing/persistence.test.ts | 2 +- .../utils/testing/preloadSavedConnection.ts | 2 +- .../src/utils/testing/requestSentTo.ts | 2 +- .../src/utils/testing/waitForValueToChange.ts | 2 +- .../src/utils/typedEntries.test.ts | 2 +- packages/graph-explorer/vite.config.ts | 8 +- packages/shared/package.json | 2 +- packages/shared/vitest.config.ts | 2 +- pnpm-lock.yaml | 1231 +++++++++++++++-- pnpm-workspace.yaml | 20 + vite.config.ts | 247 ++++ vitest.config.ts | 2 +- 274 files changed, 1725 insertions(+), 643 deletions(-) delete mode 100644 .oxfmtrc.jsonc delete mode 100644 .oxlintrc.json create mode 100644 vite.config.ts diff --git a/.gitignore b/.gitignore index de16d9b6d5..1ad3844282 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ plans/ # Local dev default-connection fixture, generated per-environment at runtime **/defaultConnection.json +.vitest/ diff --git a/.oxfmtrc.jsonc b/.oxfmtrc.jsonc deleted file mode 100644 index 7b077c191d..0000000000 --- a/.oxfmtrc.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "./node_modules/oxfmt/configuration_schema.json", - "printWidth": 80, - "arrowParens": "avoid", - "proseWrap": "never", - // Skills are vendored verbatim from upstream — format them and every sync - // diff fills with our own reformatting instead of real changes. Everything - // else under the agent directories is ours, and is formatted normally. - "ignorePatterns": [ - "pnpm-lock.yaml", - ".agents/skills/", - ".claude/skills/", - ".codex/skills/", - ".kiro/skills/", - ], - "sortImports": { - "groups": [ - "type-import", - ["value-builtin", "value-external"], - "type-internal", - "value-internal", - ["type-parent", "type-sibling", "type-index"], - ["value-parent", "value-sibling", "value-index"], - "unknown", - ], - }, - "sortTailwindcss": { - "functions": ["cva", "cn"], - }, -} diff --git a/.oxlintrc.json b/.oxlintrc.json deleted file mode 100644 index e053d7ccc5..0000000000 --- a/.oxlintrc.json +++ /dev/null @@ -1,191 +0,0 @@ -{ - "$schema": "./node_modules/oxlint/configuration_schema.json", - "plugins": [ - "eslint", - "oxc", - "typescript", - "unicorn", - "import", - "vitest", - "promise" - ], - "options": { - "typeAware": true - }, - "categories": { - "correctness": "error" - }, - "env": { - "builtin": true - }, - "ignorePatterns": ["**/*.config.{js,ts,mjs}", ".claude/"], - "rules": { - "vitest/require-mock-type-parameters": "off", - "vitest/expect-expect": [ - "error", - { - "assertFunctionNames": ["expect", "expectRoundTrip"] - } - ], - "jest/require-to-throw-message": "off", - "jest/valid-expect": "off", - "typescript/unbound-method": "off", - "typescript/no-floating-promises": "off", - "no-unused-vars": [ - "error", - { - "argsIgnorePattern": "^_", - "varsIgnorePattern": "^_", - "caughtErrorsIgnorePattern": "^_" - } - ], - "no-console": ["error", { "allow": ["warn", "error"] }], - "typescript/consistent-type-imports": [ - "error", - { "fixStyle": "inline-type-imports" } - ], - "typescript/no-import-type-side-effects": "error", - "typescript/switch-exhaustiveness-check": "error", - "no-case-declarations": "error", - "no-empty": "error", - "no-fallthrough": "error", - "no-prototype-builtins": "error", - "no-redeclare": "error", - "no-regex-spaces": "error", - "preserve-caught-error": "error", - "no-array-constructor": "error", - "typescript/ban-ts-comment": "error", - "typescript/no-empty-object-type": "error", - "typescript/no-namespace": "error", - "typescript/no-require-imports": "error", - "typescript/no-unnecessary-type-constraint": "error", - "typescript/no-unsafe-function-type": "error", - "typescript/no-unnecessary-type-assertion": "error", - "typescript/no-unsafe-enum-comparison": "error", - "typescript/only-throw-error": "error", - "typescript/prefer-promise-reject-errors": "error", - "typescript/require-await": "error", - "typescript/restrict-plus-operands": "error" - }, - "overrides": [ - { - "files": ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"], - "rules": { - "constructor-super": "off", - "no-class-assign": "off", - "no-const-assign": "off", - "no-dupe-class-members": "off", - "no-dupe-keys": "off", - "no-func-assign": "off", - "no-import-assign": "off", - "no-new-native-nonconstructor": "off", - "no-obj-calls": "off", - "no-redeclare": "off", - "no-setter-return": "off", - "no-this-before-super": "off", - "no-unsafe-negation": "off", - "no-var": "error", - "no-with": "off", - "prefer-const": "error", - "prefer-rest-params": "error", - "prefer-spread": "error" - } - }, - { - "files": ["packages/graph-explorer/**/*.{ts,tsx}"], - "plugins": ["react", "react-perf", "jsx-a11y"], - "jsPlugins": [ - "@tanstack/eslint-plugin-query", - { "name": "react-compiler", "specifier": "eslint-plugin-react-hooks" } - ], - "env": { "browser": true }, - "rules": { - "react/display-name": "off", - "react/no-unsafe": "error", - "react/react-in-jsx-scope": "off", - "jsx-a11y/no-autofocus": "off", - "jsx-a11y/click-events-have-key-events": "off", - "jsx-a11y/no-static-element-interactions": "off", - "jsx-a11y/mouse-events-have-key-events": "off", - "react-compiler/rules-of-hooks": "off", - "react-compiler/exhaustive-deps": "off", - "react-compiler/config": "error", - "react-compiler/error-boundaries": "error", - "react-compiler/gating": "error", - "react-compiler/globals": "error", - "react-compiler/immutability": "error", - "react-compiler/incompatible-library": "warn", - "react-compiler/preserve-manual-memoization": "error", - "react-compiler/purity": "error", - "react-compiler/refs": "error", - "react-compiler/set-state-in-effect": "error", - "react-compiler/set-state-in-render": "error", - "react-compiler/static-components": "error", - "react-compiler/unsupported-syntax": "warn", - "react-compiler/use-memo": "error", - "react/jsx-key": "error", - "react/jsx-no-duplicate-props": "error", - "react/jsx-no-undef": "error", - "react/no-children-prop": "error", - "react/no-danger-with-children": "error", - "react/no-direct-mutation-state": "error", - "react/no-find-dom-node": "error", - "react/no-is-mounted": "error", - "react/no-render-return-value": "error", - "react/no-string-refs": "error", - "react/jsx-no-comment-textnodes": "error", - "react/jsx-no-target-blank": "error", - "react/no-unescaped-entities": "error", - "react/no-unknown-property": "error", - "react/jsx-curly-brace-presence": "error", - "react/rules-of-hooks": "error", - "react/exhaustive-deps": "warn", - "@tanstack/query/exhaustive-deps": "error", - "@tanstack/query/no-rest-destructuring": "warn", - "@tanstack/query/stable-query-client": "error", - "@tanstack/query/no-unstable-deps": "error", - "@tanstack/query/infinite-query-property-order": "error", - "@tanstack/query/no-void-query-fn": "error", - "@tanstack/query/mutation-property-order": "error" - } - }, - { - "files": ["packages/graph-explorer-proxy-server/**/*.{ts,js}"], - "plugins": ["node"], - "env": { "node": true } - }, - { - "files": ["packages/graph-explorer/src/**/*.{ts,tsx}"], - "excludeFiles": ["packages/graph-explorer/src/connections/**"], - "rules": { - "no-restricted-imports": [ - "error", - { - "patterns": [ - { - "group": ["@/connections/*", "@/connections/**"], - "message": "Import from the connections module barrel (@/connections), not its internals. The barrel is the module's interface." - } - ] - } - ] - } - }, - { - "files": ["packages/graph-explorer/src/connections/**/*.{ts,tsx}"], - "rules": { - "no-restricted-imports": [ - "error", - { - "patterns": [ - { - "group": ["@/core"], - "message": "Import a specific core path (e.g. @/core/StateProvider), not the @/core barrel, from inside the connections module." - } - ] - } - ] - } - } - ] -} diff --git a/package.json b/package.json index a1bdb96aec..7c8a29e378 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,12 @@ "type": "module", "scripts": { "prepare": "husky", - "lint": "oxlint --fix", - "check:lint": "oxlint", - "format": "oxfmt", - "check:format": "oxfmt --check", - "test": "vitest run", - "test:watch": "vitest", + "lint": "vp lint --fix", + "check:lint": "vp lint", + "format": "vp fmt", + "check:format": "vp fmt --check", + "test": "vp test run", + "test:watch": "vp test", "check:types": "pnpm -r --include-workspace-root --parallel --stream run typecheck", "typecheck": "tsc --noEmit", "checks": "pnpm run check:lint && pnpm run check:format && pnpm run check:types", @@ -30,11 +30,8 @@ "fast-check": "^4.10.2", "husky": "^9.1.7", "lint-staged": "^17.6.0", - "oxfmt": "0.72.0", - "oxlint": "1.87.0", - "oxlint-tsgolint": "7.0.2004", "typescript": "^7.0.2", - "vitest": "5.0.4" + "vite-plus": "catalog:" }, "lint-staged": { "!(**/*.{js,ts,tsx})": "oxfmt --no-error-on-unmatched-pattern", diff --git a/packages/graph-explorer-proxy-server/package.json b/packages/graph-explorer-proxy-server/package.json index 02d85daabf..54156a37e6 100644 --- a/packages/graph-explorer-proxy-server/package.json +++ b/packages/graph-explorer-proxy-server/package.json @@ -35,6 +35,6 @@ "@types/node": "^24.19.2", "@types/supertest": "^7.2.1", "supertest": "^7.3.1", - "vitest": "5.0.4" + "vite-plus": "catalog:" } } diff --git a/packages/graph-explorer-proxy-server/src/app.test.ts b/packages/graph-explorer-proxy-server/src/app.test.ts index a2ac519239..4654dda301 100644 --- a/packages/graph-explorer-proxy-server/src/app.test.ts +++ b/packages/graph-explorer-proxy-server/src/app.test.ts @@ -11,7 +11,7 @@ import { it, type MockInstance, vi, -} from "vitest"; +} from "vite-plus/test"; import { createApp, resolveEndpointUrl } from "./app.ts"; import { createLogger } from "./logging.ts"; diff --git a/packages/graph-explorer-proxy-server/src/config-pipeline.test.ts b/packages/graph-explorer-proxy-server/src/config-pipeline.test.ts index ab5d3a4789..85bd3e98a4 100644 --- a/packages/graph-explorer-proxy-server/src/config-pipeline.test.ts +++ b/packages/graph-explorer-proxy-server/src/config-pipeline.test.ts @@ -1,7 +1,14 @@ import dotenv from "dotenv"; import fs from "fs"; import path from "path"; -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { + afterEach, + beforeEach, + describe, + expect, + it, + vi, +} from "vite-plus/test"; import { type EnvironmentValues, parseEnvironmentValues } from "./env.ts"; import { proxyServerRoot } from "./paths.ts"; diff --git a/packages/graph-explorer-proxy-server/src/docker-entrypoint.test.ts b/packages/graph-explorer-proxy-server/src/docker-entrypoint.test.ts index ab9c57a504..94016e5b3b 100644 --- a/packages/graph-explorer-proxy-server/src/docker-entrypoint.test.ts +++ b/packages/graph-explorer-proxy-server/src/docker-entrypoint.test.ts @@ -1,6 +1,6 @@ import fs from "fs"; import path from "path"; -import { afterEach, beforeEach, describe, expect, it } from "vitest"; +import { afterEach, beforeEach, describe, expect, it } from "vite-plus/test"; import { createEntrypointWorkDir, diff --git a/packages/graph-explorer-proxy-server/src/env.test.ts b/packages/graph-explorer-proxy-server/src/env.test.ts index dc87f11eeb..eff92a838a 100644 --- a/packages/graph-explorer-proxy-server/src/env.test.ts +++ b/packages/graph-explorer-proxy-server/src/env.test.ts @@ -1,4 +1,4 @@ -import { beforeEach, describe, expect, it, vi } from "vitest"; +import { beforeEach, describe, expect, it, vi } from "vite-plus/test"; import { parseEnvironmentValues } from "./env.ts"; diff --git a/packages/graph-explorer-proxy-server/src/error-handler.test.ts b/packages/graph-explorer-proxy-server/src/error-handler.test.ts index 7c451524f3..9ddfcadc48 100644 --- a/packages/graph-explorer-proxy-server/src/error-handler.test.ts +++ b/packages/graph-explorer-proxy-server/src/error-handler.test.ts @@ -1,6 +1,6 @@ import type { Response } from "express"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { errorHandlingMiddleware, extractErrorInfo } from "./error-handler.ts"; import { HttpError } from "./errors.ts"; diff --git a/packages/graph-explorer-proxy-server/src/errors.test.ts b/packages/graph-explorer-proxy-server/src/errors.test.ts index 1994b667e5..5c2c74e4d2 100644 --- a/packages/graph-explorer-proxy-server/src/errors.test.ts +++ b/packages/graph-explorer-proxy-server/src/errors.test.ts @@ -1,4 +1,4 @@ -import { assert, describe, expect, it } from "vitest"; +import { assert, describe, expect, it } from "vite-plus/test"; import { z } from "zod"; import { HttpError, RequestValidationError } from "./errors.ts"; diff --git a/packages/graph-explorer-proxy-server/src/logging.test.ts b/packages/graph-explorer-proxy-server/src/logging.test.ts index aaacbe5583..6e7b8bedcb 100644 --- a/packages/graph-explorer-proxy-server/src/logging.test.ts +++ b/packages/graph-explorer-proxy-server/src/logging.test.ts @@ -1,6 +1,6 @@ import type { Response } from "express"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { createLogger, diff --git a/packages/graph-explorer-proxy-server/src/paths.test.ts b/packages/graph-explorer-proxy-server/src/paths.test.ts index a4c549148d..957427bc8e 100644 --- a/packages/graph-explorer-proxy-server/src/paths.test.ts +++ b/packages/graph-explorer-proxy-server/src/paths.test.ts @@ -1,6 +1,6 @@ import fs from "fs"; import path from "path"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { clientRoot, isDirectory, proxyServerRoot } from "./paths.ts"; diff --git a/packages/graph-explorer-proxy-server/src/permitted-db-origins.test.ts b/packages/graph-explorer-proxy-server/src/permitted-db-origins.test.ts index 8b646c9d52..cd90e10f5d 100644 --- a/packages/graph-explorer-proxy-server/src/permitted-db-origins.test.ts +++ b/packages/graph-explorer-proxy-server/src/permitted-db-origins.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { HttpError } from "./errors.ts"; import { assertPermittedDbOrigin } from "./permitted-db-origins.ts"; diff --git a/packages/graph-explorer-proxy-server/src/process-environment.test.ts b/packages/graph-explorer-proxy-server/src/process-environment.test.ts index a67f7c1f6e..aa0d4b8ac2 100644 --- a/packages/graph-explorer-proxy-server/src/process-environment.test.ts +++ b/packages/graph-explorer-proxy-server/src/process-environment.test.ts @@ -2,7 +2,7 @@ import { execFileSync } from "child_process"; import fs from "fs"; import os from "os"; import path from "path"; -import { afterEach, beforeEach, describe, expect, it } from "vitest"; +import { afterEach, beforeEach, describe, expect, it } from "vite-plus/test"; const scriptPath = path.resolve( import.meta.dirname, diff --git a/packages/graph-explorer-proxy-server/src/server-config.test.ts b/packages/graph-explorer-proxy-server/src/server-config.test.ts index ed76524885..8615b571e6 100644 --- a/packages/graph-explorer-proxy-server/src/server-config.test.ts +++ b/packages/graph-explorer-proxy-server/src/server-config.test.ts @@ -1,6 +1,6 @@ import fs from "fs"; import path from "path"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { clientRoot, proxyServerRoot } from "./paths.ts"; import { buildBaseUrl, resolveServerConfig } from "./server-config.ts"; diff --git a/packages/graph-explorer-proxy-server/src/server-lifecycle.test.ts b/packages/graph-explorer-proxy-server/src/server-lifecycle.test.ts index fd0357f2ce..b97c04f7f0 100644 --- a/packages/graph-explorer-proxy-server/src/server-lifecycle.test.ts +++ b/packages/graph-explorer-proxy-server/src/server-lifecycle.test.ts @@ -1,4 +1,4 @@ -import { afterEach, describe, expect, it, vi } from "vitest"; +import { afterEach, describe, expect, it, vi } from "vite-plus/test"; import { attachGracefulShutdown, diff --git a/packages/graph-explorer-proxy-server/src/server.test.ts b/packages/graph-explorer-proxy-server/src/server.test.ts index ba2b899af2..0bf909f0a2 100644 --- a/packages/graph-explorer-proxy-server/src/server.test.ts +++ b/packages/graph-explorer-proxy-server/src/server.test.ts @@ -4,7 +4,7 @@ import fs from "fs"; import https from "https"; import os from "os"; import path from "path"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createServer } from "./server.ts"; diff --git a/packages/graph-explorer-proxy-server/src/setup-ssl.test.ts b/packages/graph-explorer-proxy-server/src/setup-ssl.test.ts index 25d0924229..f37e2e01f5 100644 --- a/packages/graph-explorer-proxy-server/src/setup-ssl.test.ts +++ b/packages/graph-explorer-proxy-server/src/setup-ssl.test.ts @@ -2,7 +2,7 @@ import { execFileSync } from "child_process"; import fs from "fs"; import os from "os"; import path from "path"; -import { afterEach, beforeEach, describe, expect, it } from "vitest"; +import { afterEach, beforeEach, describe, expect, it } from "vite-plus/test"; const scriptPath = path.resolve(import.meta.dirname, "../../../setup-ssl.sh"); const certInfoDir = path.resolve(import.meta.dirname, "../cert-info"); diff --git a/packages/graph-explorer-proxy-server/src/test-setup.ts b/packages/graph-explorer-proxy-server/src/test-setup.ts index 125d7e516b..85c7d3ee7a 100644 --- a/packages/graph-explorer-proxy-server/src/test-setup.ts +++ b/packages/graph-explorer-proxy-server/src/test-setup.ts @@ -10,7 +10,7 @@ * * DO NOT remove these mocks without understanding the security implications. */ -import { vi } from "vitest"; +import { vi } from "vite-plus/test"; vi.mock("@aws-sdk/credential-providers", () => ({ fromNodeProviderChain: () => () => diff --git a/packages/graph-explorer-proxy-server/vitest.config.ts b/packages/graph-explorer-proxy-server/vitest.config.ts index 4b72f29640..a3f7a2dce7 100644 --- a/packages/graph-explorer-proxy-server/vitest.config.ts +++ b/packages/graph-explorer-proxy-server/vitest.config.ts @@ -1,4 +1,4 @@ -import { defineConfig } from "vitest/config"; +import { defineConfig } from "vite-plus"; export default defineConfig({ test: { diff --git a/packages/graph-explorer/buildTarget.test.ts b/packages/graph-explorer/buildTarget.test.ts index c0e2143a2b..0b13b620a5 100644 --- a/packages/graph-explorer/buildTarget.test.ts +++ b/packages/graph-explorer/buildTarget.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { browserslistBuildTarget, toBuildTarget } from "./buildTarget"; diff --git a/packages/graph-explorer/package.json b/packages/graph-explorer/package.json index 38f7485d71..6388202dab 100644 --- a/packages/graph-explorer/package.json +++ b/packages/graph-explorer/package.json @@ -7,9 +7,9 @@ "type": "module", "scripts": { "typecheck": "tsc --noEmit", - "dev": "vite --force", + "dev": "vp dev --force", "clean": "rimraf dist", - "vite-build": "NODE_OPTIONS=--max_old_space_size=6144 vite build", + "vite-build": "NODE_OPTIONS=--max_old_space_size=6144 vp build", "build": "pnpm vite-build -- --mode production" }, "dependencies": { @@ -88,8 +88,8 @@ "tailwindcss": "^4.3.3", "tw-animate-css": "^1.4.0", "type-fest": "^5.10.0", - "vite": "^8.3.4", - "vitest": "5.0.4" + "vite": "catalog:", + "vite-plus": "catalog:" }, "engines": { "node": ">=24.21.0" diff --git a/packages/graph-explorer/src/components/Button/Button.test.tsx b/packages/graph-explorer/src/components/Button/Button.test.tsx index bec92e72ad..59e3672920 100644 --- a/packages/graph-explorer/src/components/Button/Button.test.tsx +++ b/packages/graph-explorer/src/components/Button/Button.test.tsx @@ -4,7 +4,7 @@ import type { PropsWithChildren } from "react"; import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { TooltipProvider } from "../Tooltip"; import { Button, stopPropagation } from "./Button"; diff --git a/packages/graph-explorer/src/components/Button/NavButton.test.tsx b/packages/graph-explorer/src/components/Button/NavButton.test.tsx index 892deb009e..837a03b8c1 100644 --- a/packages/graph-explorer/src/components/Button/NavButton.test.tsx +++ b/packages/graph-explorer/src/components/Button/NavButton.test.tsx @@ -3,7 +3,7 @@ import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { MemoryRouter, useLocation } from "react-router"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { NavButton } from "./NavButton"; diff --git a/packages/graph-explorer/src/components/CodeEditor.test.tsx b/packages/graph-explorer/src/components/CodeEditor.test.tsx index 65e9efd74b..296fe5bfd0 100644 --- a/packages/graph-explorer/src/components/CodeEditor.test.tsx +++ b/packages/graph-explorer/src/components/CodeEditor.test.tsx @@ -3,7 +3,7 @@ import type { EditorProps, Monaco } from "@monaco-editor/react"; import { render } from "@testing-library/react"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { CodeEditor } from "./CodeEditor"; diff --git a/packages/graph-explorer/src/components/Combobox.test.tsx b/packages/graph-explorer/src/components/Combobox.test.tsx index 926dd1bc00..d54d9b1a1e 100644 --- a/packages/graph-explorer/src/components/Combobox.test.tsx +++ b/packages/graph-explorer/src/components/Combobox.test.tsx @@ -11,7 +11,7 @@ import { render, fireEvent, waitFor } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import { describe, it, expect, beforeEach, vi } from "vitest"; +import { describe, it, expect, beforeEach, vi } from "vite-plus/test"; import { mockVirtualizedLayout } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/components/EdgePreview/EdgePreview.test.tsx b/packages/graph-explorer/src/components/EdgePreview/EdgePreview.test.tsx index 6ddd2d6770..cbc8d2ebdf 100644 --- a/packages/graph-explorer/src/components/EdgePreview/EdgePreview.test.tsx +++ b/packages/graph-explorer/src/components/EdgePreview/EdgePreview.test.tsx @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { render, screen } from "@testing-library/react"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { appDefaultEdgeStyle, createEdgeType, type EdgeStyle } from "@/core"; diff --git a/packages/graph-explorer/src/components/EdgePreview/arrowShapes.test.ts b/packages/graph-explorer/src/components/EdgePreview/arrowShapes.test.ts index 3d883a320f..dcc9595dea 100644 --- a/packages/graph-explorer/src/components/EdgePreview/arrowShapes.test.ts +++ b/packages/graph-explorer/src/components/EdgePreview/arrowShapes.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { ARROW_STYLES, type ArrowStyle } from "@/core"; diff --git a/packages/graph-explorer/src/components/Graph/SelectLayout.test.tsx b/packages/graph-explorer/src/components/Graph/SelectLayout.test.tsx index a5507bb216..e0b0c50311 100644 --- a/packages/graph-explorer/src/components/Graph/SelectLayout.test.tsx +++ b/packages/graph-explorer/src/components/Graph/SelectLayout.test.tsx @@ -2,7 +2,7 @@ import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { atom, createStore, Provider } from "jotai"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import type { LayoutName } from "@/core/graphLayout"; diff --git a/packages/graph-explorer/src/components/IconPicker.test.tsx b/packages/graph-explorer/src/components/IconPicker.test.tsx index db54084567..e92c23b81e 100644 --- a/packages/graph-explorer/src/components/IconPicker.test.tsx +++ b/packages/graph-explorer/src/components/IconPicker.test.tsx @@ -4,7 +4,7 @@ import type { ComponentProps } from "react"; import { render, screen, waitFor } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { IconPicker } from "./IconPicker"; import { TooltipProvider } from "./Tooltip"; diff --git a/packages/graph-explorer/src/components/LabelPreview.test.tsx b/packages/graph-explorer/src/components/LabelPreview.test.tsx index a92eec2f73..ced1efa5c5 100644 --- a/packages/graph-explorer/src/components/LabelPreview.test.tsx +++ b/packages/graph-explorer/src/components/LabelPreview.test.tsx @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { render, screen } from "@testing-library/react"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { appDefaultNodeLabelStyle, type LabelVisualStyle } from "@/core"; diff --git a/packages/graph-explorer/src/components/NumberInput.test.tsx b/packages/graph-explorer/src/components/NumberInput.test.tsx index 4263d6f4f0..9b5c2090bf 100644 --- a/packages/graph-explorer/src/components/NumberInput.test.tsx +++ b/packages/graph-explorer/src/components/NumberInput.test.tsx @@ -2,7 +2,7 @@ import { fireEvent, render, screen } from "@testing-library/react"; import { useDeferredValue, useState } from "react"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { NumberInput } from "./NumberInput"; diff --git a/packages/graph-explorer/src/components/PersistenceStatusIndicator/PersistenceStatusIndicator.test.tsx b/packages/graph-explorer/src/components/PersistenceStatusIndicator/PersistenceStatusIndicator.test.tsx index c03ee898c5..f7f5b18d4a 100644 --- a/packages/graph-explorer/src/components/PersistenceStatusIndicator/PersistenceStatusIndicator.test.tsx +++ b/packages/graph-explorer/src/components/PersistenceStatusIndicator/PersistenceStatusIndicator.test.tsx @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { act, render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import { afterEach, describe, expect, test } from "vitest"; +import { afterEach, describe, expect, test } from "vite-plus/test"; import { TooltipProvider } from "@/components"; import { persistenceStatusStore } from "@/core/StateProvider/persistence"; diff --git a/packages/graph-explorer/src/components/RouteButton.test.tsx b/packages/graph-explorer/src/components/RouteButton.test.tsx index 7f7ca08b30..8b43e15d58 100644 --- a/packages/graph-explorer/src/components/RouteButton.test.tsx +++ b/packages/graph-explorer/src/components/RouteButton.test.tsx @@ -4,7 +4,7 @@ import type { PropsWithChildren } from "react"; import { render, screen, within } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { MemoryRouter, useLocation } from "react-router"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { RouteButtonGroup } from "./RouteButton"; import { TooltipProvider } from "./Tooltip"; diff --git a/packages/graph-explorer/src/components/SchemaDiscoveryBoundary.integration.test.tsx b/packages/graph-explorer/src/components/SchemaDiscoveryBoundary.integration.test.tsx index 2da6373632..59c4e5e029 100644 --- a/packages/graph-explorer/src/components/SchemaDiscoveryBoundary.integration.test.tsx +++ b/packages/graph-explorer/src/components/SchemaDiscoveryBoundary.integration.test.tsx @@ -1,6 +1,6 @@ // @vitest-environment happy-dom import { render, screen, waitFor } from "@testing-library/react"; -import { beforeEach, describe, expect, test } from "vitest"; +import { beforeEach, describe, expect, test } from "vite-plus/test"; import { getAppStore, schemaAtom } from "@/core"; import { createQueryClient } from "@/core/queryClient"; diff --git a/packages/graph-explorer/src/components/SchemaDiscoveryBoundary.test.tsx b/packages/graph-explorer/src/components/SchemaDiscoveryBoundary.test.tsx index f246d6267a..46c10b2a57 100644 --- a/packages/graph-explorer/src/components/SchemaDiscoveryBoundary.test.tsx +++ b/packages/graph-explorer/src/components/SchemaDiscoveryBoundary.test.tsx @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { render, screen } from "@testing-library/react"; import { MemoryRouter } from "react-router"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { SchemaDiscoveryBoundary } from "./SchemaDiscoveryBoundary"; diff --git a/packages/graph-explorer/src/components/SelectField.test.tsx b/packages/graph-explorer/src/components/SelectField.test.tsx index 31e28d3d37..86a39c2a2b 100644 --- a/packages/graph-explorer/src/components/SelectField.test.tsx +++ b/packages/graph-explorer/src/components/SelectField.test.tsx @@ -1,6 +1,6 @@ // @vitest-environment happy-dom import { render, screen } from "@testing-library/react"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import SelectField from "./SelectField"; diff --git a/packages/graph-explorer/src/components/Tabular/controls/ExportControl/transformToCsv.test.ts b/packages/graph-explorer/src/components/Tabular/controls/ExportControl/transformToCsv.test.ts index 35f9d05a51..4d86a6b63b 100644 --- a/packages/graph-explorer/src/components/Tabular/controls/ExportControl/transformToCsv.test.ts +++ b/packages/graph-explorer/src/components/Tabular/controls/ExportControl/transformToCsv.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { stripCommonIndent } from "@/utils"; import { LABELS } from "@/utils/constants"; diff --git a/packages/graph-explorer/src/components/Tabular/controls/ExportControl/transformToJson.test.ts b/packages/graph-explorer/src/components/Tabular/controls/ExportControl/transformToJson.test.ts index 2b248e2ba8..d07f939ebf 100644 --- a/packages/graph-explorer/src/components/Tabular/controls/ExportControl/transformToJson.test.ts +++ b/packages/graph-explorer/src/components/Tabular/controls/ExportControl/transformToJson.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { TabularColumnInstance } from "@/components/Tabular/helpers/tableInstanceToTabularInstance"; diff --git a/packages/graph-explorer/src/components/VertexIcon.test.tsx b/packages/graph-explorer/src/components/VertexIcon.test.tsx index 665dfbd7b1..4c86ee6c9b 100644 --- a/packages/graph-explorer/src/components/VertexIcon.test.tsx +++ b/packages/graph-explorer/src/components/VertexIcon.test.tsx @@ -1,7 +1,7 @@ // @vitest-environment jsdom import { render, screen, waitFor } from "@testing-library/react"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { appDefaultVertexStyle, diff --git a/packages/graph-explorer/src/components/VertexSymbol/VertexPreview.test.tsx b/packages/graph-explorer/src/components/VertexSymbol/VertexPreview.test.tsx index 151be90809..302ab111c5 100644 --- a/packages/graph-explorer/src/components/VertexSymbol/VertexPreview.test.tsx +++ b/packages/graph-explorer/src/components/VertexSymbol/VertexPreview.test.tsx @@ -2,7 +2,7 @@ import { QueryClient } from "@tanstack/react-query"; import { render, screen, waitFor } from "@testing-library/react"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { TextTransformer } from "@/hooks"; diff --git a/packages/graph-explorer/src/components/VertexSymbol/VertexSymbol.test.tsx b/packages/graph-explorer/src/components/VertexSymbol/VertexSymbol.test.tsx index d026697c87..a7033478f6 100644 --- a/packages/graph-explorer/src/components/VertexSymbol/VertexSymbol.test.tsx +++ b/packages/graph-explorer/src/components/VertexSymbol/VertexSymbol.test.tsx @@ -1,7 +1,7 @@ // @vitest-environment jsdom import { render, screen, waitFor } from "@testing-library/react"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { appDefaultVertexStyle, diff --git a/packages/graph-explorer/src/components/VertexSymbol/nodeShapes.test.ts b/packages/graph-explorer/src/components/VertexSymbol/nodeShapes.test.ts index 76baeabdc2..5b574ae23a 100644 --- a/packages/graph-explorer/src/components/VertexSymbol/nodeShapes.test.ts +++ b/packages/graph-explorer/src/components/VertexSymbol/nodeShapes.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { resolveShapeGeometry } from "./nodeShapes"; diff --git a/packages/graph-explorer/src/components/numberFormat/numberFormat.test.ts b/packages/graph-explorer/src/components/numberFormat/numberFormat.test.ts index 016e6efc01..0d8b847e19 100644 --- a/packages/graph-explorer/src/components/numberFormat/numberFormat.test.ts +++ b/packages/graph-explorer/src/components/numberFormat/numberFormat.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { toHumanString } from "./numberFormat"; diff --git a/packages/graph-explorer/src/components/previewLabels.test.ts b/packages/graph-explorer/src/components/previewLabels.test.ts index 36d170e8ed..2270a554ce 100644 --- a/packages/graph-explorer/src/components/previewLabels.test.ts +++ b/packages/graph-explorer/src/components/previewLabels.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { appDefaultEdgeStyle, diff --git a/packages/graph-explorer/src/connections/activeConnection.test.ts b/packages/graph-explorer/src/connections/activeConnection.test.ts index 166933ebc0..e3a14093b4 100644 --- a/packages/graph-explorer/src/connections/activeConnection.test.ts +++ b/packages/graph-explorer/src/connections/activeConnection.test.ts @@ -1,7 +1,7 @@ import type { QueryEngine } from "@shared/types"; import { createStore } from "jotai"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import type { SavedConnection } from "@/connections"; diff --git a/packages/graph-explorer/src/connections/connectionFileGoldenFiles.test.ts b/packages/graph-explorer/src/connections/connectionFileGoldenFiles.test.ts index 099a17cd55..9f1e1741e9 100644 --- a/packages/graph-explorer/src/connections/connectionFileGoldenFiles.test.ts +++ b/packages/graph-explorer/src/connections/connectionFileGoldenFiles.test.ts @@ -1,5 +1,5 @@ // @vitest-environment happy-dom -import { beforeEach, describe, expect, test, vi } from "vitest"; +import { beforeEach, describe, expect, test, vi } from "vite-plus/test"; import type { ConfigurationContextProps } from "@/core/StateProvider/typeConfigTypes"; import type { IriNamespace, RdfPrefix } from "@/utils/rdf"; diff --git a/packages/graph-explorer/src/connections/defaultConnection.test.ts b/packages/graph-explorer/src/connections/defaultConnection.test.ts index 411cc74506..c4cc98080a 100644 --- a/packages/graph-explorer/src/connections/defaultConnection.test.ts +++ b/packages/graph-explorer/src/connections/defaultConnection.test.ts @@ -7,7 +7,14 @@ import { createRandomName, createRandomUrlString, } from "@shared/utils/testing"; -import { afterEach, beforeEach, describe, expect, test, vi } from "vitest"; +import { + afterEach, + beforeEach, + describe, + expect, + test, + vi, +} from "vite-plus/test"; import { ReverseProxyMisconfiguredError } from "@/utils"; import { diff --git a/packages/graph-explorer/src/connections/legacyConnection.test.ts b/packages/graph-explorer/src/connections/legacyConnection.test.ts index f08f593566..16d297d5aa 100644 --- a/packages/graph-explorer/src/connections/legacyConnection.test.ts +++ b/packages/graph-explorer/src/connections/legacyConnection.test.ts @@ -1,6 +1,6 @@ import type { LegacyConnectionConfig } from "@shared/types"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { createRandomSavedConnection, diff --git a/packages/graph-explorer/src/connections/normalizeConnection.test.ts b/packages/graph-explorer/src/connections/normalizeConnection.test.ts index 46c51e7e8e..93335880a4 100644 --- a/packages/graph-explorer/src/connections/normalizeConnection.test.ts +++ b/packages/graph-explorer/src/connections/normalizeConnection.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { isDirectConnection, normalizeConnection } from "./normalizeConnection"; diff --git a/packages/graph-explorer/src/connections/parseConnectionFile.test.ts b/packages/graph-explorer/src/connections/parseConnectionFile.test.ts index a15a0319c6..6004e54085 100644 --- a/packages/graph-explorer/src/connections/parseConnectionFile.test.ts +++ b/packages/graph-explorer/src/connections/parseConnectionFile.test.ts @@ -1,5 +1,5 @@ import { createRandomName, createRandomUrlString } from "@shared/utils/testing"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { parseConnectionFile } from "./parseConnectionFile"; import { createNewConnectionId } from "./types"; diff --git a/packages/graph-explorer/src/connections/saveConnectionToFile.test.ts b/packages/graph-explorer/src/connections/saveConnectionToFile.test.ts index da2abeb2e4..80dcc4156e 100644 --- a/packages/graph-explorer/src/connections/saveConnectionToFile.test.ts +++ b/packages/graph-explorer/src/connections/saveConnectionToFile.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom import * as fileSaver from "file-saver"; -import { beforeEach, describe, expect, it, vi } from "vitest"; +import { beforeEach, describe, expect, it, vi } from "vite-plus/test"; import type { ConfigurationContextProps } from "@/core/StateProvider/typeConfigTypes"; import type { IriNamespace, RdfPrefix } from "@/utils/rdf"; diff --git a/packages/graph-explorer/src/connections/types.test.ts b/packages/graph-explorer/src/connections/types.test.ts index 40c8a68ee7..a8fd18b2f8 100644 --- a/packages/graph-explorer/src/connections/types.test.ts +++ b/packages/graph-explorer/src/connections/types.test.ts @@ -1,5 +1,5 @@ import { createArray } from "@shared/utils/testing"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import type { SchemaStorageModel } from "@/core/StateProvider"; diff --git a/packages/graph-explorer/src/connections/useActivateConnection.test.ts b/packages/graph-explorer/src/connections/useActivateConnection.test.ts index 6ac225d0ed..89c54da503 100644 --- a/packages/graph-explorer/src/connections/useActivateConnection.test.ts +++ b/packages/graph-explorer/src/connections/useActivateConnection.test.ts @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { act } from "@testing-library/react"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { getAppStore } from "@/core/StateProvider/appStore"; import { nodesAtom } from "@/core/StateProvider/nodes"; diff --git a/packages/graph-explorer/src/connections/useDeleteConnection.test.ts b/packages/graph-explorer/src/connections/useDeleteConnection.test.ts index 211d4181dc..c19ef9c09f 100644 --- a/packages/graph-explorer/src/connections/useDeleteConnection.test.ts +++ b/packages/graph-explorer/src/connections/useDeleteConnection.test.ts @@ -3,7 +3,7 @@ import { waitFor } from "@testing-library/react"; import { useAtomValue } from "jotai"; import { act } from "react"; -import { expect, test } from "vitest"; +import { expect, test } from "vite-plus/test"; import { activeConnectionIdAtom, diff --git a/packages/graph-explorer/src/connections/useImportConnectionFile.test.tsx b/packages/graph-explorer/src/connections/useImportConnectionFile.test.tsx index 313ebaf8c6..df102b68c4 100644 --- a/packages/graph-explorer/src/connections/useImportConnectionFile.test.tsx +++ b/packages/graph-explorer/src/connections/useImportConnectionFile.test.tsx @@ -2,7 +2,7 @@ import { createRandomName, createRandomUrlString } from "@shared/utils/testing"; import { act } from "@testing-library/react"; import { toast } from "sonner"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { getAppStore } from "@/core/StateProvider/appStore"; import { diff --git a/packages/graph-explorer/src/connector/LoggerConnector.test.ts b/packages/graph-explorer/src/connector/LoggerConnector.test.ts index b8310a556e..abe6bc1085 100644 --- a/packages/graph-explorer/src/connector/LoggerConnector.test.ts +++ b/packages/graph-explorer/src/connector/LoggerConnector.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { logger, ReverseProxyMisconfiguredError } from "@/utils"; import { stubDocumentUrl } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/emptyExplorer.test.ts b/packages/graph-explorer/src/connector/emptyExplorer.test.ts index 73c28773ae..a299b8d8f6 100644 --- a/packages/graph-explorer/src/connector/emptyExplorer.test.ts +++ b/packages/graph-explorer/src/connector/emptyExplorer.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { emptyExplorer } from "./emptyExplorer"; diff --git a/packages/graph-explorer/src/connector/entities/bundle.test.ts b/packages/graph-explorer/src/connector/entities/bundle.test.ts index 58f9f19a55..cfb3da3f1d 100644 --- a/packages/graph-explorer/src/connector/entities/bundle.test.ts +++ b/packages/graph-explorer/src/connector/entities/bundle.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { ASCII, LABELS } from "@/utils/constants"; import { createTestableEdge, createTestableVertex } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/entities/edge.test.ts b/packages/graph-explorer/src/connector/entities/edge.test.ts index dbe0324c8c..a175521527 100644 --- a/packages/graph-explorer/src/connector/entities/edge.test.ts +++ b/packages/graph-explorer/src/connector/entities/edge.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createResultEdge } from "./edge"; diff --git a/packages/graph-explorer/src/connector/entities/entities.test.ts b/packages/graph-explorer/src/connector/entities/entities.test.ts index 9c1eb7b66b..5a2c5bdbd8 100644 --- a/packages/graph-explorer/src/connector/entities/entities.test.ts +++ b/packages/graph-explorer/src/connector/entities/entities.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createTestableEdge, createTestableVertex } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/entities/scalar.test.ts b/packages/graph-explorer/src/connector/entities/scalar.test.ts index 633f613d04..b762df905d 100644 --- a/packages/graph-explorer/src/connector/entities/scalar.test.ts +++ b/packages/graph-explorer/src/connector/entities/scalar.test.ts @@ -3,7 +3,7 @@ import { createRandomDouble, createRandomInteger, } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { LABELS } from "@/utils"; diff --git a/packages/graph-explorer/src/connector/entities/vertex.test.ts b/packages/graph-explorer/src/connector/entities/vertex.test.ts index 28792a5a8e..2e4cefc40a 100644 --- a/packages/graph-explorer/src/connector/entities/vertex.test.ts +++ b/packages/graph-explorer/src/connector/entities/vertex.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createVertex } from "@/core"; diff --git a/packages/graph-explorer/src/connector/fetchDatabaseRequest.test.ts b/packages/graph-explorer/src/connector/fetchDatabaseRequest.test.ts index 841533ba40..6e052fefd2 100644 --- a/packages/graph-explorer/src/connector/fetchDatabaseRequest.test.ts +++ b/packages/graph-explorer/src/connector/fetchDatabaseRequest.test.ts @@ -1,6 +1,13 @@ // @vitest-environment happy-dom -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { + afterEach, + beforeEach, + describe, + expect, + it, + vi, +} from "vite-plus/test"; import type { NormalizedConnection } from "@/connections"; import type { FeatureFlags } from "@/core"; diff --git a/packages/graph-explorer/src/connector/gremlin/edgeDetails.test.ts b/packages/graph-explorer/src/connector/gremlin/edgeDetails.test.ts index 3775f520da..0537cfe94f 100644 --- a/packages/graph-explorer/src/connector/gremlin/edgeDetails.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/edgeDetails.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { createGEdge, diff --git a/packages/graph-explorer/src/connector/gremlin/fetchEdgeConnections/edgeConnectionsTemplate.test.ts b/packages/graph-explorer/src/connector/gremlin/fetchEdgeConnections/edgeConnectionsTemplate.test.ts index 02647cfd8f..bb15f551d6 100644 --- a/packages/graph-explorer/src/connector/gremlin/fetchEdgeConnections/edgeConnectionsTemplate.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/fetchEdgeConnections/edgeConnectionsTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createEdgeType } from "@/core"; import { normalizeWithNoSpace as normalize } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/gremlin/fetchEdgeConnections/index.test.ts b/packages/graph-explorer/src/connector/gremlin/fetchEdgeConnections/index.test.ts index b3ecc3c4a4..cd8ff23d45 100644 --- a/packages/graph-explorer/src/connector/gremlin/fetchEdgeConnections/index.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/fetchEdgeConnections/index.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { createEdgeType, createVertexType, type EdgeType } from "@/core"; import { diff --git a/packages/graph-explorer/src/connector/gremlin/fetchNeighbors/index.test.ts b/packages/graph-explorer/src/connector/gremlin/fetchNeighbors/index.test.ts index 81052adf1f..4f7e524115 100644 --- a/packages/graph-explorer/src/connector/gremlin/fetchNeighbors/index.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/fetchNeighbors/index.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { globalMockFetch } from "@/connector/testUtils/globalMockFetch"; import mockGremlinFetch from "@/connector/testUtils/mockGremlinFetch"; diff --git a/packages/graph-explorer/src/connector/gremlin/fetchNeighbors/oneHopTemplate.test.ts b/packages/graph-explorer/src/connector/gremlin/fetchNeighbors/oneHopTemplate.test.ts index 6db4b726ad..cb6587c19f 100644 --- a/packages/graph-explorer/src/connector/gremlin/fetchNeighbors/oneHopTemplate.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/fetchNeighbors/oneHopTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { AttributeFilter } from "@/connector/useGEFetchTypes"; diff --git a/packages/graph-explorer/src/connector/gremlin/fetchSchema/edgesSchemaTemplate.test.ts b/packages/graph-explorer/src/connector/gremlin/fetchSchema/edgesSchemaTemplate.test.ts index bf67f9e042..1af24dc9c5 100644 --- a/packages/graph-explorer/src/connector/gremlin/fetchSchema/edgesSchemaTemplate.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/fetchSchema/edgesSchemaTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { normalizeWithNoSpace as normalize } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/gremlin/fetchSchema/index.test.ts b/packages/graph-explorer/src/connector/gremlin/fetchSchema/index.test.ts index 4929f6ba3c..85c5387385 100644 --- a/packages/graph-explorer/src/connector/gremlin/fetchSchema/index.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/fetchSchema/index.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { ClientLoggerConnector } from "@/connector/LoggerConnector"; import { globalMockFetch } from "@/connector/testUtils/globalMockFetch"; diff --git a/packages/graph-explorer/src/connector/gremlin/fetchSchema/verticesSchemaTemplate.test.ts b/packages/graph-explorer/src/connector/gremlin/fetchSchema/verticesSchemaTemplate.test.ts index c021df292d..9020dec31f 100644 --- a/packages/graph-explorer/src/connector/gremlin/fetchSchema/verticesSchemaTemplate.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/fetchSchema/verticesSchemaTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { normalizeWithNoSpace as normalize } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/gremlin/fetchVertexTypeCounts/vertexTypeCountTemplate.test.ts b/packages/graph-explorer/src/connector/gremlin/fetchVertexTypeCounts/vertexTypeCountTemplate.test.ts index 081f8ddf1e..ad95c5d314 100644 --- a/packages/graph-explorer/src/connector/gremlin/fetchVertexTypeCounts/vertexTypeCountTemplate.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/fetchVertexTypeCounts/vertexTypeCountTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import vertexTypeCountTemplate from "./vertexTypeCountTemplate"; diff --git a/packages/graph-explorer/src/connector/gremlin/fragments.test.ts b/packages/graph-explorer/src/connector/gremlin/fragments.test.ts index 25c3d22eaf..7b1e2437e1 100644 --- a/packages/graph-explorer/src/connector/gremlin/fragments.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/fragments.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createEdgeId, createVertexId } from "@/core"; diff --git a/packages/graph-explorer/src/connector/gremlin/gremlinExplorer.test.ts b/packages/graph-explorer/src/connector/gremlin/gremlinExplorer.test.ts index d143c7af40..1cd31d36dd 100644 --- a/packages/graph-explorer/src/connector/gremlin/gremlinExplorer.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/gremlinExplorer.test.ts @@ -1,6 +1,13 @@ // @vitest-environment happy-dom -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { + afterEach, + beforeEach, + describe, + expect, + it, + vi, +} from "vite-plus/test"; import type { NormalizedConnection } from "@/connections"; import type { FeatureFlags } from "@/core"; diff --git a/packages/graph-explorer/src/connector/gremlin/keywordSearch/index.test.ts b/packages/graph-explorer/src/connector/gremlin/keywordSearch/index.test.ts index 41211c760a..f5f6a22db2 100644 --- a/packages/graph-explorer/src/connector/gremlin/keywordSearch/index.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/keywordSearch/index.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { globalMockFetch } from "@/connector/testUtils/globalMockFetch"; import mockGremlinFetch from "@/connector/testUtils/mockGremlinFetch"; diff --git a/packages/graph-explorer/src/connector/gremlin/keywordSearch/keywordSearchTemplate.test.ts b/packages/graph-explorer/src/connector/gremlin/keywordSearch/keywordSearchTemplate.test.ts index db993da5bb..ff1ed6b850 100644 --- a/packages/graph-explorer/src/connector/gremlin/keywordSearch/keywordSearchTemplate.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/keywordSearch/keywordSearchTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { SEARCH_TOKENS } from "@/utils"; import { normalizeWithNoSpace as normalize } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/gremlin/mappers/mapApiEdge.test.ts b/packages/graph-explorer/src/connector/gremlin/mappers/mapApiEdge.test.ts index e645fa87da..bb31896511 100644 --- a/packages/graph-explorer/src/connector/gremlin/mappers/mapApiEdge.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/mappers/mapApiEdge.test.ts @@ -1,5 +1,5 @@ import { createRandomName } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createGEdge, createTestableEdge } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/gremlin/mappers/mapApiVertex.test.ts b/packages/graph-explorer/src/connector/gremlin/mappers/mapApiVertex.test.ts index 4ba80febf4..dfb2484f90 100644 --- a/packages/graph-explorer/src/connector/gremlin/mappers/mapApiVertex.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/mappers/mapApiVertex.test.ts @@ -5,7 +5,7 @@ import { createRandomInteger, createRandomName, } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createVertexType } from "@/core"; import { diff --git a/packages/graph-explorer/src/connector/gremlin/mappers/mapResults.test.ts b/packages/graph-explorer/src/connector/gremlin/mappers/mapResults.test.ts index 9780c83612..9be92220c4 100644 --- a/packages/graph-explorer/src/connector/gremlin/mappers/mapResults.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/mappers/mapResults.test.ts @@ -5,7 +5,7 @@ import { createRandomInteger, createRandomName, } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createResultBundle, diff --git a/packages/graph-explorer/src/connector/gremlin/mappers/parseProperty.test.ts b/packages/graph-explorer/src/connector/gremlin/mappers/parseProperty.test.ts index 7dcc69d7a8..85095ef83d 100644 --- a/packages/graph-explorer/src/connector/gremlin/mappers/parseProperty.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/mappers/parseProperty.test.ts @@ -4,7 +4,7 @@ import { createRandomInteger, createRandomName, } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createGDate, diff --git a/packages/graph-explorer/src/connector/gremlin/neighborCounts.test.ts b/packages/graph-explorer/src/connector/gremlin/neighborCounts.test.ts index e83b890860..ca242d8271 100644 --- a/packages/graph-explorer/src/connector/gremlin/neighborCounts.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/neighborCounts.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { createVertexId, createVertexType, type EntityRawId } from "@/core"; import { query } from "@/utils"; diff --git a/packages/graph-explorer/src/connector/gremlin/splitLabel.test.ts b/packages/graph-explorer/src/connector/gremlin/splitLabel.test.ts index ea22280072..7cdeed0b5f 100644 --- a/packages/graph-explorer/src/connector/gremlin/splitLabel.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/splitLabel.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { splitLabel } from "./splitLabel"; diff --git a/packages/graph-explorer/src/connector/gremlin/vertexDetails.test.ts b/packages/graph-explorer/src/connector/gremlin/vertexDetails.test.ts index f659aad301..eaea85fec3 100644 --- a/packages/graph-explorer/src/connector/gremlin/vertexDetails.test.ts +++ b/packages/graph-explorer/src/connector/gremlin/vertexDetails.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { createGremlinResponseFromVertices, diff --git a/packages/graph-explorer/src/connector/openCypher/edgeDetails.test.ts b/packages/graph-explorer/src/connector/openCypher/edgeDetails.test.ts index 1bf1755f6e..39bdfe2b48 100644 --- a/packages/graph-explorer/src/connector/openCypher/edgeDetails.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/edgeDetails.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { createTestableEdge, mapToOcEdge } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/openCypher/fetchEdgeConnections/edgeConnectionsTemplate.test.ts b/packages/graph-explorer/src/connector/openCypher/fetchEdgeConnections/edgeConnectionsTemplate.test.ts index 00f9830970..a1033daf0f 100644 --- a/packages/graph-explorer/src/connector/openCypher/fetchEdgeConnections/edgeConnectionsTemplate.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/fetchEdgeConnections/edgeConnectionsTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createEdgeType } from "@/core"; import { query } from "@/utils"; diff --git a/packages/graph-explorer/src/connector/openCypher/fetchEdgeConnections/index.test.ts b/packages/graph-explorer/src/connector/openCypher/fetchEdgeConnections/index.test.ts index 71925a4d57..1aa126660a 100644 --- a/packages/graph-explorer/src/connector/openCypher/fetchEdgeConnections/index.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/fetchEdgeConnections/index.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { createEdgeType, createVertexType } from "@/core"; diff --git a/packages/graph-explorer/src/connector/openCypher/fetchNeighbors/oneHopTemplate.test.ts b/packages/graph-explorer/src/connector/openCypher/fetchNeighbors/oneHopTemplate.test.ts index d4b5ded091..437be1df8f 100644 --- a/packages/graph-explorer/src/connector/openCypher/fetchNeighbors/oneHopTemplate.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/fetchNeighbors/oneHopTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { AttributeFilter } from "@/connector/useGEFetchTypes"; diff --git a/packages/graph-explorer/src/connector/openCypher/fetchSchema/edgeSchemaTemplate.test.ts b/packages/graph-explorer/src/connector/openCypher/fetchSchema/edgeSchemaTemplate.test.ts index 6301adb33c..ac61c3f426 100644 --- a/packages/graph-explorer/src/connector/openCypher/fetchSchema/edgeSchemaTemplate.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/fetchSchema/edgeSchemaTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { normalize } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/openCypher/fetchSchema/index.test.ts b/packages/graph-explorer/src/connector/openCypher/fetchSchema/index.test.ts index d4dd4c0a38..386362242c 100644 --- a/packages/graph-explorer/src/connector/openCypher/fetchSchema/index.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/fetchSchema/index.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import type { SchemaResponse } from "@/connector/useGEFetchTypes"; diff --git a/packages/graph-explorer/src/connector/openCypher/fetchSchema/verticesSchemaTemplate.test.ts b/packages/graph-explorer/src/connector/openCypher/fetchSchema/verticesSchemaTemplate.test.ts index f3908d1579..6ae899c934 100644 --- a/packages/graph-explorer/src/connector/openCypher/fetchSchema/verticesSchemaTemplate.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/fetchSchema/verticesSchemaTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { normalize } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/openCypher/fetchVertexTypeCounts/vertexTypeCountTemplate.test.ts b/packages/graph-explorer/src/connector/openCypher/fetchVertexTypeCounts/vertexTypeCountTemplate.test.ts index 78968bf620..6b97a16759 100644 --- a/packages/graph-explorer/src/connector/openCypher/fetchVertexTypeCounts/vertexTypeCountTemplate.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/fetchVertexTypeCounts/vertexTypeCountTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import vertexTypeCountTemplate from "./vertexTypeCountTemplate"; diff --git a/packages/graph-explorer/src/connector/openCypher/fragments.test.ts b/packages/graph-explorer/src/connector/openCypher/fragments.test.ts index 12008386c4..e8044e7926 100644 --- a/packages/graph-explorer/src/connector/openCypher/fragments.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/fragments.test.ts @@ -1,5 +1,5 @@ import fc from "fast-check"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createEdgeId, createVertexId } from "@/core"; diff --git a/packages/graph-explorer/src/connector/openCypher/keywordSearch/keywordSearchTemplate.test.ts b/packages/graph-explorer/src/connector/openCypher/keywordSearch/keywordSearchTemplate.test.ts index db57127bd4..872250bb70 100644 --- a/packages/graph-explorer/src/connector/openCypher/keywordSearch/keywordSearchTemplate.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/keywordSearch/keywordSearchTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { LABELS, SEARCH_TOKENS } from "@/utils"; import { normalize } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/openCypher/mappers/mapApiEdge.test.ts b/packages/graph-explorer/src/connector/openCypher/mappers/mapApiEdge.test.ts index 4b596b3700..9107f85af0 100644 --- a/packages/graph-explorer/src/connector/openCypher/mappers/mapApiEdge.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/mappers/mapApiEdge.test.ts @@ -5,7 +5,7 @@ import { createRandomInteger, createRandomName, } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createResultEdge } from "@/connector/entities"; import { createTestableEdge, mapToOcEdge } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/openCypher/mappers/mapApiProperties.test.ts b/packages/graph-explorer/src/connector/openCypher/mappers/mapApiProperties.test.ts index d9ca74b9d0..bc476430f8 100644 --- a/packages/graph-explorer/src/connector/openCypher/mappers/mapApiProperties.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/mappers/mapApiProperties.test.ts @@ -5,7 +5,7 @@ import { createRandomInteger, createRandomName, } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { mapApiProperties } from "./mapApiProperties"; diff --git a/packages/graph-explorer/src/connector/openCypher/mappers/mapApiVertex.test.ts b/packages/graph-explorer/src/connector/openCypher/mappers/mapApiVertex.test.ts index e50d7a1a4c..d9d1eeaa33 100644 --- a/packages/graph-explorer/src/connector/openCypher/mappers/mapApiVertex.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/mappers/mapApiVertex.test.ts @@ -5,7 +5,7 @@ import { createRandomInteger, createRandomName, } from "@shared/utils/testing"; -import { expect, test } from "vitest"; +import { expect, test } from "vite-plus/test"; import { createResultVertex } from "@/connector/entities"; diff --git a/packages/graph-explorer/src/connector/openCypher/mappers/mapResults.test.ts b/packages/graph-explorer/src/connector/openCypher/mappers/mapResults.test.ts index 292570ee6b..71f98a72da 100644 --- a/packages/graph-explorer/src/connector/openCypher/mappers/mapResults.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/mappers/mapResults.test.ts @@ -6,7 +6,7 @@ import { createRandomName, createRandomUrlString, } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createResultBundle, createResultScalar } from "@/connector/entities"; import { diff --git a/packages/graph-explorer/src/connector/openCypher/neighborCounts.test.ts b/packages/graph-explorer/src/connector/openCypher/neighborCounts.test.ts index 171f9eaff3..e31dfc851f 100644 --- a/packages/graph-explorer/src/connector/openCypher/neighborCounts.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/neighborCounts.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { createVertexId, createVertexType } from "@/core"; import { query } from "@/utils"; diff --git a/packages/graph-explorer/src/connector/openCypher/openCypherExplorer.test.ts b/packages/graph-explorer/src/connector/openCypher/openCypherExplorer.test.ts index fa64433b17..d8c2e7c18f 100644 --- a/packages/graph-explorer/src/connector/openCypher/openCypherExplorer.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/openCypherExplorer.test.ts @@ -1,6 +1,13 @@ // @vitest-environment happy-dom -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { + afterEach, + beforeEach, + describe, + expect, + it, + vi, +} from "vite-plus/test"; import type { NormalizedConnection } from "@/connections"; import type { FeatureFlags } from "@/core"; diff --git a/packages/graph-explorer/src/connector/openCypher/vertexDetails.test.ts b/packages/graph-explorer/src/connector/openCypher/vertexDetails.test.ts index 5bd0eba202..c502f891c9 100644 --- a/packages/graph-explorer/src/connector/openCypher/vertexDetails.test.ts +++ b/packages/graph-explorer/src/connector/openCypher/vertexDetails.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { createTestableVertex, mapToOcVertex } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/queries/bulkEdgeDetailsQuery.test.ts b/packages/graph-explorer/src/connector/queries/bulkEdgeDetailsQuery.test.ts index 10a8a17ff9..497c6851b9 100644 --- a/packages/graph-explorer/src/connector/queries/bulkEdgeDetailsQuery.test.ts +++ b/packages/graph-explorer/src/connector/queries/bulkEdgeDetailsQuery.test.ts @@ -1,5 +1,5 @@ import { createArray } from "@shared/utils/testing"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { edgesAtom, explorerForTestingAtom, getAppStore } from "@/core"; import { createQueryClient } from "@/core/queryClient"; diff --git a/packages/graph-explorer/src/connector/queries/bulkNeighborCountsQuery.test.ts b/packages/graph-explorer/src/connector/queries/bulkNeighborCountsQuery.test.ts index 33d8e38c02..e748e1c6cb 100644 --- a/packages/graph-explorer/src/connector/queries/bulkNeighborCountsQuery.test.ts +++ b/packages/graph-explorer/src/connector/queries/bulkNeighborCountsQuery.test.ts @@ -1,5 +1,5 @@ import { createArray } from "@shared/utils/testing"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { createVertexType, explorerForTestingAtom, getAppStore } from "@/core"; import { createQueryClient } from "@/core/queryClient"; diff --git a/packages/graph-explorer/src/connector/queries/bulkVertexDetailsQuery.test.ts b/packages/graph-explorer/src/connector/queries/bulkVertexDetailsQuery.test.ts index 56d5a7f129..61e4de301d 100644 --- a/packages/graph-explorer/src/connector/queries/bulkVertexDetailsQuery.test.ts +++ b/packages/graph-explorer/src/connector/queries/bulkVertexDetailsQuery.test.ts @@ -1,5 +1,5 @@ import { createArray } from "@shared/utils/testing"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { explorerForTestingAtom, getAppStore, nodesAtom } from "@/core"; import { createQueryClient } from "@/core/queryClient"; diff --git a/packages/graph-explorer/src/connector/queries/edgeConnectionsQuery.test.ts b/packages/graph-explorer/src/connector/queries/edgeConnectionsQuery.test.ts index 241ad368eb..dedc925ee0 100644 --- a/packages/graph-explorer/src/connector/queries/edgeConnectionsQuery.test.ts +++ b/packages/graph-explorer/src/connector/queries/edgeConnectionsQuery.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import type { EdgeConnectionsRequest, diff --git a/packages/graph-explorer/src/connector/queries/edgeDetailsQuery.test.ts b/packages/graph-explorer/src/connector/queries/edgeDetailsQuery.test.ts index 51dfe79777..2beadc4902 100644 --- a/packages/graph-explorer/src/connector/queries/edgeDetailsQuery.test.ts +++ b/packages/graph-explorer/src/connector/queries/edgeDetailsQuery.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { edgesAtom, explorerForTestingAtom, getAppStore } from "@/core"; import { createQueryClient } from "@/core/queryClient"; diff --git a/packages/graph-explorer/src/connector/queries/executeUserQuery.test.ts b/packages/graph-explorer/src/connector/queries/executeUserQuery.test.ts index daadaa4e85..5ecbba91a2 100644 --- a/packages/graph-explorer/src/connector/queries/executeUserQuery.test.ts +++ b/packages/graph-explorer/src/connector/queries/executeUserQuery.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { edgesAtom, diff --git a/packages/graph-explorer/src/connector/queries/fetchEntityDetails.test.ts b/packages/graph-explorer/src/connector/queries/fetchEntityDetails.test.ts index 4bb440beeb..faf51070db 100644 --- a/packages/graph-explorer/src/connector/queries/fetchEntityDetails.test.ts +++ b/packages/graph-explorer/src/connector/queries/fetchEntityDetails.test.ts @@ -1,6 +1,6 @@ import { createRandomInteger } from "@shared/utils/testing"; import { toast } from "sonner"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createRandomEntities } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/queries/helpers.test.ts b/packages/graph-explorer/src/connector/queries/helpers.test.ts index 23a694165c..eacc47a2ee 100644 --- a/packages/graph-explorer/src/connector/queries/helpers.test.ts +++ b/packages/graph-explorer/src/connector/queries/helpers.test.ts @@ -1,7 +1,7 @@ import type { QueryClient } from "@tanstack/react-query"; import { createRandomName, createRecord } from "@shared/utils/testing"; -import { beforeEach, describe, expect, it } from "vitest"; +import { beforeEach, describe, expect, it } from "vite-plus/test"; import { createVertexType, diff --git a/packages/graph-explorer/src/connector/queries/nodeCountByNodeTypeQuery.test.ts b/packages/graph-explorer/src/connector/queries/nodeCountByNodeTypeQuery.test.ts index e0be110095..2d9ed8c96a 100644 --- a/packages/graph-explorer/src/connector/queries/nodeCountByNodeTypeQuery.test.ts +++ b/packages/graph-explorer/src/connector/queries/nodeCountByNodeTypeQuery.test.ts @@ -1,5 +1,5 @@ import { createRandomInteger } from "@shared/utils/testing"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { explorerForTestingAtom, getAppStore, schemaAtom } from "@/core"; import { createQueryClient } from "@/core/queryClient"; diff --git a/packages/graph-explorer/src/connector/queries/patchEntityDetails.test.ts b/packages/graph-explorer/src/connector/queries/patchEntityDetails.test.ts index 22dc8a242e..14b363fa4d 100644 --- a/packages/graph-explorer/src/connector/queries/patchEntityDetails.test.ts +++ b/packages/graph-explorer/src/connector/queries/patchEntityDetails.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { explorerForTestingAtom, getAppStore } from "@/core"; import { createQueryClient } from "@/core/queryClient"; diff --git a/packages/graph-explorer/src/connector/queries/schemaSyncQuery.test.ts b/packages/graph-explorer/src/connector/queries/schemaSyncQuery.test.ts index 063e2f3553..2a2d766b87 100644 --- a/packages/graph-explorer/src/connector/queries/schemaSyncQuery.test.ts +++ b/packages/graph-explorer/src/connector/queries/schemaSyncQuery.test.ts @@ -1,5 +1,5 @@ import { createRandomName } from "@shared/utils/testing"; -import { beforeEach, describe, expect, it, vi } from "vitest"; +import { beforeEach, describe, expect, it, vi } from "vite-plus/test"; import { activeConnectionIdAtom, diff --git a/packages/graph-explorer/src/connector/queries/searchQuery.test.ts b/packages/graph-explorer/src/connector/queries/searchQuery.test.ts index 498901f70a..f4957ce238 100644 --- a/packages/graph-explorer/src/connector/queries/searchQuery.test.ts +++ b/packages/graph-explorer/src/connector/queries/searchQuery.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { explorerForTestingAtom, getAppStore, nodesAtom } from "@/core"; import { createQueryClient } from "@/core/queryClient"; diff --git a/packages/graph-explorer/src/connector/queries/vertexDetailsQuery.test.ts b/packages/graph-explorer/src/connector/queries/vertexDetailsQuery.test.ts index cf95db06f7..f79d2cc1d1 100644 --- a/packages/graph-explorer/src/connector/queries/vertexDetailsQuery.test.ts +++ b/packages/graph-explorer/src/connector/queries/vertexDetailsQuery.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { explorerForTestingAtom, getAppStore, nodesAtom } from "@/core"; import { createQueryClient } from "@/core/queryClient"; diff --git a/packages/graph-explorer/src/connector/queryValueError.test.ts b/packages/graph-explorer/src/connector/queryValueError.test.ts index a0c8ce8e38..1410d86b32 100644 --- a/packages/graph-explorer/src/connector/queryValueError.test.ts +++ b/packages/graph-explorer/src/connector/queryValueError.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { assertRepresentable, diff --git a/packages/graph-explorer/src/connector/representabilityGuard.test.ts b/packages/graph-explorer/src/connector/representabilityGuard.test.ts index 28774c95b6..ca9445e95a 100644 --- a/packages/graph-explorer/src/connector/representabilityGuard.test.ts +++ b/packages/graph-explorer/src/connector/representabilityGuard.test.ts @@ -1,5 +1,5 @@ import fc from "fast-check"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { QueryFragment } from "./queryFragment"; diff --git a/packages/graph-explorer/src/connector/sparql/edgeDetails.test.ts b/packages/graph-explorer/src/connector/sparql/edgeDetails.test.ts index 431a23d233..2e37d28f4d 100644 --- a/packages/graph-explorer/src/connector/sparql/edgeDetails.test.ts +++ b/packages/graph-explorer/src/connector/sparql/edgeDetails.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { EdgeId } from "@/core"; diff --git a/packages/graph-explorer/src/connector/sparql/fetchBlankNodeNeighbors/blankNodeOneHopNeighborsTemplate.test.ts b/packages/graph-explorer/src/connector/sparql/fetchBlankNodeNeighbors/blankNodeOneHopNeighborsTemplate.test.ts index b4a464773c..3a09e79264 100644 --- a/packages/graph-explorer/src/connector/sparql/fetchBlankNodeNeighbors/blankNodeOneHopNeighborsTemplate.test.ts +++ b/packages/graph-explorer/src/connector/sparql/fetchBlankNodeNeighbors/blankNodeOneHopNeighborsTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { query } from "@/utils"; import { normalizeWithNewlines as normalize } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/sparql/fetchEdgeConnections/edgeConnectionsTemplate.test.ts b/packages/graph-explorer/src/connector/sparql/fetchEdgeConnections/edgeConnectionsTemplate.test.ts index 641a93fcca..96002f469a 100644 --- a/packages/graph-explorer/src/connector/sparql/fetchEdgeConnections/edgeConnectionsTemplate.test.ts +++ b/packages/graph-explorer/src/connector/sparql/fetchEdgeConnections/edgeConnectionsTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createEdgeType } from "@/core"; import { query } from "@/utils"; diff --git a/packages/graph-explorer/src/connector/sparql/fetchEdgeConnections/index.test.ts b/packages/graph-explorer/src/connector/sparql/fetchEdgeConnections/index.test.ts index 8d560825f3..3543e007fc 100644 --- a/packages/graph-explorer/src/connector/sparql/fetchEdgeConnections/index.test.ts +++ b/packages/graph-explorer/src/connector/sparql/fetchEdgeConnections/index.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { createEdgeType, createVertexType } from "@/core"; diff --git a/packages/graph-explorer/src/connector/sparql/fetchNeighbors/index.test.ts b/packages/graph-explorer/src/connector/sparql/fetchNeighbors/index.test.ts index 6657f7afc2..e30ef09255 100644 --- a/packages/graph-explorer/src/connector/sparql/fetchNeighbors/index.test.ts +++ b/packages/graph-explorer/src/connector/sparql/fetchNeighbors/index.test.ts @@ -1,5 +1,5 @@ import { createRandomUrlString } from "@shared/utils/testing"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { createVertex } from "@/core"; import { diff --git a/packages/graph-explorer/src/connector/sparql/fetchNeighbors/oneHopNeighborsBlankNodesIdsTemplate.test.ts b/packages/graph-explorer/src/connector/sparql/fetchNeighbors/oneHopNeighborsBlankNodesIdsTemplate.test.ts index 8c364a15d6..5d62e57852 100644 --- a/packages/graph-explorer/src/connector/sparql/fetchNeighbors/oneHopNeighborsBlankNodesIdsTemplate.test.ts +++ b/packages/graph-explorer/src/connector/sparql/fetchNeighbors/oneHopNeighborsBlankNodesIdsTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createVertexId } from "@/core"; import { query } from "@/utils"; diff --git a/packages/graph-explorer/src/connector/sparql/fetchNeighbors/oneHopNeighborsTemplate.test.ts b/packages/graph-explorer/src/connector/sparql/fetchNeighbors/oneHopNeighborsTemplate.test.ts index 8f7becb7e0..f6ae1a7664 100644 --- a/packages/graph-explorer/src/connector/sparql/fetchNeighbors/oneHopNeighborsTemplate.test.ts +++ b/packages/graph-explorer/src/connector/sparql/fetchNeighbors/oneHopNeighborsTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createVertexId } from "@/core"; import { LABELS, query } from "@/utils"; diff --git a/packages/graph-explorer/src/connector/sparql/fetchNeighbors/storedBlankNodeNeighborsRequest.test.ts b/packages/graph-explorer/src/connector/sparql/fetchNeighbors/storedBlankNodeNeighborsRequest.test.ts index dfefa0d305..97337aabf0 100644 --- a/packages/graph-explorer/src/connector/sparql/fetchNeighbors/storedBlankNodeNeighborsRequest.test.ts +++ b/packages/graph-explorer/src/connector/sparql/fetchNeighbors/storedBlankNodeNeighborsRequest.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createVertexId, type Vertex } from "@/core"; import { createTestableVertex } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/sparql/fetchSchema/index.test.ts b/packages/graph-explorer/src/connector/sparql/fetchSchema/index.test.ts index 3039e66fd4..1f01109caa 100644 --- a/packages/graph-explorer/src/connector/sparql/fetchSchema/index.test.ts +++ b/packages/graph-explorer/src/connector/sparql/fetchSchema/index.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { ClientLoggerConnector } from "@/connector/LoggerConnector"; import { diff --git a/packages/graph-explorer/src/connector/sparql/fetchSchema/predicatesByClassTemplate.test.ts b/packages/graph-explorer/src/connector/sparql/fetchSchema/predicatesByClassTemplate.test.ts index 3abd0218db..8a3a9e6cdf 100644 --- a/packages/graph-explorer/src/connector/sparql/fetchSchema/predicatesByClassTemplate.test.ts +++ b/packages/graph-explorer/src/connector/sparql/fetchSchema/predicatesByClassTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createVertexType } from "@/core"; import { query } from "@/utils"; diff --git a/packages/graph-explorer/src/connector/sparql/fetchVertexCountsByType/classWithCountsTemplates.test.ts b/packages/graph-explorer/src/connector/sparql/fetchVertexCountsByType/classWithCountsTemplates.test.ts index 956246f2fd..e72e1ead24 100644 --- a/packages/graph-explorer/src/connector/sparql/fetchVertexCountsByType/classWithCountsTemplates.test.ts +++ b/packages/graph-explorer/src/connector/sparql/fetchVertexCountsByType/classWithCountsTemplates.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { query } from "@/utils"; diff --git a/packages/graph-explorer/src/connector/sparql/filterHelpers.test.ts b/packages/graph-explorer/src/connector/sparql/filterHelpers.test.ts index 62e2651a3d..de6818bc6d 100644 --- a/packages/graph-explorer/src/connector/sparql/filterHelpers.test.ts +++ b/packages/graph-explorer/src/connector/sparql/filterHelpers.test.ts @@ -1,5 +1,5 @@ import { createRandomUrlString } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createVertexId } from "@/core"; import { query } from "@/utils"; diff --git a/packages/graph-explorer/src/connector/sparql/fragments.test.ts b/packages/graph-explorer/src/connector/sparql/fragments.test.ts index 5212745ea1..47a901773b 100644 --- a/packages/graph-explorer/src/connector/sparql/fragments.test.ts +++ b/packages/graph-explorer/src/connector/sparql/fragments.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createEdgeId, createVertexId } from "@/core"; diff --git a/packages/graph-explorer/src/connector/sparql/keywordSearch/keywordSearchBlankNodesIdsTemplate.test.ts b/packages/graph-explorer/src/connector/sparql/keywordSearch/keywordSearchBlankNodesIdsTemplate.test.ts index 3908a947c6..6029dc3402 100644 --- a/packages/graph-explorer/src/connector/sparql/keywordSearch/keywordSearchBlankNodesIdsTemplate.test.ts +++ b/packages/graph-explorer/src/connector/sparql/keywordSearch/keywordSearchBlankNodesIdsTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { normalize } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/sparql/keywordSearch/keywordSearchTemplate.test.ts b/packages/graph-explorer/src/connector/sparql/keywordSearch/keywordSearchTemplate.test.ts index 24730d76e4..4adbea3fa1 100644 --- a/packages/graph-explorer/src/connector/sparql/keywordSearch/keywordSearchTemplate.test.ts +++ b/packages/graph-explorer/src/connector/sparql/keywordSearch/keywordSearchTemplate.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { LABELS } from "@/utils"; import { normalize } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/sparql/mappers/mapQuadToEntities.test.ts b/packages/graph-explorer/src/connector/sparql/mappers/mapQuadToEntities.test.ts index 78afdf9ae4..f827b4d12a 100644 --- a/packages/graph-explorer/src/connector/sparql/mappers/mapQuadToEntities.test.ts +++ b/packages/graph-explorer/src/connector/sparql/mappers/mapQuadToEntities.test.ts @@ -1,5 +1,5 @@ import { createArray } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createQuadBindingsForEntities, diff --git a/packages/graph-explorer/src/connector/sparql/mappers/mapSparqlValueToScalar.test.ts b/packages/graph-explorer/src/connector/sparql/mappers/mapSparqlValueToScalar.test.ts index 815341f10c..3434ab9e47 100644 --- a/packages/graph-explorer/src/connector/sparql/mappers/mapSparqlValueToScalar.test.ts +++ b/packages/graph-explorer/src/connector/sparql/mappers/mapSparqlValueToScalar.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import type { SparqlValue } from "../types"; diff --git a/packages/graph-explorer/src/connector/sparql/neighborCounts.test.ts b/packages/graph-explorer/src/connector/sparql/neighborCounts.test.ts index a2a507e59e..441b744d76 100644 --- a/packages/graph-explorer/src/connector/sparql/neighborCounts.test.ts +++ b/packages/graph-explorer/src/connector/sparql/neighborCounts.test.ts @@ -3,7 +3,7 @@ import { createRandomName, createRandomUrlString, } from "@shared/utils/testing"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { ValidationError } from "zod-validation-error"; import { createVertexId, createVertexType, type VertexType } from "@/core"; diff --git a/packages/graph-explorer/src/connector/sparql/parseAndMapQuads.test.ts b/packages/graph-explorer/src/connector/sparql/parseAndMapQuads.test.ts index 93ffde5796..7122522194 100644 --- a/packages/graph-explorer/src/connector/sparql/parseAndMapQuads.test.ts +++ b/packages/graph-explorer/src/connector/sparql/parseAndMapQuads.test.ts @@ -1,5 +1,5 @@ import { createArray } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { logger } from "@/utils"; import { diff --git a/packages/graph-explorer/src/connector/sparql/parseEdgeId.test.ts b/packages/graph-explorer/src/connector/sparql/parseEdgeId.test.ts index 056d6c6f23..cd1a54f3ba 100644 --- a/packages/graph-explorer/src/connector/sparql/parseEdgeId.test.ts +++ b/packages/graph-explorer/src/connector/sparql/parseEdgeId.test.ts @@ -1,4 +1,4 @@ -import { expect, test } from "vitest"; +import { expect, test } from "vite-plus/test"; import { createEdgeId, createVertexId } from "@/core/entities"; diff --git a/packages/graph-explorer/src/connector/sparql/rawQuery.test.ts b/packages/graph-explorer/src/connector/sparql/rawQuery.test.ts index a313c4655c..8166ff8f20 100644 --- a/packages/graph-explorer/src/connector/sparql/rawQuery.test.ts +++ b/packages/graph-explorer/src/connector/sparql/rawQuery.test.ts @@ -5,7 +5,7 @@ import { createRandomName, createRandomUrlString, } from "@shared/utils/testing"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { ValidationError } from "zod-validation-error"; import { diff --git a/packages/graph-explorer/src/connector/sparql/sparqlExplorer.test.ts b/packages/graph-explorer/src/connector/sparql/sparqlExplorer.test.ts index 28ba530aea..a484579866 100644 --- a/packages/graph-explorer/src/connector/sparql/sparqlExplorer.test.ts +++ b/packages/graph-explorer/src/connector/sparql/sparqlExplorer.test.ts @@ -1,6 +1,13 @@ // @vitest-environment happy-dom -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { + afterEach, + beforeEach, + describe, + expect, + it, + vi, +} from "vite-plus/test"; import type { NormalizedConnection } from "@/connections"; import type { FeatureFlags } from "@/core"; diff --git a/packages/graph-explorer/src/connector/sparql/vertexDetails.test.ts b/packages/graph-explorer/src/connector/sparql/vertexDetails.test.ts index ad88e5b28c..eb9da57751 100644 --- a/packages/graph-explorer/src/connector/sparql/vertexDetails.test.ts +++ b/packages/graph-explorer/src/connector/sparql/vertexDetails.test.ts @@ -1,5 +1,5 @@ import { createRandomInteger } from "@shared/utils/testing"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { createVertexId } from "@/core"; import { query } from "@/utils"; diff --git a/packages/graph-explorer/src/connector/testUtils/globalMockFetch.ts b/packages/graph-explorer/src/connector/testUtils/globalMockFetch.ts index 22d9b010a1..e4491d867b 100644 --- a/packages/graph-explorer/src/connector/testUtils/globalMockFetch.ts +++ b/packages/graph-explorer/src/connector/testUtils/globalMockFetch.ts @@ -1,4 +1,4 @@ -import { vi } from "vitest"; +import { vi } from "vite-plus/test"; const GREMLIN = "../gremlin/__mock"; const RESPONSES_FILES_MAP = { diff --git a/packages/graph-explorer/src/connector/utils/apiUrl.test.ts b/packages/graph-explorer/src/connector/utils/apiUrl.test.ts index 69d78b9c1e..b975a9dda6 100644 --- a/packages/graph-explorer/src/connector/utils/apiUrl.test.ts +++ b/packages/graph-explorer/src/connector/utils/apiUrl.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom -import { describe, expect, onTestFinished, test } from "vitest"; +import { describe, expect, onTestFinished, test } from "vite-plus/test"; import { env, ReverseProxyMisconfiguredError } from "@/utils"; import { stubDocumentUrl } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/connector/utils/isErrorResponse.test.ts b/packages/graph-explorer/src/connector/utils/isErrorResponse.test.ts index 9005a4a1a4..53cce54c45 100644 --- a/packages/graph-explorer/src/connector/utils/isErrorResponse.test.ts +++ b/packages/graph-explorer/src/connector/utils/isErrorResponse.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import isErrorResponse from "./isErrorResponse"; diff --git a/packages/graph-explorer/src/connector/utils/warnMissingIds.test.ts b/packages/graph-explorer/src/connector/utils/warnMissingIds.test.ts index 1737940082..7346a04edf 100644 --- a/packages/graph-explorer/src/connector/utils/warnMissingIds.test.ts +++ b/packages/graph-explorer/src/connector/utils/warnMissingIds.test.ts @@ -1,4 +1,4 @@ -import { afterAll, beforeEach, describe, expect, it, vi } from "vitest"; +import { afterAll, beforeEach, describe, expect, it, vi } from "vite-plus/test"; import { createEdgeId, createVertexId } from "@/core"; import { logger } from "@/utils"; diff --git a/packages/graph-explorer/src/core/AppStatusLoader.test.tsx b/packages/graph-explorer/src/core/AppStatusLoader.test.tsx index 019aa6eef4..daa45d34eb 100644 --- a/packages/graph-explorer/src/core/AppStatusLoader.test.tsx +++ b/packages/graph-explorer/src/core/AppStatusLoader.test.tsx @@ -5,7 +5,7 @@ import { QueryClientProvider } from "@tanstack/react-query"; import { act, render, screen, waitFor } from "@testing-library/react"; import { Provider } from "jotai"; import { Route, Routes } from "react-router"; -import { describe, expect, onTestFinished, test, vi } from "vitest"; +import { describe, expect, onTestFinished, test, vi } from "vite-plus/test"; import type { SavedConnection } from "@/connections"; diff --git a/packages/graph-explorer/src/core/StateProvider/activeConnectionStorage.test.ts b/packages/graph-explorer/src/core/StateProvider/activeConnectionStorage.test.ts index a5c347a336..963a4af479 100644 --- a/packages/graph-explorer/src/core/StateProvider/activeConnectionStorage.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/activeConnectionStorage.test.ts @@ -1,6 +1,6 @@ import { createStore } from "jotai"; import localForage from "localforage"; -import { beforeEach, describe, expect, test } from "vitest"; +import { beforeEach, describe, expect, test } from "vite-plus/test"; import { type ConnectionId, createNewConnectionId } from "@/connections"; import { readPersistedValue } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/core/StateProvider/atomWithLocalForage.test.ts b/packages/graph-explorer/src/core/StateProvider/atomWithLocalForage.test.ts index 39dd12418d..527c1c3efd 100644 --- a/packages/graph-explorer/src/core/StateProvider/atomWithLocalForage.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/atomWithLocalForage.test.ts @@ -1,6 +1,6 @@ import { createStore } from "jotai"; import localforage from "localforage"; -import { beforeEach, describe, expect, test } from "vitest"; +import { beforeEach, describe, expect, test } from "vite-plus/test"; import { atomWithLocalForage, reconcileMapByKey } from "./atomWithLocalForage"; import { persistenceStatusStore } from "./persistence"; diff --git a/packages/graph-explorer/src/core/StateProvider/displayAttribute.test.ts b/packages/graph-explorer/src/core/StateProvider/displayAttribute.test.ts index b5ea5a8795..b10801aa8a 100644 --- a/packages/graph-explorer/src/core/StateProvider/displayAttribute.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/displayAttribute.test.ts @@ -4,7 +4,7 @@ import { createRandomInteger, createRandomName, } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { getDisplayValueForScalar } from "@/connector/entities"; import { formatDate, LABELS } from "@/utils"; diff --git a/packages/graph-explorer/src/core/StateProvider/displayEdge.test.ts b/packages/graph-explorer/src/core/StateProvider/displayEdge.test.ts index 76f4f5134a..d838803952 100644 --- a/packages/graph-explorer/src/core/StateProvider/displayEdge.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/displayEdge.test.ts @@ -3,7 +3,7 @@ import type { QueryEngine } from "@shared/types"; import { createRandomDate, createRandomName } from "@shared/utils/testing"; -import { beforeEach, describe, expect, it } from "vitest"; +import { beforeEach, describe, expect, it } from "vite-plus/test"; import type { IriNamespace, RdfPrefix } from "@/utils/rdf"; diff --git a/packages/graph-explorer/src/core/StateProvider/displayTypeConfigs.test.ts b/packages/graph-explorer/src/core/StateProvider/displayTypeConfigs.test.ts index 5ac833502a..602ed57d13 100644 --- a/packages/graph-explorer/src/core/StateProvider/displayTypeConfigs.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/displayTypeConfigs.test.ts @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { createRandomName } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { TextTransformer } from "@/hooks"; diff --git a/packages/graph-explorer/src/core/StateProvider/displayVertex.test.ts b/packages/graph-explorer/src/core/StateProvider/displayVertex.test.ts index 5871454508..e503ed54be 100644 --- a/packages/graph-explorer/src/core/StateProvider/displayVertex.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/displayVertex.test.ts @@ -3,7 +3,7 @@ import type { QueryEngine } from "@shared/types"; import { createRandomDate, createRandomName } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { IriNamespace, RdfPrefix } from "@/utils/rdf"; diff --git a/packages/graph-explorer/src/core/StateProvider/edgeConnectionId.test.ts b/packages/graph-explorer/src/core/StateProvider/edgeConnectionId.test.ts index ca41864376..06e3354f3a 100644 --- a/packages/graph-explorer/src/core/StateProvider/edgeConnectionId.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/edgeConnectionId.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { createEdgeType, createVertexType } from "@/core"; diff --git a/packages/graph-explorer/src/core/StateProvider/featureFlags.test.ts b/packages/graph-explorer/src/core/StateProvider/featureFlags.test.ts index 50330c2b66..9512e13543 100644 --- a/packages/graph-explorer/src/core/StateProvider/featureFlags.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/featureFlags.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { renderHookWithState } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/core/StateProvider/graphStyles.test.ts b/packages/graph-explorer/src/core/StateProvider/graphStyles.test.ts index 72a732ed5f..fd6c4fc082 100644 --- a/packages/graph-explorer/src/core/StateProvider/graphStyles.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/graphStyles.test.ts @@ -2,7 +2,7 @@ import { useAtomValue } from "jotai"; import { act } from "react"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createEdgeType, createVertexType } from "@/core"; import { DbState, renderHookWithState } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/core/StateProvider/graphViewLayout.test.ts b/packages/graph-explorer/src/core/StateProvider/graphViewLayout.test.ts index 71c7a1c470..dcb2960f31 100644 --- a/packages/graph-explorer/src/core/StateProvider/graphViewLayout.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/graphViewLayout.test.ts @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { act } from "react"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { DbState, renderHookWithState } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/core/StateProvider/graphViewLayoutDefaults.test.ts b/packages/graph-explorer/src/core/StateProvider/graphViewLayoutDefaults.test.ts index 700c937669..ef49b38768 100644 --- a/packages/graph-explorer/src/core/StateProvider/graphViewLayoutDefaults.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/graphViewLayoutDefaults.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, test } from "vitest"; +import { describe, expect, it, test } from "vite-plus/test"; import { z } from "zod"; import { diff --git a/packages/graph-explorer/src/core/StateProvider/localDb.test.ts b/packages/graph-explorer/src/core/StateProvider/localDb.test.ts index d92d84101d..9a3d15427d 100644 --- a/packages/graph-explorer/src/core/StateProvider/localDb.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/localDb.test.ts @@ -5,7 +5,15 @@ import { createRandomInteger, createRandomName, } from "@shared/utils/testing"; -import { afterEach, beforeEach, describe, expect, it, test, vi } from "vitest"; +import { + afterEach, + beforeEach, + describe, + expect, + it, + test, + vi, +} from "vite-plus/test"; import { z } from "zod"; import type { SavedConnection } from "@/connections"; diff --git a/packages/graph-explorer/src/core/StateProvider/migrateUserLayout.test.ts b/packages/graph-explorer/src/core/StateProvider/migrateUserLayout.test.ts index 4601090d9a..8e82c1d979 100644 --- a/packages/graph-explorer/src/core/StateProvider/migrateUserLayout.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/migrateUserLayout.test.ts @@ -1,5 +1,5 @@ import localForage from "localforage"; -import { beforeEach, describe, expect, it } from "vitest"; +import { beforeEach, describe, expect, it } from "vite-plus/test"; import { migrateUserLayoutIfNeeded } from "./migrateUserLayout"; diff --git a/packages/graph-explorer/src/core/StateProvider/migrateUserStyling.test.ts b/packages/graph-explorer/src/core/StateProvider/migrateUserStyling.test.ts index a9e410be8e..464afa5afc 100644 --- a/packages/graph-explorer/src/core/StateProvider/migrateUserStyling.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/migrateUserStyling.test.ts @@ -1,5 +1,5 @@ import localForage from "localforage"; -import { afterEach, describe, expect, it, vi } from "vitest"; +import { afterEach, describe, expect, it, vi } from "vite-plus/test"; import { createEdgeType, createVertexType } from "@/core/entities"; import { logger } from "@/utils"; diff --git a/packages/graph-explorer/src/core/StateProvider/neighbors.test.ts b/packages/graph-explorer/src/core/StateProvider/neighbors.test.ts index 8ef93fc9f6..33321d6af0 100644 --- a/packages/graph-explorer/src/core/StateProvider/neighbors.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/neighbors.test.ts @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { waitFor } from "@testing-library/react"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import type { NeighborCount } from "@/connector"; diff --git a/packages/graph-explorer/src/core/StateProvider/persistence/classifyStorageError.test.ts b/packages/graph-explorer/src/core/StateProvider/persistence/classifyStorageError.test.ts index 219e14bd60..01bb4a735b 100644 --- a/packages/graph-explorer/src/core/StateProvider/persistence/classifyStorageError.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/persistence/classifyStorageError.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { classifyStorageError } from "./classifyStorageError"; diff --git a/packages/graph-explorer/src/core/StateProvider/persistence/persistenceStatusStore.test.ts b/packages/graph-explorer/src/core/StateProvider/persistence/persistenceStatusStore.test.ts index 7d24ccc711..af28a0c749 100644 --- a/packages/graph-explorer/src/core/StateProvider/persistence/persistenceStatusStore.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/persistence/persistenceStatusStore.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import type { ErrorDetails } from "@/utils/createErrorDetails"; diff --git a/packages/graph-explorer/src/core/StateProvider/persistence/writeQueue.test.ts b/packages/graph-explorer/src/core/StateProvider/persistence/writeQueue.test.ts index c4c84638f3..ef49d54efa 100644 --- a/packages/graph-explorer/src/core/StateProvider/persistence/writeQueue.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/persistence/writeQueue.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { createPersistenceStatusStore } from "./persistenceStatusStore"; import { createWriteQueue } from "./writeQueue"; diff --git a/packages/graph-explorer/src/core/StateProvider/renderedEntities.test.ts b/packages/graph-explorer/src/core/StateProvider/renderedEntities.test.ts index fc1a4cd08a..11ad30c62b 100644 --- a/packages/graph-explorer/src/core/StateProvider/renderedEntities.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/renderedEntities.test.ts @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { waitFor } from "@testing-library/react"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createEdgeId, diff --git a/packages/graph-explorer/src/core/StateProvider/safeSessionStorage.test.ts b/packages/graph-explorer/src/core/StateProvider/safeSessionStorage.test.ts index 0cd1a7940d..48f2a345d9 100644 --- a/packages/graph-explorer/src/core/StateProvider/safeSessionStorage.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/safeSessionStorage.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { logger } from "@/utils"; diff --git a/packages/graph-explorer/src/core/StateProvider/schema.test.ts b/packages/graph-explorer/src/core/StateProvider/schema.test.ts index 3b8267b22c..b75bb7f8d8 100644 --- a/packages/graph-explorer/src/core/StateProvider/schema.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/schema.test.ts @@ -3,7 +3,7 @@ import { createArray, createRandomName } from "@shared/utils/testing"; import { act } from "@testing-library/react"; import { useAtomValue } from "jotai"; -import { describe, expect, it, test } from "vitest"; +import { describe, expect, it, test } from "vite-plus/test"; import type { IriNamespace, RdfPrefix } from "@/utils/rdf"; diff --git a/packages/graph-explorer/src/core/StateProvider/schemaViewLayoutDefaults.test.ts b/packages/graph-explorer/src/core/StateProvider/schemaViewLayoutDefaults.test.ts index 607090b25a..b97395f3f1 100644 --- a/packages/graph-explorer/src/core/StateProvider/schemaViewLayoutDefaults.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/schemaViewLayoutDefaults.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, test } from "vitest"; +import { describe, expect, it, test } from "vite-plus/test"; import { z } from "zod"; import { logger } from "@/utils"; diff --git a/packages/graph-explorer/src/core/StateProvider/serializeData.test.ts b/packages/graph-explorer/src/core/StateProvider/serializeData.test.ts index be14ea1032..f07f29ec02 100644 --- a/packages/graph-explorer/src/core/StateProvider/serializeData.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/serializeData.test.ts @@ -4,7 +4,7 @@ import { createRandomInteger, createRandomName, } from "@shared/utils/testing"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { createRandomSchema } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/core/StateProvider/sessionScopedStorage.test.ts b/packages/graph-explorer/src/core/StateProvider/sessionScopedStorage.test.ts index 96eae2ce8d..7d1a6e2545 100644 --- a/packages/graph-explorer/src/core/StateProvider/sessionScopedStorage.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/sessionScopedStorage.test.ts @@ -1,6 +1,6 @@ import { createStore } from "jotai"; import localForage from "localforage"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { z } from "zod"; import { logger } from "@/utils"; diff --git a/packages/graph-explorer/src/core/StateProvider/storageAtoms.test.ts b/packages/graph-explorer/src/core/StateProvider/storageAtoms.test.ts index 664b20769c..a590e198d9 100644 --- a/packages/graph-explorer/src/core/StateProvider/storageAtoms.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/storageAtoms.test.ts @@ -2,7 +2,7 @@ import type { LegacyConnectionConfig } from "@shared/types"; import { createStore } from "jotai"; import localforage from "localforage"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { SavedConnection } from "@/connections"; diff --git a/packages/graph-explorer/src/core/StateProvider/storedConnectionShapes.test.ts b/packages/graph-explorer/src/core/StateProvider/storedConnectionShapes.test.ts index 6bedc85d11..8f96ef4c82 100644 --- a/packages/graph-explorer/src/core/StateProvider/storedConnectionShapes.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/storedConnectionShapes.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom import localforage from "localforage"; -import { beforeEach, describe, expect, test } from "vitest"; +import { beforeEach, describe, expect, test } from "vite-plus/test"; import { createNewConnectionId, type SavedConnection } from "@/connections"; import { diff --git a/packages/graph-explorer/src/core/StateProvider/typeConfigs.test.ts b/packages/graph-explorer/src/core/StateProvider/typeConfigs.test.ts index a0d3f46642..b87b79d39a 100644 --- a/packages/graph-explorer/src/core/StateProvider/typeConfigs.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/typeConfigs.test.ts @@ -1,5 +1,5 @@ import { createRandomName } from "@shared/utils/testing"; -import { describe, expect, it, test } from "vitest"; +import { describe, expect, it, test } from "vite-plus/test"; import type { NormalizedConnection, SavedConnection } from "@/connections"; diff --git a/packages/graph-explorer/src/core/StateProvider/useResetState.test.ts b/packages/graph-explorer/src/core/StateProvider/useResetState.test.ts index a047e60d9e..66d44cf327 100644 --- a/packages/graph-explorer/src/core/StateProvider/useResetState.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/useResetState.test.ts @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { useQueryClient } from "@tanstack/react-query"; import { act } from "@testing-library/react"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { getAppStore } from "@/core/StateProvider/appStore"; import { selectedTabAtom } from "@/modules/SearchSidebar"; diff --git a/packages/graph-explorer/src/core/StateProvider/vertexStylesTransform.test.ts b/packages/graph-explorer/src/core/StateProvider/vertexStylesTransform.test.ts index 70415a2f7a..34d9460665 100644 --- a/packages/graph-explorer/src/core/StateProvider/vertexStylesTransform.test.ts +++ b/packages/graph-explorer/src/core/StateProvider/vertexStylesTransform.test.ts @@ -1,6 +1,6 @@ import { createStore } from "jotai"; import localforage from "localforage"; -import { beforeEach, describe, expect, it } from "vitest"; +import { beforeEach, describe, expect, it } from "vite-plus/test"; import { createVertexType, type VertexType } from "@/core/entities"; import { logger } from "@/utils"; diff --git a/packages/graph-explorer/src/core/connectionLink/matching.test.ts b/packages/graph-explorer/src/core/connectionLink/matching.test.ts index ebe2becebd..e5ff6880ea 100644 --- a/packages/graph-explorer/src/core/connectionLink/matching.test.ts +++ b/packages/graph-explorer/src/core/connectionLink/matching.test.ts @@ -2,7 +2,7 @@ import type { ConnectionConfig } from "@shared/types"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { createNewConnectionId, type SavedConnection } from "@/connections"; import { DbState } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/core/connectionLink/validation.test.ts b/packages/graph-explorer/src/core/connectionLink/validation.test.ts index b408577bd5..914e5667ed 100644 --- a/packages/graph-explorer/src/core/connectionLink/validation.test.ts +++ b/packages/graph-explorer/src/core/connectionLink/validation.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { resolveConnectionLink } from "./connectionLink"; diff --git a/packages/graph-explorer/src/core/connector.test.ts b/packages/graph-explorer/src/core/connector.test.ts index e6036a323c..7163bef923 100644 --- a/packages/graph-explorer/src/core/connector.test.ts +++ b/packages/graph-explorer/src/core/connector.test.ts @@ -1,7 +1,7 @@ import type { QueryEngine } from "@shared/types"; import { createStore } from "jotai"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import type { SavedConnection } from "@/connections"; diff --git a/packages/graph-explorer/src/core/entities/edge.test.ts b/packages/graph-explorer/src/core/entities/edge.test.ts index 985ce59bde..ace5a47037 100644 --- a/packages/graph-explorer/src/core/entities/edge.test.ts +++ b/packages/graph-explorer/src/core/entities/edge.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { createEdge } from "./edge"; diff --git a/packages/graph-explorer/src/core/entities/entityIdType.test.ts b/packages/graph-explorer/src/core/entities/entityIdType.test.ts index 88d7cbccd5..956ae6909c 100644 --- a/packages/graph-explorer/src/core/entities/entityIdType.test.ts +++ b/packages/graph-explorer/src/core/entities/entityIdType.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { VertexId } from "./vertex"; diff --git a/packages/graph-explorer/src/core/entities/vertex.test.ts b/packages/graph-explorer/src/core/entities/vertex.test.ts index 2dd0516ef2..85dda5672c 100644 --- a/packages/graph-explorer/src/core/entities/vertex.test.ts +++ b/packages/graph-explorer/src/core/entities/vertex.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { LABELS } from "@/utils"; diff --git a/packages/graph-explorer/src/core/fileEnvelope/fileEnvelope.test.ts b/packages/graph-explorer/src/core/fileEnvelope/fileEnvelope.test.ts index 0c4abe3100..0650b31289 100644 --- a/packages/graph-explorer/src/core/fileEnvelope/fileEnvelope.test.ts +++ b/packages/graph-explorer/src/core/fileEnvelope/fileEnvelope.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { createFileEnvelope, diff --git a/packages/graph-explorer/src/core/fileEnvelope/goldenFiles.test.ts b/packages/graph-explorer/src/core/fileEnvelope/goldenFiles.test.ts index b1e0f17234..999ab10c66 100644 --- a/packages/graph-explorer/src/core/fileEnvelope/goldenFiles.test.ts +++ b/packages/graph-explorer/src/core/fileEnvelope/goldenFiles.test.ts @@ -1,5 +1,5 @@ // @vitest-environment happy-dom -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { createEdgeType, createVertexType } from "@/core/entities"; import { parseStylingFile } from "@/core/styling"; diff --git a/packages/graph-explorer/src/core/icons/iconGeometry.test.ts b/packages/graph-explorer/src/core/icons/iconGeometry.test.ts index 7817e6afa2..88735d7160 100644 --- a/packages/graph-explorer/src/core/icons/iconGeometry.test.ts +++ b/packages/graph-explorer/src/core/icons/iconGeometry.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { ICON_BOX, ICON_INSET } from "./iconGeometry"; diff --git a/packages/graph-explorer/src/core/icons/iconImageUrl.test.ts b/packages/graph-explorer/src/core/icons/iconImageUrl.test.ts index 154c484869..b9b6101786 100644 --- a/packages/graph-explorer/src/core/icons/iconImageUrl.test.ts +++ b/packages/graph-explorer/src/core/icons/iconImageUrl.test.ts @@ -2,7 +2,7 @@ // DEV NOTE: happy-dom's DOMParser is not reliable for the svg render path. -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { ICON_BOX, ICON_INSET } from "./iconGeometry"; import { toCanvasBackgroundImage, toIconImageUrl } from "./iconImageUrl"; diff --git a/packages/graph-explorer/src/core/icons/iconRegistry.test.ts b/packages/graph-explorer/src/core/icons/iconRegistry.test.ts index 8b76f9236e..86395d6571 100644 --- a/packages/graph-explorer/src/core/icons/iconRegistry.test.ts +++ b/packages/graph-explorer/src/core/icons/iconRegistry.test.ts @@ -2,7 +2,14 @@ // DEV NOTE: happy-dom's DOMParser is not reliable for the svg render path. -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { + afterEach, + beforeEach, + describe, + expect, + it, + vi, +} from "vite-plus/test"; import { iconRegistry } from "./iconRegistry"; import { classifyIconSource, iconSourceId } from "./iconSource"; diff --git a/packages/graph-explorer/src/core/icons/iconSource.test.ts b/packages/graph-explorer/src/core/icons/iconSource.test.ts index 4f857dcdc2..754323228f 100644 --- a/packages/graph-explorer/src/core/icons/iconSource.test.ts +++ b/packages/graph-explorer/src/core/icons/iconSource.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { classifyIconSource, diff --git a/packages/graph-explorer/src/core/icons/iconSurfaces.test.tsx b/packages/graph-explorer/src/core/icons/iconSurfaces.test.tsx index cb8bcd85e6..9cd5f9b121 100644 --- a/packages/graph-explorer/src/core/icons/iconSurfaces.test.tsx +++ b/packages/graph-explorer/src/core/icons/iconSurfaces.test.tsx @@ -1,7 +1,14 @@ // @vitest-environment jsdom import { render, renderHook, waitFor } from "@testing-library/react"; -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { + afterEach, + beforeEach, + describe, + expect, + it, + vi, +} from "vite-plus/test"; import { VertexSymbol } from "@/components/VertexSymbol/VertexSymbol"; import { diff --git a/packages/graph-explorer/src/core/icons/svgMarkup.test.ts b/packages/graph-explorer/src/core/icons/svgMarkup.test.ts index dda3b615ed..43a20668c9 100644 --- a/packages/graph-explorer/src/core/icons/svgMarkup.test.ts +++ b/packages/graph-explorer/src/core/icons/svgMarkup.test.ts @@ -2,7 +2,7 @@ // DEV NOTE: happy-dom's DOMParser is not reliable for the svg render path. -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { sanitizeSvg } from "./svgMarkup"; diff --git a/packages/graph-explorer/src/core/queryClient.test.ts b/packages/graph-explorer/src/core/queryClient.test.ts index 05cd107a38..2c5664493c 100644 --- a/packages/graph-explorer/src/core/queryClient.test.ts +++ b/packages/graph-explorer/src/core/queryClient.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { InsecureDatabaseUrlError, diff --git a/packages/graph-explorer/src/core/styling/roundTrip.test.ts b/packages/graph-explorer/src/core/styling/roundTrip.test.ts index faf39e919d..fb326344b7 100644 --- a/packages/graph-explorer/src/core/styling/roundTrip.test.ts +++ b/packages/graph-explorer/src/core/styling/roundTrip.test.ts @@ -1,5 +1,5 @@ // @vitest-environment happy-dom -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import type { VertexType, EdgeType } from "@/core/entities"; import type { diff --git a/packages/graph-explorer/src/core/styling/sampleStyles.test.ts b/packages/graph-explorer/src/core/styling/sampleStyles.test.ts index 22840b9593..1a710ba0c3 100644 --- a/packages/graph-explorer/src/core/styling/sampleStyles.test.ts +++ b/packages/graph-explorer/src/core/styling/sampleStyles.test.ts @@ -1,7 +1,7 @@ import { readFileSync } from "node:fs"; import { dirname, join } from "node:path"; import { fileURLToPath } from "node:url"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { createEdgeType, createVertexType } from "@/core/entities"; import { parseStylingFile } from "@/core/styling"; diff --git a/packages/graph-explorer/src/core/styling/stylingParser.test.ts b/packages/graph-explorer/src/core/styling/stylingParser.test.ts index c99422c2f2..37e0518ef2 100644 --- a/packages/graph-explorer/src/core/styling/stylingParser.test.ts +++ b/packages/graph-explorer/src/core/styling/stylingParser.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { createVertexType, createEdgeType } from "@/core/entities"; import { FileEnvelopeError } from "@/core/fileEnvelope"; diff --git a/packages/graph-explorer/src/core/styling/useStylingImportExport.test.ts b/packages/graph-explorer/src/core/styling/useStylingImportExport.test.ts index 3efe44c543..b51d6a9bc9 100644 --- a/packages/graph-explorer/src/core/styling/useStylingImportExport.test.ts +++ b/packages/graph-explorer/src/core/styling/useStylingImportExport.test.ts @@ -1,5 +1,5 @@ // @vitest-environment happy-dom -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import type { VertexType, EdgeType } from "@/core/entities"; import type { diff --git a/packages/graph-explorer/src/hooks/useAddToGraph.test.ts b/packages/graph-explorer/src/hooks/useAddToGraph.test.ts index f06b9f8a80..b15fa5a517 100644 --- a/packages/graph-explorer/src/hooks/useAddToGraph.test.ts +++ b/packages/graph-explorer/src/hooks/useAddToGraph.test.ts @@ -3,7 +3,7 @@ import { waitFor } from "@testing-library/react"; import { useAtomValue } from "jotai"; import { act } from "react"; -import { expect, test } from "vitest"; +import { expect, test } from "vite-plus/test"; import { activeGraphSessionAtom, diff --git a/packages/graph-explorer/src/hooks/useContextMenuTarget.test.ts b/packages/graph-explorer/src/hooks/useContextMenuTarget.test.ts index 0d87337938..e6b678b0e2 100644 --- a/packages/graph-explorer/src/hooks/useContextMenuTarget.test.ts +++ b/packages/graph-explorer/src/hooks/useContextMenuTarget.test.ts @@ -1,5 +1,5 @@ // @vitest-environment happy-dom -import { beforeEach, describe, expect, it } from "vitest"; +import { beforeEach, describe, expect, it } from "vite-plus/test"; import type { EdgeId, VertexId } from "@/core"; diff --git a/packages/graph-explorer/src/hooks/useEntitiesCounts.test.ts b/packages/graph-explorer/src/hooks/useEntitiesCounts.test.ts index ba9e83c829..f749ebcfe2 100644 --- a/packages/graph-explorer/src/hooks/useEntitiesCounts.test.ts +++ b/packages/graph-explorer/src/hooks/useEntitiesCounts.test.ts @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { createRandomInteger } from "@shared/utils/testing"; -import { beforeEach, describe, expect, it, vi } from "vitest"; +import { beforeEach, describe, expect, it, vi } from "vite-plus/test"; import type { SavedConnection } from "@/connections"; import type { SchemaStorageModel } from "@/core"; diff --git a/packages/graph-explorer/src/hooks/useEntityCountFormatter.test.ts b/packages/graph-explorer/src/hooks/useEntityCountFormatter.test.ts index 491ac75c01..e954cc01a1 100644 --- a/packages/graph-explorer/src/hooks/useEntityCountFormatter.test.ts +++ b/packages/graph-explorer/src/hooks/useEntityCountFormatter.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { renderHookWithJotai } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/hooks/useExpandNode.test.ts b/packages/graph-explorer/src/hooks/useExpandNode.test.ts index a57561e1ab..bd68f615f4 100644 --- a/packages/graph-explorer/src/hooks/useExpandNode.test.ts +++ b/packages/graph-explorer/src/hooks/useExpandNode.test.ts @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { act, waitFor } from "@testing-library/react"; -import { beforeEach, describe, expect, it, vi } from "vitest"; +import { beforeEach, describe, expect, it, vi } from "vite-plus/test"; import { defaultNeighborExpansionLimitAtom, diff --git a/packages/graph-explorer/src/hooks/useHasVertexBeenAddedToGraph.test.ts b/packages/graph-explorer/src/hooks/useHasVertexBeenAddedToGraph.test.ts index 144f5deac4..bf914b761a 100644 --- a/packages/graph-explorer/src/hooks/useHasVertexBeenAddedToGraph.test.ts +++ b/packages/graph-explorer/src/hooks/useHasVertexBeenAddedToGraph.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom -import { expect, test } from "vitest"; +import { expect, test } from "vite-plus/test"; import { nodesAtom, diff --git a/packages/graph-explorer/src/hooks/useNeighborsOptions.test.ts b/packages/graph-explorer/src/hooks/useNeighborsOptions.test.ts index 34df371879..964ec072e6 100644 --- a/packages/graph-explorer/src/hooks/useNeighborsOptions.test.ts +++ b/packages/graph-explorer/src/hooks/useNeighborsOptions.test.ts @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { waitFor } from "@testing-library/react"; -import { afterEach, describe, expect, it, vi } from "vitest"; +import { afterEach, describe, expect, it, vi } from "vite-plus/test"; import type { NeighborCount } from "@/connector"; diff --git a/packages/graph-explorer/src/hooks/usePrevious.test.ts b/packages/graph-explorer/src/hooks/usePrevious.test.ts index d052d12d5d..6dcc2c0f7d 100644 --- a/packages/graph-explorer/src/hooks/usePrevious.test.ts +++ b/packages/graph-explorer/src/hooks/usePrevious.test.ts @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { renderHook } from "@testing-library/react"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import usePrevious from "./usePrevious"; diff --git a/packages/graph-explorer/src/hooks/useRefreshEntities.test.ts b/packages/graph-explorer/src/hooks/useRefreshEntities.test.ts index 3e91e687c7..8171137ba0 100644 --- a/packages/graph-explorer/src/hooks/useRefreshEntities.test.ts +++ b/packages/graph-explorer/src/hooks/useRefreshEntities.test.ts @@ -2,7 +2,7 @@ import { useQueryClient } from "@tanstack/react-query"; import { act, waitFor } from "@testing-library/react"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { edgeDetailsQuery, vertexDetailsQuery } from "@/connector"; import { diff --git a/packages/graph-explorer/src/hooks/useRemoveFromGraph.test.ts b/packages/graph-explorer/src/hooks/useRemoveFromGraph.test.ts index 0e54e250f5..55fbc65a75 100644 --- a/packages/graph-explorer/src/hooks/useRemoveFromGraph.test.ts +++ b/packages/graph-explorer/src/hooks/useRemoveFromGraph.test.ts @@ -4,7 +4,7 @@ import { createArray } from "@shared/utils/testing"; import { waitFor } from "@testing-library/react"; import { useAtomValue } from "jotai"; import { act } from "react"; -import { expect, test } from "vitest"; +import { expect, test } from "vite-plus/test"; import { activeGraphSessionAtom, diff --git a/packages/graph-explorer/src/hooks/useSchemaSync.test.ts b/packages/graph-explorer/src/hooks/useSchemaSync.test.ts index 0881832b3d..7361252a67 100644 --- a/packages/graph-explorer/src/hooks/useSchemaSync.test.ts +++ b/packages/graph-explorer/src/hooks/useSchemaSync.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom import { act, waitFor } from "@testing-library/react"; -import { beforeEach, describe, expect, it, vi } from "vitest"; +import { beforeEach, describe, expect, it, vi } from "vite-plus/test"; import { activeConnectionIdAtom, diff --git a/packages/graph-explorer/src/hooks/useTextTransform.test.ts b/packages/graph-explorer/src/hooks/useTextTransform.test.ts index ffafd72986..0e608a0c2f 100644 --- a/packages/graph-explorer/src/hooks/useTextTransform.test.ts +++ b/packages/graph-explorer/src/hooks/useTextTransform.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom -import { beforeEach, describe, expect, it, vi } from "vitest"; +import { beforeEach, describe, expect, it, vi } from "vite-plus/test"; import type { IriNamespace, RdfPrefix } from "@/utils/rdf"; diff --git a/packages/graph-explorer/src/modules/AvailableConnections/AvailableConnections.test.tsx b/packages/graph-explorer/src/modules/AvailableConnections/AvailableConnections.test.tsx index 9d93ca9fb9..58131e2d83 100644 --- a/packages/graph-explorer/src/modules/AvailableConnections/AvailableConnections.test.tsx +++ b/packages/graph-explorer/src/modules/AvailableConnections/AvailableConnections.test.tsx @@ -1,6 +1,6 @@ // @vitest-environment happy-dom import { render, screen } from "@testing-library/react"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { TooltipProvider } from "@/components"; import { savedConnectionsAtom, getAppStore } from "@/core"; diff --git a/packages/graph-explorer/src/modules/AvailableConnections/ConnectionRow.test.tsx b/packages/graph-explorer/src/modules/AvailableConnections/ConnectionRow.test.tsx index 0aff83db5a..7fd575b4bc 100644 --- a/packages/graph-explorer/src/modules/AvailableConnections/ConnectionRow.test.tsx +++ b/packages/graph-explorer/src/modules/AvailableConnections/ConnectionRow.test.tsx @@ -3,7 +3,7 @@ import type { LegacyConnectionConfig } from "@shared/types"; import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import type { SavedConnection } from "@/connections"; diff --git a/packages/graph-explorer/src/modules/ConnectionDetail/ConnectionDeleteButton.test.tsx b/packages/graph-explorer/src/modules/ConnectionDetail/ConnectionDeleteButton.test.tsx index 8a30715491..80343e4439 100644 --- a/packages/graph-explorer/src/modules/ConnectionDetail/ConnectionDeleteButton.test.tsx +++ b/packages/graph-explorer/src/modules/ConnectionDetail/ConnectionDeleteButton.test.tsx @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { TooltipProvider } from "@/components"; diff --git a/packages/graph-explorer/src/modules/ConnectionDetail/ConnectionDetail.test.tsx b/packages/graph-explorer/src/modules/ConnectionDetail/ConnectionDetail.test.tsx index 150a7f33b0..94a6da0bc5 100644 --- a/packages/graph-explorer/src/modules/ConnectionDetail/ConnectionDetail.test.tsx +++ b/packages/graph-explorer/src/modules/ConnectionDetail/ConnectionDetail.test.tsx @@ -2,7 +2,7 @@ import type { ConnectionConfig } from "@shared/types"; import { render, screen } from "@testing-library/react"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { TooltipProvider } from "@/components"; import { getAppStore } from "@/core"; diff --git a/packages/graph-explorer/src/modules/ConnectionDetail/exportConnection.test.ts b/packages/graph-explorer/src/modules/ConnectionDetail/exportConnection.test.ts index bf834fead2..4bdc958d8f 100644 --- a/packages/graph-explorer/src/modules/ConnectionDetail/exportConnection.test.ts +++ b/packages/graph-explorer/src/modules/ConnectionDetail/exportConnection.test.ts @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import * as fileSaver from "file-saver"; import { toast } from "sonner"; -import { beforeEach, describe, expect, it, vi } from "vitest"; +import { beforeEach, describe, expect, it, vi } from "vite-plus/test"; import type { ConfigurationContextProps } from "@/core"; diff --git a/packages/graph-explorer/src/modules/CreateConnection/CreateConnection.test.tsx b/packages/graph-explorer/src/modules/CreateConnection/CreateConnection.test.tsx index 6788e3361c..ddad8bbe34 100644 --- a/packages/graph-explorer/src/modules/CreateConnection/CreateConnection.test.tsx +++ b/packages/graph-explorer/src/modules/CreateConnection/CreateConnection.test.tsx @@ -4,7 +4,7 @@ import type { ConnectionConfig } from "@shared/types"; import { render, screen, waitFor } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { TooltipProvider } from "@/components"; import { diff --git a/packages/graph-explorer/src/modules/CreateConnection/connectionFormModel.test.ts b/packages/graph-explorer/src/modules/CreateConnection/connectionFormModel.test.ts index 83dd8c5774..a7db97b1e4 100644 --- a/packages/graph-explorer/src/modules/CreateConnection/connectionFormModel.test.ts +++ b/packages/graph-explorer/src/modules/CreateConnection/connectionFormModel.test.ts @@ -1,7 +1,7 @@ import type { ConnectionConfig } from "@shared/types"; import { createRandomName, createRandomUrlString } from "@shared/utils/testing"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { DEFAULT_FETCH_TIMEOUT, diff --git a/packages/graph-explorer/src/modules/EntitiesFilter/useFiltersConfig.test.ts b/packages/graph-explorer/src/modules/EntitiesFilter/useFiltersConfig.test.ts index edf0c64418..92f6707591 100644 --- a/packages/graph-explorer/src/modules/EntitiesFilter/useFiltersConfig.test.ts +++ b/packages/graph-explorer/src/modules/EntitiesFilter/useFiltersConfig.test.ts @@ -2,7 +2,7 @@ import { sample } from "lodash"; import { act } from "react"; -import { beforeEach, describe, expect, it, vi } from "vitest"; +import { beforeEach, describe, expect, it, vi } from "vite-plus/test"; import { createEdgeType, createVertexType } from "@/core"; import { DbState, renderHookWithState } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/modules/GraphViewer/ImportGraphButton.test.tsx b/packages/graph-explorer/src/modules/GraphViewer/ImportGraphButton.test.tsx index 4dbdb8fcaf..dff7027f01 100644 --- a/packages/graph-explorer/src/modules/GraphViewer/ImportGraphButton.test.tsx +++ b/packages/graph-explorer/src/modules/GraphViewer/ImportGraphButton.test.tsx @@ -3,7 +3,7 @@ import type { LegacyConnectionConfig } from "@shared/types"; import { createArray } from "@shared/utils/testing"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { ZodError } from "zod"; import type { SavedConnection } from "@/connections"; diff --git a/packages/graph-explorer/src/modules/GraphViewer/exportedGraph.test.ts b/packages/graph-explorer/src/modules/GraphViewer/exportedGraph.test.ts index 9dd5d8aecf..18cc8399fe 100644 --- a/packages/graph-explorer/src/modules/GraphViewer/exportedGraph.test.ts +++ b/packages/graph-explorer/src/modules/GraphViewer/exportedGraph.test.ts @@ -5,7 +5,14 @@ import { createRandomName, createRandomUrlString, } from "@shared/utils/testing"; -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { + afterEach, + beforeEach, + describe, + expect, + it, + vi, +} from "vite-plus/test"; import { z } from "zod"; import type { EdgeId, VertexId } from "@/core"; diff --git a/packages/graph-explorer/src/modules/GraphViewer/useBackgroundImageMap.test.ts b/packages/graph-explorer/src/modules/GraphViewer/useBackgroundImageMap.test.ts index a399cecc51..528a6ee51d 100644 --- a/packages/graph-explorer/src/modules/GraphViewer/useBackgroundImageMap.test.ts +++ b/packages/graph-explorer/src/modules/GraphViewer/useBackgroundImageMap.test.ts @@ -3,7 +3,14 @@ // DEV NOTE: happy-dom's DOMParser is not reliable for the svg render path. import { waitFor } from "@testing-library/react"; -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { + afterEach, + beforeEach, + describe, + expect, + it, + vi, +} from "vite-plus/test"; import type { VertexStyle } from "@/core"; diff --git a/packages/graph-explorer/src/modules/GraphViewer/useGraphSelection.test.ts b/packages/graph-explorer/src/modules/GraphViewer/useGraphSelection.test.ts index f1732d8288..d2c1f00c13 100644 --- a/packages/graph-explorer/src/modules/GraphViewer/useGraphSelection.test.ts +++ b/packages/graph-explorer/src/modules/GraphViewer/useGraphSelection.test.ts @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { act } from "react"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { useGraphViewSidebar } from "@/core"; import { DbState, renderHookWithState } from "@/utils/testing"; diff --git a/packages/graph-explorer/src/modules/GraphViewer/useGraphStyles.test.tsx b/packages/graph-explorer/src/modules/GraphViewer/useGraphStyles.test.tsx index 95f8ee2856..75052dda08 100644 --- a/packages/graph-explorer/src/modules/GraphViewer/useGraphStyles.test.tsx +++ b/packages/graph-explorer/src/modules/GraphViewer/useGraphStyles.test.tsx @@ -1,6 +1,6 @@ // @vitest-environment happy-dom import { waitFor } from "@testing-library/react"; -import { beforeEach, describe, expect, it } from "vitest"; +import { beforeEach, describe, expect, it } from "vite-plus/test"; import type { GraphProps } from "@/components/Graph"; diff --git a/packages/graph-explorer/src/modules/SchemaGraph/SchemaGraphToolbar.test.tsx b/packages/graph-explorer/src/modules/SchemaGraph/SchemaGraphToolbar.test.tsx index 9f2146c443..45e5bac8c9 100644 --- a/packages/graph-explorer/src/modules/SchemaGraph/SchemaGraphToolbar.test.tsx +++ b/packages/graph-explorer/src/modules/SchemaGraph/SchemaGraphToolbar.test.tsx @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import type { SchemaViewLayout } from "@/core/StateProvider/schemaViewLayoutDefaults"; diff --git a/packages/graph-explorer/src/modules/SchemaGraph/Sidebar/Details.test.tsx b/packages/graph-explorer/src/modules/SchemaGraph/Sidebar/Details.test.tsx index 5b2d7ce9cb..ef06e98ba9 100644 --- a/packages/graph-explorer/src/modules/SchemaGraph/Sidebar/Details.test.tsx +++ b/packages/graph-explorer/src/modules/SchemaGraph/Sidebar/Details.test.tsx @@ -3,7 +3,7 @@ import type { ReactNode } from "react"; // @vitest-environment happy-dom import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import type * as Core from "@/core"; diff --git a/packages/graph-explorer/src/modules/SchemaGraph/Sidebar/SchemaExplorerSidebar.test.tsx b/packages/graph-explorer/src/modules/SchemaGraph/Sidebar/SchemaExplorerSidebar.test.tsx index 04bf99d3c5..f218aa8627 100644 --- a/packages/graph-explorer/src/modules/SchemaGraph/Sidebar/SchemaExplorerSidebar.test.tsx +++ b/packages/graph-explorer/src/modules/SchemaGraph/Sidebar/SchemaExplorerSidebar.test.tsx @@ -4,7 +4,7 @@ import { render, screen, within } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { Provider } from "jotai"; import { MemoryRouter } from "react-router"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { TooltipProvider } from "@/components"; import { getAppStore } from "@/core"; diff --git a/packages/graph-explorer/src/modules/SchemaGraph/Sidebar/schemaViewLayout.test.ts b/packages/graph-explorer/src/modules/SchemaGraph/Sidebar/schemaViewLayout.test.ts index 94aab5b9d3..fb7befc388 100644 --- a/packages/graph-explorer/src/modules/SchemaGraph/Sidebar/schemaViewLayout.test.ts +++ b/packages/graph-explorer/src/modules/SchemaGraph/Sidebar/schemaViewLayout.test.ts @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { act } from "react"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { SchemaViewLayout } from "@/core/StateProvider/schemaViewLayoutDefaults"; diff --git a/packages/graph-explorer/src/modules/SchemaGraph/schemaViewLayoutAlgorithm.test.ts b/packages/graph-explorer/src/modules/SchemaGraph/schemaViewLayoutAlgorithm.test.ts index a5d9939e98..78c882227b 100644 --- a/packages/graph-explorer/src/modules/SchemaGraph/schemaViewLayoutAlgorithm.test.ts +++ b/packages/graph-explorer/src/modules/SchemaGraph/schemaViewLayoutAlgorithm.test.ts @@ -2,7 +2,7 @@ import { useAtom, useAtomValue } from "jotai"; import { act } from "react"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { SchemaViewLayout } from "@/core/StateProvider/schemaViewLayoutDefaults"; diff --git a/packages/graph-explorer/src/modules/SchemaGraph/toSchemaGraphSelection.test.ts b/packages/graph-explorer/src/modules/SchemaGraph/toSchemaGraphSelection.test.ts index 41dd6a5efc..0f8ec572ed 100644 --- a/packages/graph-explorer/src/modules/SchemaGraph/toSchemaGraphSelection.test.ts +++ b/packages/graph-explorer/src/modules/SchemaGraph/toSchemaGraphSelection.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { createEdgeType, createVertexType } from "@/core"; import { createEdgeConnectionId } from "@/core/StateProvider/edgeConnectionId"; diff --git a/packages/graph-explorer/src/modules/SearchSidebar/QuerySearchTabContent.test.tsx b/packages/graph-explorer/src/modules/SearchSidebar/QuerySearchTabContent.test.tsx index 6626dbe63f..12284c6e73 100644 --- a/packages/graph-explorer/src/modules/SearchSidebar/QuerySearchTabContent.test.tsx +++ b/packages/graph-explorer/src/modules/SearchSidebar/QuerySearchTabContent.test.tsx @@ -2,7 +2,7 @@ import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { TooltipProvider } from "@/components"; import { getAppStore } from "@/core"; diff --git a/packages/graph-explorer/src/modules/SearchSidebar/useEdgeAttributesAsScalars.test.ts b/packages/graph-explorer/src/modules/SearchSidebar/useEdgeAttributesAsScalars.test.ts index 06288fc272..261b07bd8a 100644 --- a/packages/graph-explorer/src/modules/SearchSidebar/useEdgeAttributesAsScalars.test.ts +++ b/packages/graph-explorer/src/modules/SearchSidebar/useEdgeAttributesAsScalars.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom -import { beforeEach, describe, expect, it } from "vitest"; +import { beforeEach, describe, expect, it } from "vite-plus/test"; import { createResultScalar } from "@/connector/entities"; import { diff --git a/packages/graph-explorer/src/modules/SearchSidebar/useKeywordSearch.test.ts b/packages/graph-explorer/src/modules/SearchSidebar/useKeywordSearch.test.ts index d1fb6dbbdd..89493fd081 100644 --- a/packages/graph-explorer/src/modules/SearchSidebar/useKeywordSearch.test.ts +++ b/packages/graph-explorer/src/modules/SearchSidebar/useKeywordSearch.test.ts @@ -4,7 +4,7 @@ import type { QueryEngine } from "@shared/types"; import { act } from "@testing-library/react"; import { useState } from "react"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { activeConnectionIdAtom, diff --git a/packages/graph-explorer/src/modules/SearchSidebar/useVertexAttributesAsScalars.test.ts b/packages/graph-explorer/src/modules/SearchSidebar/useVertexAttributesAsScalars.test.ts index b68e0dc920..2ab24d0467 100644 --- a/packages/graph-explorer/src/modules/SearchSidebar/useVertexAttributesAsScalars.test.ts +++ b/packages/graph-explorer/src/modules/SearchSidebar/useVertexAttributesAsScalars.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom -import { beforeEach, describe, expect, it } from "vitest"; +import { beforeEach, describe, expect, it } from "vite-plus/test"; import { createResultScalar } from "@/connector/entities"; import { diff --git a/packages/graph-explorer/src/modules/StyleImport/LoadStylesButton.test.tsx b/packages/graph-explorer/src/modules/StyleImport/LoadStylesButton.test.tsx index 5662bdea12..80204a6c1b 100644 --- a/packages/graph-explorer/src/modules/StyleImport/LoadStylesButton.test.tsx +++ b/packages/graph-explorer/src/modules/StyleImport/LoadStylesButton.test.tsx @@ -2,7 +2,7 @@ import { render, screen, waitFor } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { Suspense } from "react"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { TooltipProvider } from "@/components"; import { getAppStore } from "@/core"; diff --git a/packages/graph-explorer/src/modules/StyleImport/styleImportPlan.test.ts b/packages/graph-explorer/src/modules/StyleImport/styleImportPlan.test.ts index 8d7a5c5f95..b3f0b09bd6 100644 --- a/packages/graph-explorer/src/modules/StyleImport/styleImportPlan.test.ts +++ b/packages/graph-explorer/src/modules/StyleImport/styleImportPlan.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import type { EdgeType, VertexType } from "@/core/entities"; import type { diff --git a/packages/graph-explorer/src/modules/StyleImport/styleImportView.test.ts b/packages/graph-explorer/src/modules/StyleImport/styleImportView.test.ts index 46ceb88def..b583bdd9a7 100644 --- a/packages/graph-explorer/src/modules/StyleImport/styleImportView.test.ts +++ b/packages/graph-explorer/src/modules/StyleImport/styleImportView.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { createEdgeType, createVertexType } from "@/core/entities"; import { diff --git a/packages/graph-explorer/src/modules/StyleImport/useApplyStyleImport.test.ts b/packages/graph-explorer/src/modules/StyleImport/useApplyStyleImport.test.ts index c97c9a093a..94a482472c 100644 --- a/packages/graph-explorer/src/modules/StyleImport/useApplyStyleImport.test.ts +++ b/packages/graph-explorer/src/modules/StyleImport/useApplyStyleImport.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import type { VertexType } from "@/core/entities"; import type { diff --git a/packages/graph-explorer/src/modules/Styles/Styles.test.tsx b/packages/graph-explorer/src/modules/Styles/Styles.test.tsx index b1f3fb5310..55b405caf1 100644 --- a/packages/graph-explorer/src/modules/Styles/Styles.test.tsx +++ b/packages/graph-explorer/src/modules/Styles/Styles.test.tsx @@ -4,7 +4,7 @@ import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { Provider } from "jotai"; import { MemoryRouter } from "react-router"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { TooltipProvider } from "@/components"; import { getAppStore } from "@/core"; diff --git a/packages/graph-explorer/src/routes/Connect/Connect.test.tsx b/packages/graph-explorer/src/routes/Connect/Connect.test.tsx index 6dce50e3e0..fc933009f7 100644 --- a/packages/graph-explorer/src/routes/Connect/Connect.test.tsx +++ b/packages/graph-explorer/src/routes/Connect/Connect.test.tsx @@ -4,7 +4,7 @@ import { render, screen, waitFor, within } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { Route, Routes, useLocation, useNavigate } from "react-router"; import { toast } from "sonner"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { TooltipProvider } from "@/components"; import { getAppStore } from "@/core"; diff --git a/packages/graph-explorer/src/routes/Connections/Connections.test.tsx b/packages/graph-explorer/src/routes/Connections/Connections.test.tsx index e1849eb0a6..bab8d02e6f 100644 --- a/packages/graph-explorer/src/routes/Connections/Connections.test.tsx +++ b/packages/graph-explorer/src/routes/Connections/Connections.test.tsx @@ -1,7 +1,14 @@ // @vitest-environment happy-dom import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import { afterEach, beforeEach, describe, expect, test, vi } from "vitest"; +import { + afterEach, + beforeEach, + describe, + expect, + test, + vi, +} from "vite-plus/test"; import { TooltipProvider } from "@/components"; import { savedConnectionsAtom, getAppStore } from "@/core"; diff --git a/packages/graph-explorer/src/routes/DataExplorer/DataExplorer.test.tsx b/packages/graph-explorer/src/routes/DataExplorer/DataExplorer.test.tsx index bdeb1c3a3e..246a0f5647 100644 --- a/packages/graph-explorer/src/routes/DataExplorer/DataExplorer.test.tsx +++ b/packages/graph-explorer/src/routes/DataExplorer/DataExplorer.test.tsx @@ -2,7 +2,7 @@ import { QueryClient } from "@tanstack/react-query"; import { fireEvent, render, screen, waitFor } from "@testing-library/react"; import { Route, Routes, useLocation } from "react-router"; -import { beforeEach, describe, expect, test, vi } from "vitest"; +import { beforeEach, describe, expect, test, vi } from "vite-plus/test"; import { TooltipProvider } from "@/components"; import { getAppStore } from "@/core"; diff --git a/packages/graph-explorer/src/routes/Settings/ResetStylesButton.test.tsx b/packages/graph-explorer/src/routes/Settings/ResetStylesButton.test.tsx index 58d2dd85b3..5f4bd176b7 100644 --- a/packages/graph-explorer/src/routes/Settings/ResetStylesButton.test.tsx +++ b/packages/graph-explorer/src/routes/Settings/ResetStylesButton.test.tsx @@ -1,7 +1,7 @@ // @vitest-environment happy-dom import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { TooltipProvider } from "@/components"; import { getAppStore, userEdgeStylesAtom, userVertexStylesAtom } from "@/core"; diff --git a/packages/graph-explorer/src/routes/Settings/SaveStylesButton.test.tsx b/packages/graph-explorer/src/routes/Settings/SaveStylesButton.test.tsx index a59830f01a..11aa6fd712 100644 --- a/packages/graph-explorer/src/routes/Settings/SaveStylesButton.test.tsx +++ b/packages/graph-explorer/src/routes/Settings/SaveStylesButton.test.tsx @@ -2,7 +2,7 @@ import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { Suspense } from "react"; -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { TooltipProvider } from "@/components"; import { getAppStore } from "@/core"; diff --git a/packages/graph-explorer/src/setupTests.ts b/packages/graph-explorer/src/setupTests.ts index 937f01c81f..c3027a4581 100644 --- a/packages/graph-explorer/src/setupTests.ts +++ b/packages/graph-explorer/src/setupTests.ts @@ -8,7 +8,7 @@ import { cleanup } from "@testing-library/react"; import { IDBFactory } from "fake-indexeddb"; import { createStore } from "jotai"; import localforage from "localforage"; -import { afterEach, beforeEach, vi } from "vitest"; +import { afterEach, beforeEach, vi } from "vite-plus/test"; import { iconRegistry } from "@/core/icons/iconRegistry"; diff --git a/packages/graph-explorer/src/utils/DatabaseTimeoutError.test.ts b/packages/graph-explorer/src/utils/DatabaseTimeoutError.test.ts index 83a3a82bdc..56b4912574 100644 --- a/packages/graph-explorer/src/utils/DatabaseTimeoutError.test.ts +++ b/packages/graph-explorer/src/utils/DatabaseTimeoutError.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { databaseTimeoutCode, diff --git a/packages/graph-explorer/src/utils/FetchTimeoutError.test.ts b/packages/graph-explorer/src/utils/FetchTimeoutError.test.ts index fb2207132f..b43fbeab61 100644 --- a/packages/graph-explorer/src/utils/FetchTimeoutError.test.ts +++ b/packages/graph-explorer/src/utils/FetchTimeoutError.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { FetchTimeoutError } from "./FetchTimeoutError"; diff --git a/packages/graph-explorer/src/utils/NetworkError.test.ts b/packages/graph-explorer/src/utils/NetworkError.test.ts index 34f4acb211..ea1a32d44f 100644 --- a/packages/graph-explorer/src/utils/NetworkError.test.ts +++ b/packages/graph-explorer/src/utils/NetworkError.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { NetworkError } from "./NetworkError"; diff --git a/packages/graph-explorer/src/utils/ServerConnectionError.test.ts b/packages/graph-explorer/src/utils/ServerConnectionError.test.ts index 1f23114433..2f4680f518 100644 --- a/packages/graph-explorer/src/utils/ServerConnectionError.test.ts +++ b/packages/graph-explorer/src/utils/ServerConnectionError.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { ServerConnectionError } from "./ServerConnectionError"; diff --git a/packages/graph-explorer/src/utils/createDisplayError.test.ts b/packages/graph-explorer/src/utils/createDisplayError.test.ts index b794caf301..972e71378b 100644 --- a/packages/graph-explorer/src/utils/createDisplayError.test.ts +++ b/packages/graph-explorer/src/utils/createDisplayError.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { z } from "zod"; import { diff --git a/packages/graph-explorer/src/utils/createErrorDetails.test.ts b/packages/graph-explorer/src/utils/createErrorDetails.test.ts index 82fc4a61f3..eec69ba2d1 100644 --- a/packages/graph-explorer/src/utils/createErrorDetails.test.ts +++ b/packages/graph-explorer/src/utils/createErrorDetails.test.ts @@ -1,4 +1,4 @@ -import { assert, describe, expect, it } from "vitest"; +import { assert, describe, expect, it } from "vite-plus/test"; import { z } from "zod"; import { diff --git a/packages/graph-explorer/src/utils/extractErrorMessage.test.ts b/packages/graph-explorer/src/utils/extractErrorMessage.test.ts index 1b8b490851..85d3dabc8d 100644 --- a/packages/graph-explorer/src/utils/extractErrorMessage.test.ts +++ b/packages/graph-explorer/src/utils/extractErrorMessage.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { extractErrorMessage } from "./extractErrorMessage"; diff --git a/packages/graph-explorer/src/utils/fileData.test.ts b/packages/graph-explorer/src/utils/fileData.test.ts index 3f39a4b9ab..80f2f5025c 100644 --- a/packages/graph-explorer/src/utils/fileData.test.ts +++ b/packages/graph-explorer/src/utils/fileData.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom -import { describe, expect, test, vi } from "vitest"; +import { describe, expect, test, vi } from "vite-plus/test"; import { fromFileToJson, diff --git a/packages/graph-explorer/src/utils/isCancellationError.test.ts b/packages/graph-explorer/src/utils/isCancellationError.test.ts index d710762900..72e96973e8 100644 --- a/packages/graph-explorer/src/utils/isCancellationError.test.ts +++ b/packages/graph-explorer/src/utils/isCancellationError.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { DatabaseTimeoutError } from "./DatabaseTimeoutError"; import { FetchTimeoutError } from "./FetchTimeoutError"; diff --git a/packages/graph-explorer/src/utils/logger.test.ts b/packages/graph-explorer/src/utils/logger.test.ts index 0ce9c55e52..12ed98f6fc 100644 --- a/packages/graph-explorer/src/utils/logger.test.ts +++ b/packages/graph-explorer/src/utils/logger.test.ts @@ -1,5 +1,5 @@ /* oxlint-disable no-console */ -import { beforeEach, describe, expect, test, vi } from "vitest"; +import { beforeEach, describe, expect, test, vi } from "vite-plus/test"; // Unmock logger so we test the real implementation vi.unmock("@/utils/logger"); diff --git a/packages/graph-explorer/src/utils/lucideIcons.test.ts b/packages/graph-explorer/src/utils/lucideIcons.test.ts index 3d3d6d76a8..e6e15bea6f 100644 --- a/packages/graph-explorer/src/utils/lucideIcons.test.ts +++ b/packages/graph-explorer/src/utils/lucideIcons.test.ts @@ -1,6 +1,6 @@ import type dynamicIconImports from "lucide-react/dynamicIconImports"; -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import { allIconNamesSorted, diff --git a/packages/graph-explorer/src/utils/mapWithConcurrency.test.ts b/packages/graph-explorer/src/utils/mapWithConcurrency.test.ts index 48f61438ec..8a3e4b5e16 100644 --- a/packages/graph-explorer/src/utils/mapWithConcurrency.test.ts +++ b/packages/graph-explorer/src/utils/mapWithConcurrency.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it, vi } from "vitest"; +import { describe, expect, it, vi } from "vite-plus/test"; import mapWithConcurrency from "./mapWithConcurrency"; diff --git a/packages/graph-explorer/src/utils/rdf/PrefixLookup.test.ts b/packages/graph-explorer/src/utils/rdf/PrefixLookup.test.ts index 21226d5b6b..62d9c3df84 100644 --- a/packages/graph-explorer/src/utils/rdf/PrefixLookup.test.ts +++ b/packages/graph-explorer/src/utils/rdf/PrefixLookup.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { PrefixTypeConfig } from "@/core"; import type { IriNamespace, RdfPrefix } from "@/utils/rdf"; diff --git a/packages/graph-explorer/src/utils/rdf/commonPrefixes.test.ts b/packages/graph-explorer/src/utils/rdf/commonPrefixes.test.ts index 4375cf50f2..40f3a47b12 100644 --- a/packages/graph-explorer/src/utils/rdf/commonPrefixes.test.ts +++ b/packages/graph-explorer/src/utils/rdf/commonPrefixes.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { IriNamespace } from "./types"; diff --git a/packages/graph-explorer/src/utils/rdf/generatePrefix.test.ts b/packages/graph-explorer/src/utils/rdf/generatePrefix.test.ts index 8ae4faa6f9..43ee7a83ec 100644 --- a/packages/graph-explorer/src/utils/rdf/generatePrefix.test.ts +++ b/packages/graph-explorer/src/utils/rdf/generatePrefix.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { generatePrefix } from "./generatePrefix"; diff --git a/packages/graph-explorer/src/utils/rdf/generatePrefixes.test.ts b/packages/graph-explorer/src/utils/rdf/generatePrefixes.test.ts index 21050aecc7..cebc381f82 100644 --- a/packages/graph-explorer/src/utils/rdf/generatePrefixes.test.ts +++ b/packages/graph-explorer/src/utils/rdf/generatePrefixes.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import type { PrefixTypeConfig } from "@/core"; import type { IriNamespace, RdfPrefix } from "@/utils/rdf"; diff --git a/packages/graph-explorer/src/utils/rdf/replacePrefixes.test.ts b/packages/graph-explorer/src/utils/rdf/replacePrefixes.test.ts index b3be6cb014..063995795a 100644 --- a/packages/graph-explorer/src/utils/rdf/replacePrefixes.test.ts +++ b/packages/graph-explorer/src/utils/rdf/replacePrefixes.test.ts @@ -1,4 +1,4 @@ -import { expect, test } from "vitest"; +import { expect, test } from "vite-plus/test"; import type { PrefixTypeConfig } from "@/core"; import type { IriNamespace, RdfPrefix } from "@/utils/rdf"; diff --git a/packages/graph-explorer/src/utils/rdf/splitIri.test.ts b/packages/graph-explorer/src/utils/rdf/splitIri.test.ts index ea242d947e..fc406ffac4 100644 --- a/packages/graph-explorer/src/utils/rdf/splitIri.test.ts +++ b/packages/graph-explorer/src/utils/rdf/splitIri.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { splitIri } from "./splitIri"; diff --git a/packages/graph-explorer/src/utils/sanitizeQuery.test.ts b/packages/graph-explorer/src/utils/sanitizeQuery.test.ts index 73c7fd91ac..c248c1955c 100644 --- a/packages/graph-explorer/src/utils/sanitizeQuery.test.ts +++ b/packages/graph-explorer/src/utils/sanitizeQuery.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { query, stripCommonIndent } from "./sanitizeQuery"; diff --git a/packages/graph-explorer/src/utils/setHelpers.test.ts b/packages/graph-explorer/src/utils/setHelpers.test.ts index dfe3a53b3a..d53314a5af 100644 --- a/packages/graph-explorer/src/utils/setHelpers.test.ts +++ b/packages/graph-explorer/src/utils/setHelpers.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "vitest"; +import { describe, expect, it } from "vite-plus/test"; import { setDifference, setIsSubsetOf, setUnion } from "./setHelpers"; diff --git a/packages/graph-explorer/src/utils/testing/createMockExplorer.ts b/packages/graph-explorer/src/utils/testing/createMockExplorer.ts index 34354bb3d4..452c95e076 100644 --- a/packages/graph-explorer/src/utils/testing/createMockExplorer.ts +++ b/packages/graph-explorer/src/utils/testing/createMockExplorer.ts @@ -1,4 +1,4 @@ -import { vi } from "vitest"; +import { vi } from "vite-plus/test"; import type { Explorer } from "@/connector"; diff --git a/packages/graph-explorer/src/utils/testing/exportConnectionFileText.ts b/packages/graph-explorer/src/utils/testing/exportConnectionFileText.ts index be1eb7639f..01777c32d9 100644 --- a/packages/graph-explorer/src/utils/testing/exportConnectionFileText.ts +++ b/packages/graph-explorer/src/utils/testing/exportConnectionFileText.ts @@ -1,5 +1,5 @@ import * as fileSaver from "file-saver"; -import { vi } from "vitest"; +import { vi } from "vite-plus/test"; import type { ConfigurationContextProps } from "@/core"; diff --git a/packages/graph-explorer/src/utils/testing/mockVirtualizedLayout.ts b/packages/graph-explorer/src/utils/testing/mockVirtualizedLayout.ts index 307cc43adb..6a259a3f9e 100644 --- a/packages/graph-explorer/src/utils/testing/mockVirtualizedLayout.ts +++ b/packages/graph-explorer/src/utils/testing/mockVirtualizedLayout.ts @@ -1,4 +1,4 @@ -import { vi } from "vitest"; +import { vi } from "vite-plus/test"; /** * jsdom/happy-dom report offsetWidth/offsetHeight as 0, so TanStack Virtual diff --git a/packages/graph-explorer/src/utils/testing/persistence.test.ts b/packages/graph-explorer/src/utils/testing/persistence.test.ts index abb40e5c45..388ca3a260 100644 --- a/packages/graph-explorer/src/utils/testing/persistence.test.ts +++ b/packages/graph-explorer/src/utils/testing/persistence.test.ts @@ -1,5 +1,5 @@ import { createRandomName } from "@shared/utils/testing"; -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import type { ConnectionId, SavedConnection } from "@/connections"; import type { EdgeType, VertexType } from "@/core/entities"; diff --git a/packages/graph-explorer/src/utils/testing/preloadSavedConnection.ts b/packages/graph-explorer/src/utils/testing/preloadSavedConnection.ts index 2621c251d0..538263c523 100644 --- a/packages/graph-explorer/src/utils/testing/preloadSavedConnection.ts +++ b/packages/graph-explorer/src/utils/testing/preloadSavedConnection.ts @@ -1,6 +1,6 @@ import { createStore } from "jotai"; import localforage from "localforage"; -import { vi } from "vitest"; +import { vi } from "vite-plus/test"; import type { SavedConnection } from "@/connections"; import type { AppStore } from "@/core"; diff --git a/packages/graph-explorer/src/utils/testing/requestSentTo.ts b/packages/graph-explorer/src/utils/testing/requestSentTo.ts index ca9937e883..f1f6fbe7fc 100644 --- a/packages/graph-explorer/src/utils/testing/requestSentTo.ts +++ b/packages/graph-explorer/src/utils/testing/requestSentTo.ts @@ -1,4 +1,4 @@ -import { expect, type vi } from "vitest"; +import { expect, type vi } from "vite-plus/test"; import { normalizeHeaders } from "./normalizeHeaders"; diff --git a/packages/graph-explorer/src/utils/testing/waitForValueToChange.ts b/packages/graph-explorer/src/utils/testing/waitForValueToChange.ts index 1739bf8cdb..af2acfdf6f 100644 --- a/packages/graph-explorer/src/utils/testing/waitForValueToChange.ts +++ b/packages/graph-explorer/src/utils/testing/waitForValueToChange.ts @@ -1,5 +1,5 @@ import { waitFor } from "@testing-library/react"; -import { expect } from "vitest"; +import { expect } from "vite-plus/test"; // NOTE: // Replaces functionality that was previously available through testing-library/react-hooks diff --git a/packages/graph-explorer/src/utils/typedEntries.test.ts b/packages/graph-explorer/src/utils/typedEntries.test.ts index d87c4e49a9..7eeeac1402 100644 --- a/packages/graph-explorer/src/utils/typedEntries.test.ts +++ b/packages/graph-explorer/src/utils/typedEntries.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test } from "vitest"; +import { describe, expect, test } from "vite-plus/test"; import { typedEntries } from "./typedEntries"; diff --git a/packages/graph-explorer/vite.config.ts b/packages/graph-explorer/vite.config.ts index 89ee93b1dd..6356cf46da 100644 --- a/packages/graph-explorer/vite.config.ts +++ b/packages/graph-explorer/vite.config.ts @@ -1,8 +1,8 @@ import babel from "@rolldown/plugin-babel"; import tailwindcss from "@tailwindcss/vite"; import react, { reactCompilerPreset } from "@vitejs/plugin-react"; -import { loadEnv } from "vite"; -import { defineConfig } from "vitest/config"; +import { loadEnv, lazyPlugins } from "vite-plus"; +import { defineConfig } from "vite-plus"; import { browserslistBuildTarget } from "./buildTarget.ts"; @@ -43,13 +43,13 @@ export default defineConfig(({ mode }) => { build: { target: browserslistBuildTarget(), }, - plugins: [ + plugins: lazyPlugins(() => [ tailwindcss(), react(), babel({ presets: [reactCompilerPreset()], }), - ], + ]), resolve: { tsconfigPaths: true, }, diff --git a/packages/shared/package.json b/packages/shared/package.json index 9761562f82..9801f388df 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -16,6 +16,6 @@ "typecheck": "tsc --noEmit" }, "devDependencies": { - "vitest": "5.0.4" + "vite-plus": "catalog:" } } diff --git a/packages/shared/vitest.config.ts b/packages/shared/vitest.config.ts index f624398e8d..c60fa8c341 100644 --- a/packages/shared/vitest.config.ts +++ b/packages/shared/vitest.config.ts @@ -1,4 +1,4 @@ -import { defineConfig } from "vitest/config"; +import { defineConfig } from "vite-plus"; export default defineConfig({ test: { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cffe670efc..a621d6115c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -162,6 +162,15 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +catalogs: + default: + vite: + specifier: npm:@voidzero-dev/vite-plus-core@1.1.0 + version: 1.1.0 + vite-plus: + specifier: 1.1.0 + version: 1.1.0 + overrides: semver@<7.0.0: '>=7.7.3' '@babel/core@<7.29.1': '>=7.29.1 <8' @@ -174,6 +183,7 @@ overrides: path-to-regexp@>=8.0.0 <8.4.0: '>=8.4.0' picomatch@>=4.0.0 <4.0.4: '>=4.0.4' yaml@>=2.0.0 <2.8.3: '>=2.8.3' + vite@*: npm:@voidzero-dev/vite-plus-core@1.1.0 importers: @@ -194,21 +204,12 @@ importers: lint-staged: specifier: ^17.6.0 version: 17.6.0 - oxfmt: - specifier: 0.72.0 - version: 0.72.0 - oxlint: - specifier: 1.87.0 - version: 1.87.0(oxlint-tsgolint@7.0.2004) - oxlint-tsgolint: - specifier: 7.0.2004 - version: 7.0.2004 typescript: specifier: ^7.0.2 version: 7.0.2 - vitest: - specifier: 5.0.4 - version: 5.0.4(@types/node@24.19.2)(happy-dom@21.0.1)(jsdom@30.1.2(@noble/hashes@1.8.0))(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)) + vite-plus: + specifier: 'catalog:' + version: 1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) packages/graph-explorer: dependencies: @@ -359,16 +360,16 @@ importers: version: 3.37.0(react@19.3.0) '@rolldown/plugin-babel': specifier: 0.2.4 - version: 0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(rolldown@1.2.13)(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)) + version: 0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(rolldown@1.2.13) '@tailwindcss/vite': specifier: ^4.3.3 - version: 4.3.3(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)) + version: 4.3.3(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)) '@testing-library/dom': specifier: ^10.4.2 version: 10.4.2 '@testing-library/jest-dom': specifier: ^7.0.1 - version: 7.0.1(@testing-library/dom@10.4.2)(vitest@5.0.4(@types/node@24.19.2)(happy-dom@21.0.1)(jsdom@30.1.2(@noble/hashes@1.8.0))(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0))) + version: 7.0.1(@testing-library/dom@10.4.2)(vitest@5.0.3) '@testing-library/react': specifier: ^16.3.3 version: 16.3.3(@testing-library/dom@10.4.2)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0) @@ -404,7 +405,7 @@ importers: version: 2023.10.7 '@vitejs/plugin-react': specifier: ^6.1.2 - version: 6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(rolldown@1.2.13)(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)))(babel-plugin-react-compiler@1.0.0)(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)) + version: 6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(rolldown@1.2.13))(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(babel-plugin-react-compiler@1.0.0) babel-plugin-react-compiler: specifier: ^1.0.0 version: 1.0.0 @@ -433,11 +434,11 @@ importers: specifier: ^5.10.0 version: 5.10.0 vite: - specifier: ^8.3.4 - version: 8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0) - vitest: - specifier: 5.0.4 - version: 5.0.4(@types/node@24.19.2)(happy-dom@21.0.1)(jsdom@30.1.2(@noble/hashes@1.8.0))(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)) + specifier: 'catalog:' + version: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' + vite-plus: + specifier: 'catalog:' + version: 1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) packages/graph-explorer-proxy-server: dependencies: @@ -508,15 +509,15 @@ importers: supertest: specifier: ^7.3.1 version: 7.3.1 - vitest: - specifier: 5.0.4 - version: 5.0.4(@types/node@24.19.2)(happy-dom@21.0.1)(jsdom@30.1.2(@noble/hashes@1.8.0))(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)) + vite-plus: + specifier: 'catalog:' + version: 1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) packages/shared: devDependencies: - vitest: - specifier: 5.0.4 - version: 5.0.4(@types/node@24.19.2)(happy-dom@21.0.1)(jsdom@30.1.2(@noble/hashes@1.8.0))(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)) + vite-plus: + specifier: 'catalog:' + version: 1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) packages: @@ -704,6 +705,9 @@ packages: '@types/react': optional: true + '@blazediff/core@1.10.0': + resolution: {integrity: sha512-AOQff0zgR7cGsZL+4E7hVkmujoPUpm0J9xzWGWZj5wCjd3gmxESXAPfKyuzs93VdpQNFhHlBhfOjrcZ+XTERtQ==} + '@bramus/specificity@2.4.2': resolution: {integrity: sha512-ctxtJ/eA+t+6q2++vj5j7FYX3nRu311q1wfYH3xjlLOsczhlhxAg2FWNUXhpGvAw3BWo1xBcvOV6/YLc2r5FJw==} hasBin: true @@ -1094,6 +1098,10 @@ packages: resolution: {integrity: sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==} engines: {node: ^14.21.3 || >=16} + '@oxc-project/runtime@0.153.0': + resolution: {integrity: sha512-rXJvtlsVG4xJNq64hiaUTIatE7jbBgpa6l4QgmEa2jLgT3ULH9scUBkpsC9N1DfmqixLEyT6DuK6OSXozziIlw==} + engines: {node: ^20.19.0 || >=22.12.0} + '@oxc-project/types@0.153.0': resolution: {integrity: sha512-jSNrRIyvPVLL5E1z/tS5zLAprosGz/FuI1PWwEOz59j3E4TTTzSpqKb/RDGqJhhW0QHYISGXxq582wGx6T11Tw==} @@ -1219,33 +1227,33 @@ packages: cpu: [x64] os: [win32] - '@oxlint-tsgolint/darwin-arm64@7.0.2004': - resolution: {integrity: sha512-uJk3ttju7Lz+Nv8WG4CsLyewoL1qf/Ny8S8OksJ7Bm/F14Tc9gMfW6arM1PCc57IzH/X/I79YsCWTgxX1FKibQ==} + '@oxlint-tsgolint/darwin-arm64@7.0.2003': + resolution: {integrity: sha512-TgV33rXr6ueXBwvc+0nssUkTBSXHJxv77I8p4RCjDjCnvexHtmoPiudVRDfj3S3puMDdeQdHW6jdUgUPy3nr/w==} cpu: [arm64] os: [darwin] - '@oxlint-tsgolint/darwin-x64@7.0.2004': - resolution: {integrity: sha512-0BFfHTzDxNDFPcu0UZAXT6CyCJHAXM0dZveyDb4KEHa2qF/DSnOKOrmvK/wFuFol9kvijbGM9JfuOsor+zWXRw==} + '@oxlint-tsgolint/darwin-x64@7.0.2003': + resolution: {integrity: sha512-hY3FMAjIaPDdK3FNxyRXRfHPOFeoBn6dmnLyKZgQ2IbTTD1adXhl6PfCIqHhCPvurigv7nf7mYuWZZ19MmJzmg==} cpu: [x64] os: [darwin] - '@oxlint-tsgolint/linux-arm64@7.0.2004': - resolution: {integrity: sha512-TAehQc+qdRXyDN3nl/r/3/oPrBVrbtrDeGMkFyG6mf+XphpoJ2lAMVFLclyvrVZCw02RbKROjyw8h72XwQQHcw==} + '@oxlint-tsgolint/linux-arm64@7.0.2003': + resolution: {integrity: sha512-eAET4JpyfBbg8SO0K74o4R55tEjVC292pIyxGOw2XGf8x/HrPNyxwQ478jMYOM54FIVOHc8sJ6VRHxluy6lucw==} cpu: [arm64] os: [linux] - '@oxlint-tsgolint/linux-x64@7.0.2004': - resolution: {integrity: sha512-LPunZvm6ZbWPfHMAyfZf9ci3HHvNEzLejO8zdqO3GoVGoSEHqqufHUD7+OgeatVSaJP7uXDJ2HaNOHIoH7go4Q==} + '@oxlint-tsgolint/linux-x64@7.0.2003': + resolution: {integrity: sha512-GXdyO/XyqDJ3s/llR/oOktLsYNjZtWSQBy0JMc+/0gsNPvTcseKPhn9c6KcFyWmnr6H4vljYALbujonqSzzEGw==} cpu: [x64] os: [linux] - '@oxlint-tsgolint/win32-arm64@7.0.2004': - resolution: {integrity: sha512-FVWplzDImWhiuawnIZVETaQecv4GWom6Jv4Fx2xj7hhXXDZ5okEgiw1gTCImHTIQsi2ycC5oSxVwrn69bMh7iw==} + '@oxlint-tsgolint/win32-arm64@7.0.2003': + resolution: {integrity: sha512-TWauXnPfet0VgpmrstoAK58eJ4gbuwPUuUTQmYQAzE/RG1CpnxXtrKUJULf6lyerPE4KN3gM+DflIA1hOH+38Q==} cpu: [arm64] os: [win32] - '@oxlint-tsgolint/win32-x64@7.0.2004': - resolution: {integrity: sha512-7PsxuUx11Ry9DYTWcljTzRbmZY9B6O9fFFfZV+aodQEMy6pfRT3fhoQRv9PtGN/89z1pPz3nFKrsFm6WqNtX7w==} + '@oxlint-tsgolint/win32-x64@7.0.2003': + resolution: {integrity: sha512-DoRmfe7j8VqNlukp8liRVW45GQDhzRccNenjD/pdzelgtffW47pCMd1xbJLkPaPbKnTwID3onn3VZlL7JbebEA==} cpu: [x64] os: [win32] @@ -1371,12 +1379,19 @@ packages: cpu: [x64] os: [win32] + '@oxlint/plugins@1.79.0': + resolution: {integrity: sha512-S0uyoxakDINJ4DPgqxGlEEvrdSMeQb7Z2lKVjxoY2gwsbZbfg2Xr8Klfeo5ZeraHmmdBCELFUHkSe6KEmBpMvg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@paralleldrive/cuid2@2.3.1': resolution: {integrity: sha512-XO7cAxhnTZl0Yggq6jOgjiOHhbgcO4NqFqwSmQpjK3b6TEE6Uj/jfSk6wzYyemh3+I0sHirKSetjQwn5cZktFw==} '@pinojs/redact@0.4.0': resolution: {integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==} + '@polka/url@1.0.0-next.29': + resolution: {integrity: sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==} + '@radix-ui/number@1.1.3': resolution: {integrity: sha512-Road2bidD0uu/1BGDOWNdPI06g0lIRy6IF9GZcIrDK2KGItfor8IQwQa+yM2ERgHM1MmHxaxpTzk0/Jp42lNfA==} @@ -2681,19 +2696,296 @@ packages: oxc-transform-react: optional: true - '@vitest/mocker@5.0.4': - resolution: {integrity: sha512-tqAlrYWce4iUxhr3ncNohejtCTOcHeE8XWrSNZY3OhPoDn01yeGv+gnaBy64ATp7o6pb03eIbBAjzmibpc9vIQ==} + '@vitest/browser-preview@5.0.3': + resolution: {integrity: sha512-jfnEBv5yDRPR1MeiTlTW5bcZoPsiI7MBhpZR8IJiSxVhdK6Pa4gPk3tLHTRxVHy24kkWxY2TnUbnszU3J1bQJw==} peerDependencies: - msw: ^2.4.9 || ^3.0.0 - vite: ^6.0.0 || ^7.0.0 || ^8.0.0 + vitest: 5.0.3 + + '@vitest/browser@5.0.3': + resolution: {integrity: sha512-7KHIkVA/gTRxQV9qPa9qLK+g5INZG6iRrlwXSFG5EKsOomW3UzzW7wsdt1Yp5PufzQ43lniuONlb4lUVCC2qSg==} + peerDependencies: + vitest: 5.0.3 + + '@vitest/mocker@5.0.3': + resolution: {integrity: sha512-T8sWAIbkSyAjkwTcaEc3Iu0o9A27X1/kdXrizhZkGuSKScRQtRzclfAMpOTcGdXCsqxeWlpGy3XjqaW8CpLORg==} + peerDependencies: + msw: ^2.4.9 peerDependenciesMeta: msw: optional: true - vite: + + '@vitest/pretty-format@5.0.3': + resolution: {integrity: sha512-3hr5eV5z2ff0l2Q1vaKQbB4j3M3tElw8stDokEOTqXJB3Es5VrT8gBRIMY59gGuFp8Y61sWlWFK1aNUH5dHDYw==} + + '@vitest/snapshot@5.0.3': + resolution: {integrity: sha512-SK4YTg9jL+jwakHIZxfciuvyOQsbY15AueR3USGtsXzmy+3FbJgqjAbC+ac20mRLwfEDtO5sfTqK6bUCDTRVPA==} + + '@vitest/spy@5.0.3': + resolution: {integrity: sha512-XhFysQTB8AZ+P4gMi+Lpo99vg2AZi0qKpaB9yXQl37+CaMEAPO3iH/wGVnSyL5MPERiLezpqTVtrR6UZH5GCXg==} + + '@vitest/ui@5.0.3': + resolution: {integrity: sha512-9dfvqDBvSbHM6y9YVXxAypkl2z7mrWozK/JFo237qI0cj/3M/kzDKiVZqzi3TE54Ler7Jditud7OMBZCyUvRHA==} + peerDependencies: + vitest: 5.0.3 + + '@vitest/utils@5.0.3': + resolution: {integrity: sha512-77fDTZv8eu1CzlIfgPU2yrl5MXSUaUAOvgdZEeVm3X3WIxUubIX2SforqS6176lT32HCF6uBVMYVqfHxw7o6eg==} + + '@voidzero-dev/vite-plus-core@1.1.0': + resolution: {integrity: sha512-Ai6HQP1zG0H3ZrmStEaMVKtDzW0xU3VgMzm3LFaXDQMEp8nAqvp0VGoU8HmpB9xv9vDSl+UxiSNOpuY9T714OQ==} + engines: {node: ^20.19.0 || ^22.18.0 || >=24.11.0} + peerDependencies: + '@arethetypeswrong/core': ^0.18.1 + '@types/node': ^20.19.0 || >=22.12.0 + '@typescript/native-preview': '*' + '@vitejs/devtools': ^0.7.1 + '@volar/typescript': ~2.4.0 + '@vue/language-core': ~3.2.0 || ~3.3.0 + esbuild: '>=0.28.1' + jiti: '>=1.21.0' + less: ^4.0.0 + publint: ^0.3.8 + sass: ^1.70.0 + sass-embedded: ^1.70.0 + stylus: '>=0.54.8' + sugarss: ^5.0.0 + terser: ^5.16.0 + tsx: ^4.8.1 + typescript: ^5.0.0 || ^6.0.0 || ^7.0.0 + unplugin-unused: '>=0.5.0' + unrun: '*' + vue-tsc: ~3.2.0 || ~3.3.0 + yaml: '>=2.8.3' + peerDependenciesMeta: + '@arethetypeswrong/core': + optional: true + '@types/node': + optional: true + '@typescript/native-preview': + optional: true + '@vitejs/devtools': + optional: true + '@volar/typescript': + optional: true + '@vue/language-core': + optional: true + esbuild: + optional: true + jiti: optional: true + less: + optional: true + publint: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + typescript: + optional: true + unplugin-unused: + optional: true + unrun: + optional: true + vue-tsc: + optional: true + yaml: + optional: true + + '@voidzero-dev/vite-plus-darwin-arm64@1.1.0': + resolution: {integrity: sha512-iWJdQZBRZWB6X1Aadk0Rrs/NJeP32Qb0OGeWnu1AYL0g6ZCj1yy3l9Oa+HasDyG97s+4UYo523LdBAAv3dlFwg==} + engines: {node: '>=20.0.0'} + cpu: [arm64] + os: [darwin] + + '@voidzero-dev/vite-plus-darwin-x64@1.1.0': + resolution: {integrity: sha512-IYSQ2KdigRMuVkKCC+e5uNliCTSHa8j3ajHsFG2cfXoiGHS1f4ausbMEzNYtn9Tcn0Xsyo7l0LN8lvB7MapJhA==} + engines: {node: '>=20.0.0'} + cpu: [x64] + os: [darwin] + + '@voidzero-dev/vite-plus-linux-arm64-gnu@1.1.0': + resolution: {integrity: sha512-PmrJG8Md5KCWi/akWJz5GRjei2QfRf48R4rPB9CfualzAAlpMOmaMGeV3eloWVAFye85uhdtzCmIAqN5OUVBJA==} + engines: {node: '>=20.0.0'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@voidzero-dev/vite-plus-linux-arm64-musl@1.1.0': + resolution: {integrity: sha512-zFr57++m5U474XEMcFGV025TOv9V2I5d87yylcuI/SvxQwDE9P7T5iRl55vGzQOzzInSnQuru6ByNIfmGa+84A==} + engines: {node: '>=20.0.0'} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@voidzero-dev/vite-plus-linux-x64-gnu@1.1.0': + resolution: {integrity: sha512-DXeRuTMylEbIVCQX+pSBM27lSPQwAKO6PDnGBJ6nFGhu37AmNeVl7cIChtcniXOuykbFduhSt3eIr/6CZHoEag==} + engines: {node: '>=20.0.0'} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@voidzero-dev/vite-plus-linux-x64-musl@1.1.0': + resolution: {integrity: sha512-J7/Mb/kxtENUsL5Gh+8SSr/p054fSqU4oj0GEthr/2VEFSwZouOUigk6CzE7ANKFeTNJm40n8QCnjm7Oiy09pQ==} + engines: {node: '>=20.0.0'} + cpu: [x64] + os: [linux] + libc: [musl] + + '@voidzero-dev/vite-plus-win32-arm64-msvc@1.1.0': + resolution: {integrity: sha512-EXWz8Tt7skmI0fLMSq5zYcuHo6SCF0reG55qDB/NMvWVIAca6Dborq7D1HyKA8v6p39zOl8r07gR7yXuYv7eeQ==} + engines: {node: '>=20.0.0'} + cpu: [arm64] + os: [win32] + + '@voidzero-dev/vite-plus-win32-x64-msvc@1.1.0': + resolution: {integrity: sha512-K9k77Mj/TszFHKsZePKsyfsIPo8HbjKeJUxaSJ6YZKAmSh9QvDsMFe4i4/HALwyii/PR1EQ8N0iN1nf9cNimGQ==} + engines: {node: '>=20.0.0'} + cpu: [x64] + os: [win32] + + '@yuku-codegen/binding-android-arm64@0.9.5': + resolution: {integrity: sha512-jrOY5WM+AaAqkv51fHP1x28ifto4WgcZVzodLUyMU1jMWn5Sq+VciRdk/n8E0Ey5w4p4cWWE+m5GfXWOYh7Kzw==} + cpu: [arm64] + os: [android] + + '@yuku-codegen/binding-darwin-arm64@0.9.5': + resolution: {integrity: sha512-4O4lkCQIzPZGjiNB1GORSI6hBECbiiSBS/APZXPvNKYH+nhY4uuqv03LNXA+SET3hoBjvr95P5rIhY8KQaQUBA==} + cpu: [arm64] + os: [darwin] + + '@yuku-codegen/binding-darwin-x64@0.9.5': + resolution: {integrity: sha512-9EvoUO0SEhD6/d8VHdWuPerepPMSR1y84+UEgz8Un1Ope14Oe7xMvePpEQLTLovoIFZ8Zg3iZ8z8E11pZMqC3g==} + cpu: [x64] + os: [darwin] + + '@yuku-codegen/binding-freebsd-x64@0.9.5': + resolution: {integrity: sha512-HqT78WwgHTmp8lwujoUa9CrIortX4DdpuiVC18ZPSGvuuJf4ylpIEI6QrQEM78Zwz3muhAWAOXZ5irdiYY+AyA==} + cpu: [x64] + os: [freebsd] + + '@yuku-codegen/binding-linux-arm-gnu@0.9.5': + resolution: {integrity: sha512-QJXwIW6Ms3QIawbcBIedmrmXnfdpuAOjZJ/eAABq5XTzWvSxZ7lutu9W5yIHahlaTaFnBo7ikrVMD1szLTpPUw==} + cpu: [arm] + os: [linux] + libc: [glibc] + + '@yuku-codegen/binding-linux-arm-musl@0.9.5': + resolution: {integrity: sha512-eHbFy3IHGb+IYarrYwAo0yWSEQV3eAmEn6VrsKA6I1Wy1YPJxWqSJlV69JhqsHtJuJlljUIF3ex0y46yaKIu9w==} + cpu: [arm] + os: [linux] + libc: [musl] + + '@yuku-codegen/binding-linux-arm64-gnu@0.9.5': + resolution: {integrity: sha512-ByoJMbySTaDhjAXSu8q6Lh7HKg3YoesXpcT72aYk0Aiw4PCznmY4ybpLTq0RCvp0RIPhFm/6yECFiGBwyCC1nw==} + cpu: [arm64] + os: [linux] + libc: [glibc] - '@vitest/spy@5.0.4': - resolution: {integrity: sha512-MZKk/gSkm2q+ICobMxCpH1mA+cCAWm8WV7UhxlqGjq/sJ3AGc1BqFOs5CRVXxH78wQtme9q/NAAgBquj4AcyMw==} + '@yuku-codegen/binding-linux-arm64-musl@0.9.5': + resolution: {integrity: sha512-gD9vfXIoBw1toSxhO9rgmSu/FEfy3PMznJAxVjIuH8DrWEiDKXmJO0pJKfj1Ltbe/TmtWVZR+TjISqeSIGQzMg==} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@yuku-codegen/binding-linux-x64-gnu@0.9.5': + resolution: {integrity: sha512-BARvdnvqMGjOr5Iel2JH+9H5vAIE0R6H0Z2fsT02xrvmI/1ZXNB8lkuX+ZGevPhZb3zJ9WeC/R8JZstrsUOK5g==} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@yuku-codegen/binding-linux-x64-musl@0.9.5': + resolution: {integrity: sha512-x8flcevS1fbb7ESrmpOY/pON4eInSaE/7Ktjqx2udOE2W33BNSZmJuwpyUgo54AoHNqrcaM7szqydyJn5fNvew==} + cpu: [x64] + os: [linux] + libc: [musl] + + '@yuku-codegen/binding-win32-arm64@0.9.5': + resolution: {integrity: sha512-KOL/rBatWqH4ZpCNoF8ZtSNdOJbAxBJLmk/VeRciepGROPTbPum1A9t67GpFgOU7qrkUWlPJdJ+KHKbvbmOt+w==} + cpu: [arm64] + os: [win32] + + '@yuku-codegen/binding-win32-x64@0.9.5': + resolution: {integrity: sha512-FxENahEjWSan59Syh/us/Kf4wNq8qrJLFJ3R2N4Oiwtb6yNdz/rWLNTIoNSssnsp7IoWJdUP6o/Z8ppg7lXMcg==} + cpu: [x64] + os: [win32] + + '@yuku-parser/binding-android-arm64@0.9.5': + resolution: {integrity: sha512-A2JCFCSHfnficqYEw4Iujpx7XrkMM3UfFcgJFmYpZSo9zM4nyhmdIIE0FogSduuU60lhM0/UcfuUBXIVNBMlGQ==} + cpu: [arm64] + os: [android] + + '@yuku-parser/binding-darwin-arm64@0.9.5': + resolution: {integrity: sha512-3PiyU+Eare4YuKaQ22N98/yAiROPY5o/NQJHraICzDvk4pgS+m+bgLKOvkGBRn33OnV95Vdv1Mn38b+MQHpULQ==} + cpu: [arm64] + os: [darwin] + + '@yuku-parser/binding-darwin-x64@0.9.5': + resolution: {integrity: sha512-blFMAFI7AInI83XaiOF8cIeiRM46Nz9EfpZtZPRLbKxSA9aAr5v8aHYpmfN6NoyXxAv/10pwS4gsAuc1W6fy5Q==} + cpu: [x64] + os: [darwin] + + '@yuku-parser/binding-freebsd-x64@0.9.5': + resolution: {integrity: sha512-TsNuL4qsZdO0tHp5GW43Y5fHeLPpPHA675wdcPNTcdq2ZO5AvsQWFFoiDg8CH4oBktfsQ9tdvKhjLnLYwKvp4g==} + cpu: [x64] + os: [freebsd] + + '@yuku-parser/binding-linux-arm-gnu@0.9.5': + resolution: {integrity: sha512-b0afYK5gHeV8RdmOcqAlgM8ONsye4cax4DMnIBaoJyPMd1UTGvTbpkqQcPVdhmHlcfcGVGMV1laeVovlr/dscw==} + cpu: [arm] + os: [linux] + libc: [glibc] + + '@yuku-parser/binding-linux-arm-musl@0.9.5': + resolution: {integrity: sha512-fD3lKzl+r6j6n8DwiMY53qnh5DLqD8KJjCp+NbVud54Nnh3Q9Wprqss3YzyMHP3NSJk663Wlg1E1X5qOuFVFig==} + cpu: [arm] + os: [linux] + libc: [musl] + + '@yuku-parser/binding-linux-arm64-gnu@0.9.5': + resolution: {integrity: sha512-aRU/aCphV1MWCl/lvI6NX8LgucHQ68Fx+vz7NBb/5MEr2EuzCxiPOQqeFcMdWh+2AED/p0AvAREch0c+cSnlhA==} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@yuku-parser/binding-linux-arm64-musl@0.9.5': + resolution: {integrity: sha512-5+Guro0l8H473YXlEjVNBRLN/IbPbJdnQh1zo0OLt49xxnON+XMJRRaEyTOTfkn9QSRg0+BhEKGR4W9Gu2uZJQ==} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@yuku-parser/binding-linux-x64-gnu@0.9.5': + resolution: {integrity: sha512-pwwSyV9q+GlvzSXlsMZBMlgk22L5bud714/vqZCdeUTivzeUVltQzUaf3IQXOGXdpc59JYTeuMCtbGquaAUoCA==} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@yuku-parser/binding-linux-x64-musl@0.9.5': + resolution: {integrity: sha512-z18j6JN3lBHH8vzN7gG1M8fI0nlgItSfnC9PfbmUbt97iHViKfw2iA2G9fGwRMe5LyPRZBrejIlapbygPbpdaw==} + cpu: [x64] + os: [linux] + libc: [musl] + + '@yuku-parser/binding-win32-arm64@0.9.5': + resolution: {integrity: sha512-s6Gwttb1dQvtPX6Bgkw+UPC9IO3UBDXc6Zezog8MMgvu3UfJBBB9TQqKBX/2quu0Eyh+lLSAyNlIyyecaagUPg==} + cpu: [arm64] + os: [win32] + + '@yuku-parser/binding-win32-x64@0.9.5': + resolution: {integrity: sha512-FrERt9YWatY3bJfSUdi4YWY+6iQcyo3MzCC821BxlWM5TFZEHijnpz/bknR79VHlXY/9CvXz8ZlaAGPsTtN3nw==} + cpu: [x64] + os: [win32] + + '@yuku-toolchain/types@0.9.5': + resolution: {integrity: sha512-KiuLNNgX9uNealaWAR+G3/cMXnRk9x4TY2EkYe/KIag+UPdwiA0RRf1hr1WAxzTP8KGzCTkqUdLPvqh32sEO3w==} accepts@2.0.0: resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==} @@ -3180,6 +3472,9 @@ packages: resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==} engines: {node: ^12.20 || >= 14.13} + fflate@0.8.3: + resolution: {integrity: sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==} + file-entry-cache@8.0.0: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} engines: {node: '>=16.0.0'} @@ -3703,6 +3998,10 @@ packages: react-dom: optional: true + mrmime@2.0.1: + resolution: {integrity: sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==} + engines: {node: '>=10'} + ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} @@ -3746,8 +4045,8 @@ packages: resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==} engines: {node: '>= 0.4'} - obug@3.0.0: - resolution: {integrity: sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==} + obug@2.2.1: + resolution: {integrity: sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q==} engines: {node: '>=12.20.0'} on-exit-leak-free@2.1.2: @@ -3782,8 +4081,8 @@ packages: vite-plus: optional: true - oxlint-tsgolint@7.0.2004: - resolution: {integrity: sha512-vQ9WDF3fiZJvRdSDosNOflerOCOpwol6vWzVDxW76RcU19cjTh7engvkHLvmv+tzedR8fAiJUVUGr6IVZdkzXQ==} + oxlint-tsgolint@7.0.2003: + resolution: {integrity: sha512-VnK4zlqgmgq/7ZcjzCk/WpN8kKFsYGcB85Io9qT3wL4K8Un3RKmJkp793crNETieMusPMKOA4a+Mw2wbteI6TQ==} hasBin: true oxlint@1.87.0: @@ -3835,6 +4134,9 @@ packages: path-to-regexp@8.4.0: resolution: {integrity: sha512-PuseHIvAnz3bjrM2rGJtSgo1zjgxapTLZ7x2pjhzWwlp4SJQgK3f3iZIQwkpEnBaKz6seKBADpM4B4ySkuYypg==} + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} @@ -3856,6 +4158,10 @@ packages: resolution: {integrity: sha512-bk1ZMTwG/Vymx+zPoa28MhNzucFvXJWp3csrSuxuHPSMeUettaCoQ5Jvg07mtC4JGNpcfTwz41oVCnNgBK9+vA==} hasBin: true + pngjs@7.0.0: + resolution: {integrity: sha512-LKWqWJRhstyYo9pGvgor/ivk2w94eSjE3RGVuzLGlr3NmD8bf7RcYGze1mNdEHRP6TRP6rMuDHk5t44hnTRyow==} + engines: {node: '>=14.19.0'} + postcss@8.5.29: resolution: {integrity: sha512-49cGhUbXj8Qenv0iTMxA1cFBzxXoctpC9Ujd77t1WcbJIr6nF/eI7g/8MgxrYldFRuAXvja7xQRwavoW7kgrxQ==} engines: {node: ^10 || ^12 || >=14} @@ -4129,6 +4435,10 @@ packages: resolution: {integrity: sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==} engines: {node: '>= 0.4'} + sirv@3.0.2: + resolution: {integrity: sha512-2wcC/oGxHis/BoHkkPwldgiPSYcpZK3JU28WoMVv55yHJgcZ8rlXvuG9iZggz+sU1d4bRgIGASwyWqjxu3FM0g==} + engines: {node: '>=18'} + sonic-boom@4.2.0: resolution: {integrity: sha512-INb7TM37/mAcsGmc9hyyI6+QR3rR1zVRu36B0NeGXKnOOLiZOfER5SA+N7X7k3yUYRzLWafduTDvJAfDswwEww==} @@ -4232,6 +4542,10 @@ packages: resolution: {integrity: sha512-jBrmx4lYmaC9k/mgPbylxs7kBUxHtD8256up+HjLaDFfXScKJQyil+SWXSvhAtT7XHo+yTVlpB81PGmHP8oLSQ==} engines: {node: ^20.0.0 || >=22.0.0} + tinyrainbow@3.2.0: + resolution: {integrity: sha512-LgO3D9yZJjApUiuUfl9iFAwrtaX4+lok3wJIqttGoKCHlWUqHqbQpnxCf82L8FjgKsh4iGo78hqJwgL8F6To2A==} + engines: {node: '>=14.0.0'} + tldts-core@7.4.12: resolution: {integrity: sha512-nYNzS2WRf4QJmjzFFgAxLOBjyBxAGRbCy9PVBPaglcYyYajh40VBn+v5Ngr96ZMc7oM0+aCJdtQnNejvdBnXMQ==} @@ -4243,6 +4557,10 @@ packages: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} + totalist@3.0.1: + resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} + engines: {node: '>=6'} + tough-cookie@6.0.2: resolution: {integrity: sha512-exgYmnmL/sJpR3upZfXG5PoatXQii55xAiXGXzY+sROLZ/Y+SLcp9PgJNI9Vz37HpQ74WvDcLT8eqm+kV3FzrA==} engines: {node: '>=16'} @@ -4349,63 +4667,36 @@ packages: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} - vite@8.3.4: - resolution: {integrity: sha512-IftLE8phJhdNRIGNEV4JCCvfNScoZQVfcXaN8TQropWGJtOHcu+iAB9pHcuGvmEb/kddw0LBe/jS8ztdC6xdiQ==} - engines: {node: ^20.19.0 || >=22.12.0} + vite-plus@1.1.0: + resolution: {integrity: sha512-khkRlY70qqbBV0QmF9QKXSrhxIRYftb1H05AJMowMoq7iouchmAoXYeReZ8pKKMOadqrWVxFa3S9BA2m7w59iA==} + engines: {node: ^22.18.0 || ^24.11.0 || >=26.0.0} hasBin: true peerDependencies: - '@types/node': ^20.19.0 || >=22.12.0 - '@vitejs/devtools': ^0.7.1 - esbuild: '>=0.28.1' - jiti: '>=1.21.0' - less: ^4.0.0 - sass: ^1.70.0 - sass-embedded: ^1.70.0 - stylus: '>=0.54.8' - sugarss: ^5.0.0 - terser: ^5.16.0 - tsx: ^4.8.1 - yaml: '>=2.8.3' + '@vitest/browser-playwright': 5.0.3 + '@vitest/browser-webdriverio': ^5.0.0-beta.5 || >=5.0.0 + playwright: '*' peerDependenciesMeta: - '@types/node': - optional: true - '@vitejs/devtools': - optional: true - esbuild: - optional: true - jiti: - optional: true - less: - optional: true - sass: - optional: true - sass-embedded: - optional: true - stylus: - optional: true - sugarss: + '@vitest/browser-playwright': optional: true - terser: + '@vitest/browser-webdriverio': optional: true - tsx: - optional: true - yaml: + playwright: optional: true - vitest@5.0.4: - resolution: {integrity: sha512-z0WxZRV2Sg48wF0FSgMq3TFG8JS38/Qr96vZVZdX6+Em9raQTvnXQvdTFJe2m3rfyJnEHeHQ/snceIdi8D1pVg==} + vitest@5.0.3: + resolution: {integrity: sha512-xMw97S3rjdtj5dkVat7jCsqWBpvchs3RlpQctUqwJD0KkERk40vz2fJ77lDwW/Vzh/pk18eItYAzkodhSes3jQ==} engines: {node: ^22.12.0 || ^24.0.0 || >=26.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@opentelemetry/api': ^1.9.0 '@types/node': ^22.0.0 || >=24.0.0 - '@vitest/browser-playwright': 5.0.4 - '@vitest/browser-preview': 5.0.4 + '@vitest/browser-playwright': 5.0.3 + '@vitest/browser-preview': 5.0.3 '@vitest/browser-webdriverio': ^5.0.0-beta.5 || >=5.0.0 - '@vitest/coverage-istanbul': 5.0.4 - '@vitest/coverage-v8': 5.0.4 - '@vitest/ui': 5.0.4 + '@vitest/coverage-istanbul': 5.0.3 + '@vitest/coverage-v8': 5.0.3 + '@vitest/ui': 5.0.3 happy-dom: '*' jsdom: '*' vite: ^6.4.0 || ^7.0.0 || ^8.0.0 @@ -4510,6 +4801,15 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + yuku-ast@0.9.5: + resolution: {integrity: sha512-Q8qW8WwQnN5Cm0ZZivdRIfv0sRLTjUq0YumXJkw8CYN1aCdICH9rk4C47/4n6kA5EqDtlj+F608twoTSV2MwdQ==} + + yuku-codegen@0.9.5: + resolution: {integrity: sha512-zGUVyDpSK4b6c9B0yyxi2P0wujn1XZTbG9dCb7d6gyAoP63EMgyLzUwPUvwxPG5jgYqhlI7w+S3oCyapqGr4PA==} + + yuku-parser@0.9.5: + resolution: {integrity: sha512-IBnAdNVMswWbJcM7woPluOudectJzFjJ1N8jVRxP9Uq4CIv5hZdBIcdmtRbFDYF/Ph2j2gVup4YJ4N9mh0jYFA==} + zod-validation-error@4.0.2: resolution: {integrity: sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==} engines: {node: '>=18.0.0'} @@ -4843,6 +5143,8 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 + '@blazediff/core@1.10.0': {} + '@bramus/specificity@2.4.2': dependencies: css-tree: 3.2.1 @@ -5074,6 +5376,8 @@ snapshots: '@noble/hashes@1.8.0': {} + '@oxc-project/runtime@0.153.0': {} + '@oxc-project/types@0.153.0': {} '@oxfmt/binding-android-arm-eabi@0.72.0': @@ -5133,22 +5437,22 @@ snapshots: '@oxfmt/binding-win32-x64-msvc@0.72.0': optional: true - '@oxlint-tsgolint/darwin-arm64@7.0.2004': + '@oxlint-tsgolint/darwin-arm64@7.0.2003': optional: true - '@oxlint-tsgolint/darwin-x64@7.0.2004': + '@oxlint-tsgolint/darwin-x64@7.0.2003': optional: true - '@oxlint-tsgolint/linux-arm64@7.0.2004': + '@oxlint-tsgolint/linux-arm64@7.0.2003': optional: true - '@oxlint-tsgolint/linux-x64@7.0.2004': + '@oxlint-tsgolint/linux-x64@7.0.2003': optional: true - '@oxlint-tsgolint/win32-arm64@7.0.2004': + '@oxlint-tsgolint/win32-arm64@7.0.2003': optional: true - '@oxlint-tsgolint/win32-x64@7.0.2004': + '@oxlint-tsgolint/win32-x64@7.0.2003': optional: true '@oxlint/binding-android-arm-eabi@1.87.0': @@ -5208,12 +5512,16 @@ snapshots: '@oxlint/binding-win32-x64-msvc@1.87.0': optional: true + '@oxlint/plugins@1.79.0': {} + '@paralleldrive/cuid2@2.3.1': dependencies: '@noble/hashes': 1.8.0 '@pinojs/redact@0.4.0': {} + '@polka/url@1.0.0-next.29': {} + '@radix-ui/number@1.1.3': {} '@radix-ui/primitive@1.2.0': {} @@ -6024,14 +6332,14 @@ snapshots: '@rolldown/binding-win32-x64-msvc@1.2.13': optional: true - '@rolldown/plugin-babel@0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(rolldown@1.2.13)(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0))': + '@rolldown/plugin-babel@0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(rolldown@1.2.13)': dependencies: '@babel/core': 7.29.7 picomatch: 4.0.7 rolldown: 1.2.13 optionalDependencies: '@babel/runtime': 7.29.7 - vite: 8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0) + vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' '@rolldown/pluginutils@1.0.1': {} @@ -6157,12 +6465,12 @@ snapshots: '@tailwindcss/oxide-win32-arm64-msvc': 4.3.3 '@tailwindcss/oxide-win32-x64-msvc': 4.3.3 - '@tailwindcss/vite@4.3.3(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0))': + '@tailwindcss/vite@4.3.3(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))': dependencies: '@tailwindcss/node': 4.3.3 '@tailwindcss/oxide': 4.3.3 tailwindcss: 4.3.3 - vite: 8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0) + vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' '@tanstack/eslint-plugin-query@5.104.2(eslint@10.2.1(jiti@2.7.0))(typescript@7.0.2)': dependencies: @@ -6199,7 +6507,7 @@ snapshots: picocolors: 1.1.1 pretty-format: 27.5.1 - '@testing-library/jest-dom@7.0.1(@testing-library/dom@10.4.2)(vitest@5.0.4(@types/node@24.19.2)(happy-dom@21.0.1)(jsdom@30.1.2(@noble/hashes@1.8.0))(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)))': + '@testing-library/jest-dom@7.0.1(@testing-library/dom@10.4.2)(vitest@5.0.3)': dependencies: '@adobe/css-tools': 4.4.4 '@testing-library/dom': 10.4.2 @@ -6209,7 +6517,7 @@ snapshots: picocolors: 1.1.1 redent: 3.0.0 optionalDependencies: - vitest: 5.0.4(@types/node@24.19.2)(happy-dom@21.0.1)(jsdom@30.1.2(@noble/hashes@1.8.0))(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)) + vitest: 5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) '@testing-library/react@16.3.3(@testing-library/dom@10.4.2)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)': dependencies: @@ -6458,24 +6766,392 @@ snapshots: '@typescript/typescript-win32-x64@7.0.2': optional: true - '@vitejs/plugin-react@6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(rolldown@1.2.13)(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)))(babel-plugin-react-compiler@1.0.0)(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0))': + '@vitejs/plugin-react@6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(rolldown@1.2.13))(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(babel-plugin-react-compiler@1.0.0)': dependencies: '@rolldown/pluginutils': 1.0.1 - vite: 8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0) + vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' optionalDependencies: - '@rolldown/plugin-babel': 0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(rolldown@1.2.13)(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)) + '@rolldown/plugin-babel': 0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(rolldown@1.2.13) babel-plugin-react-compiler: 1.0.0 - '@vitest/mocker@5.0.4(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0))': + '@vitest/browser-preview@5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(vitest@5.0.3)(yaml@2.9.0)': + dependencies: + '@testing-library/dom': 10.4.2 + '@testing-library/user-event': 14.6.7(@testing-library/dom@10.4.2) + '@vitest/browser': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(vitest@5.0.3)(yaml@2.9.0) + vitest: 5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) + transitivePeerDependencies: + - '@arethetypeswrong/core' + - '@types/node' + - '@typescript/native-preview' + - '@vitejs/devtools' + - '@volar/typescript' + - '@vue/language-core' + - bufferutil + - esbuild + - jiti + - less + - msw + - publint + - sass + - sass-embedded + - stylus + - sugarss + - terser + - tsx + - typescript + - unplugin-unused + - unrun + - utf-8-validate + - vue-tsc + - yaml + + '@vitest/browser-preview@5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(vitest@5.0.3)(yaml@2.9.0)': + dependencies: + '@testing-library/dom': 10.4.2 + '@testing-library/user-event': 14.6.7(@testing-library/dom@10.4.2) + '@vitest/browser': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(vitest@5.0.3)(yaml@2.9.0) + vitest: 5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) + transitivePeerDependencies: + - '@arethetypeswrong/core' + - '@types/node' + - '@typescript/native-preview' + - '@vitejs/devtools' + - '@volar/typescript' + - '@vue/language-core' + - bufferutil + - esbuild + - jiti + - less + - msw + - publint + - sass + - sass-embedded + - stylus + - sugarss + - terser + - tsx + - typescript + - unplugin-unused + - unrun + - utf-8-validate + - vue-tsc + - yaml + + '@vitest/browser@5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(vitest@5.0.3)(yaml@2.9.0)': + dependencies: + '@blazediff/core': 1.10.0 + '@vitest/mocker': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) + '@vitest/ui': 5.0.3(vitest@5.0.3) + '@vitest/utils': 5.0.3 + magic-string: 1.4.3 + pngjs: 7.0.0 + sirv: 3.0.2 + tinyrainbow: 3.2.0 + vitest: 5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) + ws: 8.21.3 + transitivePeerDependencies: + - '@arethetypeswrong/core' + - '@types/node' + - '@typescript/native-preview' + - '@vitejs/devtools' + - '@volar/typescript' + - '@vue/language-core' + - bufferutil + - esbuild + - jiti + - less + - msw + - publint + - sass + - sass-embedded + - stylus + - sugarss + - terser + - tsx + - typescript + - unplugin-unused + - unrun + - utf-8-validate + - vue-tsc + - yaml + + '@vitest/browser@5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(vitest@5.0.3)(yaml@2.9.0)': + dependencies: + '@blazediff/core': 1.10.0 + '@vitest/mocker': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) + '@vitest/ui': 5.0.3(vitest@5.0.3) + '@vitest/utils': 5.0.3 + magic-string: 1.4.3 + pngjs: 7.0.0 + sirv: 3.0.2 + tinyrainbow: 3.2.0 + vitest: 5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) + ws: 8.21.3 + transitivePeerDependencies: + - '@arethetypeswrong/core' + - '@types/node' + - '@typescript/native-preview' + - '@vitejs/devtools' + - '@volar/typescript' + - '@vue/language-core' + - bufferutil + - esbuild + - jiti + - less + - msw + - publint + - sass + - sass-embedded + - stylus + - sugarss + - terser + - tsx + - typescript + - unplugin-unused + - unrun + - utf-8-validate + - vue-tsc + - yaml + + '@vitest/mocker@5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)': dependencies: '@jridgewell/trace-mapping': 0.3.31 - '@vitest/spy': 5.0.4 + '@vitest/spy': 5.0.3 estree-walker: 3.0.3 magic-string: 1.4.3 + vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' + transitivePeerDependencies: + - '@arethetypeswrong/core' + - '@types/node' + - '@typescript/native-preview' + - '@vitejs/devtools' + - '@volar/typescript' + - '@vue/language-core' + - esbuild + - jiti + - less + - publint + - sass + - sass-embedded + - stylus + - sugarss + - terser + - tsx + - typescript + - unplugin-unused + - unrun + - vue-tsc + - yaml + + '@vitest/mocker@5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)': + dependencies: + '@jridgewell/trace-mapping': 0.3.31 + '@vitest/spy': 5.0.3 + estree-walker: 3.0.3 + magic-string: 1.4.3 + vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)' + transitivePeerDependencies: + - '@arethetypeswrong/core' + - '@types/node' + - '@typescript/native-preview' + - '@vitejs/devtools' + - '@volar/typescript' + - '@vue/language-core' + - esbuild + - jiti + - less + - publint + - sass + - sass-embedded + - stylus + - sugarss + - terser + - tsx + - typescript + - unplugin-unused + - unrun + - vue-tsc + - yaml + + '@vitest/pretty-format@5.0.3': + dependencies: + tinyrainbow: 3.2.0 + + '@vitest/snapshot@5.0.3': + dependencies: + '@vitest/pretty-format': 5.0.3 + '@vitest/utils': 5.0.3 + magic-string: 1.4.3 + pathe: 2.0.3 + + '@vitest/spy@5.0.3': {} + + '@vitest/ui@5.0.3(vitest@5.0.3)': + dependencies: + '@vitest/utils': 5.0.3 + fflate: 0.8.3 + flatted: 3.4.4 + pathe: 2.0.3 + sirv: 3.0.2 + tinyrainbow: 3.2.0 + vitest: 5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) + + '@vitest/utils@5.0.3': + dependencies: + '@vitest/pretty-format': 5.0.3 + convert-source-map: 2.0.0 + tinyrainbow: 3.2.0 + + '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)': + dependencies: + '@oxc-project/runtime': 0.153.0 + '@oxc-project/types': 0.153.0 + lightningcss: 1.33.0 + postcss: 8.5.29 + yuku-codegen: 0.9.5 + yuku-parser: 0.9.5 optionalDependencies: - vite: 8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0) + '@types/node': 24.19.2 + '@voidzero-dev/vite-plus-darwin-arm64': 1.1.0 + '@voidzero-dev/vite-plus-darwin-x64': 1.1.0 + '@voidzero-dev/vite-plus-linux-arm64-gnu': 1.1.0 + '@voidzero-dev/vite-plus-linux-arm64-musl': 1.1.0 + '@voidzero-dev/vite-plus-linux-x64-gnu': 1.1.0 + '@voidzero-dev/vite-plus-linux-x64-musl': 1.1.0 + '@voidzero-dev/vite-plus-win32-arm64-msvc': 1.1.0 + '@voidzero-dev/vite-plus-win32-x64-msvc': 1.1.0 + esbuild: 0.28.1 + fsevents: 2.3.3 + jiti: 2.7.0 + terser: 5.42.0 + tsx: 4.21.0 + typescript: 5.9.3 + yaml: 2.9.0 + + '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)': + dependencies: + '@oxc-project/runtime': 0.153.0 + '@oxc-project/types': 0.153.0 + lightningcss: 1.33.0 + postcss: 8.5.29 + yuku-codegen: 0.9.5 + yuku-parser: 0.9.5 + optionalDependencies: + '@types/node': 24.19.2 + '@voidzero-dev/vite-plus-darwin-arm64': 1.1.0 + '@voidzero-dev/vite-plus-darwin-x64': 1.1.0 + '@voidzero-dev/vite-plus-linux-arm64-gnu': 1.1.0 + '@voidzero-dev/vite-plus-linux-arm64-musl': 1.1.0 + '@voidzero-dev/vite-plus-linux-x64-gnu': 1.1.0 + '@voidzero-dev/vite-plus-linux-x64-musl': 1.1.0 + '@voidzero-dev/vite-plus-win32-arm64-msvc': 1.1.0 + '@voidzero-dev/vite-plus-win32-x64-msvc': 1.1.0 + esbuild: 0.28.1 + fsevents: 2.3.3 + jiti: 2.7.0 + terser: 5.42.0 + tsx: 4.21.0 + typescript: 7.0.2 + yaml: 2.9.0 + + '@voidzero-dev/vite-plus-darwin-arm64@1.1.0': + optional: true + + '@voidzero-dev/vite-plus-darwin-x64@1.1.0': + optional: true + + '@voidzero-dev/vite-plus-linux-arm64-gnu@1.1.0': + optional: true + + '@voidzero-dev/vite-plus-linux-arm64-musl@1.1.0': + optional: true + + '@voidzero-dev/vite-plus-linux-x64-gnu@1.1.0': + optional: true + + '@voidzero-dev/vite-plus-linux-x64-musl@1.1.0': + optional: true - '@vitest/spy@5.0.4': {} + '@voidzero-dev/vite-plus-win32-arm64-msvc@1.1.0': + optional: true + + '@voidzero-dev/vite-plus-win32-x64-msvc@1.1.0': + optional: true + + '@yuku-codegen/binding-android-arm64@0.9.5': + optional: true + + '@yuku-codegen/binding-darwin-arm64@0.9.5': + optional: true + + '@yuku-codegen/binding-darwin-x64@0.9.5': + optional: true + + '@yuku-codegen/binding-freebsd-x64@0.9.5': + optional: true + + '@yuku-codegen/binding-linux-arm-gnu@0.9.5': + optional: true + + '@yuku-codegen/binding-linux-arm-musl@0.9.5': + optional: true + + '@yuku-codegen/binding-linux-arm64-gnu@0.9.5': + optional: true + + '@yuku-codegen/binding-linux-arm64-musl@0.9.5': + optional: true + + '@yuku-codegen/binding-linux-x64-gnu@0.9.5': + optional: true + + '@yuku-codegen/binding-linux-x64-musl@0.9.5': + optional: true + + '@yuku-codegen/binding-win32-arm64@0.9.5': + optional: true + + '@yuku-codegen/binding-win32-x64@0.9.5': + optional: true + + '@yuku-parser/binding-android-arm64@0.9.5': + optional: true + + '@yuku-parser/binding-darwin-arm64@0.9.5': + optional: true + + '@yuku-parser/binding-darwin-x64@0.9.5': + optional: true + + '@yuku-parser/binding-freebsd-x64@0.9.5': + optional: true + + '@yuku-parser/binding-linux-arm-gnu@0.9.5': + optional: true + + '@yuku-parser/binding-linux-arm-musl@0.9.5': + optional: true + + '@yuku-parser/binding-linux-arm64-gnu@0.9.5': + optional: true + + '@yuku-parser/binding-linux-arm64-musl@0.9.5': + optional: true + + '@yuku-parser/binding-linux-x64-gnu@0.9.5': + optional: true + + '@yuku-parser/binding-linux-x64-musl@0.9.5': + optional: true + + '@yuku-parser/binding-win32-arm64@0.9.5': + optional: true + + '@yuku-parser/binding-win32-x64@0.9.5': + optional: true + + '@yuku-toolchain/types@0.9.5': {} accepts@2.0.0: dependencies: @@ -6979,6 +7655,8 @@ snapshots: node-domexception: 1.0.0 web-streams-polyfill: 3.3.3 + fflate@0.8.3: {} + file-entry-cache@8.0.0: dependencies: flat-cache: 4.0.1 @@ -7422,6 +8100,8 @@ snapshots: react: 19.3.0 react-dom: 19.3.0(react@19.3.0) + mrmime@2.0.1: {} + ms@2.0.0: {} ms@2.1.3: {} @@ -7448,7 +8128,7 @@ snapshots: object-inspect@1.13.4: {} - obug@3.0.0: {} + obug@2.2.1: {} on-exit-leak-free@2.1.2: {} @@ -7471,7 +8151,32 @@ snapshots: type-check: 0.4.0 word-wrap: 1.2.5 - oxfmt@0.72.0: + oxfmt@0.72.0(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)): + dependencies: + tinypool: 2.2.0 + optionalDependencies: + '@oxfmt/binding-android-arm-eabi': 0.72.0 + '@oxfmt/binding-android-arm64': 0.72.0 + '@oxfmt/binding-darwin-arm64': 0.72.0 + '@oxfmt/binding-darwin-x64': 0.72.0 + '@oxfmt/binding-freebsd-x64': 0.72.0 + '@oxfmt/binding-linux-arm-gnueabihf': 0.72.0 + '@oxfmt/binding-linux-arm-musleabihf': 0.72.0 + '@oxfmt/binding-linux-arm64-gnu': 0.72.0 + '@oxfmt/binding-linux-arm64-musl': 0.72.0 + '@oxfmt/binding-linux-ppc64-gnu': 0.72.0 + '@oxfmt/binding-linux-riscv64-gnu': 0.72.0 + '@oxfmt/binding-linux-riscv64-musl': 0.72.0 + '@oxfmt/binding-linux-s390x-gnu': 0.72.0 + '@oxfmt/binding-linux-x64-gnu': 0.72.0 + '@oxfmt/binding-linux-x64-musl': 0.72.0 + '@oxfmt/binding-openharmony-arm64': 0.72.0 + '@oxfmt/binding-win32-arm64-msvc': 0.72.0 + '@oxfmt/binding-win32-ia32-msvc': 0.72.0 + '@oxfmt/binding-win32-x64-msvc': 0.72.0 + vite-plus: 1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) + + oxfmt@0.72.0(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)): dependencies: tinypool: 2.2.0 optionalDependencies: @@ -7494,17 +8199,42 @@ snapshots: '@oxfmt/binding-win32-arm64-msvc': 0.72.0 '@oxfmt/binding-win32-ia32-msvc': 0.72.0 '@oxfmt/binding-win32-x64-msvc': 0.72.0 + vite-plus: 1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) - oxlint-tsgolint@7.0.2004: + oxlint-tsgolint@7.0.2003: + optionalDependencies: + '@oxlint-tsgolint/darwin-arm64': 7.0.2003 + '@oxlint-tsgolint/darwin-x64': 7.0.2003 + '@oxlint-tsgolint/linux-arm64': 7.0.2003 + '@oxlint-tsgolint/linux-x64': 7.0.2003 + '@oxlint-tsgolint/win32-arm64': 7.0.2003 + '@oxlint-tsgolint/win32-x64': 7.0.2003 + + oxlint@1.87.0(oxlint-tsgolint@7.0.2003)(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)): optionalDependencies: - '@oxlint-tsgolint/darwin-arm64': 7.0.2004 - '@oxlint-tsgolint/darwin-x64': 7.0.2004 - '@oxlint-tsgolint/linux-arm64': 7.0.2004 - '@oxlint-tsgolint/linux-x64': 7.0.2004 - '@oxlint-tsgolint/win32-arm64': 7.0.2004 - '@oxlint-tsgolint/win32-x64': 7.0.2004 - - oxlint@1.87.0(oxlint-tsgolint@7.0.2004): + '@oxlint/binding-android-arm-eabi': 1.87.0 + '@oxlint/binding-android-arm64': 1.87.0 + '@oxlint/binding-darwin-arm64': 1.87.0 + '@oxlint/binding-darwin-x64': 1.87.0 + '@oxlint/binding-freebsd-x64': 1.87.0 + '@oxlint/binding-linux-arm-gnueabihf': 1.87.0 + '@oxlint/binding-linux-arm-musleabihf': 1.87.0 + '@oxlint/binding-linux-arm64-gnu': 1.87.0 + '@oxlint/binding-linux-arm64-musl': 1.87.0 + '@oxlint/binding-linux-ppc64-gnu': 1.87.0 + '@oxlint/binding-linux-riscv64-gnu': 1.87.0 + '@oxlint/binding-linux-riscv64-musl': 1.87.0 + '@oxlint/binding-linux-s390x-gnu': 1.87.0 + '@oxlint/binding-linux-x64-gnu': 1.87.0 + '@oxlint/binding-linux-x64-musl': 1.87.0 + '@oxlint/binding-openharmony-arm64': 1.87.0 + '@oxlint/binding-win32-arm64-msvc': 1.87.0 + '@oxlint/binding-win32-ia32-msvc': 1.87.0 + '@oxlint/binding-win32-x64-msvc': 1.87.0 + oxlint-tsgolint: 7.0.2003 + vite-plus: 1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) + + oxlint@1.87.0(oxlint-tsgolint@7.0.2003)(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)): optionalDependencies: '@oxlint/binding-android-arm-eabi': 1.87.0 '@oxlint/binding-android-arm64': 1.87.0 @@ -7525,7 +8255,8 @@ snapshots: '@oxlint/binding-win32-arm64-msvc': 1.87.0 '@oxlint/binding-win32-ia32-msvc': 1.87.0 '@oxlint/binding-win32-x64-msvc': 1.87.0 - oxlint-tsgolint: 7.0.2004 + oxlint-tsgolint: 7.0.2003 + vite-plus: 1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) p-limit@3.1.0: dependencies: @@ -7556,6 +8287,8 @@ snapshots: path-to-regexp@8.4.0: {} + pathe@2.0.3: {} + picocolors@1.1.1: {} picomatch@4.0.7: {} @@ -7596,6 +8329,8 @@ snapshots: sonic-boom: 4.2.0 thread-stream: 4.0.0 + pngjs@7.0.0: {} + postcss@8.5.29: dependencies: nanoid: 3.3.20 @@ -7948,6 +8683,12 @@ snapshots: side-channel-map: 1.0.1 side-channel-weakmap: 1.0.2 + sirv@3.0.2: + dependencies: + '@polka/url': 1.0.0-next.29 + mrmime: 2.0.1 + totalist: 3.0.1 + sonic-boom@4.2.0: dependencies: atomic-sleep: 1.0.0 @@ -8045,6 +8786,8 @@ snapshots: tinypool@2.2.0: {} + tinyrainbow@3.2.0: {} + tldts-core@7.4.12: {} tldts@7.4.12: @@ -8053,6 +8796,8 @@ snapshots: toidentifier@1.0.1: {} + totalist@3.0.1: {} + tough-cookie@6.0.2: dependencies: tldts: 7.4.12 @@ -8162,44 +8907,213 @@ snapshots: vary@1.1.2: {} - vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0): + vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0): dependencies: - lightningcss: 1.33.0 + '@oxc-project/types': 0.153.0 + '@oxlint/plugins': 1.79.0 + '@vitest/browser': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(vitest@5.0.3)(yaml@2.9.0) + '@vitest/browser-preview': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(vitest@5.0.3)(yaml@2.9.0) + '@vitest/mocker': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) + '@vitest/pretty-format': 5.0.3 + '@vitest/snapshot': 5.0.3 + '@vitest/spy': 5.0.3 + '@vitest/utils': 5.0.3 + oxfmt: 0.72.0(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)) + oxlint: 1.87.0(oxlint-tsgolint@7.0.2003)(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)) + oxlint-tsgolint: 7.0.2003 + vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' + vitest: 5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) + optionalDependencies: + '@voidzero-dev/vite-plus-darwin-arm64': 1.1.0 + '@voidzero-dev/vite-plus-darwin-x64': 1.1.0 + '@voidzero-dev/vite-plus-linux-arm64-gnu': 1.1.0 + '@voidzero-dev/vite-plus-linux-arm64-musl': 1.1.0 + '@voidzero-dev/vite-plus-linux-x64-gnu': 1.1.0 + '@voidzero-dev/vite-plus-linux-x64-musl': 1.1.0 + '@voidzero-dev/vite-plus-win32-arm64-msvc': 1.1.0 + '@voidzero-dev/vite-plus-win32-x64-msvc': 1.1.0 + transitivePeerDependencies: + - '@arethetypeswrong/core' + - '@edge-runtime/vm' + - '@opentelemetry/api' + - '@types/node' + - '@typescript/native-preview' + - '@vitejs/devtools' + - '@vitest/coverage-istanbul' + - '@vitest/coverage-v8' + - '@vitest/ui' + - '@volar/typescript' + - '@vue/language-core' + - bufferutil + - esbuild + - happy-dom + - jiti + - jsdom + - less + - msw + - publint + - sass + - sass-embedded + - stylus + - sugarss + - svelte + - terser + - tsx + - typescript + - unplugin-unused + - unrun + - utf-8-validate + - vue-tsc + - yaml + + vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0): + dependencies: + '@oxc-project/types': 0.153.0 + '@oxlint/plugins': 1.79.0 + '@vitest/browser': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(vitest@5.0.3)(yaml@2.9.0) + '@vitest/browser-preview': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(vitest@5.0.3)(yaml@2.9.0) + '@vitest/mocker': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) + '@vitest/pretty-format': 5.0.3 + '@vitest/snapshot': 5.0.3 + '@vitest/spy': 5.0.3 + '@vitest/utils': 5.0.3 + oxfmt: 0.72.0(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)) + oxlint: 1.87.0(oxlint-tsgolint@7.0.2003)(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)) + oxlint-tsgolint: 7.0.2003 + vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)' + vitest: 5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) + optionalDependencies: + '@voidzero-dev/vite-plus-darwin-arm64': 1.1.0 + '@voidzero-dev/vite-plus-darwin-x64': 1.1.0 + '@voidzero-dev/vite-plus-linux-arm64-gnu': 1.1.0 + '@voidzero-dev/vite-plus-linux-arm64-musl': 1.1.0 + '@voidzero-dev/vite-plus-linux-x64-gnu': 1.1.0 + '@voidzero-dev/vite-plus-linux-x64-musl': 1.1.0 + '@voidzero-dev/vite-plus-win32-arm64-msvc': 1.1.0 + '@voidzero-dev/vite-plus-win32-x64-msvc': 1.1.0 + transitivePeerDependencies: + - '@arethetypeswrong/core' + - '@edge-runtime/vm' + - '@opentelemetry/api' + - '@types/node' + - '@typescript/native-preview' + - '@vitejs/devtools' + - '@vitest/coverage-istanbul' + - '@vitest/coverage-v8' + - '@vitest/ui' + - '@volar/typescript' + - '@vue/language-core' + - bufferutil + - esbuild + - happy-dom + - jiti + - jsdom + - less + - msw + - publint + - sass + - sass-embedded + - stylus + - sugarss + - svelte + - terser + - tsx + - typescript + - unplugin-unused + - unrun + - utf-8-validate + - vue-tsc + - yaml + + vitest@5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0): + dependencies: + '@types/chai': 5.2.3 + '@vitest/mocker': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) + chai: 6.3.0 + es-module-lexer: 2.3.2 + expect-type: 1.4.0 + magic-string: 1.4.3 + obug: 2.2.1 picomatch: 4.0.7 - postcss: 8.5.29 - rolldown: 1.2.13 + std-env: 4.3.0 + tinybench: 6.2.2 + tinyexec: 1.3.1 tinyglobby: 0.2.17 + vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' + why-is-node-running: 3.2.1 optionalDependencies: '@types/node': 24.19.2 - esbuild: 0.28.1 - fsevents: 2.3.3 - jiti: 2.7.0 - terser: 5.42.0 - tsx: 4.21.0 - yaml: 2.9.0 - - vitest@5.0.4(@types/node@24.19.2)(happy-dom@21.0.1)(jsdom@30.1.2(@noble/hashes@1.8.0))(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)): + '@vitest/browser-preview': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(vitest@5.0.3)(yaml@2.9.0) + '@vitest/ui': 5.0.3(vitest@5.0.3) + happy-dom: 21.0.1 + jsdom: 30.1.2(@noble/hashes@1.8.0) + transitivePeerDependencies: + - '@arethetypeswrong/core' + - '@typescript/native-preview' + - '@vitejs/devtools' + - '@volar/typescript' + - '@vue/language-core' + - esbuild + - jiti + - less + - msw + - publint + - sass + - sass-embedded + - stylus + - sugarss + - terser + - tsx + - typescript + - unplugin-unused + - unrun + - vue-tsc + - yaml + + vitest@5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0): dependencies: '@types/chai': 5.2.3 - '@vitest/mocker': 5.0.4(vite@8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0)) + '@vitest/mocker': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) chai: 6.3.0 es-module-lexer: 2.3.2 expect-type: 1.4.0 magic-string: 1.4.3 - obug: 3.0.0 + obug: 2.2.1 picomatch: 4.0.7 std-env: 4.3.0 tinybench: 6.2.2 tinyexec: 1.3.1 tinyglobby: 0.2.17 - vite: 8.3.4(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(yaml@2.9.0) + vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)' why-is-node-running: 3.2.1 optionalDependencies: '@types/node': 24.19.2 + '@vitest/browser-preview': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(vitest@5.0.3)(yaml@2.9.0) + '@vitest/ui': 5.0.3(vitest@5.0.3) happy-dom: 21.0.1 jsdom: 30.1.2(@noble/hashes@1.8.0) transitivePeerDependencies: + - '@arethetypeswrong/core' + - '@typescript/native-preview' + - '@vitejs/devtools' + - '@volar/typescript' + - '@vue/language-core' + - esbuild + - jiti + - less - msw + - publint + - sass + - sass-embedded + - stylus + - sugarss + - terser + - tsx + - typescript + - unplugin-unused + - unrun + - vue-tsc + - yaml w3c-xmlserializer@6.0.0: dependencies: @@ -8247,6 +9161,45 @@ snapshots: yocto-queue@0.1.0: {} + yuku-ast@0.9.5: + dependencies: + '@yuku-toolchain/types': 0.9.5 + + yuku-codegen@0.9.5: + dependencies: + '@yuku-toolchain/types': 0.9.5 + optionalDependencies: + '@yuku-codegen/binding-android-arm64': 0.9.5 + '@yuku-codegen/binding-darwin-arm64': 0.9.5 + '@yuku-codegen/binding-darwin-x64': 0.9.5 + '@yuku-codegen/binding-freebsd-x64': 0.9.5 + '@yuku-codegen/binding-linux-arm-gnu': 0.9.5 + '@yuku-codegen/binding-linux-arm-musl': 0.9.5 + '@yuku-codegen/binding-linux-arm64-gnu': 0.9.5 + '@yuku-codegen/binding-linux-arm64-musl': 0.9.5 + '@yuku-codegen/binding-linux-x64-gnu': 0.9.5 + '@yuku-codegen/binding-linux-x64-musl': 0.9.5 + '@yuku-codegen/binding-win32-arm64': 0.9.5 + '@yuku-codegen/binding-win32-x64': 0.9.5 + + yuku-parser@0.9.5: + dependencies: + '@yuku-toolchain/types': 0.9.5 + yuku-ast: 0.9.5 + optionalDependencies: + '@yuku-parser/binding-android-arm64': 0.9.5 + '@yuku-parser/binding-darwin-arm64': 0.9.5 + '@yuku-parser/binding-darwin-x64': 0.9.5 + '@yuku-parser/binding-freebsd-x64': 0.9.5 + '@yuku-parser/binding-linux-arm-gnu': 0.9.5 + '@yuku-parser/binding-linux-arm-musl': 0.9.5 + '@yuku-parser/binding-linux-arm64-gnu': 0.9.5 + '@yuku-parser/binding-linux-arm64-musl': 0.9.5 + '@yuku-parser/binding-linux-x64-gnu': 0.9.5 + '@yuku-parser/binding-linux-x64-musl': 0.9.5 + '@yuku-parser/binding-win32-arm64': 0.9.5 + '@yuku-parser/binding-win32-x64': 0.9.5 + zod-validation-error@4.0.2(zod@4.6.7): dependencies: zod: 4.6.7 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 18d40cdc7b..e32c6e1e58 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -13,6 +13,7 @@ overrides: path-to-regexp@>=8.0.0 <8.4.0: ">=8.4.0" picomatch@>=4.0.0 <4.0.4: ">=4.0.4" yaml@>=2.0.0 <2.8.3: ">=2.8.3" + vite@*: "catalog:" # This prevents malicious packages from being installed by waiting 24 hours # after a package is published. See https://pnpm.io/settings#minimumreleaseage @@ -33,3 +34,22 @@ blockExoticSubdeps: true # Refuse to install a package version whose trust evidence is weaker than a # previously published version of that package trustPolicy: no-downgrade +catalog: + vite: npm:@voidzero-dev/vite-plus-core@1.1.0 + vite-plus: 1.1.0 +peerDependencyRules: + allowAny: + - vite + allowedVersions: + vite: "*" +minimumReleaseAgeExclude: + - vite-plus + - "@voidzero-dev/*" + - oxlint + - "@oxlint/*" + - oxlint-tsgolint + - "@oxlint-tsgolint/*" + - oxfmt + - "@oxfmt/*" + - vitest + - "@vitest/*" diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000000..80d0e5a704 --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,247 @@ +import { defineConfig } from "vite-plus"; + +export default defineConfig({ + fmt: { + printWidth: 80, + arrowParens: "avoid", + proseWrap: "never", + // Skills are vendored verbatim from upstream — format them and every sync + // diff fills with our own reformatting instead of real changes. Everything + // else under the agent directories is ours, and is formatted normally. + ignorePatterns: [ + "pnpm-lock.yaml", + ".agents/skills/", + ".claude/skills/", + ".codex/skills/", + ".kiro/skills/", + ], + sortImports: { + groups: [ + "type-import", + ["value-builtin", "value-external"], + "type-internal", + "value-internal", + ["type-parent", "type-sibling", "type-index"], + ["value-parent", "value-sibling", "value-index"], + "unknown", + ], + }, + sortTailwindcss: { + functions: ["cva", "cn"], + }, + }, + lint: { + plugins: [ + "eslint", + "oxc", + "typescript", + "unicorn", + "import", + "vitest", + "promise", + ], + options: { + typeAware: true, + typeCheck: true, + }, + categories: { + correctness: "error", + }, + env: { + builtin: true, + }, + ignorePatterns: ["**/*.config.{js,ts,mjs}", ".claude/"], + rules: { + "vitest/require-mock-type-parameters": "off", + "vitest/expect-expect": [ + "error", + { + assertFunctionNames: ["expect", "expectRoundTrip"], + }, + ], + "jest/require-to-throw-message": "off", + "jest/valid-expect": "off", + "typescript/unbound-method": "off", + "typescript/no-floating-promises": "off", + "no-unused-vars": [ + "error", + { + argsIgnorePattern: "^_", + varsIgnorePattern: "^_", + caughtErrorsIgnorePattern: "^_", + }, + ], + "no-console": [ + "error", + { + allow: ["warn", "error"], + }, + ], + "typescript/consistent-type-imports": [ + "error", + { + fixStyle: "inline-type-imports", + }, + ], + "typescript/no-import-type-side-effects": "error", + "typescript/switch-exhaustiveness-check": "error", + "no-case-declarations": "error", + "no-empty": "error", + "no-fallthrough": "error", + "no-prototype-builtins": "error", + "no-redeclare": "error", + "no-regex-spaces": "error", + "preserve-caught-error": "error", + "no-array-constructor": "error", + "typescript/ban-ts-comment": "error", + "typescript/no-empty-object-type": "error", + "typescript/no-namespace": "error", + "typescript/no-require-imports": "error", + "typescript/no-unnecessary-type-constraint": "error", + "typescript/no-unsafe-function-type": "error", + "typescript/no-unnecessary-type-assertion": "error", + "typescript/no-unsafe-enum-comparison": "error", + "typescript/only-throw-error": "error", + "typescript/prefer-promise-reject-errors": "error", + "typescript/require-await": "error", + "typescript/restrict-plus-operands": "error", + "vite-plus/prefer-vite-plus-imports": "error", + }, + overrides: [ + { + files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"], + rules: { + "constructor-super": "off", + "no-class-assign": "off", + "no-const-assign": "off", + "no-dupe-class-members": "off", + "no-dupe-keys": "off", + "no-func-assign": "off", + "no-import-assign": "off", + "no-new-native-nonconstructor": "off", + "no-obj-calls": "off", + "no-redeclare": "off", + "no-setter-return": "off", + "no-this-before-super": "off", + "no-unsafe-negation": "off", + "no-var": "error", + "no-with": "off", + "prefer-const": "error", + "prefer-rest-params": "error", + "prefer-spread": "error", + }, + }, + { + files: ["packages/graph-explorer/**/*.{ts,tsx}"], + plugins: ["react", "react-perf", "jsx-a11y"], + jsPlugins: [ + "@tanstack/eslint-plugin-query", + { + name: "react-compiler", + specifier: "eslint-plugin-react-hooks", + }, + ], + env: { + browser: true, + }, + rules: { + "react/display-name": "off", + "react/no-unsafe": "error", + "react/react-in-jsx-scope": "off", + "jsx-a11y/no-autofocus": "off", + "jsx-a11y/click-events-have-key-events": "off", + "jsx-a11y/no-static-element-interactions": "off", + "jsx-a11y/mouse-events-have-key-events": "off", + "react-compiler/rules-of-hooks": "off", + "react-compiler/exhaustive-deps": "off", + "react-compiler/config": "error", + "react-compiler/error-boundaries": "error", + "react-compiler/gating": "error", + "react-compiler/globals": "error", + "react-compiler/immutability": "error", + "react-compiler/incompatible-library": "warn", + "react-compiler/preserve-manual-memoization": "error", + "react-compiler/purity": "error", + "react-compiler/refs": "error", + "react-compiler/set-state-in-effect": "error", + "react-compiler/set-state-in-render": "error", + "react-compiler/static-components": "error", + "react-compiler/unsupported-syntax": "warn", + "react-compiler/use-memo": "error", + "react/jsx-key": "error", + "react/jsx-no-duplicate-props": "error", + "react/jsx-no-undef": "error", + "react/no-children-prop": "error", + "react/no-danger-with-children": "error", + "react/no-direct-mutation-state": "error", + "react/no-find-dom-node": "error", + "react/no-is-mounted": "error", + "react/no-render-return-value": "error", + "react/no-string-refs": "error", + "react/jsx-no-comment-textnodes": "error", + "react/jsx-no-target-blank": "error", + "react/no-unescaped-entities": "error", + "react/no-unknown-property": "error", + "react/jsx-curly-brace-presence": "error", + "react/rules-of-hooks": "error", + "react/exhaustive-deps": "warn", + "@tanstack/query/exhaustive-deps": "error", + "@tanstack/query/no-rest-destructuring": "warn", + "@tanstack/query/stable-query-client": "error", + "@tanstack/query/no-unstable-deps": "error", + "@tanstack/query/infinite-query-property-order": "error", + "@tanstack/query/no-void-query-fn": "error", + "@tanstack/query/mutation-property-order": "error", + }, + }, + { + files: ["packages/graph-explorer-proxy-server/**/*.{ts,js}"], + plugins: ["node"], + env: { + node: true, + }, + }, + { + files: ["packages/graph-explorer/src/**/*.{ts,tsx}"], + excludeFiles: ["packages/graph-explorer/src/connections/**"], + rules: { + "no-restricted-imports": [ + "error", + { + patterns: [ + { + group: ["@/connections/*", "@/connections/**"], + message: + "Import from the connections module barrel (@/connections), not its internals. The barrel is the module's interface.", + }, + ], + }, + ], + }, + }, + { + files: ["packages/graph-explorer/src/connections/**/*.{ts,tsx}"], + rules: { + "no-restricted-imports": [ + "error", + { + patterns: [ + { + group: ["@/core"], + message: + "Import a specific core path (e.g. @/core/StateProvider), not the @/core barrel, from inside the connections module.", + }, + ], + }, + ], + }, + }, + ], + jsPlugins: [ + { + name: "vite-plus", + specifier: "vite-plus/oxlint-plugin", + }, + ], + }, +}); diff --git a/vitest.config.ts b/vitest.config.ts index 9e51699d50..9f0fc9b887 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -1,4 +1,4 @@ -import { defineConfig } from "vitest/config"; +import { defineConfig } from "vite-plus"; export default defineConfig({ test: { From 3d90ccf44c72c4275199e8cde7a0f73ad41f20c7 Mon Sep 17 00:00:00 2001 From: Kris McGinnes Date: Tue, 29 Sep 2026 16:06:10 -0500 Subject: [PATCH 2/7] Finish the Vite+ migration by hand --- .dockerignore | 2 +- .github/dependabot.yml | 5 ++++ .husky/pre-commit | 1 - .vite-hooks/pre-commit | 1 + .vscode/extensions.json | 4 +-- .vscode/settings.json | 9 +++++- .zed/settings.json | 6 ++-- AGENTS.md | 2 +- Dockerfile | 2 ++ package.json | 11 +------ packages/graph-explorer/vite.config.ts | 3 +- pnpm-lock.yaml | 40 -------------------------- pnpm-workspace.yaml | 11 ------- tsconfig.json | 2 +- vite.config.ts | 7 +++++ 15 files changed, 33 insertions(+), 73 deletions(-) delete mode 100644 .husky/pre-commit create mode 100755 .vite-hooks/pre-commit diff --git a/.dockerignore b/.dockerignore index c9b3c2069a..fa9710133c 100644 --- a/.dockerignore +++ b/.dockerignore @@ -5,7 +5,7 @@ node_modules # Ignore development related files .git .github -.husky +.vite-hooks .vscode .scratch .agents diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1d1aa418b3..327a0bfa03 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -67,6 +67,11 @@ updates: # carries no update-types filter: it has to catch majors, which arrive # ungrouped otherwise. Listed before minor-and-patch because a dependency # joins the first group it matches. + # + # The catalog aliases vite to @voidzero-dev/vite-plus-core at the vite-plus + # version, so every release splits them, not just majors. + vite-plus: + patterns: ["vite-plus", "@voidzero-dev/*", "vite"] react: patterns: ["react", "react-dom", "@types/react", "@types/react-dom"] minor-and-patch: diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index cb2c84d5c3..0000000000 --- a/.husky/pre-commit +++ /dev/null @@ -1 +0,0 @@ -pnpm lint-staged diff --git a/.vite-hooks/pre-commit b/.vite-hooks/pre-commit new file mode 100755 index 0000000000..85fb65b4fc --- /dev/null +++ b/.vite-hooks/pre-commit @@ -0,0 +1 @@ +vp staged diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 3c5498b9fb..fcedcea6ba 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,8 +1,6 @@ { "recommendations": [ "bradlc.vscode-tailwindcss", - "dbaeumer.vscode-eslint", - "oxc.oxc-vscode", - "vitest.explorer" + "VoidZero.vite-plus-extension-pack" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 14edc2bc2e..9b0fd51146 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,8 +1,15 @@ { "editor.defaultFormatter": "oxc.oxc-vscode", + "[javascript]": { "editor.defaultFormatter": "oxc.oxc-vscode" }, + "[javascriptreact]": { "editor.defaultFormatter": "oxc.oxc-vscode" }, + "[typescript]": { "editor.defaultFormatter": "oxc.oxc-vscode" }, + "[typescriptreact]": { "editor.defaultFormatter": "oxc.oxc-vscode" }, + "oxc.disableNestedConfig": true, + "oxc.fmt.disableNestedConfig": true, "editor.formatOnSave": true, + "editor.formatOnSaveMode": "file", "editor.codeActionsOnSave": { - "source.fixAll.eslint": "explicit" + "source.fixAll.oxc": "explicit" }, "typescript.tsdk": "node_modules/typescript/lib", "editor.quickSuggestions": { diff --git a/.zed/settings.json b/.zed/settings.json index c9c27e1438..5b2394853d 100644 --- a/.zed/settings.json +++ b/.zed/settings.json @@ -1,11 +1,13 @@ { "format_on_save": "on", - "prettier": { "allowed": false }, + "prettier": { + "allowed": false + }, "formatter": [ { "external": { "command": "pnpm", - "arguments": ["exec", "oxfmt", "--stdin-filepath", "{buffer_path}"] + "arguments": ["exec", "vp", "fmt", "--stdin-filepath", "{buffer_path}"] } } ], diff --git a/AGENTS.md b/AGENTS.md index 8bcfddd3c4..484fcc0fc2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -74,7 +74,7 @@ Pass `REVIEW.md` by path to every reviewer sub-agent, not only the standards one ## Commands -Run from project root with `pnpm`. Use only these scripts — never invoke `tsc`, `vitest`, `oxlint`, or `oxfmt` directly or via `pnpx`. The scripts pin tool versions and configs and cover every workspace package; bare tools use the wrong version and miss project context. +Run from project root. Prefer these `pnpm` scripts. `vp` subcommands (`vp test`, `vp lint`, `vp fmt`, `vp check`) are fine to run directly, since `vp` resolves the project's pinned Vite+ and its config; use `pnpm exec vp` if the global CLI isn't installed. Never invoke `tsc`, `vitest`, `oxlint`, or `oxfmt` directly or via `pnpx`, because bare tools use the wrong version and miss project context. - `pnpm check:types` — typecheck all packages (no per-file/per-package option; this is the granularity) - `pnpm checks` — all static checks (types + lint + format); default validation for small changes diff --git a/Dockerfile b/Dockerfile index 9c137eee8d..41d0445a27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,8 @@ RUN yum update -y && \ FROM base ENV HOME=/graph-explorer +# The image has no git, so skip installing the Vite+ commit hooks. +ENV VP_GIT_HOOKS=0 WORKDIR / COPY . /graph-explorer/ diff --git a/package.json b/package.json index 7c8a29e378..6260316124 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "author": "amazon", "type": "module", "scripts": { - "prepare": "husky", + "prepare": "(git config --unset core.hooksPath husky || cd .) && vp config --no-agent", "lint": "vp lint --fix", "check:lint": "vp lint", "format": "vp fmt", @@ -28,18 +28,9 @@ "@tanstack/eslint-plugin-query": "5.104.2", "eslint-plugin-react-hooks": "7.1.1", "fast-check": "^4.10.2", - "husky": "^9.1.7", - "lint-staged": "^17.6.0", "typescript": "^7.0.2", "vite-plus": "catalog:" }, - "lint-staged": { - "!(**/*.{js,ts,tsx})": "oxfmt --no-error-on-unmatched-pattern", - "**/*.{js,ts,tsx}": [ - "oxlint --fix --no-error-on-unmatched-pattern", - "oxfmt" - ] - }, "devEngines": { "runtime": { "name": "node", diff --git a/packages/graph-explorer/vite.config.ts b/packages/graph-explorer/vite.config.ts index 6356cf46da..c63f54334f 100644 --- a/packages/graph-explorer/vite.config.ts +++ b/packages/graph-explorer/vite.config.ts @@ -1,8 +1,7 @@ import babel from "@rolldown/plugin-babel"; import tailwindcss from "@tailwindcss/vite"; import react, { reactCompilerPreset } from "@vitejs/plugin-react"; -import { loadEnv, lazyPlugins } from "vite-plus"; -import { defineConfig } from "vite-plus"; +import { defineConfig, lazyPlugins, loadEnv } from "vite-plus"; import { browserslistBuildTarget } from "./buildTarget.ts"; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a621d6115c..bff862d186 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -198,12 +198,6 @@ importers: fast-check: specifier: ^4.10.2 version: 4.10.2 - husky: - specifier: ^9.1.7 - version: 9.1.7 - lint-staged: - specifier: ^17.6.0 - version: 17.6.0 typescript: specifier: ^7.0.2 version: 7.0.2 @@ -3608,11 +3602,6 @@ packages: resolution: {integrity: sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==} engines: {node: '>= 0.8'} - husky@9.1.7: - resolution: {integrity: sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==} - engines: {node: '>=18'} - hasBin: true - iconv-lite@0.7.2: resolution: {integrity: sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==} engines: {node: '>=0.10.0'} @@ -3877,11 +3866,6 @@ packages: resolution: {integrity: sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==} engines: {node: '>= 12.0.0'} - lint-staged@17.6.0: - resolution: {integrity: sha512-nOhBfYkZEwkFtNzD5pK9s9LkcWoxJ+whLzEnhqi9nl7zTB5n7tg8+9iYgMGx2Wm3VlLu8cbNj0RACzY+nWi5iQ==} - engines: {node: '>=22.22.1'} - hasBin: true - localforage@1.10.0: resolution: {integrity: sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==} @@ -4480,10 +4464,6 @@ packages: std-env@4.3.0: resolution: {integrity: sha512-OtU/EgQ1kIm5KwqQpBC6ZEMXrZRui11w8zgfTWp8cdO9B8OaPsbA8bTHO2P+HNo1VlUTGMVBwPhydu6poeXiag==} - string-argv@0.3.2: - resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==} - engines: {node: '>=0.6.19'} - strip-indent@3.0.0: resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} engines: {node: '>=8'} @@ -4792,11 +4772,6 @@ packages: engines: {node: '>= 14.6'} hasBin: true - yaml@2.9.1: - resolution: {integrity: sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==} - engines: {node: '>= 14.6'} - hasBin: true - yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} @@ -7810,8 +7785,6 @@ snapshots: statuses: 2.0.2 toidentifier: 1.0.1 - husky@9.1.7: {} - iconv-lite@0.7.2: dependencies: safer-buffer: 2.1.2 @@ -8005,14 +7978,6 @@ snapshots: lightningcss-win32-arm64-msvc: 1.33.0 lightningcss-win32-x64-msvc: 1.33.0 - lint-staged@17.6.0: - dependencies: - picomatch: 4.0.7 - string-argv: 0.3.2 - tinyexec: 1.3.1 - optionalDependencies: - yaml: 2.9.1 - localforage@1.10.0: dependencies: lie: 3.1.1 @@ -8723,8 +8688,6 @@ snapshots: std-env@4.3.0: {} - string-argv@0.3.2: {} - strip-indent@3.0.0: dependencies: min-indent: 1.0.1 @@ -9156,9 +9119,6 @@ snapshots: yaml@2.9.0: optional: true - yaml@2.9.1: - optional: true - yocto-queue@0.1.0: {} yuku-ast@0.9.5: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index e32c6e1e58..5c3e0c9de7 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -42,14 +42,3 @@ peerDependencyRules: - vite allowedVersions: vite: "*" -minimumReleaseAgeExclude: - - vite-plus - - "@voidzero-dev/*" - - oxlint - - "@oxlint/*" - - oxlint-tsgolint - - "@oxlint-tsgolint/*" - - oxfmt - - "@oxfmt/*" - - vitest - - "@vitest/*" diff --git a/tsconfig.json b/tsconfig.json index 48c0bbcc8f..210c469fdf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,5 +3,5 @@ "compilerOptions": { "allowJs": true }, - "files": ["vitest.config.ts"] + "files": ["vite.config.ts", "vitest.config.ts"] } diff --git a/vite.config.ts b/vite.config.ts index 80d0e5a704..1dd6bed6ec 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,6 +1,13 @@ import { defineConfig } from "vite-plus"; export default defineConfig({ + staged: { + "!(**/*.{js,ts,tsx})": "vp fmt --no-error-on-unmatched-pattern", + "**/*.{js,ts,tsx}": [ + "vp lint --fix --no-error-on-unmatched-pattern", + "vp fmt", + ], + }, fmt: { printWidth: 80, arrowParens: "avoid", From 16a84d523a7e34b36734f4323de07ca66092e536 Mon Sep 17 00:00:00 2001 From: Kris McGinnes Date: Thu, 1 Oct 2026 14:30:27 -0500 Subject: [PATCH 3/7] Address Vite+ migration review findings --- .github/dependabot.yml | 5 ++++- REVIEW.md | 2 +- docs/agents/testing.md | 4 ++-- docs/development.md | 9 ++++++++- .../{vitest.config.ts => vite.config.ts} | 0 packages/shared/{vitest.config.ts => vite.config.ts} | 0 pnpm-workspace.yaml | 2 ++ tsconfig.json | 2 +- vite.config.ts | 4 +++- vitest.config.ts | 7 ------- 10 files changed, 21 insertions(+), 14 deletions(-) rename packages/graph-explorer-proxy-server/{vitest.config.ts => vite.config.ts} (100%) rename packages/shared/{vitest.config.ts => vite.config.ts} (100%) delete mode 100644 vitest.config.ts diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 327a0bfa03..076b35465a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -69,7 +69,10 @@ updates: # joins the first group it matches. # # The catalog aliases vite to @voidzero-dev/vite-plus-core at the vite-plus - # version, so every release splits them, not just majors. + # version, so every release splits them, not just majors. Vite, Vitest, + # oxlint, and oxfmt fixes only arrive through vite-plus releases, and + # advisories filed against vite no longer match the lockfile, so treat + # these bumps as security updates. vite-plus: patterns: ["vite-plus", "@voidzero-dev/*", "vite"] react: diff --git a/REVIEW.md b/REVIEW.md index 038ec70be4..74f82925bf 100644 --- a/REVIEW.md +++ b/REVIEW.md @@ -32,7 +32,7 @@ Reserve Important for the cases below. Everything else is Nit at most. That incl ## Do not report -- Anything CI enforces: oxlint (including the React Compiler rules), oxfmt, `tsc`, lockfile checks, Trivy and dependency advisories. +- Anything CI enforces: `vp lint` (oxlint, including the React Compiler rules), `vp fmt` (oxfmt), `tsc`, lockfile checks, Trivy and dependency advisories. - Pre-existing issues, unless this PR makes them newly reachable. - The Git rules in `AGENTS.md`. PRs are squash merged, so commit messages, branch names, and how the commits are split never reach `main`. - `Changelog.md`. It's updated at release time. diff --git a/docs/agents/testing.md b/docs/agents/testing.md index 775a76f652..eb929bf6f3 100644 --- a/docs/agents/testing.md +++ b/docs/agents/testing.md @@ -4,13 +4,13 @@ Vitest. Tests co-locate with source as `*.test.ts` (or `*.test.tsx` for componen ## Where tests live -Vitest collects only the projects listed in the root `vitest.config.ts`, currently just `packages/*`. A test file outside those is never collected, and `pnpm test` still reports green, so adding a new top-level test directory means giving it a `vitest.config.ts` and adding it to that list. +Vitest collects only the projects listed in `test.projects` of the root `vite.config.ts`, currently just `packages/*`. A test file outside those is never collected, and `pnpm test` still reports green, so adding a new top-level test directory means giving it a `vite.config.ts` and adding it to that list. Each project sets up its own environment. `setupTests.ts` below is registered by `packages/graph-explorer` only. `packages/graph-explorer-proxy-server` has its own setup file, and `packages/shared` has none, so its tests reset their own mocks. ## Rules -- Import test APIs (`describe`, `it`, `expect`, `vi`, …) from `vitest`. Globals are off, so a missing import is a type error +- Import test APIs (`describe`, `it`, `expect`, `vi`, …) from `vite-plus/test`, never `vitest`. Globals are off, so a missing import is a type error, and lint rejects a `vitest` import - Use `renderHookWithState` for hooks, not `renderHook` - Set up state with `DbState`, not manual atom wiring or `renderHookWithJotai`. When `DbState` can't express what a test needs, extend `DbState` — growing it is the intended path, not working around it. - Mock only external systems (network, etc.); don't mock internal modules diff --git a/docs/development.md b/docs/development.md index 722c4e48b2..3a820cab93 100644 --- a/docs/development.md +++ b/docs/development.md @@ -71,6 +71,13 @@ No check compares the `+sha512` hash against anything, because the two tools tha A major bump is also where `pnpm-workspace.yaml` deserves a read. Since pnpm 12, a key that pnpm does not recognize fails the install with `ERR_PNPM_UNRECOGNIZED_WORKSPACE_SETTINGS` instead of being ignored. So a setting removed or renamed upstream stops the install rather than quietly doing nothing. `pnpm config list` prints the `pnpm-workspace.yaml` settings pnpm resolved, which is the quickest way to check, though it lists neither pnpm's defaults nor anything from `.npmrc`. +### Tooling + +[Vite+](https://viteplus.dev) runs linting, formatting, tests, and the pre-commit hook. It's a dev dependency, so `pnpm install` is all the setup it needs, and the `pnpm` scripts below call it for you. A global `vp` CLI is optional; without one, `pnpm exec vp` works. + +- Run `pnpm install` after pulling the switch to Vite+. It moves your pre-commit hook from Husky to `vp staged`. +- In VS Code, install the recommended Vite+ extension pack. In Zed, install `oxc-zed`. + ## Run in development mode Install any missing or updated dependencies. @@ -136,7 +143,7 @@ If you need to add, remove, or update a dependency you can easily do so from the pnpm add react --filter graph-explorer # Adding a dev only dependency for the server app -pnpm add -D vitest --filter graph-explorer-proxy-server +pnpm add -D supertest --filter graph-explorer-proxy-server ``` ### Preparation of a release diff --git a/packages/graph-explorer-proxy-server/vitest.config.ts b/packages/graph-explorer-proxy-server/vite.config.ts similarity index 100% rename from packages/graph-explorer-proxy-server/vitest.config.ts rename to packages/graph-explorer-proxy-server/vite.config.ts diff --git a/packages/shared/vitest.config.ts b/packages/shared/vite.config.ts similarity index 100% rename from packages/shared/vitest.config.ts rename to packages/shared/vite.config.ts diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 5c3e0c9de7..39c1d0f6ed 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -18,6 +18,8 @@ overrides: # This prevents malicious packages from being installed by waiting 24 hours # after a package is published. See https://pnpm.io/settings#minimumreleaseage minimumReleaseAge: 1440 +# `vp migrate` adds a minimumReleaseAgeExclude list for the Vite+ toolchain on +# every upgrade. Delete it so Vite+ releases wait out the same 24 hours. # Explicitly allow or deny packages running build scripts allowBuilds: diff --git a/tsconfig.json b/tsconfig.json index 210c469fdf..28b985f51e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,5 +3,5 @@ "compilerOptions": { "allowJs": true }, - "files": ["vite.config.ts", "vitest.config.ts"] + "files": ["vite.config.ts"] } diff --git a/vite.config.ts b/vite.config.ts index 1dd6bed6ec..3aaa60e4ab 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,6 +1,9 @@ import { defineConfig } from "vite-plus"; export default defineConfig({ + test: { + projects: ["packages/*"], + }, staged: { "!(**/*.{js,ts,tsx})": "vp fmt --no-error-on-unmatched-pattern", "**/*.{js,ts,tsx}": [ @@ -49,7 +52,6 @@ export default defineConfig({ ], options: { typeAware: true, - typeCheck: true, }, categories: { correctness: "error", diff --git a/vitest.config.ts b/vitest.config.ts deleted file mode 100644 index 9f0fc9b887..0000000000 --- a/vitest.config.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defineConfig } from "vite-plus"; - -export default defineConfig({ - test: { - projects: ["packages/*"], - }, -}); From a2a67c43d334d92ddea4f35833e43553ee9a21d1 Mon Sep 17 00:00:00 2001 From: Kris McGinnes Date: Tue, 13 Oct 2026 15:56:34 -0500 Subject: [PATCH 4/7] Fix test:watch, collapse the duplicate Vitest copy, and clarify hook docs --- AGENTS.md | 2 +- docs/development.md | 1 + package.json | 2 +- packages/graph-explorer/package.json | 1 + pnpm-lock.yaml | 322 ++------------------------- 5 files changed, 23 insertions(+), 305 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 484fcc0fc2..76bb2eeedc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -74,7 +74,7 @@ Pass `REVIEW.md` by path to every reviewer sub-agent, not only the standards one ## Commands -Run from project root. Prefer these `pnpm` scripts. `vp` subcommands (`vp test`, `vp lint`, `vp fmt`, `vp check`) are fine to run directly, since `vp` resolves the project's pinned Vite+ and its config; use `pnpm exec vp` if the global CLI isn't installed. Never invoke `tsc`, `vitest`, `oxlint`, or `oxfmt` directly or via `pnpx`, because bare tools use the wrong version and miss project context. +Run from project root. Prefer these `pnpm` scripts. `vp` subcommands (`vp test`, `vp lint`, `vp fmt`, `vp check`) are fine to run directly, since `vp` resolves the project's pinned Vite+ and its config; use `pnpm exec vp` if the global CLI isn't installed. `vp check` runs format and lint only, so use `pnpm checks` when you need the type check too. Never invoke `tsc`, `vitest`, `oxlint`, or `oxfmt` directly or via `pnpx`, because bare tools use the wrong version and miss project context. - `pnpm check:types` — typecheck all packages (no per-file/per-package option; this is the granularity) - `pnpm checks` — all static checks (types + lint + format); default validation for small changes diff --git a/docs/development.md b/docs/development.md index 3a820cab93..25b1452f38 100644 --- a/docs/development.md +++ b/docs/development.md @@ -76,6 +76,7 @@ A major bump is also where `pnpm-workspace.yaml` deserves a read. Since pnpm 12, [Vite+](https://viteplus.dev) runs linting, formatting, tests, and the pre-commit hook. It's a dev dependency, so `pnpm install` is all the setup it needs, and the `pnpm` scripts below call it for you. A global `vp` CLI is optional; without one, `pnpm exec vp` works. - Run `pnpm install` after pulling the switch to Vite+. It moves your pre-commit hook from Husky to `vp staged`. +- If `pnpm install` prints `core.hooksPath is already set`, your clone or global Git config points hooks somewhere else, and the Vite+ hook isn't installed. Run `git config --unset core.hooksPath` (add `--global` if the value is global), then `pnpm install` again. - In VS Code, install the recommended Vite+ extension pack. In Zed, install `oxc-zed`. ## Run in development mode diff --git a/package.json b/package.json index 6260316124..29230996e3 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "format": "vp fmt", "check:format": "vp fmt --check", "test": "vp test run", - "test:watch": "vp test", + "test:watch": "vp test watch", "check:types": "pnpm -r --include-workspace-root --parallel --stream run typecheck", "typecheck": "tsc --noEmit", "checks": "pnpm run check:lint && pnpm run check:format && pnpm run check:types", diff --git a/packages/graph-explorer/package.json b/packages/graph-explorer/package.json index 6388202dab..6208c3c7ae 100644 --- a/packages/graph-explorer/package.json +++ b/packages/graph-explorer/package.json @@ -88,6 +88,7 @@ "tailwindcss": "^4.3.3", "tw-animate-css": "^1.4.0", "type-fest": "^5.10.0", + "typescript": "^7.0.2", "vite": "catalog:", "vite-plus": "catalog:" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bff862d186..7bdf94a50e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -236,7 +236,7 @@ importers: version: 5.0.3 cva: specifier: 1.0.0-beta.1 - version: 1.0.0-beta.1(typescript@5.9.3) + version: 1.0.0-beta.1(typescript@7.0.2) cytoscape: specifier: 3.34.3 version: 3.34.3 @@ -354,10 +354,10 @@ importers: version: 3.37.0(react@19.3.0) '@rolldown/plugin-babel': specifier: 0.2.4 - version: 0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(rolldown@1.2.13) + version: 0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(rolldown@1.2.13) '@tailwindcss/vite': specifier: ^4.3.3 - version: 4.3.3(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)) + version: 4.3.3(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)) '@testing-library/dom': specifier: ^10.4.2 version: 10.4.2 @@ -399,7 +399,7 @@ importers: version: 2023.10.7 '@vitejs/plugin-react': specifier: ^6.1.2 - version: 6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(rolldown@1.2.13))(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(babel-plugin-react-compiler@1.0.0) + version: 6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(rolldown@1.2.13))(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(babel-plugin-react-compiler@1.0.0) babel-plugin-react-compiler: specifier: ^1.0.0 version: 1.0.0 @@ -427,12 +427,15 @@ importers: type-fest: specifier: ^5.10.0 version: 5.10.0 + typescript: + specifier: ^7.0.2 + version: 7.0.2 vite: specifier: 'catalog:' - version: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' + version: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)' vite-plus: specifier: 'catalog:' - version: 1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) + version: 1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) packages/graph-explorer-proxy-server: dependencies: @@ -4578,11 +4581,6 @@ packages: resolution: {integrity: sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==} engines: {node: '>= 18'} - typescript@5.9.3: - resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} - engines: {node: '>=14.17'} - hasBin: true - typescript@7.0.2: resolution: {integrity: sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==} engines: {node: '>=16.20.0'} @@ -6307,14 +6305,14 @@ snapshots: '@rolldown/binding-win32-x64-msvc@1.2.13': optional: true - '@rolldown/plugin-babel@0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(rolldown@1.2.13)': + '@rolldown/plugin-babel@0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(rolldown@1.2.13)': dependencies: '@babel/core': 7.29.7 picomatch: 4.0.7 rolldown: 1.2.13 optionalDependencies: '@babel/runtime': 7.29.7 - vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' + vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)' '@rolldown/pluginutils@1.0.1': {} @@ -6440,12 +6438,12 @@ snapshots: '@tailwindcss/oxide-win32-arm64-msvc': 4.3.3 '@tailwindcss/oxide-win32-x64-msvc': 4.3.3 - '@tailwindcss/vite@4.3.3(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))': + '@tailwindcss/vite@4.3.3(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))': dependencies: '@tailwindcss/node': 4.3.3 '@tailwindcss/oxide': 4.3.3 tailwindcss: 4.3.3 - vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' + vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)' '@tanstack/eslint-plugin-query@5.104.2(eslint@10.2.1(jiti@2.7.0))(typescript@7.0.2)': dependencies: @@ -6492,7 +6490,7 @@ snapshots: picocolors: 1.1.1 redent: 3.0.0 optionalDependencies: - vitest: 5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) + vitest: 5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0) '@testing-library/react@16.3.3(@testing-library/dom@10.4.2)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)': dependencies: @@ -6741,46 +6739,14 @@ snapshots: '@typescript/typescript-win32-x64@7.0.2': optional: true - '@vitejs/plugin-react@6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(rolldown@1.2.13))(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(babel-plugin-react-compiler@1.0.0)': + '@vitejs/plugin-react@6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(rolldown@1.2.13))(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(babel-plugin-react-compiler@1.0.0)': dependencies: '@rolldown/pluginutils': 1.0.1 - vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' + vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)' optionalDependencies: - '@rolldown/plugin-babel': 0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(rolldown@1.2.13) + '@rolldown/plugin-babel': 0.2.4(@babel/core@7.29.7)(@babel/runtime@7.29.7)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(rolldown@1.2.13) babel-plugin-react-compiler: 1.0.0 - '@vitest/browser-preview@5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(vitest@5.0.3)(yaml@2.9.0)': - dependencies: - '@testing-library/dom': 10.4.2 - '@testing-library/user-event': 14.6.7(@testing-library/dom@10.4.2) - '@vitest/browser': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(vitest@5.0.3)(yaml@2.9.0) - vitest: 5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) - transitivePeerDependencies: - - '@arethetypeswrong/core' - - '@types/node' - - '@typescript/native-preview' - - '@vitejs/devtools' - - '@volar/typescript' - - '@vue/language-core' - - bufferutil - - esbuild - - jiti - - less - - msw - - publint - - sass - - sass-embedded - - stylus - - sugarss - - terser - - tsx - - typescript - - unplugin-unused - - unrun - - utf-8-validate - - vue-tsc - - yaml - '@vitest/browser-preview@5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(vitest@5.0.3)(yaml@2.9.0)': dependencies: '@testing-library/dom': 10.4.2 @@ -6813,44 +6779,6 @@ snapshots: - vue-tsc - yaml - '@vitest/browser@5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(vitest@5.0.3)(yaml@2.9.0)': - dependencies: - '@blazediff/core': 1.10.0 - '@vitest/mocker': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) - '@vitest/ui': 5.0.3(vitest@5.0.3) - '@vitest/utils': 5.0.3 - magic-string: 1.4.3 - pngjs: 7.0.0 - sirv: 3.0.2 - tinyrainbow: 3.2.0 - vitest: 5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) - ws: 8.21.3 - transitivePeerDependencies: - - '@arethetypeswrong/core' - - '@types/node' - - '@typescript/native-preview' - - '@vitejs/devtools' - - '@volar/typescript' - - '@vue/language-core' - - bufferutil - - esbuild - - jiti - - less - - msw - - publint - - sass - - sass-embedded - - stylus - - sugarss - - terser - - tsx - - typescript - - unplugin-unused - - unrun - - utf-8-validate - - vue-tsc - - yaml - '@vitest/browser@5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(vitest@5.0.3)(yaml@2.9.0)': dependencies: '@blazediff/core': 1.10.0 @@ -6889,36 +6817,6 @@ snapshots: - vue-tsc - yaml - '@vitest/mocker@5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)': - dependencies: - '@jridgewell/trace-mapping': 0.3.31 - '@vitest/spy': 5.0.3 - estree-walker: 3.0.3 - magic-string: 1.4.3 - vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' - transitivePeerDependencies: - - '@arethetypeswrong/core' - - '@types/node' - - '@typescript/native-preview' - - '@vitejs/devtools' - - '@volar/typescript' - - '@vue/language-core' - - esbuild - - jiti - - less - - publint - - sass - - sass-embedded - - stylus - - sugarss - - terser - - tsx - - typescript - - unplugin-unused - - unrun - - vue-tsc - - yaml - '@vitest/mocker@5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)': dependencies: '@jridgewell/trace-mapping': 0.3.31 @@ -6978,32 +6876,6 @@ snapshots: convert-source-map: 2.0.0 tinyrainbow: 3.2.0 - '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)': - dependencies: - '@oxc-project/runtime': 0.153.0 - '@oxc-project/types': 0.153.0 - lightningcss: 1.33.0 - postcss: 8.5.29 - yuku-codegen: 0.9.5 - yuku-parser: 0.9.5 - optionalDependencies: - '@types/node': 24.19.2 - '@voidzero-dev/vite-plus-darwin-arm64': 1.1.0 - '@voidzero-dev/vite-plus-darwin-x64': 1.1.0 - '@voidzero-dev/vite-plus-linux-arm64-gnu': 1.1.0 - '@voidzero-dev/vite-plus-linux-arm64-musl': 1.1.0 - '@voidzero-dev/vite-plus-linux-x64-gnu': 1.1.0 - '@voidzero-dev/vite-plus-linux-x64-musl': 1.1.0 - '@voidzero-dev/vite-plus-win32-arm64-msvc': 1.1.0 - '@voidzero-dev/vite-plus-win32-x64-msvc': 1.1.0 - esbuild: 0.28.1 - fsevents: 2.3.3 - jiti: 2.7.0 - terser: 5.42.0 - tsx: 4.21.0 - typescript: 5.9.3 - yaml: 2.9.0 - '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)': dependencies: '@oxc-project/runtime': 0.153.0 @@ -7316,11 +7188,11 @@ snapshots: csstype@3.2.3: {} - cva@1.0.0-beta.1(typescript@5.9.3): + cva@1.0.0-beta.1(typescript@7.0.2): dependencies: clsx: 2.0.0 optionalDependencies: - typescript: 5.9.3 + typescript: 7.0.2 cytoscape-canvas@3.0.1: {} @@ -8116,31 +7988,6 @@ snapshots: type-check: 0.4.0 word-wrap: 1.2.5 - oxfmt@0.72.0(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)): - dependencies: - tinypool: 2.2.0 - optionalDependencies: - '@oxfmt/binding-android-arm-eabi': 0.72.0 - '@oxfmt/binding-android-arm64': 0.72.0 - '@oxfmt/binding-darwin-arm64': 0.72.0 - '@oxfmt/binding-darwin-x64': 0.72.0 - '@oxfmt/binding-freebsd-x64': 0.72.0 - '@oxfmt/binding-linux-arm-gnueabihf': 0.72.0 - '@oxfmt/binding-linux-arm-musleabihf': 0.72.0 - '@oxfmt/binding-linux-arm64-gnu': 0.72.0 - '@oxfmt/binding-linux-arm64-musl': 0.72.0 - '@oxfmt/binding-linux-ppc64-gnu': 0.72.0 - '@oxfmt/binding-linux-riscv64-gnu': 0.72.0 - '@oxfmt/binding-linux-riscv64-musl': 0.72.0 - '@oxfmt/binding-linux-s390x-gnu': 0.72.0 - '@oxfmt/binding-linux-x64-gnu': 0.72.0 - '@oxfmt/binding-linux-x64-musl': 0.72.0 - '@oxfmt/binding-openharmony-arm64': 0.72.0 - '@oxfmt/binding-win32-arm64-msvc': 0.72.0 - '@oxfmt/binding-win32-ia32-msvc': 0.72.0 - '@oxfmt/binding-win32-x64-msvc': 0.72.0 - vite-plus: 1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) - oxfmt@0.72.0(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)): dependencies: tinypool: 2.2.0 @@ -8175,30 +8022,6 @@ snapshots: '@oxlint-tsgolint/win32-arm64': 7.0.2003 '@oxlint-tsgolint/win32-x64': 7.0.2003 - oxlint@1.87.0(oxlint-tsgolint@7.0.2003)(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)): - optionalDependencies: - '@oxlint/binding-android-arm-eabi': 1.87.0 - '@oxlint/binding-android-arm64': 1.87.0 - '@oxlint/binding-darwin-arm64': 1.87.0 - '@oxlint/binding-darwin-x64': 1.87.0 - '@oxlint/binding-freebsd-x64': 1.87.0 - '@oxlint/binding-linux-arm-gnueabihf': 1.87.0 - '@oxlint/binding-linux-arm-musleabihf': 1.87.0 - '@oxlint/binding-linux-arm64-gnu': 1.87.0 - '@oxlint/binding-linux-arm64-musl': 1.87.0 - '@oxlint/binding-linux-ppc64-gnu': 1.87.0 - '@oxlint/binding-linux-riscv64-gnu': 1.87.0 - '@oxlint/binding-linux-riscv64-musl': 1.87.0 - '@oxlint/binding-linux-s390x-gnu': 1.87.0 - '@oxlint/binding-linux-x64-gnu': 1.87.0 - '@oxlint/binding-linux-x64-musl': 1.87.0 - '@oxlint/binding-openharmony-arm64': 1.87.0 - '@oxlint/binding-win32-arm64-msvc': 1.87.0 - '@oxlint/binding-win32-ia32-msvc': 1.87.0 - '@oxlint/binding-win32-x64-msvc': 1.87.0 - oxlint-tsgolint: 7.0.2003 - vite-plus: 1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) - oxlint@1.87.0(oxlint-tsgolint@7.0.2003)(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0)): optionalDependencies: '@oxlint/binding-android-arm-eabi': 1.87.0 @@ -8799,9 +8622,6 @@ snapshots: media-typer: 1.1.0 mime-types: 3.0.2 - typescript@5.9.3: - optional: true - typescript@7.0.2: optionalDependencies: '@typescript/typescript-aix-ppc64': 7.0.2 @@ -8870,65 +8690,6 @@ snapshots: vary@1.1.2: {} - vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0): - dependencies: - '@oxc-project/types': 0.153.0 - '@oxlint/plugins': 1.79.0 - '@vitest/browser': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(vitest@5.0.3)(yaml@2.9.0) - '@vitest/browser-preview': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(vitest@5.0.3)(yaml@2.9.0) - '@vitest/mocker': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) - '@vitest/pretty-format': 5.0.3 - '@vitest/snapshot': 5.0.3 - '@vitest/spy': 5.0.3 - '@vitest/utils': 5.0.3 - oxfmt: 0.72.0(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)) - oxlint: 1.87.0(oxlint-tsgolint@7.0.2003)(vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)) - oxlint-tsgolint: 7.0.2003 - vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' - vitest: 5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) - optionalDependencies: - '@voidzero-dev/vite-plus-darwin-arm64': 1.1.0 - '@voidzero-dev/vite-plus-darwin-x64': 1.1.0 - '@voidzero-dev/vite-plus-linux-arm64-gnu': 1.1.0 - '@voidzero-dev/vite-plus-linux-arm64-musl': 1.1.0 - '@voidzero-dev/vite-plus-linux-x64-gnu': 1.1.0 - '@voidzero-dev/vite-plus-linux-x64-musl': 1.1.0 - '@voidzero-dev/vite-plus-win32-arm64-msvc': 1.1.0 - '@voidzero-dev/vite-plus-win32-x64-msvc': 1.1.0 - transitivePeerDependencies: - - '@arethetypeswrong/core' - - '@edge-runtime/vm' - - '@opentelemetry/api' - - '@types/node' - - '@typescript/native-preview' - - '@vitejs/devtools' - - '@vitest/coverage-istanbul' - - '@vitest/coverage-v8' - - '@vitest/ui' - - '@volar/typescript' - - '@vue/language-core' - - bufferutil - - esbuild - - happy-dom - - jiti - - jsdom - - less - - msw - - publint - - sass - - sass-embedded - - stylus - - sugarss - - svelte - - terser - - tsx - - typescript - - unplugin-unused - - unrun - - utf-8-validate - - vue-tsc - - yaml - vite-plus@1.1.0(@types/node@24.19.2)(@vitest/ui@5.0.3)(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0): dependencies: '@oxc-project/types': 0.153.0 @@ -8988,51 +8749,6 @@ snapshots: - vue-tsc - yaml - vitest@5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0): - dependencies: - '@types/chai': 5.2.3 - '@vitest/mocker': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0) - chai: 6.3.0 - es-module-lexer: 2.3.2 - expect-type: 1.4.0 - magic-string: 1.4.3 - obug: 2.2.1 - picomatch: 4.0.7 - std-env: 4.3.0 - tinybench: 6.2.2 - tinyexec: 1.3.1 - tinyglobby: 0.2.17 - vite: '@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.9.0)' - why-is-node-running: 3.2.1 - optionalDependencies: - '@types/node': 24.19.2 - '@vitest/browser-preview': 5.0.3(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@5.9.3)(vitest@5.0.3)(yaml@2.9.0) - '@vitest/ui': 5.0.3(vitest@5.0.3) - happy-dom: 21.0.1 - jsdom: 30.1.2(@noble/hashes@1.8.0) - transitivePeerDependencies: - - '@arethetypeswrong/core' - - '@typescript/native-preview' - - '@vitejs/devtools' - - '@volar/typescript' - - '@vue/language-core' - - esbuild - - jiti - - less - - msw - - publint - - sass - - sass-embedded - - stylus - - sugarss - - terser - - tsx - - typescript - - unplugin-unused - - unrun - - vue-tsc - - yaml - vitest@5.0.3(@types/node@24.19.2)(@vitest/browser-preview@5.0.3)(@vitest/ui@5.0.3)(@voidzero-dev/vite-plus-core@1.1.0(@types/node@24.19.2)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0))(esbuild@0.28.1)(happy-dom@21.0.1)(jiti@2.7.0)(jsdom@30.1.2(@noble/hashes@1.8.0))(terser@5.42.0)(tsx@4.21.0)(typescript@7.0.2)(yaml@2.9.0): dependencies: '@types/chai': 5.2.3 From 5e2586269d011cdf7655d00b4e49527324099ea6 Mon Sep 17 00:00:00 2001 From: Kris McGinnes Date: Tue, 13 Oct 2026 16:31:05 -0500 Subject: [PATCH 5/7] Use the Vite+ default staged rule --- vite.config.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 3aaa60e4ab..e08bb048ff 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,11 +5,7 @@ export default defineConfig({ projects: ["packages/*"], }, staged: { - "!(**/*.{js,ts,tsx})": "vp fmt --no-error-on-unmatched-pattern", - "**/*.{js,ts,tsx}": [ - "vp lint --fix --no-error-on-unmatched-pattern", - "vp fmt", - ], + "*": "vp check --fix", }, fmt: { printWidth: 80, From 1d060f701b0605abbb42562d9aceeb577f477559 Mon Sep 17 00:00:00 2001 From: Kris McGinnes Date: Tue, 13 Oct 2026 16:37:00 -0500 Subject: [PATCH 6/7] Name the contributor scripts in the Tooling docs --- docs/agents/testing.md | 2 +- docs/development.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/agents/testing.md b/docs/agents/testing.md index eb929bf6f3..3d49a394d7 100644 --- a/docs/agents/testing.md +++ b/docs/agents/testing.md @@ -6,7 +6,7 @@ Vitest. Tests co-locate with source as `*.test.ts` (or `*.test.tsx` for componen Vitest collects only the projects listed in `test.projects` of the root `vite.config.ts`, currently just `packages/*`. A test file outside those is never collected, and `pnpm test` still reports green, so adding a new top-level test directory means giving it a `vite.config.ts` and adding it to that list. -Each project sets up its own environment. `setupTests.ts` below is registered by `packages/graph-explorer` only. `packages/graph-explorer-proxy-server` has its own setup file, and `packages/shared` has none, so its tests reset their own mocks. +Each project sets up its own environment. `setupTests.ts` below is registered by `packages/graph-explorer` only. `packages/graph-explorer-proxy-server` has its own setup file, and `packages/shared` has no setup file, so any tests added there must reset their own mocks. ## Rules diff --git a/docs/development.md b/docs/development.md index 25b1452f38..1c913b1091 100644 --- a/docs/development.md +++ b/docs/development.md @@ -73,7 +73,7 @@ A major bump is also where `pnpm-workspace.yaml` deserves a read. Since pnpm 12, ### Tooling -[Vite+](https://viteplus.dev) runs linting, formatting, tests, and the pre-commit hook. It's a dev dependency, so `pnpm install` is all the setup it needs, and the `pnpm` scripts below call it for you. A global `vp` CLI is optional; without one, `pnpm exec vp` works. +[Vite+](https://viteplus.dev) runs linting, formatting, tests, and the pre-commit hook. It's a dev dependency, so `pnpm install` is all the setup it needs. Run `pnpm checks` for lint, format, and type checks, `pnpm test` or `pnpm test:watch` for tests, and `pnpm lint` or `pnpm format` to fix issues. A global `vp` CLI is optional; without one, `pnpm exec vp` works. Here `vp check` covers format and lint only, so run `pnpm checks` before you push. - Run `pnpm install` after pulling the switch to Vite+. It moves your pre-commit hook from Husky to `vp staged`. - If `pnpm install` prints `core.hooksPath is already set`, your clone or global Git config points hooks somewhere else, and the Vite+ hook isn't installed. Run `git config --unset core.hooksPath` (add `--global` if the value is global), then `pnpm install` again. From 84424798ce8b9e9459a35a092a22f35f78f6b03e Mon Sep 17 00:00:00 2001 From: Kris McGinnes Date: Tue, 13 Oct 2026 17:22:23 -0500 Subject: [PATCH 7/7] Record the upstream yuku binding deprecations in the lockfile --- pnpm-lock.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7bdf94a50e..6fe6bd436f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2853,133 +2853,157 @@ packages: resolution: {integrity: sha512-jrOY5WM+AaAqkv51fHP1x28ifto4WgcZVzodLUyMU1jMWn5Sq+VciRdk/n8E0Ey5w4p4cWWE+m5GfXWOYh7Kzw==} cpu: [arm64] os: [android] + deprecated: yuku-codegen is pure JavaScript since 0.14 '@yuku-codegen/binding-darwin-arm64@0.9.5': resolution: {integrity: sha512-4O4lkCQIzPZGjiNB1GORSI6hBECbiiSBS/APZXPvNKYH+nhY4uuqv03LNXA+SET3hoBjvr95P5rIhY8KQaQUBA==} cpu: [arm64] os: [darwin] + deprecated: yuku-codegen is pure JavaScript since 0.14 '@yuku-codegen/binding-darwin-x64@0.9.5': resolution: {integrity: sha512-9EvoUO0SEhD6/d8VHdWuPerepPMSR1y84+UEgz8Un1Ope14Oe7xMvePpEQLTLovoIFZ8Zg3iZ8z8E11pZMqC3g==} cpu: [x64] os: [darwin] + deprecated: yuku-codegen is pure JavaScript since 0.14 '@yuku-codegen/binding-freebsd-x64@0.9.5': resolution: {integrity: sha512-HqT78WwgHTmp8lwujoUa9CrIortX4DdpuiVC18ZPSGvuuJf4ylpIEI6QrQEM78Zwz3muhAWAOXZ5irdiYY+AyA==} cpu: [x64] os: [freebsd] + deprecated: yuku-codegen is pure JavaScript since 0.14 '@yuku-codegen/binding-linux-arm-gnu@0.9.5': resolution: {integrity: sha512-QJXwIW6Ms3QIawbcBIedmrmXnfdpuAOjZJ/eAABq5XTzWvSxZ7lutu9W5yIHahlaTaFnBo7ikrVMD1szLTpPUw==} cpu: [arm] os: [linux] libc: [glibc] + deprecated: yuku-codegen is pure JavaScript since 0.14 '@yuku-codegen/binding-linux-arm-musl@0.9.5': resolution: {integrity: sha512-eHbFy3IHGb+IYarrYwAo0yWSEQV3eAmEn6VrsKA6I1Wy1YPJxWqSJlV69JhqsHtJuJlljUIF3ex0y46yaKIu9w==} cpu: [arm] os: [linux] libc: [musl] + deprecated: yuku-codegen is pure JavaScript since 0.14 '@yuku-codegen/binding-linux-arm64-gnu@0.9.5': resolution: {integrity: sha512-ByoJMbySTaDhjAXSu8q6Lh7HKg3YoesXpcT72aYk0Aiw4PCznmY4ybpLTq0RCvp0RIPhFm/6yECFiGBwyCC1nw==} cpu: [arm64] os: [linux] libc: [glibc] + deprecated: yuku-codegen is pure JavaScript since 0.14 '@yuku-codegen/binding-linux-arm64-musl@0.9.5': resolution: {integrity: sha512-gD9vfXIoBw1toSxhO9rgmSu/FEfy3PMznJAxVjIuH8DrWEiDKXmJO0pJKfj1Ltbe/TmtWVZR+TjISqeSIGQzMg==} cpu: [arm64] os: [linux] libc: [musl] + deprecated: yuku-codegen is pure JavaScript since 0.14 '@yuku-codegen/binding-linux-x64-gnu@0.9.5': resolution: {integrity: sha512-BARvdnvqMGjOr5Iel2JH+9H5vAIE0R6H0Z2fsT02xrvmI/1ZXNB8lkuX+ZGevPhZb3zJ9WeC/R8JZstrsUOK5g==} cpu: [x64] os: [linux] libc: [glibc] + deprecated: yuku-codegen is pure JavaScript since 0.14 '@yuku-codegen/binding-linux-x64-musl@0.9.5': resolution: {integrity: sha512-x8flcevS1fbb7ESrmpOY/pON4eInSaE/7Ktjqx2udOE2W33BNSZmJuwpyUgo54AoHNqrcaM7szqydyJn5fNvew==} cpu: [x64] os: [linux] libc: [musl] + deprecated: yuku-codegen is pure JavaScript since 0.14 '@yuku-codegen/binding-win32-arm64@0.9.5': resolution: {integrity: sha512-KOL/rBatWqH4ZpCNoF8ZtSNdOJbAxBJLmk/VeRciepGROPTbPum1A9t67GpFgOU7qrkUWlPJdJ+KHKbvbmOt+w==} cpu: [arm64] os: [win32] + deprecated: yuku-codegen is pure JavaScript since 0.14 '@yuku-codegen/binding-win32-x64@0.9.5': resolution: {integrity: sha512-FxENahEjWSan59Syh/us/Kf4wNq8qrJLFJ3R2N4Oiwtb6yNdz/rWLNTIoNSssnsp7IoWJdUP6o/Z8ppg7lXMcg==} cpu: [x64] os: [win32] + deprecated: yuku-codegen is pure JavaScript since 0.14 '@yuku-parser/binding-android-arm64@0.9.5': resolution: {integrity: sha512-A2JCFCSHfnficqYEw4Iujpx7XrkMM3UfFcgJFmYpZSo9zM4nyhmdIIE0FogSduuU60lhM0/UcfuUBXIVNBMlGQ==} cpu: [arm64] os: [android] + deprecated: yuku-parser runs on yuku-core since 0.14 '@yuku-parser/binding-darwin-arm64@0.9.5': resolution: {integrity: sha512-3PiyU+Eare4YuKaQ22N98/yAiROPY5o/NQJHraICzDvk4pgS+m+bgLKOvkGBRn33OnV95Vdv1Mn38b+MQHpULQ==} cpu: [arm64] os: [darwin] + deprecated: yuku-parser runs on yuku-core since 0.14 '@yuku-parser/binding-darwin-x64@0.9.5': resolution: {integrity: sha512-blFMAFI7AInI83XaiOF8cIeiRM46Nz9EfpZtZPRLbKxSA9aAr5v8aHYpmfN6NoyXxAv/10pwS4gsAuc1W6fy5Q==} cpu: [x64] os: [darwin] + deprecated: yuku-parser runs on yuku-core since 0.14 '@yuku-parser/binding-freebsd-x64@0.9.5': resolution: {integrity: sha512-TsNuL4qsZdO0tHp5GW43Y5fHeLPpPHA675wdcPNTcdq2ZO5AvsQWFFoiDg8CH4oBktfsQ9tdvKhjLnLYwKvp4g==} cpu: [x64] os: [freebsd] + deprecated: yuku-parser runs on yuku-core since 0.14 '@yuku-parser/binding-linux-arm-gnu@0.9.5': resolution: {integrity: sha512-b0afYK5gHeV8RdmOcqAlgM8ONsye4cax4DMnIBaoJyPMd1UTGvTbpkqQcPVdhmHlcfcGVGMV1laeVovlr/dscw==} cpu: [arm] os: [linux] libc: [glibc] + deprecated: yuku-parser runs on yuku-core since 0.14 '@yuku-parser/binding-linux-arm-musl@0.9.5': resolution: {integrity: sha512-fD3lKzl+r6j6n8DwiMY53qnh5DLqD8KJjCp+NbVud54Nnh3Q9Wprqss3YzyMHP3NSJk663Wlg1E1X5qOuFVFig==} cpu: [arm] os: [linux] libc: [musl] + deprecated: yuku-parser runs on yuku-core since 0.14 '@yuku-parser/binding-linux-arm64-gnu@0.9.5': resolution: {integrity: sha512-aRU/aCphV1MWCl/lvI6NX8LgucHQ68Fx+vz7NBb/5MEr2EuzCxiPOQqeFcMdWh+2AED/p0AvAREch0c+cSnlhA==} cpu: [arm64] os: [linux] libc: [glibc] + deprecated: yuku-parser runs on yuku-core since 0.14 '@yuku-parser/binding-linux-arm64-musl@0.9.5': resolution: {integrity: sha512-5+Guro0l8H473YXlEjVNBRLN/IbPbJdnQh1zo0OLt49xxnON+XMJRRaEyTOTfkn9QSRg0+BhEKGR4W9Gu2uZJQ==} cpu: [arm64] os: [linux] libc: [musl] + deprecated: yuku-parser runs on yuku-core since 0.14 '@yuku-parser/binding-linux-x64-gnu@0.9.5': resolution: {integrity: sha512-pwwSyV9q+GlvzSXlsMZBMlgk22L5bud714/vqZCdeUTivzeUVltQzUaf3IQXOGXdpc59JYTeuMCtbGquaAUoCA==} cpu: [x64] os: [linux] libc: [glibc] + deprecated: yuku-parser runs on yuku-core since 0.14 '@yuku-parser/binding-linux-x64-musl@0.9.5': resolution: {integrity: sha512-z18j6JN3lBHH8vzN7gG1M8fI0nlgItSfnC9PfbmUbt97iHViKfw2iA2G9fGwRMe5LyPRZBrejIlapbygPbpdaw==} cpu: [x64] os: [linux] libc: [musl] + deprecated: yuku-parser runs on yuku-core since 0.14 '@yuku-parser/binding-win32-arm64@0.9.5': resolution: {integrity: sha512-s6Gwttb1dQvtPX6Bgkw+UPC9IO3UBDXc6Zezog8MMgvu3UfJBBB9TQqKBX/2quu0Eyh+lLSAyNlIyyecaagUPg==} cpu: [arm64] os: [win32] + deprecated: yuku-parser runs on yuku-core since 0.14 '@yuku-parser/binding-win32-x64@0.9.5': resolution: {integrity: sha512-FrERt9YWatY3bJfSUdi4YWY+6iQcyo3MzCC821BxlWM5TFZEHijnpz/bknR79VHlXY/9CvXz8ZlaAGPsTtN3nw==} cpu: [x64] os: [win32] + deprecated: yuku-parser runs on yuku-core since 0.14 '@yuku-toolchain/types@0.9.5': resolution: {integrity: sha512-KiuLNNgX9uNealaWAR+G3/cMXnRk9x4TY2EkYe/KIag+UPdwiA0RRf1hr1WAxzTP8KGzCTkqUdLPvqh32sEO3w==}