@newskit-render/feed 0.26.0 → 0.26.2-alpha.0
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/README.md +4 -4
- package/package.json +14 -13
package/README.md
CHANGED
|
@@ -87,7 +87,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) =>
|
|
|
87
87
|
res,
|
|
88
88
|
query: req.query,
|
|
89
89
|
publisher: process.env.PUBLISHER as PublisherGroup,
|
|
90
|
-
domain: new URL(
|
|
90
|
+
domain: new URL(getHost(req)).host,
|
|
91
91
|
firstArticleDate: process.env.SITEMAP_FIRST_PUBLICATION_DATE,
|
|
92
92
|
publicationName: process.env.SITEMAP_PUBLICATION_NAME,
|
|
93
93
|
customStaticPageCollection: defaultCustomStaticPagesCollection,
|
|
@@ -127,7 +127,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) =>
|
|
|
127
127
|
newsSitemap({
|
|
128
128
|
res,
|
|
129
129
|
publisher: process.env.PUBLISHER as PublisherGroup,
|
|
130
|
-
domain: new URL(
|
|
130
|
+
domain: new URL(getHost(req)).host,
|
|
131
131
|
publicationName: process.env.SITEMAP_PUBLICATION_NAME,
|
|
132
132
|
})
|
|
133
133
|
|
|
@@ -164,13 +164,13 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) =>
|
|
|
164
164
|
res,
|
|
165
165
|
titeAttributes: {
|
|
166
166
|
title: 'Demo Site',
|
|
167
|
-
link:
|
|
167
|
+
link: `/feed`,
|
|
168
168
|
description: 'Newskit Render Demo site',
|
|
169
169
|
lastBuildDate: new Date().toUTCString(),
|
|
170
170
|
language: 'en-US',
|
|
171
171
|
updatePeriod: 'hourly' as UpdatePeriod,
|
|
172
172
|
updateFrequency: 1,
|
|
173
|
-
logoUrl:
|
|
173
|
+
logoUrl: `/favicon.ico`,
|
|
174
174
|
},
|
|
175
175
|
})
|
|
176
176
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newskit-render/feed",
|
|
3
|
-
"version": "0.26.0",
|
|
3
|
+
"version": "0.26.2-alpha.0",
|
|
4
4
|
"description": "Newskit Render - Feed package",
|
|
5
5
|
"author": "",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -25,19 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@apollo/client": "3.3.7",
|
|
28
|
-
"@newskit-render/api": "^0.36.0",
|
|
29
|
-
"cross-fetch": "3.1.5",
|
|
28
|
+
"@newskit-render/api": "^0.36.2-alpha.0",
|
|
30
29
|
"graphql": "15.6.0",
|
|
31
|
-
"lodash.escape": "4.0.1"
|
|
32
|
-
"react": "17.0.2"
|
|
33
|
-
},
|
|
34
|
-
"resolutions": {
|
|
35
|
-
"@types/react": "^17.0.1",
|
|
36
|
-
"@types/react-dom": "^17.0.2"
|
|
37
|
-
},
|
|
38
|
-
"overrides": {
|
|
39
|
-
"@types/react": "^17.0.1",
|
|
40
|
-
"@types/react-dom": "^17.0.2"
|
|
30
|
+
"lodash.escape": "4.0.1"
|
|
41
31
|
},
|
|
42
32
|
"devDependencies": {
|
|
43
33
|
"@types/jest": "27.0.2",
|
|
@@ -50,9 +40,20 @@
|
|
|
50
40
|
"jest-junit": "12.0.0",
|
|
51
41
|
"next": "12.1.0",
|
|
52
42
|
"prettier": "2.2.1",
|
|
43
|
+
"react": "17.0.2",
|
|
53
44
|
"ts-jest": "27.1.3",
|
|
54
45
|
"typescript": "4.4.3"
|
|
55
46
|
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"next": "12.1.0",
|
|
49
|
+
"react": "17.0.2"
|
|
50
|
+
},
|
|
51
|
+
"resolutions": {
|
|
52
|
+
"@types/react": "^17.0.1"
|
|
53
|
+
},
|
|
54
|
+
"overrides": {
|
|
55
|
+
"@types/react": "^17.0.1"
|
|
56
|
+
},
|
|
56
57
|
"publishConfig": {
|
|
57
58
|
"access": "public"
|
|
58
59
|
}
|