mirror of
https://github.com/laurent22/joplin.git
synced 2026-10-25 02:47:28 +00:00
Tools: Fix website builder
This commit is contained in:
1 parent
66ef37bd4e
commit
572701d9a0
4 files changed
+8
-3
No files matched your search
@@ -23,8 +23,6 @@
|
||||
"@joplin/lib": "~2.11",
|
||||
"@joplin/renderer": "~2.11",
|
||||
"@joplin/utils": "~2.11",
|
||||
"@types/node-fetch": "2.6.2",
|
||||
"@types/yargs": "17.0.20",
|
||||
"dayjs": "1.11.7",
|
||||
"execa": "4.1.0",
|
||||
"fs-extra": "11.1.1",
|
||||
@@ -49,6 +47,8 @@
|
||||
"@types/jest": "29.2.6",
|
||||
"@types/mustache": "4.2.2",
|
||||
"@types/node": "18.11.18",
|
||||
"@types/node-fetch": "2.6.2",
|
||||
"@types/yargs": "17.0.20",
|
||||
"gettext-extractor": "3.7.0",
|
||||
"gulp": "4.0.2",
|
||||
"html-entities": "1.4.0",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/* eslint-disable import/prefer-default-export */
|
||||
|
||||
import { sleep } from './time';
|
||||
import fetch from 'node-fetch';
|
||||
|
||||
export const fetchWithRetry = async (url: string, opts: any = null) => {
|
||||
if (!opts) opts = {};
|
||||
|
||||
@@ -19,10 +19,12 @@
|
||||
"author": "",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"execa": "5.1.1"
|
||||
"execa": "5.1.1",
|
||||
"node-fetch": "2.6.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "29.5.0",
|
||||
"@types/node-fetch": "2.6.2",
|
||||
"jest": "29.5.0",
|
||||
"ts-jest": "29.0.5"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user