From f0d3a7c0f322411425fb4eb30f5b0888a22830da Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Wed, 4 Sep 2024 21:14:13 +0200 Subject: [PATCH] DEV: Reformat package.json files (#28733) --- app/assets/javascripts/admin/package.json | 2 +- app/assets/javascripts/custom-proxy/package.json | 3 ++- app/assets/javascripts/deprecation-silencer/package.json | 3 ++- app/assets/javascripts/dialog-holder/package.json | 3 ++- app/assets/javascripts/discourse-common/package.json | 2 +- app/assets/javascripts/discourse-hbr/package.json | 2 +- app/assets/javascripts/discourse-i18n/package.json | 2 +- app/assets/javascripts/discourse-markdown-it/package.json | 2 +- app/assets/javascripts/discourse-plugins/package.json | 2 +- app/assets/javascripts/discourse-widget-hbs/package.json | 2 +- app/assets/javascripts/discourse/package.json | 2 +- app/assets/javascripts/float-kit/package.json | 2 +- app/assets/javascripts/pretty-text/package.json | 2 +- app/assets/javascripts/select-kit/package.json | 2 +- app/assets/javascripts/theme-transpiler/package.json | 3 ++- app/assets/javascripts/truth-helpers/package.json | 2 +- package.json | 4 +++- 17 files changed, 23 insertions(+), 17 deletions(-) diff --git a/app/assets/javascripts/admin/package.json b/app/assets/javascripts/admin/package.json index 6e1e7b578aa..4279b6780de 100644 --- a/app/assets/javascripts/admin/package.json +++ b/app/assets/javascripts/admin/package.json @@ -46,7 +46,7 @@ "npm": "please-use-pnpm", "yarn": "please-use-pnpm", "pnpm": ">= 9" -}, + }, "ember": { "edition": "default" } diff --git a/app/assets/javascripts/custom-proxy/package.json b/app/assets/javascripts/custom-proxy/package.json index fe0c02cb9ae..7b3ce3c5faf 100644 --- a/app/assets/javascripts/custom-proxy/package.json +++ b/app/assets/javascripts/custom-proxy/package.json @@ -28,5 +28,6 @@ "node": ">= 18", "npm": "please-use-pnpm", "yarn": "please-use-pnpm", - "pnpm": ">= 9" } + "pnpm": ">= 9" + } } diff --git a/app/assets/javascripts/deprecation-silencer/package.json b/app/assets/javascripts/deprecation-silencer/package.json index b77e86538b1..563db5f6f7b 100644 --- a/app/assets/javascripts/deprecation-silencer/package.json +++ b/app/assets/javascripts/deprecation-silencer/package.json @@ -10,5 +10,6 @@ "node": ">= 18", "npm": "please-use-pnpm", "yarn": "please-use-pnpm", - "pnpm": ">= 9" } + "pnpm": ">= 9" + } } diff --git a/app/assets/javascripts/dialog-holder/package.json b/app/assets/javascripts/dialog-holder/package.json index f47b9273520..36ece96bb4a 100644 --- a/app/assets/javascripts/dialog-holder/package.json +++ b/app/assets/javascripts/dialog-holder/package.json @@ -25,5 +25,6 @@ "node": ">= 18", "npm": "please-use-pnpm", "yarn": "please-use-pnpm", - "pnpm": ">= 9" } + "pnpm": ">= 9" + } } diff --git a/app/assets/javascripts/discourse-common/package.json b/app/assets/javascripts/discourse-common/package.json index d168075c537..31c0821be95 100644 --- a/app/assets/javascripts/discourse-common/package.json +++ b/app/assets/javascripts/discourse-common/package.json @@ -54,7 +54,7 @@ "npm": "please-use-pnpm", "yarn": "please-use-pnpm", "pnpm": ">= 9" -}, + }, "ember": { "edition": "default" } diff --git a/app/assets/javascripts/discourse-hbr/package.json b/app/assets/javascripts/discourse-hbr/package.json index f4174963700..bdbfe322ab0 100644 --- a/app/assets/javascripts/discourse-hbr/package.json +++ b/app/assets/javascripts/discourse-hbr/package.json @@ -12,7 +12,7 @@ "npm": "please-use-pnpm", "yarn": "please-use-pnpm", "pnpm": ">= 9" -}, + }, "exports": { "./raw-handlebars-compiler": "./raw-handlebars-compiler.js" } diff --git a/app/assets/javascripts/discourse-i18n/package.json b/app/assets/javascripts/discourse-i18n/package.json index f8d94368b18..7ed50c86304 100644 --- a/app/assets/javascripts/discourse-i18n/package.json +++ b/app/assets/javascripts/discourse-i18n/package.json @@ -25,7 +25,7 @@ "npm": "please-use-pnpm", "yarn": "please-use-pnpm", "pnpm": ">= 9" -}, + }, "ember": { "edition": "octane" }, diff --git a/app/assets/javascripts/discourse-markdown-it/package.json b/app/assets/javascripts/discourse-markdown-it/package.json index f94d33cab2e..e5814b85e9c 100644 --- a/app/assets/javascripts/discourse-markdown-it/package.json +++ b/app/assets/javascripts/discourse-markdown-it/package.json @@ -37,7 +37,7 @@ "npm": "please-use-pnpm", "yarn": "please-use-pnpm", "pnpm": ">= 9" -}, + }, "ember": { "edition": "octane" }, diff --git a/app/assets/javascripts/discourse-plugins/package.json b/app/assets/javascripts/discourse-plugins/package.json index a9c857dcd5e..8e8360d71a0 100644 --- a/app/assets/javascripts/discourse-plugins/package.json +++ b/app/assets/javascripts/discourse-plugins/package.json @@ -26,7 +26,7 @@ "npm": "please-use-pnpm", "yarn": "please-use-pnpm", "pnpm": ">= 9" -}, + }, "ember": { "edition": "default" } diff --git a/app/assets/javascripts/discourse-widget-hbs/package.json b/app/assets/javascripts/discourse-widget-hbs/package.json index 35fefaa8a24..b66a8955cba 100644 --- a/app/assets/javascripts/discourse-widget-hbs/package.json +++ b/app/assets/javascripts/discourse-widget-hbs/package.json @@ -43,7 +43,7 @@ "npm": "please-use-pnpm", "yarn": "please-use-pnpm", "pnpm": ">= 9" -}, + }, "ember": { "edition": "default" } diff --git a/app/assets/javascripts/discourse/package.json b/app/assets/javascripts/discourse/package.json index 3c7850408ef..49f13685549 100644 --- a/app/assets/javascripts/discourse/package.json +++ b/app/assets/javascripts/discourse/package.json @@ -133,7 +133,7 @@ "npm": "please-use-pnpm", "yarn": "please-use-pnpm", "pnpm": ">= 9" -}, + }, "ember": { "edition": "octane" } diff --git a/app/assets/javascripts/float-kit/package.json b/app/assets/javascripts/float-kit/package.json index 98c6d8be4f6..2d13f82797b 100644 --- a/app/assets/javascripts/float-kit/package.json +++ b/app/assets/javascripts/float-kit/package.json @@ -46,7 +46,7 @@ "npm": "please-use-pnpm", "yarn": "please-use-pnpm", "pnpm": ">= 9" -}, + }, "ember": { "edition": "default" } diff --git a/app/assets/javascripts/pretty-text/package.json b/app/assets/javascripts/pretty-text/package.json index 48d2a905f5f..7437eb3e13e 100644 --- a/app/assets/javascripts/pretty-text/package.json +++ b/app/assets/javascripts/pretty-text/package.json @@ -47,7 +47,7 @@ "npm": "please-use-pnpm", "yarn": "please-use-pnpm", "pnpm": ">= 9" -}, + }, "ember": { "edition": "default" } diff --git a/app/assets/javascripts/select-kit/package.json b/app/assets/javascripts/select-kit/package.json index 7ed5efdc6d8..e1c290ab7c4 100644 --- a/app/assets/javascripts/select-kit/package.json +++ b/app/assets/javascripts/select-kit/package.json @@ -47,7 +47,7 @@ "npm": "please-use-pnpm", "yarn": "please-use-pnpm", "pnpm": ">= 9" -}, + }, "ember": { "edition": "default" } diff --git a/app/assets/javascripts/theme-transpiler/package.json b/app/assets/javascripts/theme-transpiler/package.json index 8e0f524e864..c2ae3dfb220 100644 --- a/app/assets/javascripts/theme-transpiler/package.json +++ b/app/assets/javascripts/theme-transpiler/package.json @@ -26,5 +26,6 @@ "node": ">= 18", "npm": "please-use-pnpm", "yarn": "please-use-pnpm", - "pnpm": ">= 9" } + "pnpm": ">= 9" + } } diff --git a/app/assets/javascripts/truth-helpers/package.json b/app/assets/javascripts/truth-helpers/package.json index 021ede5d2ac..834a6436d92 100644 --- a/app/assets/javascripts/truth-helpers/package.json +++ b/app/assets/javascripts/truth-helpers/package.json @@ -26,7 +26,7 @@ "npm": "please-use-pnpm", "yarn": "please-use-pnpm", "pnpm": ">= 9" -}, + }, "ember": { "edition": "octane" }, diff --git a/package.json b/package.json index f67f9b07823..c3dd5b5f9aa 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,9 @@ "lint-to-the-future-ember-template>ember-template-lint": "*", "ember-this-fallback>ember-source": "*" }, - "allowAny": ["@uppy/*"], + "allowAny": [ + "@uppy/*" + ], "ignoreMissing": [ "webpack" ]