Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
hannoeru committed Mar 26, 2024
1 parent 8298c3a commit 493e6cb
Show file tree
Hide file tree
Showing 17 changed files with 1,656 additions and 1,396 deletions.
12 changes: 6 additions & 6 deletions examples/nuxt-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"serve": "vite preview"
},
"dependencies": {
"vue": "^3.3.4",
"vue": "^3.4.21",
"vue-router": "4.2.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.5.0",
"@vue/compiler-sfc": "^3.3.8",
"nodemon": "^3.0.1",
"typescript": "^5.3.2",
"vite": "^5.0.2",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "^3.4.21",
"nodemon": "^3.1.0",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vite-plugin-pages": "workspace:*",
"vite-plugin-vue-markdown": "^0.23.8"
}
Expand Down
16 changes: 8 additions & 8 deletions examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.20.0"
"react-router-dom": "^6.22.3"
},
"devDependencies": {
"@types/react": "^18.2.38",
"@types/react-dom": "^18.2.17",
"@types/react-router-config": "^5.0.10",
"@types/react": "^18.2.71",
"@types/react-dom": "^18.2.22",
"@types/react-router-config": "^5.0.11",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^4.2.0",
"nodemon": "^3.0.1",
"typescript": "^5.3.2",
"vite": "^5.0.2",
"@vitejs/plugin-react": "^4.2.1",
"nodemon": "^3.1.0",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vite-plugin-pages": "workspace:*"
}
}
16 changes: 8 additions & 8 deletions examples/remix-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.20.0"
"react-router-dom": "^6.22.3"
},
"devDependencies": {
"@types/react": "^18.2.38",
"@types/react-dom": "^18.2.17",
"@types/react-router-config": "^5.0.10",
"@types/react": "^18.2.71",
"@types/react-dom": "^18.2.22",
"@types/react-router-config": "^5.0.11",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^4.2.0",
"nodemon": "^3.0.1",
"typescript": "^5.3.2",
"vite": "^5.0.2",
"@vitejs/plugin-react": "^4.2.1",
"nodemon": "^3.1.0",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vite-plugin-pages": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions examples/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
"serve": "vite preview"
},
"dependencies": {
"@solidjs/router": "^0.9.1",
"solid-js": "^1.8.6"
"@solidjs/router": "^0.13.1",
"solid-js": "^1.8.16"
},
"devDependencies": {
"nodemon": "^3.0.1",
"typescript": "^5.3.2",
"vite": "^5.0.2",
"nodemon": "^3.1.0",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vite-plugin-pages": "workspace:*",
"vite-plugin-solid": "^2.7.2"
"vite-plugin-solid": "^2.10.2"
}
}
5 changes: 2 additions & 3 deletions examples/solid/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { render } from 'solid-js/web'
import { Router, useRoutes } from '@solidjs/router'
import { Router } from '@solidjs/router'
import routes from '~solid-pages'

