vite-ssg-sitemap
Advanced tools
Comparing version 0.4.3 to 0.5.0
@@ -50,2 +50,8 @@ interface RobotOption { | ||
/** | ||
* String with base path. | ||
* Example: '/mysubpath' | ||
* @default '' | ||
*/ | ||
basePath: string; | ||
/** | ||
* Output directory | ||
@@ -77,3 +83,3 @@ * @default 'dist' | ||
/** | ||
* Converts XML into a human readable format | ||
* Converts XML into a human-readable format | ||
* @default false | ||
@@ -83,2 +89,7 @@ */ | ||
/** | ||
* Enables robots.txt file generation | ||
* @default true | ||
*/ | ||
generateRobotsTxt: boolean; | ||
/** | ||
* Robots policy | ||
@@ -89,3 +100,3 @@ * @default [{ userAgent: '*', allow: '/' }] | ||
} | ||
declare type UserOptions = Partial<Options>; | ||
type UserOptions = Partial<Options>; | ||
@@ -92,0 +103,0 @@ declare function generateSitemap(options?: UserOptions): void; |
{ | ||
"name": "vite-ssg-sitemap", | ||
"version": "0.4.3", | ||
"packageManager": "pnpm@7.12.1", | ||
"version": "0.5.0", | ||
"packageManager": "pnpm@8.3.1", | ||
"description": "sitemap generator working with vite-ssg", | ||
@@ -22,11 +22,12 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@antfu/eslint-config": "0.27.0", | ||
"@types/node": "18.7.18", | ||
"eslint": "8.23.1", | ||
"pkgroll": "1.4.0", | ||
"sitemap-ts": "1.1.0", | ||
"typescript": "4.8.3", | ||
"vite": "3.1.3", | ||
"vue-tsc": "0.40.13" | ||
"@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.3.0", | ||
"typescript": "5.0.4", | ||
"vite": "4.3.3", | ||
"vue-tsc": "1.6.1" | ||
} | ||
} |
@@ -135,2 +135,9 @@ # vite-ssg-sitemap | ||
### generateRobotsTxt | ||
- **Type:** `boolean` | ||
- **Default:** `true` | ||
Enables robots.txt file generation | ||
### robots | ||
@@ -137,0 +144,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
679691
19662
157
9