From 6adc506e23c8f104d28a7110efee48be2c4819bc Mon Sep 17 00:00:00 2001 From: Jacob Bogers Date: Fri, 14 Jun 2024 21:17:23 +0200 Subject: [PATCH 1/3] Update packages.json preprocessor added to remove attributes from final builds --- src/routes/packages/packages.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/routes/packages/packages.json b/src/routes/packages/packages.json index a3291bafe..9857afdc8 100644 --- a/src/routes/packages/packages.json +++ b/src/routes/packages/packages.json @@ -3020,5 +3020,15 @@ "description": "Rich text editor as a svelte component", "npm": "@altron/altron", "categories": ["forms-and-input", "integrations"] - } + }, + { + "title": "remove-attributes", + "repository": "https://github.com/jacobbogers/svelte-remove-attributes", + "description": "svelte preprocessor to remove attributes (like data-testid) from builds", + "npm": "https://www.npmjs.com/package/svelte-remove-attributes", + "categories": [ + "styling-and-layout", + "build-plugins" + ] + } ] From 035b6703f700124ad560a79f41d3a486edc7ccd6 Mon Sep 17 00:00:00 2001 From: Jacob Bogers Date: Sat, 15 Jun 2024 14:02:58 +0200 Subject: [PATCH 2/3] npm package correctly named --- src/routes/packages/packages.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/packages/packages.json b/src/routes/packages/packages.json index 9857afdc8..2585da452 100644 --- a/src/routes/packages/packages.json +++ b/src/routes/packages/packages.json @@ -3025,7 +3025,7 @@ "title": "remove-attributes", "repository": "https://github.com/jacobbogers/svelte-remove-attributes", "description": "svelte preprocessor to remove attributes (like data-testid) from builds", - "npm": "https://www.npmjs.com/package/svelte-remove-attributes", + "npm": "svelte-remove-attributes", "categories": [ "styling-and-layout", "build-plugins" From 8f6ae25b99bf318eb24feec93ab73640fb4c0a17 Mon Sep 17 00:00:00 2001 From: Jacob Bogers Date: Sat, 15 Jun 2024 14:30:42 +0200 Subject: [PATCH 3/3] pnpm does not work for me another try with calling prettier directly --- src/routes/packages/packages.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/routes/packages/packages.json b/src/routes/packages/packages.json index 2585da452..b96af3bb2 100644 --- a/src/routes/packages/packages.json +++ b/src/routes/packages/packages.json @@ -3026,9 +3026,6 @@ "repository": "https://github.com/jacobbogers/svelte-remove-attributes", "description": "svelte preprocessor to remove attributes (like data-testid) from builds", "npm": "svelte-remove-attributes", - "categories": [ - "styling-and-layout", - "build-plugins" - ] - } + "categories": ["styling-and-layout", "build-plugins"] + } ]