@studyportals/fawkes 6.0.1-3 → 6.0.1-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17,7 +17,7 @@ export declare abstract class BaseSeoIndexabilityPolicy<TDependencies extends ID
|
|
|
17
17
|
generateSitemapUrls(): Promise<string[]>;
|
|
18
18
|
protected isIndexable(): Promise<boolean>;
|
|
19
19
|
protected checkRulesForSearch(dependencies: ISearchDependencies): Promise<boolean>;
|
|
20
|
-
|
|
20
|
+
checkRulesForSitemap(filterKeyValues: FilterKeyValuesMap): Promise<boolean>;
|
|
21
21
|
protected isIndexabilityPolicyDependencies(): boolean;
|
|
22
22
|
protected isSitemapUrlGeneratorDependencies(): boolean;
|
|
23
23
|
getAllRules(): IRule[];
|
|
@@ -22,8 +22,7 @@ export class Area extends ProgrammesBaseIndexabilityPolicy {
|
|
|
22
22
|
const paths = [];
|
|
23
23
|
for (const area of areaFragments) {
|
|
24
24
|
const filterKeyValues = new Map([
|
|
25
|
-
[FilterKey.AREA, [area.id]]
|
|
26
|
-
[FilterKey.COUNTRY, [area.countryId]]
|
|
25
|
+
[FilterKey.AREA, [area.id]]
|
|
27
26
|
]);
|
|
28
27
|
const result = await this.checkRulesForSitemap(filterKeyValues);
|
|
29
28
|
if (result) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@studyportals/fawkes",
|
|
3
|
-
"version": "6.0.1-
|
|
3
|
+
"version": "6.0.1-5",
|
|
4
4
|
"description": "A package to centralize SEO related logic for SBLP and Sitemap Generator.",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"publish-beta": "npm run prepare-deployment && npm version prerelease && npm publish --tag beta --access=public",
|
|
17
17
|
"prepare": "husky install",
|
|
18
18
|
"test": "vitest run --coverage",
|
|
19
|
-
"test:dev": "vitest --coverage",
|
|
19
|
+
"test:dev": "vitest --coverage tests/programmes",
|
|
20
20
|
"lint": "eslint . --ext .ts",
|
|
21
21
|
"lint:fix": "eslint . --ext .ts --fix",
|
|
22
22
|
"prettier:fix": "npx prettier --use-tabs --ignore-path .gitignore --write ."
|