Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaubree committed Oct 20, 2023
1 parent 22b5022 commit c207116
Show file tree
Hide file tree
Showing 7 changed files with 819 additions and 972 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,25 +111,32 @@ Example: ['html', 'md']

### changefreq

- **Type:** `string`
- **Type:** `string | RoutesOptionMap<string>`
- **Default:** `'daily'`

Change frequency option for sitemap.

### priority

- **Type:** `number`
- **Type:** `number | RoutesOptionMap<number>`
- **Default:** `1`

Priority option for sitemap.

### lastmod

- **Type:** `Date`
- **Type:** `Date | RoutesOptionMap<Date>`
- **Default:** `new Date()`

Last modification option for sitemap.

### RoutesOptionMap\<Type>

- **Type:** `{ [route: string]: Type }`

Used for changing `changefreq`, `priority`, or `lastmod` on a by-route level.
The (optional) route `'*'` is used as default.

### readable

- **Type:** `boolean`
Expand Down
14 changes: 7 additions & 7 deletions example/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.2.47",
"vue-router": "4.1.6"
"vue-router": "4.2.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "4.2.1",
"@vue/compiler-sfc": "3.2.47",
"@vitejs/plugin-vue": "4.4.0",
"@vue/compiler-sfc": "3.3.6",
"cross-env": "7.0.3",
"nodemon": "2.0.22",
"typescript": "5.0.4",
"vite": "4.3.3",
"vite-plugin-pages": "0.29.0",
"nodemon": "3.0.1",
"typescript": "5.2.2",
"vite": "4.5.0",
"vite-plugin-pages": "0.31.0",
"vite-plugin-sitemap": "workspace:*"
}
}
3 changes: 2 additions & 1 deletion example/src/shims-vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>

const component: DefineComponent<object, object, any>
export default component
}
26 changes: 13 additions & 13 deletions example/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"compilerOptions": {
"baseUrl": ".",
"module": "ESNext",
"incremental": true,
"target": "es2016",
"lib": ["DOM", "ESNext"],
"strict": true,
"esModuleInterop": true,
"incremental": true,
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "node",
"resolveJsonModule": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"paths": {
"~/*": ["src/*"]
},
"types": [
"vite/client",
"vite-plugin-pages/client"
],
"paths": {
"~/*": ["src/*"]
}
"resolveJsonModule": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"skipLibCheck": true
},
"exclude": ["dist", "node_modules"]
}
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vite-plugin-sitemap",
"version": "0.4.2",
"packageManager": "pnpm@8.3.1",
"packageManager": "pnpm@8.9.2",
"description": "Sitemap generator plugin for Vite",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand All @@ -19,15 +19,15 @@
"typecheck": "vue-tsc --noEmit"
},
"devDependencies": {
"@antfu/eslint-config": "0.38.5",
"@types/node": "18.16.3",
"eslint": "8.39.0",
"pkgroll": "1.9.0",
"pnpm": "8.3.1",
"sitemap-ts": "1.4.0",
"typescript": "5.0.4",
"vite": "4.3.3",
"vite-plugin-pages": "0.29.0",
"vue-tsc": "1.6.1"
"@antfu/eslint-config": "0.43.1",
"@types/node": "18.18.6",
"eslint": "8.51.0",
"pkgroll": "2.0.1",
"pnpm": "8.9.2",
"sitemap-ts": "1.5.0",
"typescript": "5.2.2",
"vite": "4.5.0",
"vite-plugin-pages": "0.31.0",
"vue-tsc": "1.8.19"
}
}
Loading

0 comments on commit c207116

Please sign in to comment.