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 -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.