mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-14 00:36:48 +00:00
Upgrade dependencies
This commit is contained in:
669
package-lock.json
generated
669
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
@@ -40,11 +40,11 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "10.4.13",
|
"autoprefixer": "10.4.13",
|
||||||
"browser-sync": "2.27.12",
|
"browser-sync": "2.28.3",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "7.0.3",
|
||||||
"csso-cli": "4.0.1",
|
"csso-cli": "4.0.2",
|
||||||
"fast-xml-parser": "4.1.2",
|
"fast-xml-parser": "4.1.3",
|
||||||
"glob": "8.1.0",
|
"glob": "9.2.1",
|
||||||
"html-entities": "2.3.3",
|
"html-entities": "2.3.3",
|
||||||
"jstransformer-markdown-it": "3.0.0",
|
"jstransformer-markdown-it": "3.0.0",
|
||||||
"markdown-it": "13.0.1",
|
"markdown-it": "13.0.1",
|
||||||
@@ -60,6 +60,6 @@
|
|||||||
"postcss-nesting": "11.2.1",
|
"postcss-nesting": "11.2.1",
|
||||||
"pug": "3.0.2",
|
"pug": "3.0.2",
|
||||||
"sync-request": "6.1.0",
|
"sync-request": "6.1.0",
|
||||||
"xml-formatter": "3.3.0"
|
"xml-formatter": "3.3.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
const pug = require('pug')
|
const pug = require('pug')
|
||||||
const glob = require('glob')
|
const { globSync } = require('glob')
|
||||||
const { writeFileSync } = require('fs')
|
const { writeFileSync } = require('fs')
|
||||||
const { resolve } = require('path')
|
const { resolve } = require('path')
|
||||||
|
|
||||||
const { DEPLOY_PRIME_URL, URL } = process.env
|
const { DEPLOY_PRIME_URL, URL } = process.env
|
||||||
const BASE = DEPLOY_PRIME_URL || URL || 'https://einundzwanzig.space'
|
const BASE = DEPLOY_PRIME_URL || URL || 'https://einundzwanzig.space'
|
||||||
|
|
||||||
const html = glob.sync(resolve(__dirname, '..', `dist/**/*.html`))
|
const html = globSync(resolve(__dirname, '..', `dist/**/*.html`))
|
||||||
const pages = html.map(file => file.replace(/.*\/dist/, BASE).replace(/index\.html$/, '')).filter(f => !f.endsWith('/kontakt/') && !f.endsWith('/datenschutz/'))
|
const pages = html.map(file => file.replace(/.*\/dist/, BASE).replace(/index\.html$/, '')).filter(f => !f.endsWith('/kontakt/') && !f.endsWith('/datenschutz/'))
|
||||||
const now = (new Date()).toISOString()
|
const now = (new Date()).toISOString()
|
||||||
const file = resolve(__dirname, '..', `src/sitemap.pug`)
|
const file = resolve(__dirname, '..', `src/sitemap.pug`)
|
||||||
|
|||||||
Reference in New Issue
Block a user