diff --git a/biome.json b/biome.json new file mode 100644 index 00000000..31da3eff --- /dev/null +++ b/biome.json @@ -0,0 +1,46 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", + "vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false }, + "files": { "ignoreUnknown": false, "ignore": [] }, + "formatter": { + "enabled": true, + "useEditorconfig": true, + "formatWithErrors": false, + "indentStyle": "space", + "indentWidth": 4, + "lineEnding": "lf", + "lineWidth": 80, + "attributePosition": "auto", + "bracketSpacing": true, + "ignore": [ + "**/*/target", + "**/*/dist", + "packages/torii-client/wasm", + "packages/torii-client/pkg", + "packages/torii-wasm/pkg/", + "packages/utils-wasm/pkg/", + "packages/create-burner/coverage", + "packages/core/coverage", + "worlds/dojo-starter", + "**/*-lock.yaml", + "**/package-lock.json", + "**/dev-dist", + "**/CHANGELOG.md" + ] + }, + "organizeImports": { "enabled": true }, + "linter": { "enabled": true, "rules": { "recommended": true } }, + "javascript": { + "formatter": { + "jsxQuoteStyle": "double", + "quoteProperties": "asNeeded", + "trailingCommas": "es5", + "semicolons": "always", + "arrowParentheses": "always", + "bracketSameLine": false, + "quoteStyle": "double", + "attributePosition": "auto", + "bracketSpacing": true + } + } +} diff --git a/examples/example-vite-grpc-playground/.gitignore b/examples/example-vite-grpc-playground/.gitignore new file mode 100644 index 00000000..a547bf36 --- /dev/null +++ b/examples/example-vite-grpc-playground/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/examples/example-vite-grpc-playground/README.md b/examples/example-vite-grpc-playground/README.md new file mode 100644 index 00000000..44f2acc0 --- /dev/null +++ b/examples/example-vite-grpc-playground/README.md @@ -0,0 +1,50 @@ +# React + TypeScript + Vite + +This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. + +Currently, two official plugins are available: + +- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh +- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh + +## Expanding the ESLint configuration + +If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: + +- Configure the top-level `parserOptions` property like this: + +```js +export default tseslint.config({ + languageOptions: { + // other options... + parserOptions: { + project: ["./tsconfig.node.json", "./tsconfig.app.json"], + tsconfigRootDir: import.meta.dirname, + }, + }, +}); +``` + +- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked` +- Optionally add `...tseslint.configs.stylisticTypeChecked` +- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config: + +```js +// eslint.config.js +import react from "eslint-plugin-react"; + +export default tseslint.config({ + // Set the react version + settings: { react: { version: "18.3" } }, + plugins: { + // Add the react plugin + react, + }, + rules: { + // other rules... + // Enable its recommended rules + ...react.configs.recommended.rules, + ...react.configs["jsx-runtime"].rules, + }, +}); +``` diff --git a/examples/example-vite-grpc-playground/dojoConfig.ts b/examples/example-vite-grpc-playground/dojoConfig.ts new file mode 100644 index 00000000..e45ee85a --- /dev/null +++ b/examples/example-vite-grpc-playground/dojoConfig.ts @@ -0,0 +1,7 @@ +import { createDojoConfig } from "@dojoengine/core"; + +import manifest from "../../worlds/dojo-starter/manifest_dev.json"; + +export const dojoConfig = createDojoConfig({ + manifest, +}); diff --git a/examples/example-vite-grpc-playground/eslint.config.js b/examples/example-vite-grpc-playground/eslint.config.js new file mode 100644 index 00000000..9d1c0c63 --- /dev/null +++ b/examples/example-vite-grpc-playground/eslint.config.js @@ -0,0 +1,28 @@ +import js from "@eslint/js"; +import globals from "globals"; +import reactHooks from "eslint-plugin-react-hooks"; +import reactRefresh from "eslint-plugin-react-refresh"; +import tseslint from "typescript-eslint"; + +export default tseslint.config( + { ignores: ["dist"] }, + { + extends: [js.configs.recommended, ...tseslint.configs.recommended], + files: ["**/*.{ts,tsx}"], + languageOptions: { + ecmaVersion: 2020, + globals: globals.browser, + }, + plugins: { + "react-hooks": reactHooks, + "react-refresh": reactRefresh, + }, + rules: { + ...reactHooks.configs.recommended.rules, + "react-refresh/only-export-components": [ + "warn", + { allowConstantExport: true }, + ], + }, + } +); diff --git a/examples/example-vite-grpc-playground/index.html b/examples/example-vite-grpc-playground/index.html new file mode 100644 index 00000000..9b2e0d82 --- /dev/null +++ b/examples/example-vite-grpc-playground/index.html @@ -0,0 +1,13 @@ + + + + + + + Torii gRPC Playground + + +
+ + + diff --git a/examples/example-vite-grpc-playground/package.json b/examples/example-vite-grpc-playground/package.json new file mode 100644 index 00000000..db69a3f9 --- /dev/null +++ b/examples/example-vite-grpc-playground/package.json @@ -0,0 +1,38 @@ +{ + "name": "example-vite-grpc-playground", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "tsc -b && vite build", + "lint": "eslint .", + "preview": "vite preview" + }, + "dependencies": { + "@dojoengine/core": "workspace:*", + "@dojoengine/sdk": "workspace:*", + "monaco-editor": "^0.52.2", + "path": "^0.12.7", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "ses": "^1.11.0" + }, + "devDependencies": { + "@eslint/js": "^9.17.0", + "@tailwindcss/vite": "^4.0.1", + "@types/react": "^18.3.18", + "@types/react-dom": "^18.3.5", + "@vitejs/plugin-react": "^4.3.4", + "eslint": "^9.17.0", + "eslint-plugin-react-hooks": "^5.0.0", + "eslint-plugin-react-refresh": "^0.4.16", + "globals": "^15.14.0", + "tailwindcss": "^4.0.1", + "typescript": "~5.6.3", + "typescript-eslint": "^8.18.2", + "vite": "^6.0.5", + "vite-plugin-monaco-editor-esm": "^2.0.2", + "vite-plugin-wasm": "^3.4.1" + } +} diff --git a/examples/example-vite-grpc-playground/public/vite.svg b/examples/example-vite-grpc-playground/public/vite.svg new file mode 100644 index 00000000..e7b8dfb1 --- /dev/null +++ b/examples/example-vite-grpc-playground/public/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/examples/example-vite-grpc-playground/src/App.tsx b/examples/example-vite-grpc-playground/src/App.tsx new file mode 100644 index 00000000..cba05808 --- /dev/null +++ b/examples/example-vite-grpc-playground/src/App.tsx @@ -0,0 +1,271 @@ +import { useState, useEffect, useCallback } from "react"; +import { type init } from "@dojoengine/sdk/experimental"; +import { Button } from "./components/ui/button"; +import { Card } from "./components/ui/card"; +import { QueryHistory, QueryItem } from "./components/query-history"; +import { SchemaExplorer, SchemaItem } from "./components/schema-explorer"; +import { QueryEditor } from "./components/query-editor"; +import { QueryResults } from "./components/query-results"; +import { StandardizedQueryResult, SchemaType } from "@dojoengine/sdk"; +import { evaluateUserInput } from "./components/ts-executor"; + +const DEFAULT_COMMENT = `// Welcome to Torii gRPC Playground! +// This is a sandboxed environment. All you need is return the value you want. +// Try running a query like:`; + +const DEFAULT_QUERY = `${DEFAULT_COMMENT} +return new ToriiQueryBuilder().build();`; + +interface AppProps { + sdk: Awaited>; +} +export const App = ({ sdk }: AppProps) => { + const [query, setQuery] = useState(DEFAULT_QUERY); + const [response, setResponse] = + useState | null>(null); + const [loading, setLoading] = useState(false); + const [error, setError] = useState(null); + const [copied, setCopied] = useState(false); + const [schema, setSchema] = useState([]); + const [activeTab, setActiveTab] = useState("editor"); + const [executionTime, setExecutionTime] = useState(null); + const [queryHistory, setQueryHistory] = useState(() => { + // Load history from localStorage on init + const saved = localStorage.getItem("queryHistory"); + return saved ? JSON.parse(saved) : []; + }); + + // Save history to localStorage when it changes + useEffect(() => { + localStorage.setItem("queryHistory", JSON.stringify(queryHistory)); + }, [queryHistory]); + + // Fetch schema on component mount + useEffect(() => { + const fetchSchema = async () => { + try { + const schemaQuery = ` + SELECT + m.name as table_name, + p.name as column_name, + p.type as data_type, + p."notnull" as is_nullable, + p.pk as is_primary_key + FROM sqlite_master m + JOIN pragma_table_info(m.name) p + WHERE m.type = 'table' + AND m.name NOT LIKE 'sqlite_%' + ORDER BY m.name, p.cid; + `; + const response = await fetch( + `http://localhost:8080/sql?${new URLSearchParams({ query: schemaQuery })}` + ); + if (!response.ok) throw new Error("Failed to fetch schema"); + const data = await response.json(); + setSchema(data); + } catch (error) { + console.error("Error fetching schema:", error); + } + }; + fetchSchema(); + }, []); + + const handleToggleFavorite = (index: number) => { + setQueryHistory((prev) => { + const updated = [...prev]; + updated[index] = { + ...updated[index], + favorite: !updated[index].favorite, + }; + // Sort to keep favorites at the top + return updated.sort((a, b) => { + if (a.favorite === b.favorite) { + return b.timestamp - a.timestamp; + } + return b.favorite ? 1 : -1; + }); + }); + }; + + const beautifyCurrentQuery = () => { + const beautified = query; + setQuery(beautified); + }; + + const executeQuery = async () => { + setLoading(true); + setError(null); + const strippedQuery = query.replace(DEFAULT_COMMENT, ""); + try { + const evaluatedQuery = await evaluateUserInput(strippedQuery); + + const startTime = performance.now(); + const response = await sdk.getEntities(evaluatedQuery); + const endTime = performance.now(); + setExecutionTime(endTime - startTime); + setResponse(response); + + // Add to history with deduplication + setQueryHistory((prev) => { + const existingIndex = prev.findIndex( + (item) => item.query.trim() === strippedQuery.trim() + ); + + const newEntry = { + query: strippedQuery, + timestamp: Date.now(), + rows: response.length, + executionTime: endTime - startTime, + favorite: + existingIndex >= 0 + ? prev[existingIndex].favorite + : false, + }; + + let updated: QueryItem[]; + if (existingIndex >= 0) { + updated = [ + newEntry, + ...prev.slice(0, existingIndex), + ...prev.slice(existingIndex + 1), + ]; + } else { + updated = [newEntry, ...prev.slice(0, 49)]; // Keep last 50 queries + } + + return updated.sort((a, b) => { + if (a.favorite === b.favorite) { + return b.timestamp - a.timestamp; + } + return b.favorite ? 1 : -1; + }); + }); + } catch (error) { + setError((error as Error).message.toString()); + setResponse(null); + setExecutionTime(null); + } finally { + setLoading(false); + } + }; + + const copyToClipboard = useCallback(async () => { + try { + await navigator.clipboard.writeText(query); + setCopied(true); + setTimeout(() => setCopied(false), 2000); + } catch (err) { + console.error("Failed to copy:", err); + } + }, [query]); + + const downloadResults = useCallback(() => { + if (!response) return; + const blob = new Blob([JSON.stringify(response, null, 2)], { + type: "application/json", + }); + const url = URL.createObjectURL(blob); + const a = document.createElement("a"); + a.href = url; + a.download = "query-results.json"; + document.body.appendChild(a); + a.click(); + document.body.removeChild(a); + URL.revokeObjectURL(url); + }, [response]); + + return ( +
+
+
+
+

+ Torii gRPC Playground +

+ + BETA + +
+

+ Write and execute gRPC queries in real-time +

+
+ +
+
+
+ + + +
+ + + {activeTab === "history" ? ( + { + setQuery(query); + setActiveTab("editor"); + }} + onToggleFavorite={handleToggleFavorite} + /> + ) : activeTab === "editor" ? ( + + ) : ( + + )} + +
+ + + + +
+
+
+ ); +}; diff --git a/examples/example-vite-grpc-playground/src/assets/react.svg b/examples/example-vite-grpc-playground/src/assets/react.svg new file mode 100644 index 00000000..6c87de9b --- /dev/null +++ b/examples/example-vite-grpc-playground/src/assets/react.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/examples/example-vite-grpc-playground/src/components/minimal-worker.ts b/examples/example-vite-grpc-playground/src/components/minimal-worker.ts new file mode 100644 index 00000000..b328c8b4 --- /dev/null +++ b/examples/example-vite-grpc-playground/src/components/minimal-worker.ts @@ -0,0 +1,7 @@ +// minimal-worker.ts +console.log("Worker initializing..."); + +self.onmessage = (e) => { + console.log("Worker received message:", e.data); + self.postMessage({ type: "success", result: "test" }); +}; diff --git a/examples/example-vite-grpc-playground/src/components/query-editor.tsx b/examples/example-vite-grpc-playground/src/components/query-editor.tsx new file mode 100644 index 00000000..e7811d08 --- /dev/null +++ b/examples/example-vite-grpc-playground/src/components/query-editor.tsx @@ -0,0 +1,212 @@ +import { useRef, useEffect } from "react"; +import * as monaco from "monaco-editor"; +import { Button } from "./ui/button"; +import * as ts from "typescript"; +import sdkType from "@dojoengine/sdk/types?raw"; + +monaco.languages.typescript.typescriptDefaults.setCompilerOptions({ + target: monaco.languages.typescript.ScriptTarget.ESNext, + moduleResolution: monaco.languages.typescript.ModuleResolutionKind.NodeJs, + allowNonTsExtensions: true, + lib: ["ESNext", "dom", "dojoenginesdk"], +}); +monaco.languages.typescript.typescriptDefaults.addExtraLib( + `declare module dojoenginesdk { ${sdkType} };`, + "sdk.d.ts" +); +// const dojoenginesdkModel = monaco.editor.createModel( +// sdkType, +// "typescript", +// monaco.Uri.parse("sdk.d.ts") +// ); + +const sourceFile = ts.createSourceFile( + "sdk.d.ts", + sdkType, + ts.ScriptTarget.Latest +); + +// Step 2: Extract relevant information +const completionItems: Partial[] = []; + +function visit(node: ts.Node) { + if (ts.isClassDeclaration(node) && node.name) { + const className = node.name.text; + completionItems.push({ + label: className, + kind: monaco.languages.CompletionItemKind.Class, + insertText: className, + detail: `Class ${className}`, + }); + + node.members.forEach((member) => { + if (ts.isMethodDeclaration(member) && member.name) { + const methodName = member.name.getText(sourceFile); + completionItems.push({ + label: methodName, + kind: monaco.languages.CompletionItemKind.Method, + insertText: methodName, + detail: `Method ${methodName} of class ${className}`, + }); + } + }); + } else if (ts.isFunctionDeclaration(node) && node.name) { + const functionName = node.name.text; + completionItems.push({ + label: functionName, + kind: monaco.languages.CompletionItemKind.Function, + insertText: functionName, + detail: `Function ${functionName}`, + }); + } else if (ts.isInterfaceDeclaration(node) && node.name) { + const interfaceName = node.name.text; + completionItems.push({ + label: interfaceName, + kind: monaco.languages.CompletionItemKind.Interface, + insertText: interfaceName, + detail: `Interface ${interfaceName}`, + }); + } else if (ts.isTypeAliasDeclaration(node) && node.name) { + const typeName = node.name.text; + completionItems.push({ + label: typeName, + kind: monaco.languages.CompletionItemKind.TypeParameter, + insertText: typeName, + detail: `Type ${typeName}`, + }); + } + + ts.forEachChild(node, visit); +} + +visit(sourceFile); + +monaco.languages.registerCompletionItemProvider("typescript", { + provideCompletionItems: ( + model: monaco.editor.ITextModel, + position: monaco.Position + ): monaco.languages.ProviderResult => { + const word = model.getWordUntilPosition(position); + const range = { + startLineNumber: position.lineNumber, + endLineNumber: position.lineNumber, + startColumn: word.startColumn, + endColumn: word.endColumn, + }; + + return { + suggestions: completionItems.map((item) => ({ + ...item, + range: range, + })) as monaco.languages.CompletionItem[], + }; + }, +}); + +interface QueryEditorProps { + setQuery: (...args: any) => any; + onExecute: (...args: any) => any; + onBeautify: (...args: any) => any; + onCopy: (...args: any) => any; + query: string; + loading: boolean; + copied: boolean; +} +export const QueryEditor = ({ + query, + setQuery, + onExecute, + loading, + onBeautify, + onCopy, + copied, +}: QueryEditorProps) => { + const editorRef = useRef(); + const elementRef = useRef(null); + + useEffect(() => { + const resize = () => { + if (editorRef.current) { + editorRef.current.layout({ height: 0, width: 0 }); + editorRef.current.layout(); + } + }; + window.addEventListener("resize", resize); + setTimeout(() => resize); // push to next tick + return () => window.removeEventListener("resize", resize); + }); + + useEffect(() => { + if (elementRef.current) { + editorRef.current = monaco.editor.create(elementRef.current, { + value: query, + language: "typescript", + theme: "vs-dark", + minimap: { enabled: false }, + fontSize: 14, + // model: monaco.editor.getModel(monaco.Uri.parse("sdk.d.ts")), + }); + + editorRef.current.addCommand( + monaco.KeyMod.CtrlCmd | monaco.KeyCode.Space, + () => { + editorRef.current?.trigger( + "keyboard", + "editor.action.triggerSuggest", + {} + ); + } + ); + + editorRef.current.onDidChangeModelContent(() => { + setQuery(editorRef.current?.getValue()); + }); + } + + return () => { + if (editorRef.current) { + editorRef.current.dispose(); + } + }; + }, []); + + useEffect(() => { + if (editorRef.current && editorRef.current.getValue() !== query) { + editorRef.current.setValue(query); + } + }, [query]); + + return ( + <> +
+

