@studyportals/fawkes 7.4.0 → 7.4.1
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.
|
@@ -10,7 +10,7 @@ export class ProgrammeStructuredDataFactory extends SearchStructuredDataFactory
|
|
|
10
10
|
if (typeof card.getReviewRating === 'undefined')
|
|
11
11
|
return;
|
|
12
12
|
const rating = card.getReviewRating();
|
|
13
|
-
if (!rating)
|
|
13
|
+
if (!rating || !rating.hasEnoughQuantity())
|
|
14
14
|
return;
|
|
15
15
|
return {
|
|
16
16
|
rating: rating?.getAverageStarRating(),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../src/structured-data';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../src/structured-data';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../src/structured-data';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../src/structured-data';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@studyportals/fawkes",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.1",
|
|
4
4
|
"description": "A package to centralize SEO related logic for SBLP and Sitemap Generator.",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"publish-major": "npm run prepare-deployment && npm version major && npm publish",
|
|
16
16
|
"publish-beta": "npm run prepare-deployment && npm version prerelease && npm publish --tag beta --access=public",
|
|
17
17
|
"publish-patch": "npm run prepare-deployment && npm version patch && npm publish",
|
|
18
|
-
"publish-minor": "npm run prepare-deployment && npm publish",
|
|
18
|
+
"publish-minor": "npm run prepare-deployment && npm version minor && npm publish",
|
|
19
19
|
"prepare": "husky install",
|
|
20
20
|
"test": "vitest run --coverage",
|
|
21
21
|
"test:dev": "vitest --coverage tests/programmes",
|