diff --git a/package.json b/package.json index aa62688a9..020e8b05d 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,7 @@ "chai-subset": "1.6.0", "cheerio": "^1.0.0", "contributor-faces": "1.1.0", - "documentation": "12.3.0", + "documentation": "14.0.3", "electron": "33.2.0", "eslint": "8.57.0", "eslint-config-airbnb-base": "15.0.0", diff --git a/runok.js b/runok.js index 6e9f09989..ca24886f6 100755 --- a/runok.js +++ b/runok.js @@ -2,7 +2,7 @@ const fs = require('fs') const path = require('path') const axios = require('axios') -const documentation = require('documentation') + const { stopOnFail, chdir, @@ -13,6 +13,10 @@ const contributors = require('contributor-faces') const { execSync } = require('node:child_process') const semver = require('semver') +let documentation + +import('documentation').then((mod) => (documentation = mod)) + const helperMarkDownFile = function (name) { return `docs/helpers/${name}.md` }