+ Query Editor +

+
+ + +
+
+
+
+
+
+ +
+ + ); +}; diff --git a/examples/example-vite-grpc-playground/src/components/query-history.tsx b/examples/example-vite-grpc-playground/src/components/query-history.tsx new file mode 100644 index 00000000..5a4827ab --- /dev/null +++ b/examples/example-vite-grpc-playground/src/components/query-history.tsx @@ -0,0 +1,54 @@ +export type QueryItem = { + query: string; + favorite: boolean; + timestamp: number; + rows: number; +}; +interface QueryHistoryProps { + queries: QueryItem[]; + onSelectQuery: (query: string) => void; + onToggleFavorite: (favoriteIdx: number) => void; +} + +export const QueryHistory = ({ + queries, + onSelectQuery, + onToggleFavorite, +}: QueryHistoryProps) => { + return ( +
+ {queries.map((item, index) => ( +
+
+
onSelectQuery(item.query)} + > +
+ {item.query} +
+
+ +
+
+ + {new Date(item.timestamp).toLocaleTimeString()} + + {item.rows != null && {item.rows} rows} +
+
+ ))} +
+ ); +}; diff --git a/examples/example-vite-grpc-playground/src/components/query-results.tsx b/examples/example-vite-grpc-playground/src/components/query-results.tsx new file mode 100644 index 00000000..90d12a96 --- /dev/null +++ b/examples/example-vite-grpc-playground/src/components/query-results.tsx @@ -0,0 +1,107 @@ +import { Alert } from "./ui/alert"; +import { Button } from "./ui/button"; + +interface QueryResultsProps { + response: any; + error: string | null; + loading: boolean; + executionTime: number | null; + onDownload: () => void; +} + +export const QueryResults = ({ + response, + error, + loading, + executionTime, + onDownload, +}: QueryResultsProps) => { + return ( + <> +
+

Results

+ {response && ( + + )} +
+
+ {error && ! {error}} + {response && response.length > 0 && ( +
+ + + + {Object.keys(response[0]).map((header) => ( + + ))} + + + + {response.map((row: any, rowIndex: number) => ( + + {Object.values(row).map( + (value, colIndex) => ( + + ) + )} + + ))} + +
+ {header} +
+ {value === null ? ( + + NULL + + ) : typeof value === + "object" ? ( + JSON.stringify(value) + ) : ( + String(value) + )} +
+
+ )} + {(!response || response.length === 0) && !error && !loading && ( +
+

No Results Yet

+

+ Execute a query to see results here +

+
+ )} +
+ {response && ( +
+
+

+ Showing {response.length} row + {response.length !== 1 ? "s" : ""} +

+ {executionTime && ( +

+ {executionTime.toFixed(0)}ms +

+ )} +
+
+ )} + + ); +}; diff --git a/examples/example-vite-grpc-playground/src/components/schema-explorer.tsx b/examples/example-vite-grpc-playground/src/components/schema-explorer.tsx new file mode 100644 index 00000000..da5a4bb2 --- /dev/null +++ b/examples/example-vite-grpc-playground/src/components/schema-explorer.tsx @@ -0,0 +1,79 @@ +import { useState } from "react"; + +export type SchemaItem = { + table_name: string; + column_name: string; + data_type: string; + is_primary_key: boolean; + is_nullable: boolean; +}; +interface SchemaExplorerProps { + schema: SchemaItem[]; +} +export const SchemaExplorer = ({ schema }: SchemaExplorerProps) => { + const [expandedTables, setExpandedTables] = useState<{ + [x: string]: boolean | SchemaItem[]; + }>({}); + + // Group schema by table + const tableSchema = schema.reduce( + (acc: Record, row: SchemaItem) => { + if (!acc[row.table_name]) { + acc[row.table_name] = []; + } + acc[row.table_name].push(row); + return acc; + }, + {} + ); + + return ( +
+
+ {Object.entries(tableSchema).map(([tableName, columns]) => ( +
+
+ setExpandedTables((prev) => ({ + ...prev, + [tableName]: !prev[tableName], + })) + } + > + + {expandedTables[tableName] ? "▼" : "▶"} + + {tableName} +
+ {expandedTables[tableName] && ( +
+ {columns.map((column) => ( +
+ {column.column_name} + + ({column.data_type} + {column.is_primary_key + ? ", PK" + : ""} + {column.is_nullable + ? "" + : ", NOT NULL"} + ) + +
+ ))} +
+ )} +
+ ))} +
+
+ ); +}; diff --git a/examples/example-vite-grpc-playground/src/components/ts-executor.ts b/examples/example-vite-grpc-playground/src/components/ts-executor.ts new file mode 100644 index 00000000..4d32d848 --- /dev/null +++ b/examples/example-vite-grpc-playground/src/components/ts-executor.ts @@ -0,0 +1,24 @@ +// Create a worker to evaluate user input code. +async function createWorker(code: string) { + return new Promise((resolve, reject) => { + const worker = new Worker(new URL("./worker.ts", import.meta.url), { + type: "module", + }); + + worker.onmessage = (event) => { + if (event.data.type === "success") { + resolve(event.data.result); + } + if (event.data.type === "error") { + reject(event.data.error); + } + worker.terminate(); + }; + + worker.postMessage({ code }); + }); +} + +export async function evaluateUserInput(query: string): Promise { + return await createWorker(query); +} diff --git a/examples/example-vite-grpc-playground/src/components/ui/alert.tsx b/examples/example-vite-grpc-playground/src/components/ui/alert.tsx new file mode 100644 index 00000000..c97645e2 --- /dev/null +++ b/examples/example-vite-grpc-playground/src/components/ui/alert.tsx @@ -0,0 +1,14 @@ +import { type PropsWithChildren } from "react"; + +interface AlertProps { + variant: string; +} + +export const Alert = ({ children, variant }: PropsWithChildren) => { + const classes = + variant === "destructive" + ? "bg-red-900/50 text-red-200 border border-red-800/50 rounded-lg p-4" + : "bg-zinc-800 border rounded-lg p-4"; + + return
{children}
; +}; diff --git a/examples/example-vite-grpc-playground/src/components/ui/button.tsx b/examples/example-vite-grpc-playground/src/components/ui/button.tsx new file mode 100644 index 00000000..d00a82df --- /dev/null +++ b/examples/example-vite-grpc-playground/src/components/ui/button.tsx @@ -0,0 +1,34 @@ +import { type PropsWithChildren } from "react"; + +interface ButtonProps { + onClick: (...args: any) => any; + disabled?: boolean; + variant?: string; + className?: string; +} + +export const Button = ({ + children, + onClick, + disabled = false, + variant, + className, +}: PropsWithChildren) => { + const baseClasses = + "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus:outline-none disabled:opacity-50 disabled:pointer-events-none px-4 py-2"; + const variantClasses = + variant === "outline" + ? "border border-zinc-700 hover:bg-zinc-800 text-white" + : "bg-white text-black hover:bg-zinc-100"; + + return ( + + ); +}; diff --git a/examples/example-vite-grpc-playground/src/components/ui/card.tsx b/examples/example-vite-grpc-playground/src/components/ui/card.tsx new file mode 100644 index 00000000..790352e6 --- /dev/null +++ b/examples/example-vite-grpc-playground/src/components/ui/card.tsx @@ -0,0 +1,14 @@ +import { type PropsWithChildren } from "react"; + +interface CardProps { + className: string; +} +export const Card = ({ children, className }: PropsWithChildren) => { + return ( +
+ {children} +
+ ); +}; diff --git a/examples/example-vite-grpc-playground/src/components/worker.ts b/examples/example-vite-grpc-playground/src/components/worker.ts new file mode 100644 index 00000000..9eeefccb --- /dev/null +++ b/examples/example-vite-grpc-playground/src/components/worker.ts @@ -0,0 +1,38 @@ +self.onmessage = async (e) => { + const { + ToriiQueryBuilder, + ClauseBuilder, + AndComposeClause, + OrComposeClause, + KeysClause, + MemberClause, + } = await import("@dojoengine/sdk"); + try { + const inputCode = new Function( + "ToriiQueryBuilder", + "ClauseBuilder", + "AndComposeClause", + "OrComposeClause", + "KeysClause", + "MemberClause", + `return function() { ${e.data.code} }` + ); + const result = inputCode( + ToriiQueryBuilder, + ClauseBuilder, + AndComposeClause, + OrComposeClause, + KeysClause, + MemberClause + )(); + self.postMessage({ type: "success", result }); + } catch (error) { + self.postMessage({ + type: "error", + error: { + message: (error as Error).message, + stack: (error as Error).stack, + }, + }); + } +}; diff --git a/examples/example-vite-grpc-playground/src/index.css b/examples/example-vite-grpc-playground/src/index.css new file mode 100644 index 00000000..982b3031 --- /dev/null +++ b/examples/example-vite-grpc-playground/src/index.css @@ -0,0 +1,31 @@ +@import "tailwindcss"; + +.animate-spin { + animation: spin 1s linear infinite; +} +@keyframes spin { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +} +::-webkit-scrollbar { + width: 8px; + height: 8px; +} +::-webkit-scrollbar-track { + background: #f1f1f1; +} +::-webkit-scrollbar-thumb { + background: #888; + border-radius: 4px; +} +::-webkit-scrollbar-thumb:hover { + background: #555; +} +#monaco-editor { + width: 100%; + height: 100%; +} diff --git a/examples/example-vite-grpc-playground/src/main.tsx b/examples/example-vite-grpc-playground/src/main.tsx new file mode 100644 index 00000000..354cfde9 --- /dev/null +++ b/examples/example-vite-grpc-playground/src/main.tsx @@ -0,0 +1,31 @@ +import { StrictMode } from "react"; +import { createRoot } from "react-dom/client"; +import "./index.css"; +import { App } from "./App.tsx"; +import { init } from "@dojoengine/sdk/experimental"; +import { dojoConfig } from "../dojoConfig.ts"; + +async function main() { + const sdk = await init({ + client: { + rpcUrl: dojoConfig.rpcUrl, + toriiUrl: dojoConfig.toriiUrl, + relayUrl: dojoConfig.relayUrl, + worldAddress: dojoConfig.manifest.world.address, + }, + domain: { + name: "WORLD_NAME", + version: "1.0", + chainId: "KATANA", + revision: "1", + }, + }); + + createRoot(document.getElementById("root")!).render( + + + + ); +} + +main().catch(console.error); diff --git a/examples/example-vite-grpc-playground/src/vite-env.d.ts b/examples/example-vite-grpc-playground/src/vite-env.d.ts new file mode 100644 index 00000000..11f02fe2 --- /dev/null +++ b/examples/example-vite-grpc-playground/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/examples/example-vite-grpc-playground/tsconfig.app.json b/examples/example-vite-grpc-playground/tsconfig.app.json new file mode 100644 index 00000000..bfbe61f4 --- /dev/null +++ b/examples/example-vite-grpc-playground/tsconfig.app.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["ESNext", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + "jsx": "react-jsx", + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedSideEffectImports": true + }, + "include": ["src"] +} diff --git a/examples/example-vite-grpc-playground/tsconfig.json b/examples/example-vite-grpc-playground/tsconfig.json new file mode 100644 index 00000000..f6df6c7c --- /dev/null +++ b/examples/example-vite-grpc-playground/tsconfig.json @@ -0,0 +1,7 @@ +{ + "files": [], + "references": [ + { "path": "./tsconfig.app.json" }, + { "path": "./tsconfig.node.json" } + ] +} diff --git a/examples/example-vite-grpc-playground/tsconfig.node.json b/examples/example-vite-grpc-playground/tsconfig.node.json new file mode 100644 index 00000000..ff0dc7df --- /dev/null +++ b/examples/example-vite-grpc-playground/tsconfig.node.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", + "target": "ES2022", + "lib": ["ES2023"], + "module": "ESNext", + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedSideEffectImports": true + }, + "include": ["vite.config.ts"] +} diff --git a/examples/example-vite-grpc-playground/vite.config.ts b/examples/example-vite-grpc-playground/vite.config.ts new file mode 100644 index 00000000..26222a4f --- /dev/null +++ b/examples/example-vite-grpc-playground/vite.config.ts @@ -0,0 +1,41 @@ +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; +import tailwindcss from "@tailwindcss/vite"; +import wasm from "vite-plugin-wasm"; +import monacoEditorEsmPlugin from "vite-plugin-monaco-editor-esm"; + +// https://vite.dev/config/ +export default defineConfig({ + plugins: [ + react(), + tailwindcss(), + monacoEditorEsmPlugin({ + languageWorkers: ["editorWorkerService", "json", "typescript"], + }), + wasm(), + ], + build: { + target: "esnext", + rollupOptions: { + // Ensure external modules are properly handled + external: ["chalk"], + output: { + format: "esm", + }, + }, + }, + worker: { + format: "es", + plugins: () => { + return [wasm()]; + }, + rollupOptions: { + output: { + inlineDynamicImports: true, + }, + }, + }, + define: { + global: "globalThis", + }, +}); diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 2db73e0f..934d57e1 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -31,6 +31,11 @@ "types": "./dist/src/experimental.d.ts", "import": "./dist/src/experimental.js", "require": "./dist/src/experimental.cjs" + }, + "./types": { + "types": "./dist/index.d.ts", + "import": "./dist/index.d.ts", + "require": "./dist/index.d.ts" } }, "type": "module", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4d706d66..da07c664 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -178,13 +178,13 @@ importers: version: 5.7.2 vite: specifier: ^5.4.7 - version: 5.4.11(@types/node@22.13.1)(terser@5.38.1) + version: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) vite-plugin-top-level-await: specifier: ^1.4.4 - version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)) + version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) vite-plugin-wasm: specifier: ^3.3.0 - version: 3.4.1(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)) + version: 3.4.1(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) examples/example-vite-experimental-sdk: dependencies: @@ -209,13 +209,83 @@ importers: version: 5.6.3 vite: specifier: ^6.0.7 - version: 6.0.7(@types/node@22.13.1)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + version: 6.0.7(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) vite-plugin-top-level-await: specifier: ^1.4.4 - version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.0.7(@types/node@22.13.1)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.0.7(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) vite-plugin-wasm: specifier: ^3.4.1 - version: 3.4.1(vite@6.0.7(@types/node@22.13.1)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 3.4.1(vite@6.0.7(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + + examples/example-vite-grpc-playground: + dependencies: + '@dojoengine/core': + specifier: workspace:* + version: link:../../packages/core + '@dojoengine/sdk': + specifier: workspace:* + version: link:../../packages/sdk + monaco-editor: + specifier: ^0.52.2 + version: 0.52.2 + path: + specifier: ^0.12.7 + version: 0.12.7 + react: + specifier: ^18.3.1 + version: 18.3.1 + react-dom: + specifier: ^18.3.1 + version: 18.3.1(react@18.3.1) + ses: + specifier: ^1.11.0 + version: 1.11.0 + devDependencies: + '@eslint/js': + specifier: ^9.17.0 + version: 9.17.0 + '@tailwindcss/vite': + specifier: ^4.0.1 + version: 4.0.1(vite@6.0.11(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + '@types/react': + specifier: ^18.3.18 + version: 18.3.18 + '@types/react-dom': + specifier: ^18.3.5 + version: 18.3.5(@types/react@18.3.18) + '@vitejs/plugin-react': + specifier: ^4.3.4 + version: 4.3.4(vite@6.0.11(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + eslint: + specifier: ^9.17.0 + version: 9.17.0(jiti@2.4.2) + eslint-plugin-react-hooks: + specifier: ^5.0.0 + version: 5.1.0(eslint@9.17.0(jiti@2.4.2)) + eslint-plugin-react-refresh: + specifier: ^0.4.16 + version: 0.4.16(eslint@9.17.0(jiti@2.4.2)) + globals: + specifier: ^15.14.0 + version: 15.14.0 + tailwindcss: + specifier: ^4.0.1 + version: 4.0.1 + typescript: + specifier: ~5.6.3 + version: 5.6.3 + typescript-eslint: + specifier: ^8.18.2 + version: 8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3) + vite: + specifier: ^6.0.5 + version: 6.0.11(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite-plugin-monaco-editor-esm: + specifier: ^2.0.2 + version: 2.0.2(monaco-editor@0.52.2) + vite-plugin-wasm: + specifier: ^3.4.1 + version: 3.4.1(vite@6.0.11(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) examples/example-vite-kitchen-sink: dependencies: @@ -324,7 +394,7 @@ importers: version: 18.3.5(@types/react@18.3.18) '@vitejs/plugin-react': specifier: ^4.3.4 - version: 4.3.4(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 4.3.4(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) eslint: specifier: ^8.57.1 version: 8.57.1 @@ -342,19 +412,19 @@ importers: version: 5.7.3 vite: specifier: ^6.1.0 - version: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + version: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) vite-plugin-mkcert: specifier: ^1.17.6 - version: 1.17.6(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 1.17.6(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) vite-plugin-top-level-await: specifier: ^1.4.4 - version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) vite-plugin-wasm: specifier: ^3.4.1 - version: 3.4.1(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 3.4.1(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) vite-preset-react: specifier: ^2.3.0 - version: 2.3.0(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 2.3.0(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) examples/example-vite-phaser-sdk: dependencies: @@ -391,13 +461,13 @@ importers: version: 5.7.2 vite: specifier: ^5.3.1 - version: 5.4.11(@types/node@22.13.1)(terser@5.37.0) + version: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.37.0) vite-plugin-top-level-await: specifier: ^1.4.4 - version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(terser@5.37.0)) + version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.37.0)) vite-plugin-wasm: specifier: ^3.4.1 - version: 3.4.1(vite@5.4.11(@types/node@22.13.1)(terser@5.37.0)) + version: 3.4.1(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.37.0)) examples/example-vite-react-app-recs: dependencies: @@ -451,10 +521,10 @@ importers: version: 6.21.0(encoding@0.1.13) vite-plugin-top-level-await: specifier: ^1.4.4 - version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) vite-plugin-wasm: specifier: ^3.3.0 - version: 3.4.1(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + version: 3.4.1(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) devDependencies: '@types/node': specifier: ^20.16.6 @@ -473,7 +543,7 @@ importers: version: 5.62.0(eslint@8.57.1)(typescript@5.7.2) '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.4(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + version: 4.3.4(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.49) @@ -497,7 +567,7 @@ importers: version: 5.7.2 vite: specifier: ^4.5.5 - version: 4.5.5(@types/node@20.17.10)(terser@5.38.1) + version: 4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1) examples/example-vite-react-phaser-recs: dependencies: @@ -587,10 +657,10 @@ importers: version: 1.0.7(tailwindcss@3.4.17) vite-plugin-top-level-await: specifier: ^1.4.4 - version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) vite-plugin-wasm: specifier: ^3.4.1 - version: 3.4.1(vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 3.4.1(vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) zustand: specifier: ^4.5.6 version: 4.5.6(@types/react@18.3.18)(immer@10.1.1)(react@18.3.1) @@ -612,7 +682,7 @@ importers: version: 5.62.0(eslint@8.57.1)(typescript@5.7.3) '@vitejs/plugin-react': specifier: ^4.3.4 - version: 4.3.4(vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 4.3.4(vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.5.1) @@ -636,7 +706,7 @@ importers: version: 5.7.3 vite: specifier: ^6.0.11 - version: 6.0.11(@types/node@20.17.14)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + version: 6.0.11(@types/node@20.17.14)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) examples/example-vite-react-pwa-recs: dependencies: @@ -699,10 +769,10 @@ importers: version: 6.21.0(encoding@0.1.13) vite-plugin-top-level-await: specifier: ^1.4.4 - version: 1.4.4(@swc/helpers@0.5.5)(rollup@2.79.2)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + version: 1.4.4(@swc/helpers@0.5.5)(rollup@2.79.2)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) vite-plugin-wasm: specifier: ^3.3.0 - version: 3.4.1(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + version: 3.4.1(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) devDependencies: '@graphql-codegen/cli': specifier: ^5.0.2 @@ -733,7 +803,7 @@ importers: version: 5.62.0(eslint@8.57.1)(typescript@5.7.2) '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.4(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + version: 4.3.4(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) eslint: specifier: ^8.57.1 version: 8.57.1 @@ -748,10 +818,10 @@ importers: version: 5.7.2 vite: specifier: ^4.5.5 - version: 4.5.5(@types/node@20.17.10)(terser@5.38.1) + version: 4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1) vite-plugin-pwa: specifier: ^0.19.8 - version: 0.19.8(@vite-pwa/assets-generator@0.2.6)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1))(workbox-build@7.3.0(@types/babel__core@7.20.5))(workbox-window@7.3.0) + version: 0.19.8(@vite-pwa/assets-generator@0.2.6)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1))(workbox-build@7.3.0(@types/babel__core@7.20.5))(workbox-window@7.3.0) examples/example-vite-react-sdk: dependencies: @@ -802,10 +872,10 @@ importers: version: 10.0.0 vite-plugin-top-level-await: specifier: ^1.4.4 - version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)) + version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) vite-plugin-wasm: specifier: ^3.3.0 - version: 3.4.1(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)) + version: 3.4.1(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) zustand: specifier: ^4.5.5 version: 4.5.5(@types/react@18.3.18)(immer@10.1.1)(react@18.3.1) @@ -821,7 +891,7 @@ importers: version: 18.3.5(@types/react@18.3.18) '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.4(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)) + version: 4.3.4(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.49) @@ -851,7 +921,7 @@ importers: version: 8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2) vite: specifier: ^5.4.7 - version: 5.4.11(@types/node@22.13.1)(terser@5.38.1) + version: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) examples/example-vite-react-sql: dependencies: @@ -902,7 +972,7 @@ importers: version: 1.97.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tanstack/router-plugin': specifier: ^1.97.0 - version: 1.97.0(@tanstack/react-router@1.97.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 1.97.0(@tanstack/react-router@1.97.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) axios: specifier: ^1.7.9 version: 1.7.9(debug@4.4.0) @@ -960,7 +1030,7 @@ importers: version: 10.0.0 '@vitejs/plugin-react': specifier: ^4.3.4 - version: 4.3.4(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 4.3.4(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.5.1) @@ -981,13 +1051,13 @@ importers: version: 5.7.3 vite: specifier: ^6.0.7 - version: 6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + version: 6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) vite-plugin-top-level-await: specifier: ^1.4.4 - version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) vite-plugin-wasm: specifier: ^3.4.1 - version: 3.4.1(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) + version: 3.4.1(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)) examples/example-vite-react-threejs-recs: dependencies: @@ -1047,7 +1117,7 @@ importers: version: 8.17.10(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(three@0.160.1) '@storybook/builder-vite': specifier: ^7.6.20 - version: 7.6.20(encoding@0.1.13)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + version: 7.6.20(encoding@0.1.13)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) '@types/three': specifier: ^0.160.0 version: 0.160.0 @@ -1113,13 +1183,13 @@ importers: version: 0.160.1 vite-plugin-svgr: specifier: ^4.2.0 - version: 4.3.0(rollup@4.34.5)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + version: 4.3.0(rollup@4.34.5)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) vite-plugin-top-level-await: specifier: ^1.4.4 - version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) vite-plugin-wasm: specifier: ^3.3.0 - version: 3.4.1(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + version: 3.4.1(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) zustand: specifier: ^4.5.5 version: 4.5.5(@types/react@18.3.18)(immer@10.1.1)(react@18.3.1) @@ -1144,7 +1214,7 @@ importers: version: 7.6.20(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.7.2) '@storybook/react-vite': specifier: ^7.6.20 - version: 7.6.20(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.34.5)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + version: 7.6.20(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.34.5)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) '@storybook/test': specifier: ^7.6.20 version: 7.6.20 @@ -1165,7 +1235,7 @@ importers: version: 5.62.0(eslint@8.57.1)(typescript@5.7.2) '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.4(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + version: 4.3.4(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) eslint: specifier: ^8.57.1 version: 8.57.1 @@ -1186,7 +1256,7 @@ importers: version: 5.7.2 vite: specifier: ^4.5.5 - version: 4.5.5(@types/node@20.17.10)(terser@5.38.1) + version: 4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1) examples/example-vite-svelte-recs: dependencies: @@ -1216,14 +1286,14 @@ importers: version: 6.21.0(encoding@0.1.13) vite-plugin-top-level-await: specifier: ^1.4.4 - version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)) + version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) vite-plugin-wasm: specifier: ^3.3.0 - version: 3.4.1(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)) + version: 3.4.1(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) devDependencies: '@sveltejs/vite-plugin-svelte': specifier: ^3.1.1 - version: 3.1.2(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)) + version: 3.1.2(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) '@tsconfig/svelte': specifier: ^5.0.4 version: 5.0.4 @@ -1241,7 +1311,7 @@ importers: version: 5.7.2 vite: specifier: ^5.4.1 - version: 5.4.11(@types/node@22.13.1)(terser@5.38.1) + version: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) examples/example-vue-app-recs: dependencies: @@ -1274,23 +1344,23 @@ importers: version: 6.21.0(encoding@0.1.13) vite-plugin-top-level-await: specifier: ^1.4.4 - version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)) + version: 1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) vite-plugin-wasm: specifier: ^3.3.0 - version: 3.4.1(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)) + version: 3.4.1(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) vue: specifier: ^3.5.8 version: 3.5.13(typescript@5.7.2) devDependencies: '@vitejs/plugin-vue': specifier: ^5.1.4 - version: 5.2.1(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1))(vue@3.5.13(typescript@5.7.2)) + version: 5.2.1(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1))(vue@3.5.13(typescript@5.7.2)) typescript: specifier: ^5.6.2 version: 5.7.2 vite: specifier: ^5.4.7 - version: 5.4.11(@types/node@22.13.1)(terser@5.38.1) + version: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) vue-tsc: specifier: ^2.1.6 version: 2.2.0(typescript@5.7.2) @@ -1315,7 +1385,7 @@ importers: version: 6.4.18 '@vitest/coverage-v8': specifier: ^1.6.0 - version: 1.6.0(vitest@1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1)) + version: 1.6.0(vitest@1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1)) tsup: specifier: ^8.3.0 version: 8.3.5(@swc/core@1.10.14(@swc/helpers@0.5.5))(jiti@2.4.2)(postcss@8.5.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.7.0) @@ -1324,7 +1394,7 @@ importers: version: 5.7.2 vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1) + version: 1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1) packages/create-burner: dependencies: @@ -1385,7 +1455,7 @@ importers: version: 0.0.114 '@vitest/coverage-v8': specifier: ^1.6.0 - version: 1.6.0(vitest@1.6.0(@types/node@18.19.68)(jsdom@24.1.3)(terser@5.38.1)) + version: 1.6.0(vitest@1.6.0(@types/node@18.19.68)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1)) jsdom: specifier: ^24.1.3 version: 24.1.3 @@ -1397,7 +1467,7 @@ importers: version: 5.7.2 vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@18.19.68)(jsdom@24.1.3)(terser@5.38.1) + version: 1.6.0(@types/node@18.19.68)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1) packages/create-dojo: dependencies: @@ -1443,7 +1513,7 @@ importers: version: 5.7.2 vitest: specifier: ^2.1.1 - version: 2.1.8(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1) + version: 2.1.8(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1) packages/predeployed-connector: dependencies: @@ -1462,7 +1532,7 @@ importers: version: 28.0.2(rollup@4.34.5) '@vitest/coverage-v8': specifier: ^1.6.0 - version: 1.6.0(vitest@1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1)) + version: 1.6.0(vitest@1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1)) eslint: specifier: ^8.57.1 version: 8.57.1 @@ -1480,7 +1550,7 @@ importers: version: 3.2.11(@types/node@22.13.1)(terser@5.38.1) vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1) + version: 1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1) packages/react: dependencies: @@ -1593,7 +1663,7 @@ importers: version: 28.0.2(rollup@4.34.5) '@vitest/coverage-v8': specifier: ^1.6.0 - version: 1.6.0(vitest@1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1)) + version: 1.6.0(vitest@1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1)) benchmark: specifier: ^2.1.4 version: 2.1.4 @@ -1620,7 +1690,7 @@ importers: version: 3.4.1(vite@3.2.11(@types/node@22.13.1)(terser@5.38.1)) vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1) + version: 1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1) packages/state: dependencies: @@ -1635,7 +1705,7 @@ importers: version: 6.21.0(encoding@0.1.13) vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1) + version: 1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1) devDependencies: tsup: specifier: ^8.3.0 @@ -1692,7 +1762,7 @@ importers: version: 6.4.18 '@vitest/coverage-v8': specifier: ^1.6.0 - version: 1.6.0(vitest@1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1)) + version: 1.6.0(vitest@1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1)) tsup: specifier: ^8.3.0 version: 8.3.5(@swc/core@1.10.14(@swc/helpers@0.5.5))(jiti@2.4.2)(postcss@8.5.1)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.7.0) @@ -1701,7 +1771,7 @@ importers: version: 5.7.2 vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1) + version: 1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1) packages/utils-wasm: devDependencies: @@ -1713,7 +1783,7 @@ importers: version: 5.7.2 vitest: specifier: ^2.1.1 - version: 2.1.8(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1) + version: 2.1.8(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1) wasm-pack: specifier: ^0.12.1 version: 0.12.1 @@ -2632,6 +2702,9 @@ packages: peerDependencies: react: '>=16.8.0' + '@endo/env-options@1.1.8': + resolution: {integrity: sha512-Xtxw9n33I4guo8q0sDyZiRuxlfaopM454AKiELgU7l3tqsylCut6IBZ0fPy4ltSHsBib7M3yF7OEMoIuLwzWVg==} + '@envelop/core@5.0.2': resolution: {integrity: sha512-tVL6OrMe6UjqLosiE+EH9uxh2TQC0469GwF4tE014ugRaDDKKVWwFwZe0TBMlcyHKh5MD4ZxktWo/1hqUxIuhw==} engines: {node: '>=18.0.0'} @@ -6486,6 +6559,84 @@ packages: typescript: optional: true + '@tailwindcss/node@4.0.1': + resolution: {integrity: sha512-lc+ly6PKHqgCVl7eO8D2JlV96Lks5bmL6pdtM6UasyUHLU2zmrOqU6jfgln120IVnCh3VC8GG/ca24xVTtSokw==} + + '@tailwindcss/oxide-android-arm64@4.0.1': + resolution: {integrity: sha512-eP/rI9WaAElpeiiHDqGtDqga9iDsOClXxIqdHayHsw93F24F03b60CwgGhrGF9Io/EuWIpz3TMRhPVOLhoXivw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [android] + + '@tailwindcss/oxide-darwin-arm64@4.0.1': + resolution: {integrity: sha512-jZVUo0kNd1IjxdCYwg4dwegDNsq7PoUx4LM814RmgY3gfJ63Y6GlpJXHOpd5FLv1igpeZox5LzRk2oz8MQoJwQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + + '@tailwindcss/oxide-darwin-x64@4.0.1': + resolution: {integrity: sha512-E31wHiIf4LB0aKRohrS4U6XfFSACCL9ifUFfPQ16FhcBIL4wU5rcBidvWvT9TQFGPkpE69n5dyXUcqiMrnF/Ig==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + + '@tailwindcss/oxide-freebsd-x64@4.0.1': + resolution: {integrity: sha512-8/3ZKLMYqgAsBzTeczOKWtT4geF02g9S7cntY5gvqQZ4E0ImX724cHcZJi9k6fkE6aLbvwxxHxaShFvRxblwKQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [freebsd] + + '@tailwindcss/oxide-linux-arm-gnueabihf@4.0.1': + resolution: {integrity: sha512-EYjbh225klQfWzy6LeIAfdjHCK+p71yLV/GjdPNW47Bfkkq05fTzIhHhCgshUvNp78EIA33iQU+ktWpW06NgHw==} + engines: {node: '>= 10'} + cpu: [arm] + os: [linux] + + '@tailwindcss/oxide-linux-arm64-gnu@4.0.1': + resolution: {integrity: sha512-PrX2SwIqWNP5cYeSyQfrhbk4ffOM338T6CrEwIAGvLPoUZiklt19yknlsBme6bReSw7TSAMy+8KFdLLi5fcWNQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + + '@tailwindcss/oxide-linux-arm64-musl@4.0.1': + resolution: {integrity: sha512-iuoFGhKDojtfloi5uj6MIk4kxEOGcsAk/kPbZItF9Dp7TnzVhxo2U/718tXhxGrg6jSL3ST3cQHIjA6yw3OeXw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + + '@tailwindcss/oxide-linux-x64-gnu@4.0.1': + resolution: {integrity: sha512-pNUrGQYyE8RK+N9yvkPmHnlKDfFbni9A3lsi37u4RoA/6Yn+zWVoegvAQMZu3w+jqnpb2A/bYJ+LumcclUZ3yg==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@tailwindcss/oxide-linux-x64-musl@4.0.1': + resolution: {integrity: sha512-xSGWaDcT6SJ75su9zWXj8GYb2jM/przXwZGH96RTS7HGDIoI1tvgpls88YajG5Sx7hXaqAWCufjw5L/dlu+lzg==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@tailwindcss/oxide-win32-arm64-msvc@4.0.1': + resolution: {integrity: sha512-BUNL2isUZ2yWnbplPddggJpZxsqGHPZ1RJAYpu63W4znUnKCzI4m/jiy0WpyYqqOKL9jDM5q0QdsQ9mc3aw5YQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + + '@tailwindcss/oxide-win32-x64-msvc@4.0.1': + resolution: {integrity: sha512-ZtcVu+XXOddGsPlvO5nh2fnbKmwly2C07ZB1lcYCf/b8qIWF04QY9o6vy6/+6ioLRfbp3E7H/ipFio38DZX4oQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + + '@tailwindcss/oxide@4.0.1': + resolution: {integrity: sha512-3z1SpWoDeaA6K6jd92CRrGyDghOcRILEgyWVHRhaUm/tcpiazwJpU9BSG0xB7GGGnl9capojaC+zme/nKsZd/w==} + engines: {node: '>= 10'} + + '@tailwindcss/vite@4.0.1': + resolution: {integrity: sha512-ZkwMBA7uR+nyrafIZI8ce3PduE0dDVFVmxmInCUPTN17Jgy6RfEPXzqtL5fz658eDDxKa5xZ+gmiTt+5AMD0pw==} + peerDependencies: + vite: ^5.2.0 || ^6 + '@tanstack/eslint-plugin-query@5.62.16': resolution: {integrity: sha512-VhnHSQ/hc62olLzGhlLJ4BJGWynwjs3cDMsByasKJ3zjW1YZ+6raxOv0gHHISm+VEnAY42pkMowmSWrXfL4NTw==} peerDependencies: @@ -8442,6 +8593,11 @@ packages: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} engines: {node: '>=8'} + detect-libc@1.0.3: + resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==} + engines: {node: '>=0.10'} + hasBin: true + detect-libc@2.0.2: resolution: {integrity: sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==} engines: {node: '>=8'} @@ -9044,6 +9200,12 @@ packages: peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 + eslint-plugin-react-hooks@5.1.0: + resolution: {integrity: sha512-mpJRtPgHN2tNAvZ35AMfqeB3Xqeo273QxrHJsbBEPWODRM4r0yB6jfoROqKEYrOn27UtRPpcpHc2UqyBSuUNTw==} + engines: {node: '>=10'} + peerDependencies: + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 + eslint-plugin-react-hooks@5.1.0-rc-fb9a90fa48-20240614: resolution: {integrity: sha512-xsiRwaDNF5wWNC4ZHLut+x/YcAxksUd9Rizt7LaEn3bV8VyYRpXnRJQlLOfYaVy9esk4DFP4zPPnoNVjq5Gc0w==} engines: {node: '>=10'} @@ -9890,6 +10052,9 @@ packages: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. + inherits@2.0.3: + resolution: {integrity: sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==} + inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -10801,12 +10966,75 @@ packages: libsql@0.4.7: resolution: {integrity: sha512-T9eIRCs6b0J1SHKYIvD8+KCJMcWZ900iZyxdnSCdqxN12Z1ijzT+jY5nrk72Jw4B0HGzms2NgpryArlJqvc3Lw==} - cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] lie@3.3.0: resolution: {integrity: sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==} + lightningcss-darwin-arm64@1.29.1: + resolution: {integrity: sha512-HtR5XJ5A0lvCqYAoSv2QdZZyoHNttBpa5EP9aNuzBQeKGfbyH5+UipLWvVzpP4Uml5ej4BYs5I9Lco9u1fECqw==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [darwin] + + lightningcss-darwin-x64@1.29.1: + resolution: {integrity: sha512-k33G9IzKUpHy/J/3+9MCO4e+PzaFblsgBjSGlpAaFikeBFm8B/CkO3cKU9oI4g+fjS2KlkLM/Bza9K/aw8wsNA==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [darwin] + + lightningcss-freebsd-x64@1.29.1: + resolution: {integrity: sha512-0SUW22fv/8kln2LnIdOCmSuXnxgxVC276W5KLTwoehiO0hxkacBxjHOL5EtHD8BAXg2BvuhsJPmVMasvby3LiQ==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [freebsd] + + lightningcss-linux-arm-gnueabihf@1.29.1: + resolution: {integrity: sha512-sD32pFvlR0kDlqsOZmYqH/68SqUMPNj+0pucGxToXZi4XZgZmqeX/NkxNKCPsswAXU3UeYgDSpGhu05eAufjDg==} + engines: {node: '>= 12.0.0'} + cpu: [arm] + os: [linux] + + lightningcss-linux-arm64-gnu@1.29.1: + resolution: {integrity: sha512-0+vClRIZ6mmJl/dxGuRsE197o1HDEeeRk6nzycSy2GofC2JsY4ifCRnvUWf/CUBQmlrvMzt6SMQNMSEu22csWQ==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + + lightningcss-linux-arm64-musl@1.29.1: + resolution: {integrity: sha512-UKMFrG4rL/uHNgelBsDwJcBqVpzNJbzsKkbI3Ja5fg00sgQnHw/VrzUTEc4jhZ+AN2BvQYz/tkHu4vt1kLuJyw==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + + lightningcss-linux-x64-gnu@1.29.1: + resolution: {integrity: sha512-u1S+xdODy/eEtjADqirA774y3jLcm8RPtYztwReEXoZKdzgsHYPl0s5V52Tst+GKzqjebkULT86XMSxejzfISw==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + + lightningcss-linux-x64-musl@1.29.1: + resolution: {integrity: sha512-L0Tx0DtaNUTzXv0lbGCLB/c/qEADanHbu4QdcNOXLIe1i8i22rZRpbT3gpWYsCh9aSL9zFujY/WmEXIatWvXbw==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + + lightningcss-win32-arm64-msvc@1.29.1: + resolution: {integrity: sha512-QoOVnkIEFfbW4xPi+dpdft/zAKmgLgsRHfJalEPYuJDOWf7cLQzYg0DEh8/sn737FaeMJxHZRc1oBreiwZCjog==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [win32] + + lightningcss-win32-x64-msvc@1.29.1: + resolution: {integrity: sha512-NygcbThNBe4JElP+olyTI/doBNGJvLs3bFCRPdvuCcxZCcCZ71B858IHpdm7L1btZex0FvCmM17FK98Y9MRy1Q==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [win32] + + lightningcss@1.29.1: + resolution: {integrity: sha512-FmGoeD4S05ewj+AkhTY+D+myDvXI6eL27FjHIjoyUkO/uw7WZD1fBVs0QxeYWa7E17CUHJaYX/RUGISCtcrG4Q==} + engines: {node: '>= 12.0.0'} + lilconfig@3.1.3: resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==} engines: {node: '>=14'} @@ -11286,6 +11514,9 @@ packages: resolution: {integrity: sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==} engines: {node: '>=0.10.0'} + monaco-editor@0.52.2: + resolution: {integrity: sha512-GEQWEZmfkOGLdd3XK8ryrfWz3AIP8YymVXiPHEdewrUq7mh0qrKrfHLNCXcbB6sTnMLnOZ3ztSiKcciFUkIJwQ==} + mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -11858,6 +12089,9 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} + path@0.12.7: + resolution: {integrity: sha512-aXXC6s+1w7otVF9UletFkFcDsJeO7lSZBPUQhtb5O0xJe8LtYhj/GxldoL09bBj9+ZmE2hNoHqQSFMN5fikh4Q==} + pathe@1.1.2: resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} @@ -12684,6 +12918,9 @@ packages: resolution: {integrity: sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==} engines: {node: '>= 0.8.0'} + ses@1.11.0: + resolution: {integrity: sha512-FydfDDnciRdVdFHM5u2jU1Qp+ZZyGGXYdEOy83d4CSPSxxEk5bzBd3s2yEsA1Q5TdaDxDN/SaOihx5E1gktIKQ==} + set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} @@ -13157,6 +13394,9 @@ packages: engines: {node: '>=14.0.0'} hasBin: true + tailwindcss@4.0.1: + resolution: {integrity: sha512-UK5Biiit/e+r3i0O223bisoS5+y7ZT1PM8Ojn0MxRHzXN1VPZ2KY6Lo6fhu1dOfCfyUAlK7Lt6wSxowRabATBw==} + tapable@2.2.1: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} @@ -13771,6 +14011,9 @@ packages: util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + util@0.10.4: + resolution: {integrity: sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==} + util@0.12.5: resolution: {integrity: sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==} @@ -13861,6 +14104,11 @@ packages: peerDependencies: vite: '>=3' + vite-plugin-monaco-editor-esm@2.0.2: + resolution: {integrity: sha512-XVkOpL/r0rw1NpbO30vUwG4S0THkC9KB1vjjV8olGd49h4/EQsKl3DrxB6KRDwyZNC9mKiiZgk2L6njUYj3oKQ==} + peerDependencies: + monaco-editor: '>=0.33.0' + vite-plugin-pwa@0.19.8: resolution: {integrity: sha512-e1oK0dfhzhDhY3VBuML6c0h8Xfx6EkOVYqolj7g+u8eRfdauZe5RLteCIA/c5gH0CBQ0CNFAuv/AFTx4Z7IXTw==} engines: {node: '>=16.0.0'} @@ -16498,6 +16746,8 @@ snapshots: dependencies: react: 18.3.1 + '@endo/env-options@1.1.8': {} + '@envelop/core@5.0.2': dependencies: '@envelop/types': 5.0.0 @@ -18019,13 +18269,13 @@ snapshots: '@types/yargs': 17.0.33 chalk: 4.1.2 - '@joshwooding/vite-plugin-react-docgen-typescript@0.3.0(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1))': + '@joshwooding/vite-plugin-react-docgen-typescript@0.3.0(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1))': dependencies: glob: 7.2.3 glob-promise: 4.2.2(glob@7.2.3) magic-string: 0.27.0 react-docgen-typescript: 2.2.2(typescript@5.7.2) - vite: 4.5.5(@types/node@20.17.10)(terser@5.38.1) + vite: 4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1) optionalDependencies: typescript: 5.7.2 @@ -20173,7 +20423,7 @@ snapshots: '@scure/starknet@1.1.0': dependencies: '@noble/curves': 1.7.0 - '@noble/hashes': 1.6.0 + '@noble/hashes': 1.6.1 '@shikijs/core@1.27.0': dependencies: @@ -20486,7 +20736,7 @@ snapshots: - encoding - supports-color - '@storybook/builder-vite@7.6.20(encoding@0.1.13)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1))': + '@storybook/builder-vite@7.6.20(encoding@0.1.13)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1))': dependencies: '@storybook/channels': 7.6.20 '@storybook/client-logger': 7.6.20 @@ -20504,7 +20754,7 @@ snapshots: fs-extra: 11.2.0 magic-string: 0.30.17 rollup: 3.29.5 - vite: 4.5.5(@types/node@20.17.10)(terser@5.38.1) + vite: 4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1) optionalDependencies: typescript: 5.7.2 transitivePeerDependencies: @@ -20803,18 +21053,18 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@storybook/react-vite@7.6.20(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.34.5)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1))': + '@storybook/react-vite@7.6.20(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.34.5)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1))': dependencies: - '@joshwooding/vite-plugin-react-docgen-typescript': 0.3.0(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + '@joshwooding/vite-plugin-react-docgen-typescript': 0.3.0(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) '@rollup/pluginutils': 5.1.4(rollup@4.34.5) - '@storybook/builder-vite': 7.6.20(encoding@0.1.13)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + '@storybook/builder-vite': 7.6.20(encoding@0.1.13)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) '@storybook/react': 7.6.20(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.7.2) - '@vitejs/plugin-react': 3.1.0(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)) + '@vitejs/plugin-react': 3.1.0(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)) magic-string: 0.30.17 react: 18.3.1 react-docgen: 7.1.0 react-dom: 18.3.1(react@18.3.1) - vite: 4.5.5(@types/node@20.17.10)(terser@5.38.1) + vite: 4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - '@preact/preset-vite' - encoding @@ -20912,26 +21162,26 @@ snapshots: magic-string: 0.25.9 string.prototype.matchall: 4.0.12 - '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)))(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1))': + '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)))(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)) + '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) debug: 4.4.0 svelte: 4.2.19 - vite: 5.4.11(@types/node@22.13.1)(terser@5.38.1) + vite: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1))': + '@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1))': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)))(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)) + '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)))(svelte@4.2.19)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) debug: 4.4.0 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.17 svelte: 4.2.19 svelte-hmr: 0.16.0(svelte@4.2.19) - vite: 5.4.11(@types/node@22.13.1)(terser@5.38.1) - vitefu: 0.2.5(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)) + vite: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) + vitefu: 0.2.5(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) transitivePeerDependencies: - supports-color @@ -21076,6 +21326,67 @@ snapshots: optionalDependencies: typescript: 5.7.3 + '@tailwindcss/node@4.0.1': + dependencies: + enhanced-resolve: 5.18.1 + jiti: 2.4.2 + tailwindcss: 4.0.1 + + '@tailwindcss/oxide-android-arm64@4.0.1': + optional: true + + '@tailwindcss/oxide-darwin-arm64@4.0.1': + optional: true + + '@tailwindcss/oxide-darwin-x64@4.0.1': + optional: true + + '@tailwindcss/oxide-freebsd-x64@4.0.1': + optional: true + + '@tailwindcss/oxide-linux-arm-gnueabihf@4.0.1': + optional: true + + '@tailwindcss/oxide-linux-arm64-gnu@4.0.1': + optional: true + + '@tailwindcss/oxide-linux-arm64-musl@4.0.1': + optional: true + + '@tailwindcss/oxide-linux-x64-gnu@4.0.1': + optional: true + + '@tailwindcss/oxide-linux-x64-musl@4.0.1': + optional: true + + '@tailwindcss/oxide-win32-arm64-msvc@4.0.1': + optional: true + + '@tailwindcss/oxide-win32-x64-msvc@4.0.1': + optional: true + + '@tailwindcss/oxide@4.0.1': + optionalDependencies: + '@tailwindcss/oxide-android-arm64': 4.0.1 + '@tailwindcss/oxide-darwin-arm64': 4.0.1 + '@tailwindcss/oxide-darwin-x64': 4.0.1 + '@tailwindcss/oxide-freebsd-x64': 4.0.1 + '@tailwindcss/oxide-linux-arm-gnueabihf': 4.0.1 + '@tailwindcss/oxide-linux-arm64-gnu': 4.0.1 + '@tailwindcss/oxide-linux-arm64-musl': 4.0.1 + '@tailwindcss/oxide-linux-x64-gnu': 4.0.1 + '@tailwindcss/oxide-linux-x64-musl': 4.0.1 + '@tailwindcss/oxide-win32-arm64-msvc': 4.0.1 + '@tailwindcss/oxide-win32-x64-msvc': 4.0.1 + + '@tailwindcss/vite@4.0.1(vite@6.0.11(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0))': + dependencies: + '@tailwindcss/node': 4.0.1 + '@tailwindcss/oxide': 4.0.1 + lightningcss: 1.29.1 + tailwindcss: 4.0.1 + vite: 6.0.11(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + '@tanstack/eslint-plugin-query@5.62.16(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.3)': dependencies: '@typescript-eslint/utils': 8.20.0(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.3) @@ -21148,7 +21459,7 @@ snapshots: optionalDependencies: '@tanstack/react-router': 1.97.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tanstack/router-plugin@1.97.0(@tanstack/react-router@1.97.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0))': + '@tanstack/router-plugin@1.97.0(@tanstack/react-router@1.97.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0))': dependencies: '@babel/core': 7.26.0 '@babel/generator': 7.26.5 @@ -21172,7 +21483,7 @@ snapshots: unplugin: 1.16.1 zod: 3.24.1 optionalDependencies: - vite: 6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - '@tanstack/react-router' - supports-color @@ -21576,6 +21887,23 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/eslint-plugin@8.18.2(@typescript-eslint/parser@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3))(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3)': + dependencies: + '@eslint-community/regexpp': 4.12.1 + '@typescript-eslint/parser': 8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3) + '@typescript-eslint/scope-manager': 8.18.2 + '@typescript-eslint/type-utils': 8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3) + '@typescript-eslint/utils': 8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3) + '@typescript-eslint/visitor-keys': 8.18.2 + eslint: 9.17.0(jiti@2.4.2) + graphemer: 1.4.0 + ignore: 5.3.2 + natural-compare: 1.4.0 + ts-api-utils: 1.4.3(typescript@5.6.3) + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/eslint-plugin@8.18.2(@typescript-eslint/parser@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2))(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2)': dependencies: '@eslint-community/regexpp': 4.12.1 @@ -21634,6 +21962,18 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/parser@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3)': + dependencies: + '@typescript-eslint/scope-manager': 8.18.2 + '@typescript-eslint/types': 8.18.2 + '@typescript-eslint/typescript-estree': 8.18.2(typescript@5.6.3) + '@typescript-eslint/visitor-keys': 8.18.2 + debug: 4.4.0 + eslint: 9.17.0(jiti@2.4.2) + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/parser@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2)': dependencies: '@typescript-eslint/scope-manager': 8.18.2 @@ -21702,6 +22042,17 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/type-utils@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3)': + dependencies: + '@typescript-eslint/typescript-estree': 8.18.2(typescript@5.6.3) + '@typescript-eslint/utils': 8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3) + debug: 4.4.0 + eslint: 9.17.0(jiti@2.4.2) + ts-api-utils: 1.4.3(typescript@5.6.3) + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/type-utils@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2)': dependencies: '@typescript-eslint/typescript-estree': 8.18.2(typescript@5.7.2) @@ -21760,6 +22111,20 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/typescript-estree@8.18.2(typescript@5.6.3)': + dependencies: + '@typescript-eslint/types': 8.18.2 + '@typescript-eslint/visitor-keys': 8.18.2 + debug: 4.4.0 + fast-glob: 3.3.3 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.4.3(typescript@5.6.3) + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/typescript-estree@8.18.2(typescript@5.7.2)': dependencies: '@typescript-eslint/types': 8.18.2 @@ -21832,6 +22197,17 @@ snapshots: - supports-color - typescript + '@typescript-eslint/utils@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3)': + dependencies: + '@eslint-community/eslint-utils': 4.4.1(eslint@9.17.0(jiti@2.4.2)) + '@typescript-eslint/scope-manager': 8.18.2 + '@typescript-eslint/types': 8.18.2 + '@typescript-eslint/typescript-estree': 8.18.2(typescript@5.6.3) + eslint: 9.17.0(jiti@2.4.2) + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/utils@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2)': dependencies: '@eslint-community/eslint-utils': 4.4.1(eslint@9.17.0(jiti@2.4.2)) @@ -21927,78 +22303,89 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitejs/plugin-react@3.1.0(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1))': + '@vitejs/plugin-react@3.1.0(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1))': dependencies: '@babel/core': 7.26.7 '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.7) '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.7) magic-string: 0.27.0 react-refresh: 0.14.2 - vite: 4.5.5(@types/node@20.17.10)(terser@5.38.1) + vite: 4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - supports-color - '@vitejs/plugin-react@4.3.4(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1))': + '@vitejs/plugin-react@4.3.4(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1))': dependencies: '@babel/core': 7.26.7 '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.7) '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.7) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 4.5.5(@types/node@20.17.10)(terser@5.38.1) + vite: 4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - supports-color - '@vitejs/plugin-react@4.3.4(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1))': + '@vitejs/plugin-react@4.3.4(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1))': dependencies: '@babel/core': 7.26.7 '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.7) '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.7) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.4.11(@types/node@22.13.1)(terser@5.38.1) + vite: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - supports-color - '@vitejs/plugin-react@4.3.4(vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0))': + '@vitejs/plugin-react@4.3.4(vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0))': dependencies: '@babel/core': 7.26.7 '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.7) '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.7) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 6.0.11(@types/node@20.17.14)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.11(@types/node@20.17.14)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - supports-color - '@vitejs/plugin-react@4.3.4(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0))': + '@vitejs/plugin-react@4.3.4(vite@6.0.11(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0))': dependencies: '@babel/core': 7.26.7 '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.7) '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.7) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.11(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - supports-color - '@vitejs/plugin-react@4.3.4(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0))': + '@vitejs/plugin-react@4.3.4(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0))': dependencies: '@babel/core': 7.26.7 '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.7) '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.7) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.2.1(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1))(vue@3.5.13(typescript@5.7.2))': + '@vitejs/plugin-react@4.3.4(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0))': dependencies: - vite: 5.4.11(@types/node@22.13.1)(terser@5.38.1) + '@babel/core': 7.26.7 + '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.7) + '@types/babel__core': 7.20.5 + react-refresh: 0.14.2 + vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + transitivePeerDependencies: + - supports-color + + '@vitejs/plugin-vue@5.2.1(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1))(vue@3.5.13(typescript@5.7.2))': + dependencies: + vite: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) vue: 3.5.13(typescript@5.7.2) - '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@18.19.68)(jsdom@24.1.3)(terser@5.38.1))': + '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@18.19.68)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -22013,11 +22400,11 @@ snapshots: std-env: 3.8.0 strip-literal: 2.1.1 test-exclude: 6.0.0 - vitest: 1.6.0(@types/node@18.19.68)(jsdom@24.1.3)(terser@5.38.1) + vitest: 1.6.0(@types/node@18.19.68)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - supports-color - '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1))': + '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -22032,7 +22419,7 @@ snapshots: std-env: 3.8.0 strip-literal: 2.1.1 test-exclude: 6.0.0 - vitest: 1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1) + vitest: 1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - supports-color @@ -22055,13 +22442,13 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.8(vite@5.4.14(@types/node@22.13.1)(terser@5.38.1))': + '@vitest/mocker@2.1.8(vite@5.4.14(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1))': dependencies: '@vitest/spy': 2.1.8 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 5.4.14(@types/node@22.13.1)(terser@5.38.1) + vite: 5.4.14(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) '@vitest/pretty-format@2.1.8': dependencies: @@ -23579,6 +23966,8 @@ snapshots: detect-indent@6.1.0: {} + detect-libc@1.0.3: {} + detect-libc@2.0.2: {} detect-libc@2.0.3: {} @@ -24301,6 +24690,10 @@ snapshots: dependencies: eslint: 8.57.1 + eslint-plugin-react-hooks@5.1.0(eslint@9.17.0(jiti@2.4.2)): + dependencies: + eslint: 9.17.0(jiti@2.4.2) + eslint-plugin-react-hooks@5.1.0-rc-fb9a90fa48-20240614(eslint@9.17.0(jiti@2.4.2)): dependencies: eslint: 9.17.0(jiti@2.4.2) @@ -25386,6 +25779,8 @@ snapshots: once: 1.4.0 wrappy: 1.0.2 + inherits@2.0.3: {} + inherits@2.0.4: {} ini@1.3.8: {} @@ -26169,6 +26564,51 @@ snapshots: dependencies: immediate: 3.0.6 + lightningcss-darwin-arm64@1.29.1: + optional: true + + lightningcss-darwin-x64@1.29.1: + optional: true + + lightningcss-freebsd-x64@1.29.1: + optional: true + + lightningcss-linux-arm-gnueabihf@1.29.1: + optional: true + + lightningcss-linux-arm64-gnu@1.29.1: + optional: true + + lightningcss-linux-arm64-musl@1.29.1: + optional: true + + lightningcss-linux-x64-gnu@1.29.1: + optional: true + + lightningcss-linux-x64-musl@1.29.1: + optional: true + + lightningcss-win32-arm64-msvc@1.29.1: + optional: true + + lightningcss-win32-x64-msvc@1.29.1: + optional: true + + lightningcss@1.29.1: + dependencies: + detect-libc: 1.0.3 + optionalDependencies: + lightningcss-darwin-arm64: 1.29.1 + lightningcss-darwin-x64: 1.29.1 + lightningcss-freebsd-x64: 1.29.1 + lightningcss-linux-arm-gnueabihf: 1.29.1 + lightningcss-linux-arm64-gnu: 1.29.1 + lightningcss-linux-arm64-musl: 1.29.1 + lightningcss-linux-x64-gnu: 1.29.1 + lightningcss-linux-x64-musl: 1.29.1 + lightningcss-win32-arm64-msvc: 1.29.1 + lightningcss-win32-x64-msvc: 1.29.1 + lilconfig@3.1.3: {} lines-and-columns@1.2.4: {} @@ -26651,6 +27091,8 @@ snapshots: modify-values@1.0.1: {} + monaco-editor@0.52.2: {} + mri@1.2.0: {} ms@2.0.0: {} @@ -27328,6 +27770,11 @@ snapshots: path-type@4.0.0: {} + path@0.12.7: + dependencies: + process: 0.11.10 + util: 0.10.4 + pathe@1.1.2: {} pathval@1.1.1: {} @@ -28257,6 +28704,10 @@ snapshots: transitivePeerDependencies: - supports-color + ses@1.11.0: + dependencies: + '@endo/env-options': 1.1.8 + set-blocking@2.0.0: {} set-cookie-parser@2.7.1: {} @@ -28828,6 +29279,8 @@ snapshots: transitivePeerDependencies: - ts-node + tailwindcss@4.0.1: {} + tapable@2.2.1: {} tar-fs@2.1.1: @@ -29048,6 +29501,10 @@ snapshots: troika-worker-utils@0.52.0: {} + ts-api-utils@1.4.3(typescript@5.6.3): + dependencies: + typescript: 5.6.3 + ts-api-utils@1.4.3(typescript@5.7.2): dependencies: typescript: 5.7.2 @@ -29267,6 +29724,16 @@ snapshots: typescript: 5.7.3 yaml: 2.7.0 + typescript-eslint@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3): + dependencies: + '@typescript-eslint/eslint-plugin': 8.18.2(@typescript-eslint/parser@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3))(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3) + '@typescript-eslint/parser': 8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3) + '@typescript-eslint/utils': 8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.6.3) + eslint: 9.17.0(jiti@2.4.2) + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color + typescript-eslint@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2): dependencies: '@typescript-eslint/eslint-plugin': 8.18.2(@typescript-eslint/parser@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2))(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2) @@ -29461,6 +29928,10 @@ snapshots: util-deprecate@1.0.2: {} + util@0.10.4: + dependencies: + inherits: 2.0.3 + util@0.12.5: dependencies: inherits: 2.0.4 @@ -29595,13 +30066,13 @@ snapshots: - utf-8-validate - zod - vite-node@1.6.0(@types/node@18.19.68)(terser@5.38.1): + vite-node@1.6.0(@types/node@18.19.68)(lightningcss@1.29.1)(terser@5.38.1): dependencies: cac: 6.7.14 debug: 4.4.0 pathe: 1.1.2 picocolors: 1.1.1 - vite: 5.4.14(@types/node@18.19.68)(terser@5.38.1) + vite: 5.4.14(@types/node@18.19.68)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - '@types/node' - less @@ -29613,13 +30084,13 @@ snapshots: - supports-color - terser - vite-node@1.6.0(@types/node@22.13.1)(terser@5.38.1): + vite-node@1.6.0(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1): dependencies: cac: 6.7.14 debug: 4.4.0 pathe: 1.1.2 picocolors: 1.1.1 - vite: 5.4.14(@types/node@22.13.1)(terser@5.38.1) + vite: 5.4.14(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - '@types/node' - less @@ -29631,13 +30102,13 @@ snapshots: - supports-color - terser - vite-node@2.1.8(@types/node@22.13.1)(terser@5.38.1): + vite-node@2.1.8(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1): dependencies: cac: 6.7.14 debug: 4.4.0 es-module-lexer: 1.6.0 pathe: 1.1.2 - vite: 5.4.14(@types/node@22.13.1)(terser@5.38.1) + vite: 5.4.14(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - '@types/node' - less @@ -29649,22 +30120,26 @@ snapshots: - supports-color - terser - vite-plugin-mkcert@1.17.6(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): + vite-plugin-mkcert@1.17.6(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): dependencies: '@octokit/rest': 20.1.1 axios: 1.7.9(debug@4.4.0) debug: 4.4.0 picocolors: 1.1.1 - vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - supports-color - vite-plugin-pwa@0.19.8(@vite-pwa/assets-generator@0.2.6)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1))(workbox-build@7.3.0(@types/babel__core@7.20.5))(workbox-window@7.3.0): + vite-plugin-monaco-editor-esm@2.0.2(monaco-editor@0.52.2): + dependencies: + monaco-editor: 0.52.2 + + vite-plugin-pwa@0.19.8(@vite-pwa/assets-generator@0.2.6)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1))(workbox-build@7.3.0(@types/babel__core@7.20.5))(workbox-window@7.3.0): dependencies: debug: 4.4.0 fast-glob: 3.3.2 pretty-bytes: 6.1.1 - vite: 4.5.5(@types/node@20.17.10)(terser@5.38.1) + vite: 4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1) workbox-build: 7.3.0(@types/babel__core@7.20.5) workbox-window: 7.3.0 optionalDependencies: @@ -29672,93 +30147,93 @@ snapshots: transitivePeerDependencies: - supports-color - vite-plugin-svgr@4.3.0(rollup@4.34.5)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)): + vite-plugin-svgr@4.3.0(rollup@4.34.5)(typescript@5.7.2)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)): dependencies: '@rollup/pluginutils': 5.1.4(rollup@4.34.5) '@svgr/core': 8.1.0(typescript@5.7.2) '@svgr/plugin-jsx': 8.1.0(@svgr/core@8.1.0(typescript@5.7.2)) - vite: 4.5.5(@types/node@20.17.10)(terser@5.38.1) + vite: 4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - rollup - supports-color - typescript - vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@2.79.2)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)): + vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@2.79.2)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)): dependencies: '@rollup/plugin-virtual': 3.0.2(rollup@2.79.2) '@swc/core': 1.10.14(@swc/helpers@0.5.5) uuid: 10.0.0 - vite: 4.5.5(@types/node@20.17.10)(terser@5.38.1) + vite: 4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - '@swc/helpers' - rollup - vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)): + vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)): dependencies: '@rollup/plugin-virtual': 3.0.2(rollup@4.34.5) '@swc/core': 1.10.14(@swc/helpers@0.5.5) uuid: 10.0.0 - vite: 4.5.5(@types/node@20.17.10)(terser@5.38.1) + vite: 4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - '@swc/helpers' - rollup - vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(terser@5.37.0)): + vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.37.0)): dependencies: '@rollup/plugin-virtual': 3.0.2(rollup@4.34.5) '@swc/core': 1.10.14(@swc/helpers@0.5.5) uuid: 10.0.0 - vite: 5.4.11(@types/node@22.13.1)(terser@5.37.0) + vite: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.37.0) transitivePeerDependencies: - '@swc/helpers' - rollup - vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)): + vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)): dependencies: '@rollup/plugin-virtual': 3.0.2(rollup@4.34.5) '@swc/core': 1.10.14(@swc/helpers@0.5.5) uuid: 10.0.0 - vite: 5.4.11(@types/node@22.13.1)(terser@5.38.1) + vite: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) transitivePeerDependencies: - '@swc/helpers' - rollup - vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): + vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): dependencies: '@rollup/plugin-virtual': 3.0.2(rollup@4.34.5) '@swc/core': 1.10.14(@swc/helpers@0.5.5) uuid: 10.0.0 - vite: 6.0.11(@types/node@20.17.14)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.11(@types/node@20.17.14)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - '@swc/helpers' - rollup - vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): + vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): dependencies: '@rollup/plugin-virtual': 3.0.2(rollup@4.34.5) '@swc/core': 1.10.14(@swc/helpers@0.5.5) uuid: 10.0.0 - vite: 6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - '@swc/helpers' - rollup - vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.0.7(@types/node@22.13.1)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): + vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.0.7(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): dependencies: '@rollup/plugin-virtual': 3.0.2(rollup@4.34.5) '@swc/core': 1.10.14(@swc/helpers@0.5.5) uuid: 10.0.0 - vite: 6.0.7(@types/node@22.13.1)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.7(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - '@swc/helpers' - rollup - vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): + vite-plugin-top-level-await@1.4.4(@swc/helpers@0.5.5)(rollup@4.34.5)(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): dependencies: '@rollup/plugin-virtual': 3.0.2(rollup@4.34.5) '@swc/core': 1.10.14(@swc/helpers@0.5.5) uuid: 10.0.0 - vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - '@swc/helpers' - rollup @@ -29767,38 +30242,42 @@ snapshots: dependencies: vite: 3.2.11(@types/node@22.13.1)(terser@5.38.1) - vite-plugin-wasm@3.4.1(vite@4.5.5(@types/node@20.17.10)(terser@5.38.1)): + vite-plugin-wasm@3.4.1(vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1)): dependencies: - vite: 4.5.5(@types/node@20.17.10)(terser@5.38.1) + vite: 4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1) - vite-plugin-wasm@3.4.1(vite@5.4.11(@types/node@22.13.1)(terser@5.37.0)): + vite-plugin-wasm@3.4.1(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.37.0)): dependencies: - vite: 5.4.11(@types/node@22.13.1)(terser@5.37.0) + vite: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.37.0) - vite-plugin-wasm@3.4.1(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)): + vite-plugin-wasm@3.4.1(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)): dependencies: - vite: 5.4.11(@types/node@22.13.1)(terser@5.38.1) + vite: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) - vite-plugin-wasm@3.4.1(vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): + vite-plugin-wasm@3.4.1(vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): dependencies: - vite: 6.0.11(@types/node@20.17.14)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.11(@types/node@20.17.14)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) - vite-plugin-wasm@3.4.1(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): + vite-plugin-wasm@3.4.1(vite@6.0.11(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): dependencies: - vite: 6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.11(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) - vite-plugin-wasm@3.4.1(vite@6.0.7(@types/node@22.13.1)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): + vite-plugin-wasm@3.4.1(vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): dependencies: - vite: 6.0.7(@types/node@22.13.1)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) - vite-plugin-wasm@3.4.1(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): + vite-plugin-wasm@3.4.1(vite@6.0.7(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): dependencies: - vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.0.7(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) - vite-preset-react@2.3.0(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): + vite-plugin-wasm@3.4.1(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): + dependencies: + vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + + vite-preset-react@2.3.0(vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0)): dependencies: '@vitejs/plugin-react': 1.3.2 - vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) + vite: 6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0) transitivePeerDependencies: - supports-color @@ -29813,7 +30292,7 @@ snapshots: fsevents: 2.3.3 terser: 5.38.1 - vite@4.5.5(@types/node@20.17.10)(terser@5.38.1): + vite@4.5.5(@types/node@20.17.10)(lightningcss@1.29.1)(terser@5.38.1): dependencies: esbuild: 0.18.20 postcss: 8.4.49 @@ -29821,9 +30300,10 @@ snapshots: optionalDependencies: '@types/node': 20.17.10 fsevents: 2.3.3 + lightningcss: 1.29.1 terser: 5.38.1 - vite@5.4.11(@types/node@22.13.1)(terser@5.37.0): + vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.37.0): dependencies: esbuild: 0.21.5 postcss: 8.5.1 @@ -29831,9 +30311,10 @@ snapshots: optionalDependencies: '@types/node': 22.13.1 fsevents: 2.3.3 + lightningcss: 1.29.1 terser: 5.37.0 - vite@5.4.11(@types/node@22.13.1)(terser@5.38.1): + vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1): dependencies: esbuild: 0.21.5 postcss: 8.5.1 @@ -29841,9 +30322,10 @@ snapshots: optionalDependencies: '@types/node': 22.13.1 fsevents: 2.3.3 + lightningcss: 1.29.1 terser: 5.38.1 - vite@5.4.14(@types/node@18.19.68)(terser@5.38.1): + vite@5.4.14(@types/node@18.19.68)(lightningcss@1.29.1)(terser@5.38.1): dependencies: esbuild: 0.21.5 postcss: 8.5.1 @@ -29851,9 +30333,10 @@ snapshots: optionalDependencies: '@types/node': 18.19.68 fsevents: 2.3.3 + lightningcss: 1.29.1 terser: 5.38.1 - vite@5.4.14(@types/node@22.13.1)(terser@5.38.1): + vite@5.4.14(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1): dependencies: esbuild: 0.21.5 postcss: 8.5.1 @@ -29861,9 +30344,10 @@ snapshots: optionalDependencies: '@types/node': 22.13.1 fsevents: 2.3.3 + lightningcss: 1.29.1 terser: 5.38.1 - vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0): + vite@6.0.11(@types/node@20.17.14)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0): dependencies: esbuild: 0.24.2 postcss: 8.5.1 @@ -29872,11 +30356,26 @@ snapshots: '@types/node': 20.17.14 fsevents: 2.3.3 jiti: 2.4.2 + lightningcss: 1.29.1 + terser: 5.38.1 + tsx: 4.19.2 + yaml: 2.7.0 + + vite@6.0.11(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0): + dependencies: + esbuild: 0.24.2 + postcss: 8.5.1 + rollup: 4.31.0 + optionalDependencies: + '@types/node': 22.13.1 + fsevents: 2.3.3 + jiti: 2.4.2 + lightningcss: 1.29.1 terser: 5.38.1 tsx: 4.19.2 yaml: 2.7.0 - vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0): + vite@6.0.7(@types/node@22.10.6)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0): dependencies: esbuild: 0.24.2 postcss: 8.5.1 @@ -29885,11 +30384,12 @@ snapshots: '@types/node': 22.10.6 fsevents: 2.3.3 jiti: 2.4.2 + lightningcss: 1.29.1 terser: 5.38.1 tsx: 4.19.2 yaml: 2.7.0 - vite@6.0.7(@types/node@22.13.1)(jiti@2.4.2)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0): + vite@6.0.7(@types/node@22.13.1)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0): dependencies: esbuild: 0.24.2 postcss: 8.5.1 @@ -29898,11 +30398,12 @@ snapshots: '@types/node': 22.13.1 fsevents: 2.3.3 jiti: 2.4.2 + lightningcss: 1.29.1 terser: 5.38.1 tsx: 4.19.2 yaml: 2.7.0 - vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0): + vite@6.1.0(@types/node@20.17.17)(jiti@1.21.7)(lightningcss@1.29.1)(terser@5.38.1)(tsx@4.19.2)(yaml@2.7.0): dependencies: esbuild: 0.24.2 postcss: 8.5.1 @@ -29911,15 +30412,16 @@ snapshots: '@types/node': 20.17.17 fsevents: 2.3.3 jiti: 1.21.7 + lightningcss: 1.29.1 terser: 5.38.1 tsx: 4.19.2 yaml: 2.7.0 - vitefu@0.2.5(vite@5.4.11(@types/node@22.13.1)(terser@5.38.1)): + vitefu@0.2.5(vite@5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)): optionalDependencies: - vite: 5.4.11(@types/node@22.13.1)(terser@5.38.1) + vite: 5.4.11(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) - vitest@1.6.0(@types/node@18.19.68)(jsdom@24.1.3)(terser@5.38.1): + vitest@1.6.0(@types/node@18.19.68)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -29938,8 +30440,8 @@ snapshots: strip-literal: 2.1.1 tinybench: 2.9.0 tinypool: 0.8.4 - vite: 5.4.14(@types/node@18.19.68)(terser@5.38.1) - vite-node: 1.6.0(@types/node@18.19.68)(terser@5.38.1) + vite: 5.4.14(@types/node@18.19.68)(lightningcss@1.29.1)(terser@5.38.1) + vite-node: 1.6.0(@types/node@18.19.68)(lightningcss@1.29.1)(terser@5.38.1) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 18.19.68 @@ -29954,7 +30456,7 @@ snapshots: - supports-color - terser - vitest@1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1): + vitest@1.6.0(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -29973,8 +30475,8 @@ snapshots: strip-literal: 2.1.1 tinybench: 2.9.0 tinypool: 0.8.4 - vite: 5.4.14(@types/node@22.13.1)(terser@5.38.1) - vite-node: 1.6.0(@types/node@22.13.1)(terser@5.38.1) + vite: 5.4.14(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) + vite-node: 1.6.0(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 22.13.1 @@ -29989,10 +30491,10 @@ snapshots: - supports-color - terser - vitest@2.1.8(@types/node@22.13.1)(jsdom@24.1.3)(terser@5.38.1): + vitest@2.1.8(@types/node@22.13.1)(jsdom@24.1.3)(lightningcss@1.29.1)(terser@5.38.1): dependencies: '@vitest/expect': 2.1.8 - '@vitest/mocker': 2.1.8(vite@5.4.14(@types/node@22.13.1)(terser@5.38.1)) + '@vitest/mocker': 2.1.8(vite@5.4.14(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1)) '@vitest/pretty-format': 2.1.8 '@vitest/runner': 2.1.8 '@vitest/snapshot': 2.1.8 @@ -30008,8 +30510,8 @@ snapshots: tinyexec: 0.3.1 tinypool: 1.0.2 tinyrainbow: 1.2.0 - vite: 5.4.14(@types/node@22.13.1)(terser@5.38.1) - vite-node: 2.1.8(@types/node@22.13.1)(terser@5.38.1) + vite: 5.4.14(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) + vite-node: 2.1.8(@types/node@22.13.1)(lightningcss@1.29.1)(terser@5.38.1) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 22.13.1 diff --git a/scripts/build-examples.sh b/scripts/build-examples.sh index 9baa70ac..f8a349c0 100755 --- a/scripts/build-examples.sh +++ b/scripts/build-examples.sh @@ -17,6 +17,7 @@ examples=( "examples/example-vite-react-sql" "examples/example-vite-experimental-sdk" "examples/example-vite-phaser-sdk" + "examples/example-vite-grpc-playground" ) # Iterate over each example directory and run the build command