From 741f0adddd05a2562e4e22163a3aa565a8c67dad Mon Sep 17 00:00:00 2001 From: sand4rt Date: Mon, 1 Jul 2024 11:38:17 +0200 Subject: [PATCH] fix: missing cli file --- playwright-ct-web/cli.js | 4 +++- playwright-ct-web/package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/playwright-ct-web/cli.js b/playwright-ct-web/cli.js index 14f0c7d..2cc1ab5 100755 --- a/playwright-ct-web/cli.js +++ b/playwright-ct-web/cli.js @@ -14,4 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -module.exports = require('@playwright/experimental-ct-core/cli'); +const { program } = require('@playwright/experimental-ct-core/lib/program'); + +program.parse(process.argv); diff --git a/playwright-ct-web/package.json b/playwright-ct-web/package.json index 610707f..5e5831d 100644 --- a/playwright-ct-web/package.json +++ b/playwright-ct-web/package.json @@ -11,7 +11,7 @@ "url": "https://github.com/sand4rt/playwright-ct-web/issues" }, "engines": { - "node": ">=14" + "node": ">=18" }, "author": { "name": "sand4rt"