Merge pull request #76 from tmshv/upd/next-101

next 10.1
This commit is contained in:
tmshv authored and GitHub committed 2021-04-05 17:15:30 +03:00
commit 58bcd8b857
5 files changed
+7223 -3651

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
APP_CARD_DEFAULT_IMAGE=https://art.shlisselburg.org/static/img/main.jpg
-1
View File
@@ -12,7 +12,6 @@ private*.json
/out /out
dist dist
.next .next
**/env
**/venv **/venv
**/__pycache__ **/__pycache__
**/*.pyc **/*.pyc
+3 -4
View File
@@ -1,13 +1,12 @@
module.exports = { module.exports = {
trailingSlash: false, trailingSlash: false,
env: {
APP_ARTICLES_PAGE_SIZE: 24,
APP_CARD_DEFAULT_IMAGE: 'https://art.shlisselburg.org/static/img/main.jpg',
},
images: { images: {
domains: [ domains: [
'hudozkacdn.tmshv.com', 'hudozkacdn.tmshv.com',
'images.weserv.nl', 'images.weserv.nl',
], ],
}, },
future: {
webpack5: true,
}
} }
+7216 -3643
View File
File diff suppressed because it is too large. Load diff
+2 -3
View File
@@ -6,8 +6,7 @@
"scripts": { "scripts": {
"start": "next start", "start": "next start",
"dev": "next", "dev": "next",
"build": "npm run next-build && npm run sitemap && npm run feed", "build": "next build",
"next-build": "next build",
"sitemap": "node scripts/sitemap.js", "sitemap": "node scripts/sitemap.js",
"feed": "node scripts/feed.js" "feed": "node scripts/feed.js"
}, },
@@ -23,7 +22,7 @@
"date-fns": "^2.11.1", "date-fns": "^2.11.1",
"lodash": "^4.17.19", "lodash": "^4.17.19",
"markdown-it": "^10.0.0", "markdown-it": "^10.0.0",
"next": "^10.0.6", "next": "^10.1.3",
"react": "^17.0.1", "react": "^17.0.1",
"react-dom": "^17.0.1", "react-dom": "^17.0.1",
"sitemap": "^1.5.0", "sitemap": "^1.5.0",