vite-plugin-pages-sitemap
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -61,3 +61,3 @@ /** | ||
} | ||
declare type UserOptions = Partial<Options>; | ||
type UserOptions = Partial<Options>; | ||
interface ResolvedOptions extends Options { | ||
@@ -64,0 +64,0 @@ } |
{ | ||
"name": "vite-plugin-pages-sitemap", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "vite-plugin-pages based sitemap generator", | ||
@@ -13,3 +13,3 @@ "license": "MIT", | ||
"scripts": { | ||
"build": "tsup src/index.ts --dts --format cjs,esm", | ||
"build": "tsup", | ||
"dev": "npm run build -- --watch", | ||
@@ -23,14 +23,14 @@ "example:dev": "npm -C example run dev", | ||
"devDependencies": { | ||
"@antfu/eslint-config": "0.27.0", | ||
"@antfu/utils": "0.5.2", | ||
"@types/node": "18.7.23", | ||
"@vitest/coverage-c8": "0.23.4", | ||
"eslint": "8.24.0", | ||
"@antfu/eslint-config": "0.34.0", | ||
"@antfu/utils": "0.7.2", | ||
"@types/node": "18.11.15", | ||
"@vitest/coverage-c8": "0.25.8", | ||
"eslint": "8.29.0", | ||
"sitemap": "7.1.1", | ||
"tsup": "6.2.3", | ||
"typescript": "4.8.4", | ||
"vite": "3.1.4", | ||
"vitest": "0.23.4", | ||
"tsup": "6.5.0", | ||
"typescript": "4.9.4", | ||
"vite": "3.2.5", | ||
"vitest": "0.25.8", | ||
"xml-formatter": "2.6.1" | ||
} | ||
} |
@@ -49,3 +49,3 @@ # vite-plugin-pages-sitemap | ||
Pages({ | ||
onRoutesGenerated: async(routes) => { | ||
onRoutesGenerated: async (routes) => { | ||
const users = await api.get('/users') | ||
@@ -76,2 +76,9 @@ const dynamicRoutes = users.map(user => `/users/${user.name}`) | ||
### exclude | ||
- **Type:** `string[]` | ||
- **Default:** `[]` | ||
Excluded routes for sitemap. | ||
### filename | ||
@@ -78,0 +85,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
796888
8
7765
141