chore: upgrade routify

This commit is contained in:
Enrico Sacchetti 2023-06-23 16:24:35 -04:00
commit ab1693bcc4
No known key found for this signature in database
GPG key ID: 3374B89ECA60D796
9 changed files with 285 additions and 688 deletions

View file

@ -9,8 +9,8 @@
"build:svite": "vite build"
},
"devDependencies": {
"@sveltech/routify": "^1.9.10",
"@sveltejs/vite-plugin-svelte": "^1.0.2",
"@roxi/routify": "^2.18.12",
"@sveltejs/vite-plugin-svelte": "^2.4.1",
"carbon-components-svelte": "../",
"carbon-icons-svelte": "^11.1.0",
"clipboard-copy": "^4.0.1",
@ -18,12 +18,12 @@
"mdsvex": "^0.10.6",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"prettier-plugin-svelte": "^2.7.0",
"prettier-plugin-svelte": "^2.10.1",
"prism-svelte": "^0.4.7",
"prismjs": "^1.28.0",
"remark-slug": "^6.0.0",
"svelte": "^4.0.0-next.0",
"vite": "^3.0.9"
"svelte": "^4.0.0",
"vite": "^4.3.9"
},
"routify": {
"routifyDir": ".routify",

View file

@ -1,5 +1,5 @@
<script>
import { Router } from "@sveltech/routify";
import { Router } from "@roxi/routify";
import { routes } from "../.routify/routes";
</script>

View file

@ -7,7 +7,7 @@
import copy from "clipboard-copy";
import { CodeSnippet, Button } from "carbon-components-svelte";
import Launch from "carbon-icons-svelte/lib/Launch.svelte";
import { url } from "@sveltech/routify";
import { url } from "@roxi/routify";
import { theme } from "../store";
$: themedSrcUrl = $url(`${src}?theme=${$theme}`);

View file

@ -14,7 +14,7 @@
TabContent,
} from "carbon-components-svelte";
import Code from "carbon-icons-svelte/lib/Code.svelte";
import { page, metatags } from "@sveltech/routify";
import { page, metatags } from "@roxi/routify";
import { onMount } from "svelte";
import { theme } from "../store";
import ComponentApi from "../components/ComponentApi.svelte";

View file

@ -1,6 +1,6 @@
<script>
import { Content, Grid, Row, Column, Link } from "carbon-components-svelte";
import { url, metatags } from "@sveltech/routify";
import { url, metatags } from "@roxi/routify";
metatags.title = "404";
</script>

View file

@ -1,5 +1,5 @@
<script>
import { isActive, url, layout, beforeUrlChange } from "@sveltech/routify";
import { isActive, url, layout, beforeUrlChange } from "@roxi/routify";
import {
Header,
HeaderUtilities,

View file

@ -15,7 +15,7 @@
} from "carbon-components-svelte";
import TileCard from "../components/TileCard.svelte";
import { theme } from "../store";
import { metatags } from "@sveltech/routify";
import { metatags } from "@roxi/routify";
metatags.title = "Carbon Components Svelte";
metatags.description =

View file

@ -5,6 +5,6 @@ export default defineConfig({
plugins: [svelte()],
optimizeDeps: {
include: ["clipboard-copy", "flatpickr/dist/plugins/rangePlugin"],
exclude: ["@sveltech/routify"],
exclude: ["@roxi/routify"],
},
});

File diff suppressed because it is too large Load diff