@studyportals/fawkes 1.0.1-9 → 2.0.0-21
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.
- package/dist/fawkes.js +2 -0
- package/dist/fawkes.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/organisations-seo/index.d.ts +0 -2
- package/dist/organisations-seo/index.js +1 -0
- package/dist/scholarships-seo/index.d.ts +8 -3
- package/dist/scholarships-seo/index.js +3 -0
- package/dist/scholarships-seo.js +1 -1
- package/dist/scholarships-seo.js.map +1 -1
- package/dist/sitemap-generator-seo/index.js +1 -0
- package/dist/src/common/BaseSeoIndexabilityPolicy.d.ts +10 -5
- package/dist/src/common/BaseSeoIndexabilityPolicy.js +15 -0
- package/dist/src/common/DisciplinePresenter.d.ts +6 -0
- package/dist/src/common/DisciplinePresenter.js +47 -0
- package/dist/src/common/IPrettyPathGenerator.js +1 -0
- package/dist/src/common/IRankingApiClient.js +1 -0
- package/dist/src/common/ISearchIndexabilityManager.js +1 -0
- package/dist/src/common/ISeoFilterOptions.js +1 -0
- package/dist/src/common/ISeoFilterState.js +1 -0
- package/dist/src/common/ISeoIndexabilityPolicy.js +1 -0
- package/dist/src/common/ISeoInfoBase.js +1 -0
- package/dist/src/common/ISeoSearchApplicationState.js +1 -0
- package/dist/src/common/fragments/Fragment.d.ts +6 -0
- package/dist/src/common/fragments/Fragment.js +8 -0
- package/dist/src/common/fragments/IFragment.d.ts +4 -0
- package/dist/src/common/fragments/IFragment.js +1 -0
- package/dist/src/common/index.d.ts +2 -1
- package/dist/src/common/index.js +1 -0
- package/dist/src/organisations/FilterKeyValuePairs.js +1 -0
- package/dist/src/organisations/IOrganisationsProvider.js +1 -0
- package/dist/src/organisations/ISeoInfoBaseOrganisations.js +1 -0
- package/dist/src/organisations/ISortState.js +1 -0
- package/dist/src/organisations/SearchIndexabilityManager.js +6 -0
- package/dist/src/organisations/SeoIndexabilityPolicy.d.ts +1 -1
- package/dist/src/organisations/SeoIndexabilityPolicy.js +12 -0
- package/dist/src/organisations/SeoRuleBasedIndexabilityPolicy.d.ts +1 -1
- package/dist/src/organisations/SeoRuleBasedIndexabilityPolicy.js +6 -0
- package/dist/src/organisations/SortingOptions.js +5 -0
- package/dist/src/organisations/index.d.ts +0 -2
- package/dist/src/organisations/index.js +1 -0
- package/dist/src/scholarships/CustomRules.d.ts +6 -0
- package/dist/src/scholarships/CustomRules.js +18 -0
- package/dist/src/scholarships/SearchIndexabilityManager.d.ts +7 -3
- package/dist/src/scholarships/SearchIndexabilityManager.js +22 -0
- package/dist/src/scholarships/index.d.ts +2 -1
- package/dist/src/scholarships/index.js +4 -0
- package/dist/src/scholarships/policies/AreaPolicy.d.ts +10 -8
- package/dist/src/scholarships/policies/AreaPolicy.js +27 -0
- package/dist/src/scholarships/policies/CountryPolicy.d.ts +6 -4
- package/dist/src/scholarships/policies/CountryPolicy.js +17 -0
- package/dist/src/scholarships/policies/DisciplineAreaPolicy.d.ts +10 -4
- package/dist/src/scholarships/policies/DisciplineAreaPolicy.js +34 -0
- package/dist/src/scholarships/policies/DisciplineCountryPolicy.d.ts +10 -7
- package/dist/src/scholarships/policies/DisciplineCountryPolicy.js +26 -0
- package/dist/src/scholarships/policies/DisciplinePolicy.d.ts +6 -4
- package/dist/src/scholarships/policies/DisciplinePolicy.js +17 -0
- package/dist/src/scholarships/policies/UnfilteredPolicy.d.ts +6 -4
- package/dist/src/scholarships/policies/UnfilteredPolicy.js +12 -0
- package/dist/src/scholarships/policies/UniversityCountryPolicy.d.ts +6 -4
- package/dist/src/scholarships/policies/UniversityCountryPolicy.js +21 -0
- package/dist/src/scholarships/types.d.ts +7 -0
- package/dist/src/scholarships/types.js +7 -0
- package/dist/src/sitemap-generator/CombinationType.js +3 -0
- package/dist/src/sitemap-generator/ISitemapPathGeneratorChain.js +1 -0
- package/dist/src/sitemap-generator/SitemapPathGeneratorChain.js +9 -0
- package/dist/src/sitemap-generator/index.d.ts +0 -1
- package/dist/src/sitemap-generator/index.js +2 -0
- package/package.json +20 -18
- package/dist/src/organisations/SearchPolicyChain.d.ts +0 -5
- /package/dist/src/{sitemap-generator → common}/IRankingApiClient.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@studyportals/fawkes",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-21",
|
|
4
4
|
"description": "A package to centralize SEO related logic for SBLP and Sitemap Generator.",
|
|
5
|
-
"
|
|
6
|
-
"main": "dist/fawkes.js",
|
|
5
|
+
"main": "dist/index.js",
|
|
7
6
|
"files": [
|
|
8
7
|
"./dist"
|
|
9
8
|
],
|
|
10
9
|
"scripts": {
|
|
11
|
-
"prepush": "
|
|
10
|
+
"prepush": "npm run test",
|
|
12
11
|
"precommit": "npm run lint",
|
|
13
|
-
"compile": "
|
|
14
|
-
"build": "npm run clean && npm run
|
|
12
|
+
"compile": "npx tsc && rm -r ./dist/tests",
|
|
13
|
+
"build": "npm run clean && npm run compile && webpack --mode production",
|
|
15
14
|
"clean": "rimraf \"!(node_modules)/**/dist\"",
|
|
16
|
-
"prepare-deployment": "
|
|
15
|
+
"prepare-deployment": "npm run test && npm run build",
|
|
16
|
+
"publish-major": "npm version major && npm publish",
|
|
17
17
|
"publish-beta": "npm run prepare-deployment && npm version prerelease && npm publish --tag beta --access=public",
|
|
18
|
-
"build:all": "webpack --stats-error-details --config webpack.config.js --mode production",
|
|
19
18
|
"prepare": "husky install",
|
|
20
|
-
"test": "vitest --coverage",
|
|
19
|
+
"test": "vitest run --coverage",
|
|
20
|
+
"test:dev": "vitest --coverage",
|
|
21
21
|
"lint": "eslint . --ext .ts",
|
|
22
22
|
"lint:fix": "eslint . --ext .ts --fix"
|
|
23
23
|
},
|
|
24
24
|
"exports": {
|
|
25
25
|
"./organisations-search-seo": "./dist/organisations-seo.js",
|
|
26
|
-
"./
|
|
26
|
+
"./scholarships-search-seo": {
|
|
27
|
+
"import": "./dist/scholarships-seo.js",
|
|
28
|
+
"require": "./dist/scholarships-seo.js",
|
|
29
|
+
"types": "./dist/scholarships-seo/index.d.ts"
|
|
30
|
+
},
|
|
27
31
|
"./sitemap-generator-seo": "./dist/sitemap-generator-seo.js"
|
|
28
32
|
},
|
|
29
33
|
"typesVersions": {
|
|
30
34
|
"*": {
|
|
31
|
-
"organisations-search-seo": [
|
|
32
|
-
"./dist/organisations-seo/index.d.ts"
|
|
33
|
-
],
|
|
34
35
|
"scholarships-search-seo": [
|
|
35
|
-
"
|
|
36
|
+
"dist/scholarships-seo/index.d.ts"
|
|
36
37
|
],
|
|
37
|
-
"
|
|
38
|
-
"
|
|
38
|
+
"*": [
|
|
39
|
+
"dist/index.d.ts"
|
|
39
40
|
]
|
|
40
41
|
}
|
|
41
42
|
},
|
|
@@ -54,10 +55,11 @@
|
|
|
54
55
|
"dependencies": {
|
|
55
56
|
"@studyportals/ranking-api-interface": "^1.3.12",
|
|
56
57
|
"@studyportals/search-filters": "^4.9.1",
|
|
58
|
+
"@studyportals/static-domain-data": "^6.1.1",
|
|
57
59
|
"ts-loader": "^9.5.2"
|
|
58
60
|
},
|
|
59
61
|
"engines": {
|
|
60
|
-
"node": ">=
|
|
61
|
-
"npm": ">=
|
|
62
|
+
"node": ">= 22.0.0",
|
|
63
|
+
"npm": ">= 10.0.0"
|
|
62
64
|
}
|
|
63
65
|
}
|
|
File without changes
|