Merge branch 'master' into discord-oauth

This commit is contained in:
Mrigank Badola
2024-11-12 21:24:24 +05:30
committed by GitHub
20 changed files with 4489 additions and 3089 deletions
+1
View File
@@ -0,0 +1 @@
20
+2 -1
View File
@@ -10,6 +10,7 @@
"node": ">=20.11.1",
"yarn": ">=1.22"
},
"packageManager": "yarn@1.22.22",
"scripts": {
"start": "npm-run-all dev",
"dev": "npm-run-all -l clean build:css -p dev:css dev:11ty",
@@ -21,7 +22,7 @@
"clean": "rm -rf .tmp/* build/*"
},
"devDependencies": {
"@11ty/eleventy": "^3.0.0",
"@11ty/eleventy": "^2.0.1",
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
"@tailwindcss/typography": "^0.5.15",
"cross-env": "^7.0.3",
+1 -1
View File
@@ -6,7 +6,7 @@ module.exports = async function getLatestReleaseVersion() {
return currentData
}
try {
const fetch = await import('node-fetch')
const fetch = (await import('node-fetch')).default;
const res = await fetch(
'https://api.github.com/repos/umputun/remark42/releases'
)
+1 -1
View File
@@ -21,7 +21,7 @@ While developing, we set up environment which imitates real world example. We se
You must have at least 2GB RAM or swap enabled for building.
- install [Node.js 16](https://nodejs.org/en/) or higher (we recommend using [NVM](https://github.com/nvm-sh/nvm) for node version autoswitch)
- install [PNPM 7](https://pnpm.io/installation)
- install [PNPM 8](https://pnpm.io/installation)
- run `pnpm i` inside `./frontend`
Running `pnpm i` will set up pre-commit hooks into your git repository. They are used to reformat your frontend code using `prettier` and lint with `eslint` and `stylelint` before every commit.
+810 -543
View File
File diff suppressed because it is too large Load Diff