From d0f9c8cf0c6c5c8e2149afb40a32645d9d154971 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Mon, 24 Jul 2023 14:25:05 +0200 Subject: [PATCH] Deduplicated `eslint` and `eslint-plugin-ghost` to top-level package.json refs https://github.com/TryGhost/DevOps/issues/50 - this deduplicates where we define the version of `eslint` and `eslint-plugin-ghost` so it's easier to maintain --- apps/admin-x-settings/package.json | 2 -- apps/announcement-bar/package.json | 1 - apps/comments-ui/package.json | 2 -- apps/portal/package.json | 1 - apps/signup-form/package.json | 2 -- apps/sodo-search/package.json | 1 - ghost/admin/package.json | 3 +-- ghost/core/package.json | 1 - package.json | 1 + 9 files changed, 2 insertions(+), 12 deletions(-) diff --git a/apps/admin-x-settings/package.json b/apps/admin-x-settings/package.json index 62a2c25e59..4f89294d08 100644 --- a/apps/admin-x-settings/package.json +++ b/apps/admin-x-settings/package.json @@ -72,9 +72,7 @@ "@vitejs/plugin-react": "4.0.3", "autoprefixer": "10.4.14", "concurrently": "8.2.0", - "eslint": "8.44.0", "eslint-config-react-app": "7.0.1", - "eslint-plugin-ghost": "3.2.0", "eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-react-refresh": "0.4.3", "eslint-plugin-tailwindcss": "3.13.0", diff --git a/apps/announcement-bar/package.json b/apps/announcement-bar/package.json index ebc506ca1f..118aee2701 100644 --- a/apps/announcement-bar/package.json +++ b/apps/announcement-bar/package.json @@ -79,7 +79,6 @@ "chalk": "4.1.2", "chokidar": "3.5.3", "copy-webpack-plugin": "11.0.0", - "eslint-plugin-ghost": "3.2.0", "minimist": "1.2.8", "nock": "13.3.1", "postcss": "8.4.27", diff --git a/apps/comments-ui/package.json b/apps/comments-ui/package.json index e9e633f788..4fecd9917f 100644 --- a/apps/comments-ui/package.json +++ b/apps/comments-ui/package.json @@ -69,8 +69,6 @@ "autoprefixer": "10.4.14", "bson-objectid": "2.0.4", "concurrently": "8.2.0", - "eslint": "8.44.0", - "eslint-plugin-ghost": "3.2.0", "eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-react-refresh": "0.4.3", "eslint-plugin-tailwindcss": "3.13.0", diff --git a/apps/portal/package.json b/apps/portal/package.json index 90919f5e10..6f1f0da46f 100644 --- a/apps/portal/package.json +++ b/apps/portal/package.json @@ -73,7 +73,6 @@ "@vitest/ui": "0.33.0", "concurrently": "8.2.0", "cross-fetch": "4.0.0", - "eslint": "8.44.0", "eslint-config-react-app": "7.0.1", "eslint-plugin-i18next": "^6.0.1", "jsdom": "22.1.0", diff --git a/apps/signup-form/package.json b/apps/signup-form/package.json index 4727361762..a1ab5ff111 100644 --- a/apps/signup-form/package.json +++ b/apps/signup-form/package.json @@ -56,9 +56,7 @@ "@vitejs/plugin-react": "4.0.3", "autoprefixer": "10.4.14", "concurrently": "8.2.0", - "eslint": "8.44.0", "eslint-config-react-app": "7.0.1", - "eslint-plugin-ghost": "3.2.0", "eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-react-refresh": "0.4.3", "eslint-plugin-tailwindcss": "3.13.0", diff --git a/apps/sodo-search/package.json b/apps/sodo-search/package.json index 6b7b81b536..e6881c471a 100644 --- a/apps/sodo-search/package.json +++ b/apps/sodo-search/package.json @@ -81,7 +81,6 @@ "chalk": "4.1.2", "chokidar": "3.5.3", "copy-webpack-plugin": "11.0.0", - "eslint-plugin-ghost": "3.2.0", "minimist": "1.2.8", "nock": "13.3.1", "ora": "5.4.1", diff --git a/ghost/admin/package.json b/ghost/admin/package.json index 7df91c2f25..460ff6cce8 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -121,7 +121,6 @@ "ember-tooltips": "3.6.0", "ember-truth-helpers": "3.1.1", "ember-websockets": "10.2.1", - "eslint": "8.44.0", "eslint-plugin-babel": "5.3.1", "eslint-plugin-react": "7.32.2", "faker": "5.5.3", @@ -184,4 +183,4 @@ "path-browserify": "1.0.1", "webpack": "5.88.2" } -} \ No newline at end of file +} diff --git a/ghost/core/package.json b/ghost/core/package.json index 0e1486b2c5..db73ab830e 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -234,7 +234,6 @@ "c8": "7.14.0", "cli-progress": "3.12.0", "cssnano": "6.0.1", - "eslint": "8.44.0", "expect": "29.3.1", "form-data": "4.0.0", "inquirer": "8.2.5", diff --git a/package.json b/package.json index e1212a062a..4dea90b4e5 100644 --- a/package.json +++ b/package.json @@ -121,6 +121,7 @@ }, "devDependencies": { "concurrently": "8.2.0", + "eslint": "8.44.0", "eslint-plugin-ghost": "3.2.0", "husky": "8.0.3", "lint-staged": "13.2.3",