diff --git a/.gitignore b/.gitignore index 9ed45500..c9deace7 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ gitignore Thumbs.db tsconfig.tsbuildinfo +app.config.*.js diff --git a/Cargo.lock b/Cargo.lock index 7ab665e8..0cfa91e9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1456,7 +1456,7 @@ dependencies = [ "bstr", "log", "regex-automata 0.4.3", - "regex-syntax 0.8.2", + "regex-syntax 0.8.4", ] [[package]] @@ -2975,7 +2975,7 @@ dependencies = [ "aho-corasick", "memchr", "regex-automata 0.4.3", - "regex-syntax 0.8.2", + "regex-syntax 0.8.4", ] [[package]] @@ -2995,7 +2995,7 @@ checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.2", + "regex-syntax 0.8.4", ] [[package]] @@ -3006,9 +3006,17 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.2" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" + +[[package]] +name = "regex-syntax-wasm" +version = "0.0.0" +dependencies = [ + "regex-syntax 0.8.4", + "wasm-bindgen", +] [[package]] name = "reqwest" @@ -4640,19 +4648,20 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.90" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406" +checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" dependencies = [ "cfg-if", + "once_cell", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.90" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcdc935b63408d58a32f8cc9738a0bffd8f05cc7c002086c6ef20b7312ad9dcd" +checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" dependencies = [ "bumpalo", "log", @@ -4677,9 +4686,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.90" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4c238561b2d428924c49815533a8b9121c664599558a5d9ec51f8a1740a999" +checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -4687,9 +4696,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.90" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7" +checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" dependencies = [ "proc-macro2", "quote", @@ -4700,9 +4709,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.90" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b" +checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" [[package]] name = "wasm-streams" diff --git a/apps/desktop/package.json b/apps/desktop/package.json index aa20bbbc..10f4df7d 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -45,6 +45,7 @@ "tailwindcss": "^3.4.3", "unplugin-auto-import": "^0.17.5", "unplugin-icons": "^0.18.5", - "vite": "^5.4.0" + "vite": "^5.4.0", + "vite-plugin-wasm": "^3.3.0" } } diff --git a/apps/web/package.json b/apps/web/package.json index e69fc4bc..94a576e5 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -72,6 +72,7 @@ "postcss": "^8.4.38", "tailwindcss": "^3.4.3", "tsx": "^4.7.2", - "unplugin-fonts": "^1.1.1" + "unplugin-fonts": "^1.1.1", + "vite-plugin-wasm": "^3.3.0" } } diff --git a/crates/regex-syntax-wasm/Cargo.toml b/crates/regex-syntax-wasm/Cargo.toml new file mode 100644 index 00000000..ec0e4a21 --- /dev/null +++ b/crates/regex-syntax-wasm/Cargo.toml @@ -0,0 +1,13 @@ +[package] +name = "regex-syntax-wasm" +description = "A WebAssembly version of the regex-syntax crate" +version = "0.0.0" +edition = "2021" +publish = false + +[lib] +crate-type = ["cdylib"] + +[dependencies] +regex-syntax = "0.8.4" +wasm-bindgen = "0.2.93" diff --git a/crates/regex-syntax-wasm/package.json b/crates/regex-syntax-wasm/package.json new file mode 100644 index 00000000..5d876abf --- /dev/null +++ b/crates/regex-syntax-wasm/package.json @@ -0,0 +1,17 @@ +{ + "name": "@macrograph/regex-syntax-wasm", + "description": "A WebAssembly version of the regex-syntax crate", + "version": "0.0.0", + "files": [ + "./pkg/regex_syntax_wasm_bg.wasm", + "./pkg/regex_syntax_wasm.js", + "./pkg/regex_syntax_wasm_bg.js", + "./pkg/regex_syntax_wasm.d.ts" + ], + "module": "./pkg/regex_syntax_wasm.js", + "types": "./pkg/regex_syntax_wasm.d.ts", + "sideEffects": ["./pkg/regex_syntax_wasm.js"], + "scripts": { + "build": "wasm-pack build && rm ./pkg/.gitignore" + } +} diff --git a/crates/regex-syntax-wasm/src/lib.rs b/crates/regex-syntax-wasm/src/lib.rs new file mode 100644 index 00000000..cd561296 --- /dev/null +++ b/crates/regex-syntax-wasm/src/lib.rs @@ -0,0 +1,6 @@ +use wasm_bindgen::prelude::*; + +#[wasm_bindgen] +pub fn greet(name: &str) -> u32 { + 42 +} diff --git a/packages/packages/package.json b/packages/packages/package.json index 15d65730..afae423a 100644 --- a/packages/packages/package.json +++ b/packages/packages/package.json @@ -20,6 +20,7 @@ "@macrograph/typesystem": "workspace:*", "@macrograph/ui": "workspace:*", "@macrograph/utils": "workspace:^", + "@macrograph/regex-syntax-wasm": "workspace:^", "@octokit/auth-callback": "^4.0.0", "@rspc/client": "0.0.0-main-6ed8cc98", "@rspc/tauri": "0.0.0-main-6ed8cc98", diff --git a/packages/packages/src/utils.ts b/packages/packages/src/utils.ts index 8d59d0da..2ca2f52e 100644 --- a/packages/packages/src/utils.ts +++ b/packages/packages/src/utils.ts @@ -16,6 +16,7 @@ import { } from "@macrograph/typesystem"; import dayjs from "dayjs"; import duration from "dayjs/plugin/duration"; +import { greet } from "@macrograph/regex-syntax-wasm"; dayjs.extend(duration); @@ -2503,6 +2504,8 @@ export function pkg(core: Core) { type: "exec", properties: { regex: { name: "Regex", type: t.string() } }, createIO({ io, ctx, properties }) { + console.log("HERE", greet("todo")); + const base = { input: io.dataInput({ id: "", diff --git a/packages/ui/package.json b/packages/ui/package.json index d10dfa8b..0ec5dd23 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -25,7 +25,8 @@ "vite": "^5.4.0" }, "peerDependencies": { - "solid-js": "^1.7.11" + "solid-js": "^1.7.11", + "vite-plugin-wasm": "^3.3.0" }, "dependencies": { "@kobalte/core": "^0.13.4", diff --git a/packages/ui/vite.js b/packages/ui/vite.js index 21386c59..751247ec 100644 --- a/packages/ui/vite.js +++ b/packages/ui/vite.js @@ -2,6 +2,7 @@ import { fileURLToPath } from "node:url"; import AutoImport from "unplugin-auto-import/vite"; import IconsResolver from "unplugin-icons/resolver"; import Icons from "unplugin-icons/vite"; +import wasm from "vite-plugin-wasm"; // Workaround for https://github.com/solidjs/solid-start/issues/1374 const VinxiAutoImport = (options) => { @@ -34,4 +35,5 @@ export default [ ], }), Icons({ compiler: "solid", scale: 1 }), + wasm(), ]; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2b7cb3b5..9c3a6a0d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -49,7 +49,7 @@ importers: version: 2.10.2(@testing-library/jest-dom@6.4.8)(solid-js@1.8.20)(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3)) vitest: specifier: ^2.0.5 - version: 2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5(vitest@2.0.5))(jsdom@24.1.1)(terser@5.31.3) + version: 2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3) vitest-github-actions-reporter: specifier: ^0.11.1 version: 0.11.1(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4)(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3)) @@ -100,7 +100,7 @@ importers: version: 0.14.3(solid-js@1.8.20) '@solidjs/start': specifier: 1.0.6 - version: 1.0.6(@testing-library/jest-dom@6.4.8)(rollup@4.18.1)(solid-js@1.8.20)(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0))(ioredis@5.4.1)(terser@5.31.3))(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3)) + version: 1.0.6(@testing-library/jest-dom@6.4.8)(rollup@4.20.0)(solid-js@1.8.20)(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(ioredis@5.4.1)(terser@5.31.3))(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3)) '@t3-oss/env-core': specifier: ^0.6.1 version: 0.6.1(typescript@5.5.3)(zod@3.22.4) @@ -158,13 +158,16 @@ importers: version: 3.4.3 unplugin-auto-import: specifier: ^0.17.5 - version: 0.17.5(rollup@4.18.1) + version: 0.17.5(rollup@4.20.0) unplugin-icons: specifier: ^0.18.5 version: 0.18.5 vite: specifier: ^5.4.0 version: 5.4.0(@types/node@20.14.11)(terser@5.31.3) + vite-plugin-wasm: + specifier: ^3.3.0 + version: 3.3.0(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3)) apps/storybook: dependencies: @@ -183,7 +186,7 @@ importers: version: 8.2.7(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9))) '@storybook/addon-interactions': specifier: ^8.2.7 - version: 8.2.7(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5(vitest@2.0.5))(jsdom@24.1.1)(terser@5.31.3)) + version: 8.2.7(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3)) '@storybook/addon-links': specifier: ^8.2.7 version: 8.2.7(react@18.2.0)(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9))) @@ -270,7 +273,7 @@ importers: version: 0.14.3(solid-js@1.8.20) '@solidjs/start': specifier: 1.0.6 - version: 1.0.6(@testing-library/jest-dom@6.4.8)(rollup@4.20.0)(solid-js@1.8.20)(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3))(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3)) + version: 1.0.6(@testing-library/jest-dom@6.4.8)(rollup@4.18.1)(solid-js@1.8.20)(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3))(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3)) '@t3-oss/env-core': specifier: ^0.6.1 version: 0.6.1(typescript@5.5.3)(zod@3.22.4) @@ -339,7 +342,7 @@ importers: version: 0.5.0(hono@3.12.12)(zod@3.22.4) unplugin-auto-import: specifier: ^0.17.5 - version: 0.17.5(rollup@4.20.0) + version: 0.17.5(rollup@4.18.1) unplugin-icons: specifier: ^0.18.5 version: 0.18.5 @@ -386,6 +389,11 @@ importers: unplugin-fonts: specifier: ^1.1.1 version: 1.1.1(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3)) + vite-plugin-wasm: + specifier: ^3.3.0 + version: 3.3.0(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3)) + + crates/regex-syntax-wasm: {} crates/tauri-plugin-kb-mouse: dependencies: @@ -681,6 +689,9 @@ importers: '@macrograph/option': specifier: workspace:^ version: link:../option + '@macrograph/regex-syntax-wasm': + specifier: workspace:^ + version: link:../../crates/regex-syntax-wasm '@macrograph/runtime': specifier: workspace:* version: link:../runtime @@ -992,6 +1003,9 @@ importers: tailwind-merge: specifier: ^2.2.2 version: 2.2.2 + vite-plugin-wasm: + specifier: ^3.3.0 + version: 3.3.0(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3)) devDependencies: solid-js: specifier: ^1.8.20 @@ -3528,6 +3542,7 @@ packages: '@rspc/solid@0.0.0-main-6ed8cc98': resolution: {integrity: sha512-uh3iEmUDVZl3DzkSipr2XV8aWANuIGjAb5deg12bMPiGRpE8eyO4S8prxUkA+mqqX/zHYKbR4GVZQElN/gkTTA==} + deprecated: Please use @rspc/solid-query peerDependencies: '@rspc/client': 0.0.0-main-6ed8cc98 '@tanstack/solid-query': ^4.6.0 @@ -3792,11 +3807,11 @@ packages: react-dom: optional: true - '@storybook/builder-vite@8.3.0-alpha.6': - resolution: {integrity: sha512-r8O+6hRBNCql6f5NykbDUr5U/clNeDRJoBF+FpWkpQT9dXFoYor54u6JMEJmseHPdmiJemhiIZ0xo54ktWUJLg==} + '@storybook/builder-vite@8.3.0-alpha.9': + resolution: {integrity: sha512-EMgTo77Ie74WORKDVMY6HMxSQTdsD12M114d+H6cTfDY8FO2vQgu/v2DccgvKKiSFhpdoNj1GfO3FhM8wCO/PQ==} peerDependencies: '@preact/preset-vite': '*' - storybook: ^8.3.0-alpha.6 + storybook: ^8.3.0-alpha.9 typescript: '>= 4.3.x' vite: ^4.0.0 || ^5.0.0 vite-plugin-glimmerx: '*' @@ -3819,10 +3834,10 @@ packages: peerDependencies: storybook: ^8.2.7 - '@storybook/csf-plugin@8.3.0-alpha.6': - resolution: {integrity: sha512-zGJ3qaF/Zx1EQZr5blS611vBzR0U+EwFjs7qwl0gYYrV+TSTCCZpIP6v7jDtpJ8vF2QVeem7iXreERi0L5Y8sQ==} + '@storybook/csf-plugin@8.3.0-alpha.9': + resolution: {integrity: sha512-xSuLYTIRrPK2NkKxEIh7FUlEYZujVt350ybBZYvFYhKVsX8i1gBFX9saS5XXXLv3GN6jgeeGsS5UjswRbpE7yw==} peerDependencies: - storybook: ^8.3.0-alpha.6 + storybook: ^8.3.0-alpha.9 '@storybook/csf@0.1.11': resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==} @@ -5827,6 +5842,7 @@ packages: fstream@1.0.12: resolution: {integrity: sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==} engines: {node: '>=0.6'} + deprecated: This package is no longer supported. function-bind@1.1.2: resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} @@ -7798,6 +7814,7 @@ packages: shikiji-core@0.9.19: resolution: {integrity: sha512-AFJu/vcNT21t0e6YrfadZ+9q86gvPum6iywRyt1OtIPjPFe25RQnYJyxHQPMLKCCWA992TPxmEmbNcOZCAJclw==} + deprecated: Shikiji is merged back to Shiki v1.0, please migrate over to get the latest updates shikiji@0.9.19: resolution: {integrity: sha512-Kw2NHWktdcdypCj1GkKpXH4o6Vxz8B8TykPlPuLHOGSV8VkhoCLcFOH4k19K4LXAQYRQmxg+0X/eM+m2sLhAkg==} @@ -8633,6 +8650,11 @@ packages: '@testing-library/jest-dom': optional: true + vite-plugin-wasm@3.3.0: + resolution: {integrity: sha512-tVhz6w+W9MVsOCHzxo6SSMSswCeIw4HTrXEi6qL3IRzATl83jl09JVO1djBqPSwfjgnpVHNLYcaMbaDX5WB/pg==} + peerDependencies: + vite: ^2 || ^3 || ^4 || ^5 + vite@5.4.0: resolution: {integrity: sha512-5xokfMX0PIiwCMCMb9ZJcMyh5wbBun0zUzKib+L65vAZ8GY9ePZMXxFrHbr/Kyll2+LSCY7xtERPpxkBDKngwg==} engines: {node: ^18.0.0 || >=20.0.0} @@ -11154,7 +11176,7 @@ snapshots: estree-walker: 2.0.2 glob: 8.1.0 is-reference: 1.2.1 - magic-string: 0.30.10 + magic-string: 0.30.11 optionalDependencies: rollup: 4.18.1 @@ -11162,7 +11184,7 @@ snapshots: dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.18.1) estree-walker: 2.0.2 - magic-string: 0.30.10 + magic-string: 0.30.11 optionalDependencies: rollup: 4.18.1 @@ -11186,7 +11208,7 @@ snapshots: '@rollup/plugin-replace@5.0.7(rollup@4.18.1)': dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.18.1) - magic-string: 0.30.10 + magic-string: 0.30.11 optionalDependencies: rollup: 4.18.1 @@ -11499,11 +11521,11 @@ snapshots: dependencies: solid-js: 1.8.20 - '@solidjs/start@1.0.6(@testing-library/jest-dom@6.4.8)(rollup@4.18.1)(solid-js@1.8.20)(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0))(ioredis@5.4.1)(terser@5.31.3))(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3))': + '@solidjs/start@1.0.6(@testing-library/jest-dom@6.4.8)(rollup@4.18.1)(solid-js@1.8.20)(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3))(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3))': dependencies: - '@vinxi/plugin-directives': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3)) - '@vinxi/server-components': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3)) - '@vinxi/server-functions': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3)) + '@vinxi/plugin-directives': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(ioredis@5.4.1)(terser@5.31.3)) + '@vinxi/server-components': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(ioredis@5.4.1)(terser@5.31.3)) + '@vinxi/server-functions': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(ioredis@5.4.1)(terser@5.31.3)) defu: 6.1.4 error-stack-parser: 2.1.4 glob: 10.4.5 @@ -11525,11 +11547,11 @@ snapshots: - vinxi - vite - '@solidjs/start@1.0.6(@testing-library/jest-dom@6.4.8)(rollup@4.20.0)(solid-js@1.8.20)(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3))(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3))': + '@solidjs/start@1.0.6(@testing-library/jest-dom@6.4.8)(rollup@4.20.0)(solid-js@1.8.20)(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(ioredis@5.4.1)(terser@5.31.3))(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3))': dependencies: - '@vinxi/plugin-directives': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3)) - '@vinxi/server-components': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3)) - '@vinxi/server-functions': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3)) + '@vinxi/plugin-directives': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(ioredis@5.4.1)(terser@5.31.3)) + '@vinxi/server-components': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(ioredis@5.4.1)(terser@5.31.3)) + '@vinxi/server-functions': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(ioredis@5.4.1)(terser@5.31.3)) defu: 6.1.4 error-stack-parser: 2.1.4 glob: 10.4.5 @@ -11614,11 +11636,11 @@ snapshots: '@storybook/global': 5.0.0 storybook: 8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)) - '@storybook/addon-interactions@8.2.7(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5(vitest@2.0.5))(jsdom@24.1.1)(terser@5.31.3))': + '@storybook/addon-interactions@8.2.7(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3))': dependencies: '@storybook/global': 5.0.0 '@storybook/instrumenter': 8.2.7(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9))) - '@storybook/test': 8.2.7(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5(vitest@2.0.5))(jsdom@24.1.1)(terser@5.31.3)) + '@storybook/test': 8.2.7(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3)) polished: 4.3.1 storybook: 8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)) ts-dedent: 2.2.0 @@ -11680,9 +11702,9 @@ snapshots: react: 18.2.0 react-dom: 18.3.1(react@18.2.0) - '@storybook/builder-vite@8.3.0-alpha.6(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))(typescript@5.5.3)(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3))': + '@storybook/builder-vite@8.3.0-alpha.9(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))(typescript@5.5.3)(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3))': dependencies: - '@storybook/csf-plugin': 8.3.0-alpha.6(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9))) + '@storybook/csf-plugin': 8.3.0-alpha.9(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9))) '@types/find-cache-dir': 3.2.1 browser-assert: 1.2.1 es-module-lexer: 1.5.4 @@ -11741,7 +11763,7 @@ snapshots: storybook: 8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)) unplugin: 1.12.0 - '@storybook/csf-plugin@8.3.0-alpha.6(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))': + '@storybook/csf-plugin@8.3.0-alpha.9(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))': dependencies: storybook: 8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)) unplugin: 1.12.2 @@ -11774,12 +11796,12 @@ snapshots: react-dom: 18.3.1(react@18.2.0) storybook: 8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)) - '@storybook/test@8.2.7(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5(vitest@2.0.5))(jsdom@24.1.1)(terser@5.31.3))': + '@storybook/test@8.2.7(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3))': dependencies: '@storybook/csf': 0.1.11 '@storybook/instrumenter': 8.2.7(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9))) '@testing-library/dom': 10.1.0 - '@testing-library/jest-dom': 6.4.5(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5(vitest@2.0.5))(jsdom@24.1.1)(terser@5.31.3)) + '@testing-library/jest-dom': 6.4.5(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3)) '@testing-library/user-event': 14.5.2(@testing-library/dom@10.1.0) '@vitest/expect': 1.6.0 '@vitest/spy': 1.6.0 @@ -11929,7 +11951,7 @@ snapshots: lz-string: 1.5.0 pretty-format: 27.5.1 - '@testing-library/jest-dom@6.4.5(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5(vitest@2.0.5))(jsdom@24.1.1)(terser@5.31.3))': + '@testing-library/jest-dom@6.4.5(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3))': dependencies: '@adobe/css-tools': 4.4.0 '@babel/runtime': 7.24.1 @@ -11940,7 +11962,7 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 optionalDependencies: - vitest: 2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5(vitest@2.0.5))(jsdom@24.1.1)(terser@5.31.3) + vitest: 2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3) '@testing-library/jest-dom@6.4.8': dependencies: @@ -12285,7 +12307,7 @@ snapshots: transitivePeerDependencies: - uWebSockets.js - '@vinxi/plugin-directives@0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3))': + '@vinxi/plugin-directives@0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(ioredis@5.4.1)(terser@5.31.3))': dependencies: '@babel/parser': 7.25.3 acorn: 8.12.1 @@ -12307,9 +12329,9 @@ snapshots: unified: 9.2.2 vfile: 5.3.7 - '@vinxi/server-components@0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3))': + '@vinxi/server-components@0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(ioredis@5.4.1)(terser@5.31.3))': dependencies: - '@vinxi/plugin-directives': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3)) + '@vinxi/plugin-directives': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(ioredis@5.4.1)(terser@5.31.3)) acorn: 8.12.1 acorn-loose: 8.4.0 acorn-typescript: 1.4.13(acorn@8.12.1) @@ -12318,9 +12340,9 @@ snapshots: recast: 0.23.9 vinxi: 0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3) - '@vinxi/server-functions@0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3))': + '@vinxi/server-functions@0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(ioredis@5.4.1)(terser@5.31.3))': dependencies: - '@vinxi/plugin-directives': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(drizzle-orm@0.29.5(@planetscale/database@1.16.0)(@types/react@18.2.73)(pg@8.11.5)(postgres@3.4.4)(react@18.2.0))(ioredis@5.4.1)(terser@5.31.3)) + '@vinxi/plugin-directives': 0.4.1(vinxi@0.4.1(@planetscale/database@1.16.0)(@types/node@20.14.11)(ioredis@5.4.1)(terser@5.31.3)) acorn: 8.12.1 acorn-loose: 8.4.0 acorn-typescript: 1.4.13(acorn@8.12.1) @@ -12333,7 +12355,7 @@ snapshots: dependencies: modern-node-polyfills: 0.1.3(rollup@4.20.0) sirv: 2.0.4 - vitest: 2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5(vitest@2.0.5))(jsdom@24.1.1)(terser@5.31.3) + vitest: 2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3) transitivePeerDependencies: - rollup @@ -12382,7 +12404,7 @@ snapshots: pathe: 1.1.2 sirv: 2.0.4 tinyrainbow: 1.2.0 - vitest: 2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5(vitest@2.0.5))(jsdom@24.1.1)(terser@5.31.3) + vitest: 2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3) '@vitest/utils@1.4.0': dependencies: @@ -14325,7 +14347,7 @@ snapshots: https-proxy-agent@7.0.4: dependencies: agent-base: 7.1.1 - debug: 4.3.4 + debug: 4.3.6 transitivePeerDependencies: - supports-color @@ -16546,7 +16568,7 @@ snapshots: storybook-solidjs-vite@1.0.0-beta.2(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))(typescript@5.5.3)(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3)): dependencies: - '@storybook/builder-vite': 8.3.0-alpha.6(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))(typescript@5.5.3)(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3)) + '@storybook/builder-vite': 8.3.0-alpha.9(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.24.9)))(typescript@5.5.3)(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3)) transitivePeerDependencies: - '@preact/preset-vite' - storybook @@ -17047,7 +17069,7 @@ snapshots: estree-walker: 3.0.3 fast-glob: 3.3.2 local-pkg: 0.5.0 - magic-string: 0.30.10 + magic-string: 0.30.11 mlly: 1.7.1 pathe: 1.1.2 pkg-types: 1.1.3 @@ -17228,7 +17250,7 @@ snapshots: unwasm@0.3.9: dependencies: knitwork: 1.1.0 - magic-string: 0.30.10 + magic-string: 0.30.11 mlly: 1.7.1 pathe: 1.1.2 pkg-types: 1.1.3 @@ -17456,6 +17478,10 @@ snapshots: transitivePeerDependencies: - supports-color + vite-plugin-wasm@3.3.0(vite@5.4.0(@types/node@20.14.11)(terser@5.31.3)): + dependencies: + vite: 5.4.0(@types/node@20.14.11)(terser@5.31.3) + vite@5.4.0(@types/node@20.14.11)(terser@5.31.3): dependencies: esbuild: 0.21.5 @@ -17473,9 +17499,9 @@ snapshots: vitest-github-actions-reporter@0.11.1(vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4)(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3)): dependencies: '@actions/core': 1.10.1 - vitest: 2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5(vitest@2.0.5))(jsdom@24.1.1)(terser@5.31.3) + vitest: 2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3) - vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5(vitest@2.0.5))(jsdom@24.1.1)(terser@5.31.3): + vitest@2.0.5(@types/node@20.14.11)(@vitest/browser@0.32.4(rollup@4.20.0)(vitest@2.0.5))(@vitest/ui@2.0.5)(jsdom@24.1.1)(terser@5.31.3): dependencies: '@ampproject/remapping': 2.3.0 '@vitest/expect': 2.0.5