From 6bbfc85120a9635feace25d357ae633d480a5791 Mon Sep 17 00:00:00 2001 From: Marcus Notheis Date: Mon, 11 Sep 2023 08:29:02 +0200 Subject: [PATCH] fix(cypress-commands): add main entrypoint (#5051) Some tools like `eslint-plugin-import` rely on the presence of the `main` field in the package.json. Fixes #5049 --- packages/cypress-commands/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/cypress-commands/package.json b/packages/cypress-commands/package.json index a1a462025a9..9e005961ac4 100644 --- a/packages/cypress-commands/package.json +++ b/packages/cypress-commands/package.json @@ -6,11 +6,13 @@ "version": "1.19.0", "type": "module", "types": "./dist/index.d.ts", + "main": "./dist/index.js", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" - } + }, + "./package.json": "./package.json" }, "repository": { "type": "git",