diff --git a/.github/workflows/ci-documentation.yml b/.github/workflows/ci-documentation.yml index 88c583d3..182b2eb9 100644 --- a/.github/workflows/ci-documentation.yml +++ b/.github/workflows/ci-documentation.yml @@ -29,7 +29,7 @@ jobs: uses: actions-rust-lang/setup-rust-toolchain@v1 - name: Install tuono - run: cargo install tuono@0.12.3 + run: cargo install tuono@0.15.0 - name: Build project working-directory: ./apps/documentation diff --git a/.github/workflows/deploy-documentation.yml b/.github/workflows/deploy-documentation.yml index 3a1f3167..8c44a61b 100644 --- a/.github/workflows/deploy-documentation.yml +++ b/.github/workflows/deploy-documentation.yml @@ -27,7 +27,7 @@ jobs: uses: actions-rust-lang/setup-rust-toolchain@v1 - name: Install tuono - run: cargo install tuono@0.12.3 + run: cargo install tuono@0.15.0 - name: Build project working-directory: ./apps/documentation diff --git a/apps/documentation/Cargo.toml b/apps/documentation/Cargo.toml index f5031424..92b94824 100644 --- a/apps/documentation/Cargo.toml +++ b/apps/documentation/Cargo.toml @@ -8,7 +8,7 @@ name = "tuono" path = ".tuono/main.rs" [dependencies] -tuono_lib = "0.12.3" +tuono_lib = "0.15.0" glob = "0.3.1" time = { version = "0.3", features = ["macros"] } serde = { version = "1.0.202", features = ["derive"] } diff --git a/apps/documentation/package.json b/apps/documentation/package.json index 6a9abcbb..3abc22bb 100644 --- a/apps/documentation/package.json +++ b/apps/documentation/package.json @@ -18,7 +18,7 @@ "clsx": "^2.1.1", "react": "18.3.1", "react-dom": "18.3.1", - "tuono": "npm:tuono@0.12.3" + "tuono": "npm:tuono@0.15.0" }, "devDependencies": { "@types/mdx": "^2.0.13", diff --git a/apps/documentation/src/routes/__root.tsx b/apps/documentation/src/routes/__root.tsx index f59a8088..76eb10f2 100644 --- a/apps/documentation/src/routes/__root.tsx +++ b/apps/documentation/src/routes/__root.tsx @@ -7,12 +7,12 @@ import { } from '@mantine/core' import { useDisclosure } from '@mantine/hooks' import { Head, useRouter } from 'tuono' -import Navbar from '../components/navbar' +import Navbar from '@/components/navbar' import '@mantine/core/styles.css' import '@mantine/code-highlight/styles.css' -import Sidebar from '../components/sidebar' +import Sidebar from '@/components/sidebar' interface RootRouteProps { children: ReactNode diff --git a/apps/documentation/src/routes/documentation/__root.tsx b/apps/documentation/src/routes/documentation/__root.tsx index 80a3ca08..3ec37ba3 100644 --- a/apps/documentation/src/routes/documentation/__root.tsx +++ b/apps/documentation/src/routes/documentation/__root.tsx @@ -1,8 +1,8 @@ import type { ReactNode, JSX } from 'react' import { AppShell, Container } from '@mantine/core' -import MdxProvider from '../../components/mdx-provider' -import EditPage from '../../components/edit-page' +import MdxProvider from '@/components/mdx-provider' +import EditPage from '@/components/edit-page' interface RootRouteProps { children: ReactNode diff --git a/apps/documentation/src/routes/documentation/application-state.mdx b/apps/documentation/src/routes/documentation/application-state.mdx index 59de3fcf..80d2f515 100644 --- a/apps/documentation/src/routes/documentation/application-state.mdx +++ b/apps/documentation/src/routes/documentation/application-state.mdx @@ -1,4 +1,4 @@ -import MetaTags from '../../components/meta-tags' +import MetaTags from '@/components/meta-tags' -import Breadcrumbs, { Element } from '../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' diff --git a/apps/documentation/src/routes/documentation/cli.mdx b/apps/documentation/src/routes/documentation/cli.mdx index 51b6993c..82edaf32 100644 --- a/apps/documentation/src/routes/documentation/cli.mdx +++ b/apps/documentation/src/routes/documentation/cli.mdx @@ -1,4 +1,4 @@ -import MetaTags from '../../components/meta-tags' +import MetaTags from '@/components/meta-tags' -import Breadcrumbs, { Element } from '../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' diff --git a/apps/documentation/src/routes/documentation/contributing.mdx b/apps/documentation/src/routes/documentation/contributing.mdx index 7c5ae0d5..242c9c93 100644 --- a/apps/documentation/src/routes/documentation/contributing.mdx +++ b/apps/documentation/src/routes/documentation/contributing.mdx @@ -1,4 +1,4 @@ -import MetaTags from '../../components/meta-tags' +import MetaTags from '@/components/meta-tags' -import Breadcrumbs, { Element } from '../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' diff --git a/apps/documentation/src/routes/documentation/contributing/index.mdx b/apps/documentation/src/routes/documentation/contributing/index.mdx index 8baf51b8..813ba33a 100644 --- a/apps/documentation/src/routes/documentation/contributing/index.mdx +++ b/apps/documentation/src/routes/documentation/contributing/index.mdx @@ -1,4 +1,4 @@ -import MetaTags from '../../../components/meta-tags' +import MetaTags from '@/components/meta-tags' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' diff --git a/apps/documentation/src/routes/documentation/contributing/local-development.mdx b/apps/documentation/src/routes/documentation/contributing/local-development.mdx index 4e9717a3..69de0fd9 100644 --- a/apps/documentation/src/routes/documentation/contributing/local-development.mdx +++ b/apps/documentation/src/routes/documentation/contributing/local-development.mdx @@ -1,4 +1,4 @@ -import MetaTags from '../../../components/meta-tags' +import MetaTags from '@/components/meta-tags' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' -import Breadcrumbs from '../../components/breadcrumbs' +import Breadcrumbs from '@/components/breadcrumbs' diff --git a/apps/documentation/src/routes/documentation/installation.mdx b/apps/documentation/src/routes/documentation/installation.mdx index 518256b4..46548e59 100644 --- a/apps/documentation/src/routes/documentation/installation.mdx +++ b/apps/documentation/src/routes/documentation/installation.mdx @@ -1,6 +1,6 @@ -import Breadcrumbs, { Element } from '../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' -import MetaTags from '../../components/meta-tags' +import MetaTags from '@/components/meta-tags' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' diff --git a/apps/documentation/src/routes/documentation/routing/intro.mdx b/apps/documentation/src/routes/documentation/routing/intro.mdx index 505f2365..63eb27df 100644 --- a/apps/documentation/src/routes/documentation/routing/intro.mdx +++ b/apps/documentation/src/routes/documentation/routing/intro.mdx @@ -1,11 +1,11 @@ -import MetaTags from '../../../components/meta-tags' +import MetaTags from '@/components/meta-tags' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' diff --git a/apps/documentation/src/routes/documentation/tutorial/production.mdx b/apps/documentation/src/routes/documentation/tutorial/production.mdx index 0f1492d3..045c077e 100644 --- a/apps/documentation/src/routes/documentation/tutorial/production.mdx +++ b/apps/documentation/src/routes/documentation/tutorial/production.mdx @@ -1,4 +1,4 @@ -import MetaTags from '../../../components/meta-tags' +import MetaTags from '@/components/meta-tags' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' -import Breadcrumbs, { Element } from '../../../components/breadcrumbs' +import Breadcrumbs, { Element } from '@/components/breadcrumbs' fn load_routes() -> Vec { let mut paths: Vec = vec![]; - for entry in glob("./src/routes/**/*").expect("Failed to glob src/routes folder").flatten() { + for entry in glob("./src/routes/**/*") + .expect("Failed to glob src/routes folder") + .flatten() + { if !entry.is_dir() { let path = clean_path(format!("/{}", entry.to_string_lossy())); - if !FILE_TO_EXCLUDE.iter().any(|exclude| path.ends_with(exclude)) { + if !FILE_TO_EXCLUDE + .iter() + .any(|exclude| path.ends_with(exclude)) + { paths.push(path) } } @@ -51,11 +56,16 @@ async fn generate_sitemap(_req: Request) -> Response { url.pop(); } - sitemaps.push_str( - &format!(r#"{}{}"#,url, OffsetDateTime::now_utc().date()) - ) + sitemaps.push_str(&format!( + r#"{}{}"#, + url, + OffsetDateTime::now_utc().date() + )) } - Response::Custom((StatusCode::OK, headers, SITEMAP.replace("[PLACEHOLDER]", &sitemaps))) + Response::Custom(( + StatusCode::OK, + headers, + SITEMAP.replace("[PLACEHOLDER]", &sitemaps), + )) } - diff --git a/apps/documentation/tsconfig.json b/apps/documentation/tsconfig.json index a938959d..0ce21289 100644 --- a/apps/documentation/tsconfig.json +++ b/apps/documentation/tsconfig.json @@ -18,7 +18,10 @@ "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true + "noFallthroughCasesInSwitch": true, + "paths": { + "@/*": ["./src/*"] + } }, "include": ["src"], "references": [{ "path": "./tsconfig.node.json" }] diff --git a/apps/documentation/tuono.config.ts b/apps/documentation/tuono.config.ts new file mode 100644 index 00000000..ead93634 --- /dev/null +++ b/apps/documentation/tuono.config.ts @@ -0,0 +1,12 @@ +import type { TuonoConfig } from 'tuono/config' + +const config: TuonoConfig = { + vite: { + alias: { + '@': 'src', + '@tabler/icons-react': '@tabler/icons-react/dist/esm/icons/index.mjs', + }, + }, +} + +export default config diff --git a/packages/tuono/bin/build-config.js b/packages/tuono/bin/build-config.js old mode 100644 new mode 100755 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 46e5e221..6b94bc41 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -88,8 +88,8 @@ importers: specifier: 18.3.1 version: 18.3.1(react@18.3.1) tuono: - specifier: npm:tuono@0.12.3 - version: 0.12.3(@types/react@18.3.12)(acorn@8.14.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.25.0)(sugarss@4.0.1(postcss@8.4.49)) + specifier: npm:tuono@0.15.0 + version: 0.15.0(@types/react@18.3.12)(acorn@8.14.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.25.0)(sugarss@4.0.1(postcss@8.4.49)) devDependencies: '@types/mdx': specifier: ^2.0.13 @@ -904,135 +904,66 @@ packages: '@rushstack/ts-command-line@4.19.1': resolution: {integrity: sha512-J7H768dgcpG60d7skZ5uSSwyCZs/S2HrWP1Ds8d1qYAyaaeJmpmmLr9BVw97RjFzmQPOYnoXcKA4GkqDCkduQg==} - '@swc/core-darwin-arm64@1.9.2': - resolution: {integrity: sha512-nETmsCoY29krTF2PtspEgicb3tqw7Ci5sInTI03EU5zpqYbPjoPH99BVTjj0OsF53jP5MxwnLI5Hm21lUn1d6A==} - engines: {node: '>=10'} - cpu: [arm64] - os: [darwin] - '@swc/core-darwin-arm64@1.9.3': resolution: {integrity: sha512-hGfl/KTic/QY4tB9DkTbNuxy5cV4IeejpPD4zo+Lzt4iLlDWIeANL4Fkg67FiVceNJboqg48CUX+APhDHO5G1w==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] - '@swc/core-darwin-x64@1.9.2': - resolution: {integrity: sha512-9gD+bwBz8ZByjP6nZTXe/hzd0tySIAjpDHgkFiUrc+5zGF+rdTwhcNrzxNHJmy6mw+PW38jqII4uspFHUqqxuQ==} - engines: {node: '>=10'} - cpu: [x64] - os: [darwin] - '@swc/core-darwin-x64@1.9.3': resolution: {integrity: sha512-IaRq05ZLdtgF5h9CzlcgaNHyg4VXuiStnOFpfNEMuI5fm5afP2S0FHq8WdakUz5WppsbddTdplL+vpeApt/WCQ==} engines: {node: '>=10'} cpu: [x64] os: [darwin] - '@swc/core-linux-arm-gnueabihf@1.9.2': - resolution: {integrity: sha512-kYq8ief1Qrn+WmsTWAYo4r+Coul4dXN6cLFjiPZ29Cv5pyU+GFvSPAB4bEdMzwy99rCR0u2P10UExaeCjurjvg==} - engines: {node: '>=10'} - cpu: [arm] - os: [linux] - '@swc/core-linux-arm-gnueabihf@1.9.3': resolution: {integrity: sha512-Pbwe7xYprj/nEnZrNBvZfjnTxlBIcfApAGdz2EROhjpPj+FBqBa3wOogqbsuGGBdCphf8S+KPprL1z+oDWkmSQ==} engines: {node: '>=10'} cpu: [arm] os: [linux] - '@swc/core-linux-arm64-gnu@1.9.2': - resolution: {integrity: sha512-n0W4XiXlmEIVqxt+rD3ZpkogsEWUk1jJ+i5bQNgB+1JuWh0fBE8c/blDgTQXa0GB5lTPVDZQussgdNOCnAZwiA==} - engines: {node: '>=10'} - cpu: [arm64] - os: [linux] - '@swc/core-linux-arm64-gnu@1.9.3': resolution: {integrity: sha512-AQ5JZiwNGVV/2K2TVulg0mw/3LYfqpjZO6jDPtR2evNbk9Yt57YsVzS+3vHSlUBQDRV9/jqMuZYVU3P13xrk+g==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-arm64-musl@1.9.2': - resolution: {integrity: sha512-8xzrOmsyCC1zrx2Wzx/h8dVsdewO1oMCwBTLc1gSJ/YllZYTb04pNm6NsVbzUX2tKddJVRgSJXV10j/NECLwpA==} - engines: {node: '>=10'} - cpu: [arm64] - os: [linux] - '@swc/core-linux-arm64-musl@1.9.3': resolution: {integrity: sha512-tzVH480RY6RbMl/QRgh5HK3zn1ZTFsThuxDGo6Iuk1MdwIbdFYUY034heWUTI4u3Db97ArKh0hNL0xhO3+PZdg==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-x64-gnu@1.9.2': - resolution: {integrity: sha512-kZrNz/PjRQKcchWF6W292jk3K44EoVu1ad5w+zbS4jekIAxsM8WwQ1kd+yjUlN9jFcF8XBat5NKIs9WphJCVXg==} - engines: {node: '>=10'} - cpu: [x64] - os: [linux] - '@swc/core-linux-x64-gnu@1.9.3': resolution: {integrity: sha512-ivXXBRDXDc9k4cdv10R21ccBmGebVOwKXT/UdH1PhxUn9m/h8erAWjz5pcELwjiMf27WokqPgaWVfaclDbgE+w==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-linux-x64-musl@1.9.2': - resolution: {integrity: sha512-TTIpR4rjMkhX1lnFR+PSXpaL83TrQzp9znRdp2TzYrODlUd/R20zOwSo9vFLCyH6ZoD47bccY7QeGZDYT3nlRg==} - engines: {node: '>=10'} - cpu: [x64] - os: [linux] - '@swc/core-linux-x64-musl@1.9.3': resolution: {integrity: sha512-ILsGMgfnOz1HwdDz+ZgEuomIwkP1PHT6maigZxaCIuC6OPEhKE8uYna22uU63XvYcLQvZYDzpR3ms47WQPuNEg==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-win32-arm64-msvc@1.9.2': - resolution: {integrity: sha512-+Eg2d4icItKC0PMjZxH7cSYFLWk0aIp94LNmOw6tPq0e69ax6oh10upeq0D1fjWsKLmOJAWEvnXlayZcijEXDw==} - engines: {node: '>=10'} - cpu: [arm64] - os: [win32] - '@swc/core-win32-arm64-msvc@1.9.3': resolution: {integrity: sha512-e+XmltDVIHieUnNJHtspn6B+PCcFOMYXNJB1GqoCcyinkEIQNwC8KtWgMqUucUbEWJkPc35NHy9k8aCXRmw9Kg==} engines: {node: '>=10'} cpu: [arm64] os: [win32] - '@swc/core-win32-ia32-msvc@1.9.2': - resolution: {integrity: sha512-nLWBi4vZDdM/LkiQmPCakof8Dh1/t5EM7eudue04V1lIcqx9YHVRS3KMwEaCoHLGg0c312Wm4YgrWQd9vwZ5zQ==} - engines: {node: '>=10'} - cpu: [ia32] - os: [win32] - '@swc/core-win32-ia32-msvc@1.9.3': resolution: {integrity: sha512-rqpzNfpAooSL4UfQnHhkW8aL+oyjqJniDP0qwZfGnjDoJSbtPysHg2LpcOBEdSnEH+uIZq6J96qf0ZFD8AGfXA==} engines: {node: '>=10'} cpu: [ia32] os: [win32] - '@swc/core-win32-x64-msvc@1.9.2': - resolution: {integrity: sha512-ik/k+JjRJBFkXARukdU82tSVx0CbExFQoQ78qTO682esbYXzjdB5eLVkoUbwen299pnfr88Kn4kyIqFPTje8Xw==} - engines: {node: '>=10'} - cpu: [x64] - os: [win32] - '@swc/core-win32-x64-msvc@1.9.3': resolution: {integrity: sha512-3YJJLQ5suIEHEKc1GHtqVq475guiyqisKSoUnoaRtxkDaW5g1yvPt9IoSLOe2mRs7+FFhGGU693RsBUSwOXSdQ==} engines: {node: '>=10'} cpu: [x64] os: [win32] - '@swc/core@1.9.2': - resolution: {integrity: sha512-dYyEkO6mRYtZFpnOsnYzv9rY69fHAHoawYOjGOEcxk9WYtaJhowMdP/w6NcOKnz2G7GlZaenjkzkMa6ZeQeMsg==} - engines: {node: '>=10'} - peerDependencies: - '@swc/helpers': '*' - peerDependenciesMeta: - '@swc/helpers': - optional: true - '@swc/core@1.9.3': resolution: {integrity: sha512-oRj0AFePUhtatX+BscVhnzaAmWjpfAeySpM1TCbxA1rtBDeH/JDhi5yYzAKneDYtVtBvA7ApfeuzhMC9ye4xSg==} engines: {node: '>=10'} @@ -1045,9 +976,6 @@ packages: '@swc/counter@0.1.3': resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} - '@swc/types@0.1.15': - resolution: {integrity: sha512-XKaZ+dzDIQ9Ot9o89oJQ/aluI17+VvUnIpYJTcZtvv1iYX6MzHh3Ik2CSR7MdPKpPwfZXHBeCingb2b4PoDVdw==} - '@swc/types@0.1.17': resolution: {integrity: sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==} @@ -1144,9 +1072,6 @@ packages: '@types/node@22.10.0': resolution: {integrity: sha512-XC70cRZVElFHfIUB40FgZOBbgJYFKKMa5nb9lxcwYstFG/Mi+/Y0bGS+rs6Dmhmkpq4pnNiLiuZAbc02YCOnmA==} - '@types/node@22.9.0': - resolution: {integrity: sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==} - '@types/prop-types@15.7.13': resolution: {integrity: sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==} @@ -1227,11 +1152,6 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - '@vitejs/plugin-react-swc@3.7.1': - resolution: {integrity: sha512-vgWOY0i1EROUK0Ctg1hwhtC3SdcDjZcdit4Ups4aPkDcB1jYhmo+RMYWY87cmXMhvtD5uf8lV89j2w16vkdSVg==} - peerDependencies: - vite: ^4 || ^5 - '@vitejs/plugin-react-swc@3.7.2': resolution: {integrity: sha512-y0byko2b2tSVVf5Gpng1eEhX1OvPC7x8yns1Fx8jDzlJp4LS6CMkCPfLw47cjyoMrshQDoQw4qcgjsU9VvlCew==} peerDependencies: @@ -3208,20 +3128,20 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - tuono-fs-router-vite-plugin@0.12.3: - resolution: {integrity: sha512-LXvA5NO40umPp48JEMkvDwAyw8DA75iZuhkQFoy4cJRAA0AXpY/niU6xL8INQa7MKyfvWpJNi1Ts0TkDwS9l/g==} + tuono-fs-router-vite-plugin@0.15.0: + resolution: {integrity: sha512-QHjlfAcUCQHId7j3X4/tlyt/eGMMOqGC1XMLqzkEWj3hMq5J4NpHP6VDEOiAokL7f24DWFcs8lhj1rndy3kpaw==} - tuono-lazy-fn-vite-plugin@0.12.3: - resolution: {integrity: sha512-MYfDweThjTcPKWOAkU8banKkb0/6Gb/MZh9XqcN3IwEDuMhN7N6IoCBDfXBW9khBvSC/bzJ16gilJEvgqkE3zg==} + tuono-lazy-fn-vite-plugin@0.15.0: + resolution: {integrity: sha512-6LfLkbQ5zQmJAQ5H37UbMdcylkyjlQNcntF7SIHLXKyW2dNrlZ48Q7WfT/lfVtSVMLv7p7fowlYq1apiT+w51Q==} - tuono-router@0.12.3: - resolution: {integrity: sha512-Ln2t9QDlnpBLJkpE5bXvk1TWLBqT3TP32yvK/iYAay+EB8rIuahmaET3HrfG6F0F/13cVvibd1o93I+1WUkmlQ==} + tuono-router@0.15.0: + resolution: {integrity: sha512-0zQis7TtChUvRotosdOQkExkxaTwntOOdpWJ4EEFKcDgQ78u8my3jtufqlFKOS0Y9TiqpZ013xOqMtkNZXNQsA==} peerDependencies: react: '>=16.3.0' react-dom: '>=16.3.0' - tuono@0.12.3: - resolution: {integrity: sha512-M8+yZh9xBdC3zS8Er5Zmdusq8HUn4TN9155esm1HjsW68k8roE+R/q/l5aXZL/6/5uaXHs94TUOuTF3TWZe3hA==} + tuono@0.15.0: + resolution: {integrity: sha512-qudQFrKp/QqSwdHke73yw8zBwHWhBAoMm390nx1Rr3FTu9JQcSaly4DRSHbKLK0QaWs4bZ29tFLPs9Uo92lNhQ==} hasBin: true peerDependencies: react: '>=16.3.0' @@ -3306,9 +3226,6 @@ packages: resolution: {integrity: sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==} engines: {node: '>=0.10.0'} - undici-types@6.19.8: - resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} - undici-types@6.20.0: resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} @@ -4202,82 +4119,36 @@ snapshots: transitivePeerDependencies: - '@types/node' - '@swc/core-darwin-arm64@1.9.2': - optional: true - '@swc/core-darwin-arm64@1.9.3': optional: true - '@swc/core-darwin-x64@1.9.2': - optional: true - '@swc/core-darwin-x64@1.9.3': optional: true - '@swc/core-linux-arm-gnueabihf@1.9.2': - optional: true - '@swc/core-linux-arm-gnueabihf@1.9.3': optional: true - '@swc/core-linux-arm64-gnu@1.9.2': - optional: true - '@swc/core-linux-arm64-gnu@1.9.3': optional: true - '@swc/core-linux-arm64-musl@1.9.2': - optional: true - '@swc/core-linux-arm64-musl@1.9.3': optional: true - '@swc/core-linux-x64-gnu@1.9.2': - optional: true - '@swc/core-linux-x64-gnu@1.9.3': optional: true - '@swc/core-linux-x64-musl@1.9.2': - optional: true - '@swc/core-linux-x64-musl@1.9.3': optional: true - '@swc/core-win32-arm64-msvc@1.9.2': - optional: true - '@swc/core-win32-arm64-msvc@1.9.3': optional: true - '@swc/core-win32-ia32-msvc@1.9.2': - optional: true - '@swc/core-win32-ia32-msvc@1.9.3': optional: true - '@swc/core-win32-x64-msvc@1.9.2': - optional: true - '@swc/core-win32-x64-msvc@1.9.3': optional: true - '@swc/core@1.9.2': - dependencies: - '@swc/counter': 0.1.3 - '@swc/types': 0.1.15 - optionalDependencies: - '@swc/core-darwin-arm64': 1.9.2 - '@swc/core-darwin-x64': 1.9.2 - '@swc/core-linux-arm-gnueabihf': 1.9.2 - '@swc/core-linux-arm64-gnu': 1.9.2 - '@swc/core-linux-arm64-musl': 1.9.2 - '@swc/core-linux-x64-gnu': 1.9.2 - '@swc/core-linux-x64-musl': 1.9.2 - '@swc/core-win32-arm64-msvc': 1.9.2 - '@swc/core-win32-ia32-msvc': 1.9.2 - '@swc/core-win32-x64-msvc': 1.9.2 - '@swc/core@1.9.3': dependencies: '@swc/counter': 0.1.3 @@ -4296,10 +4167,6 @@ snapshots: '@swc/counter@0.1.3': {} - '@swc/types@0.1.15': - dependencies: - '@swc/counter': 0.1.3 - '@swc/types@0.1.17': dependencies: '@swc/counter': 0.1.3 @@ -4434,10 +4301,6 @@ snapshots: dependencies: undici-types: 6.20.0 - '@types/node@22.9.0': - dependencies: - undici-types: 6.19.8 - '@types/prop-types@15.7.13': {} '@types/react-dom@18.3.1': @@ -4537,13 +4400,6 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-react-swc@3.7.1(vite@5.4.11(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49)))': - dependencies: - '@swc/core': 1.9.2 - vite: 5.4.11(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49)) - transitivePeerDependencies: - - '@swc/helpers' - '@vitejs/plugin-react-swc@3.7.2(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))': dependencies: '@swc/core': 1.9.3 @@ -6985,12 +6841,12 @@ snapshots: tslib@2.8.1: {} - tuono-fs-router-vite-plugin@0.12.3(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49)): + tuono-fs-router-vite-plugin@0.15.0(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)): dependencies: '@babel/core': 7.26.0 '@babel/types': 7.26.0 prettier: 3.4.1 - vite: 5.4.11(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49)) + vite: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)) transitivePeerDependencies: - '@types/node' - less @@ -7002,11 +6858,11 @@ snapshots: - supports-color - terser - tuono-lazy-fn-vite-plugin@0.12.3(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49)): + tuono-lazy-fn-vite-plugin@0.15.0(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)): dependencies: '@babel/core': 7.26.0 '@babel/types': 7.26.0 - vite: 5.4.11(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49)) + vite: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)) transitivePeerDependencies: - '@types/node' - less @@ -7018,12 +6874,12 @@ snapshots: - supports-color - terser - tuono-router@0.12.3(@types/node@22.9.0)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sugarss@4.0.1(postcss@8.4.49)): + tuono-router@0.15.0(@types/node@22.10.0)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sugarss@4.0.1(postcss@8.4.49)): dependencies: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) react-intersection-observer: 9.13.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - vite: 5.4.11(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49)) + vite: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)) zustand: 4.4.7(@types/react@18.3.12)(react@18.3.1) transitivePeerDependencies: - '@types/node' @@ -7037,7 +6893,7 @@ snapshots: - sugarss - terser - tuono@0.12.3(@types/react@18.3.12)(acorn@8.14.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.25.0)(sugarss@4.0.1(postcss@8.4.49)): + tuono@0.15.0(@types/react@18.3.12)(acorn@8.14.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.25.0)(sugarss@4.0.1(postcss@8.4.49)): dependencies: '@babel/core': 7.26.0 '@babel/generator': 7.26.2 @@ -7050,16 +6906,16 @@ snapshots: '@babel/types': 7.26.0 '@mdx-js/rollup': 3.1.0(acorn@8.14.0)(rollup@4.25.0) '@types/babel__core': 7.20.5 - '@types/node': 22.9.0 - '@vitejs/plugin-react-swc': 3.7.1(vite@5.4.11(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49))) + '@types/node': 22.10.0 + '@vitejs/plugin-react-swc': 3.7.2(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))) fast-text-encoding: 1.0.6 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) react-helmet-async: 2.0.5(react@18.3.1) - tuono-fs-router-vite-plugin: 0.12.3(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49)) - tuono-lazy-fn-vite-plugin: 0.12.3(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49)) - tuono-router: 0.12.3(@types/node@22.9.0)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sugarss@4.0.1(postcss@8.4.49)) - vite: 5.4.11(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49)) + tuono-fs-router-vite-plugin: 0.15.0(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)) + tuono-lazy-fn-vite-plugin: 0.15.0(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)) + tuono-router: 0.15.0(@types/node@22.10.0)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sugarss@4.0.1(postcss@8.4.49)) + vite: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)) transitivePeerDependencies: - '@swc/helpers' - '@types/react' @@ -7155,8 +7011,6 @@ snapshots: unc-path-regex@0.1.2: {} - undici-types@6.19.8: {} - undici-types@6.20.0: {} unified@11.0.5: @@ -7322,16 +7176,6 @@ snapshots: fsevents: 2.3.3 sugarss: 4.0.1(postcss@8.4.49) - vite@5.4.11(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49)): - dependencies: - esbuild: 0.21.5 - postcss: 8.4.49 - rollup: 4.25.0 - optionalDependencies: - '@types/node': 22.9.0 - fsevents: 2.3.3 - sugarss: 4.0.1(postcss@8.4.49) - vitest@2.1.6(@types/node@22.10.0)(jsdom@25.0.1)(sugarss@4.0.1(postcss@8.4.49)): dependencies: '@vitest/expect': 2.1.6