render(
() => {
const Routes = useRoutes(routes)
return (
<Router>
<Routes />
{routes}
</Router>
)
},
Expand Down
8 changes: 5 additions & 3 deletions examples/solid/src/pages/[sensor].tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { Outlet } from '@solidjs/router'
import type { ParentComponent } from 'solid-js'

export default function SensorLayout() {
const SensorLayout: ParentComponent = ({ children }) => {
return (
<>
nested dynamic view:
<Outlet />
{children}
</>
)
}

export default SensorLayout
8 changes: 5 additions & 3 deletions examples/solid/src/pages/about.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { Outlet } from '@solidjs/router'
import type { ParentComponent } from 'solid-js'

export default function AboutLayout() {
const AboutLayout: ParentComponent = ({ children }) => {
return (
<div>
nested about view:
<Outlet />
{children}
</div>
)
}

export default AboutLayout
13 changes: 8 additions & 5 deletions examples/solid/src/pages/about/[id].tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Link, Outlet, useParams } from '@solidjs/router'
import { useParams } from '@solidjs/router'
import type { ParentComponent } from 'solid-js'

export default function IdLayout() {
const IdLayout: ParentComponent = ({ children }) => {
const { id } = useParams<{ id: string }>()
return (
<div>
Expand All @@ -9,10 +10,12 @@ export default function IdLayout() {
{' '}
{ id }
</div>
<Link href="/about/1b234bk12b3/more">
<a href="/about/1b234bk12b3/more">
more deep
</Link>
<Outlet />
</a>
{children}
</div>
)
}

export default IdLayout
2 changes: 1 addition & 1 deletion examples/solid/src/pages/about/[id]/more.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default function More() {
return (
<div className="deep-more">
<div class="deep-more">
deep nested: about/[id]/more.tsx
</div>
)
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/src/pages/about/[id]/nested.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default function Nested() {
return (
<div className="deep-nested">
<div class="deep-nested">
deep nested: about/[id]/nested.tsx
</div>
)
Expand Down
6 changes: 2 additions & 4 deletions examples/solid/src/pages/about/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { Link } from '@solidjs/router'

export default function Index() {
return (
<div>
about/index.tsx
<Link href="/about/1b234bk12b3">
<a href="/about/1b234bk12b3">
id: 1b234bk12b3
</Link>
</a>
</div>
)
}
14 changes: 6 additions & 8 deletions examples/solid/src/pages/blog/index.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
import { Link } from '@solidjs/router'

export default function Index() {
return (
<div>
blog/index.tsx
<Link href="/blog/1b234bk12b3">
<a href="/blog/1b234bk12b3">
id: 1b234bk12b3
</Link>
</a>
{' '}
|
<Link href="/blog/today">
<a href="/blog/today">
today
</Link>
</a>
{' '}
|
<Link href="/blog/today/xxx">
<a href="/blog/today/xxx">
child - not found
</Link>
</a>
</div>
)
}
30 changes: 14 additions & 16 deletions examples/solid/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,42 +1,40 @@
import { Link } from '@solidjs/router'

export default function Index() {
return (
<div>
<p>index.tsx</p>
<Link href="/blog">
<a href="/blog">
blog
</Link>
</a>
{' '}
|
<Link href="/about">
<a href="/about">
about
</Link>
</a>
{' '}
|
<Link href="/components">
<a href="/components">
components
</Link>
</a>
{' '}
|
<Link href="/xxx/xxx">
<a href="/xxx/xxx">
not exits
</Link>
</a>
{' '}
|
<Link href="/features/dashboard">
<a href="/features/dashboard">
features:dashboard
</Link>
</a>
{' '}
|
<Link href="/features/admin">
<a href="/features/admin">
features:admin
</Link>
</a>
{' '}
|
<Link href="/admin">
<a href="/admin">
admin
</Link>
</a>
</div>
)
}
22 changes: 11 additions & 11 deletions examples/vue-ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@
"serve": "NODE_ENV=production esno server"
},
"dependencies": {
"vue": "^3.3.8",
"vue-router": "^4.2.5"
"vue": "^3.4.21",
"vue-router": "^4.3.0"
},
"devDependencies": {
"@types/compression": "^1.7.5",
"@types/express": "^4.17.21",
"@types/node": "^20.9.4",
"@types/node": "^20.11.30",
"@types/serve-static": "^1.15.5",
"@vitejs/plugin-vue": "^4.5.0",
"@vue/compiler-sfc": "^3.3.8",
"@vue/server-renderer": "^3.3.8",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "^3.4.21",
"@vue/server-renderer": "^3.4.21",
"compression": "^1.7.4",
"esno": "^4.0.0",
"express": "^4.18.2",
"esno": "^4.7.0",
"express": "^4.19.2",
"fast-glob": "^3.3.2",
"nodemon": "^3.0.1",
"nodemon": "^3.1.0",
"serve-static": "^1.15.0",
"typescript": "^5.3.2",
"vite": "^5.0.2",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vite-plugin-pages": "workspace:*"
}
}
14 changes: 7 additions & 7 deletions examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
},
"dependencies": {
"react": "^18.2.0",
"vue": "^3.3.8",
"vue": "^3.4.21",
"vue-router": "4.2.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.5.0",
"@vue/compiler-sfc": "^3.3.8",
"nodemon": "^3.0.1",
"typescript": "^5.3.2",
"vite": "^5.0.2",
"vite-plugin-inspect": "^0.7.42",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "^3.4.21",
"nodemon": "^3.1.0",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vite-plugin-inspect": "^0.8.3",
"vite-plugin-pages": "workspace:*",
"vite-plugin-vue-markdown": "^0.23.8"
}
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vite-plugin-pages",
"type": "module",
"version": "0.32.0",
"packageManager": "pnpm@8.10.5",
"packageManager": "pnpm@8.15.5",
"description": "File system base vue-router plugin for Vite",
"author": "hannoeru <me@hanlee.co>",
"license": "MIT",
Expand Down Expand Up @@ -80,30 +80,30 @@
"json5": "^2.2.3",
"local-pkg": "^0.5.0",
"picocolors": "^1.0.0",
"yaml": "^2.3.4"
"yaml": "^2.4.1"
},
"devDependencies": {
"@antfu/eslint-config": "^2.1.0",
"@antfu/utils": "^0.7.6",
"@solidjs/router": "^0.9.1",
"@antfu/eslint-config": "^2.9.0",
"@antfu/utils": "^0.7.7",
"@solidjs/router": "^0.13.1",
"@types/deep-equal": "^1.0.4",
"@types/glob-to-regexp": "^0.4.4",
"@types/node": "^20.9.4",
"@types/node": "^20.11.30",
"@vitest/ui": "^1.4.0",
"@vue/compiler-sfc": "^3.4.21",
"bumpp": "^9.2.0",
"bumpp": "^9.4.0",
"eslint": "^8.57.0",
"esno": "^4.0.0",
"esno": "^4.7.0",
"playwright": "^1.42.1",
"react": "^18.2.0",
"react-router": "^6.22.3",
"solid-js": "^1.8.6",
"tsup": "^8.0.1",
"typescript": "^5.3.2",
"vite": "^5.0.2",
"solid-js": "^1.8.16",
"tsup": "^8.0.2",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vitest": "^1.4.0",
"vue": "^3.4.21",
"vue-router": "^4.2.5"
"vue-router": "^4.3.0"
},
"pnpm": {
"peerDependencyRules": {
Expand Down

0 comments on commit 493e6cb

Please sign in to comment.