From b2ec27ec4ce461b5c4f7e18d3cc2bde85c453168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Chalk?= Date: Tue, 9 Apr 2024 11:52:04 +0200 Subject: [PATCH] fix(utils): add missing esbuild dependency (peer of bundle-require) --- package-lock.json | 2 +- package.json | 2 +- packages/utils/.eslintrc.json | 7 ++++++- packages/utils/package.json | 1 + 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index eb47dc91e..db648ff66 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,6 +16,7 @@ "bundle-require": "^4.0.1", "chalk": "^5.3.0", "cli-table3": "^0.6.3", + "esbuild": "^0.19.2", "multi-progress-bars": "^5.0.3", "parse-lcov": "^1.0.4", "simple-git": "^3.20.0", @@ -59,7 +60,6 @@ "commitlint-plugin-tense": "^1.0.2", "conventional-changelog-angular": "^7.0.0", "dotenv": "^16.3.1", - "esbuild": "^0.19.2", "eslint": "~8.56.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-deprecation": "^2.0.0", diff --git a/package.json b/package.json index 3c6825cc9..f73126339 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "bundle-require": "^4.0.1", "chalk": "^5.3.0", "cli-table3": "^0.6.3", + "esbuild": "^0.19.2", "multi-progress-bars": "^5.0.3", "parse-lcov": "^1.0.4", "simple-git": "^3.20.0", @@ -96,7 +97,6 @@ "commitlint-plugin-tense": "^1.0.2", "conventional-changelog-angular": "^7.0.0", "dotenv": "^16.3.1", - "esbuild": "^0.19.2", "eslint": "~8.56.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-deprecation": "^2.0.0", diff --git a/packages/utils/.eslintrc.json b/packages/utils/.eslintrc.json index 9e0a8129b..0033922df 100644 --- a/packages/utils/.eslintrc.json +++ b/packages/utils/.eslintrc.json @@ -17,7 +17,12 @@ "files": ["*.json"], "parser": "jsonc-eslint-parser", "rules": { - "@nx/dependency-checks": ["error"] + "@nx/dependency-checks": [ + "error", + { + "ignoredDependencies": ["esbuild"] // esbuild is a peer dependency of bundle-require + } + ] } } ] diff --git a/packages/utils/package.json b/packages/utils/package.json index e7df2ba6c..9aecadf37 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -4,6 +4,7 @@ "dependencies": { "@code-pushup/models": "0.35.0", "bundle-require": "^4.0.1", + "esbuild": "^0.19.2", "chalk": "^5.3.0", "@isaacs/cliui": "^8.0.2", "simple-git": "^3.20.0",