From a6bcba995be7006c38918c004430a64d9d5983a0 Mon Sep 17 00:00:00 2001 From: Merlin Beutlberger Date: Wed, 13 Mar 2024 13:31:32 +0100 Subject: [PATCH 1/2] build: Enforce final newline for dotfiles Resolves an issue where appending the auth token for the npm release to .npmrc fails due to the missing linebreak --- .editorconfig | 6 ++++++ .gitignore | 2 +- .npmrc | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index b432804f7..9f0c5fdce 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,6 +6,12 @@ root = true charset = utf-8 indent_style = tab +[.*] +trim_trailing_whitespace = true +end_of_line = lf +indent_size = 4 +insert_final_newline = true + [*.{css,html,js,cjs,mjs,jsx,ts,tsx,less,txt,json,yml,md}] trim_trailing_whitespace = true end_of_line = lf diff --git a/.gitignore b/.gitignore index eb7dcdd93..719f74940 100644 --- a/.gitignore +++ b/.gitignore @@ -108,4 +108,4 @@ dist /lib/ # Temporary files -/tmp/ \ No newline at end of file +/tmp/ diff --git a/.npmrc b/.npmrc index a8ad72ed4..93ec4f76b 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,3 @@ # Enforce public npm registry registry=https://registry.npmjs.org/ -lockfile-version=3 \ No newline at end of file +lockfile-version=3 From 1e3a11369884d6054bef537df83c80f1c3f32429 Mon Sep 17 00:00:00 2001 From: Merlin Beutlberger Date: Wed, 13 Mar 2024 13:36:15 +0100 Subject: [PATCH 2/2] ci(release-please): Do not include project name in release tag --- release-please-config.json | 1 + 1 file changed, 1 insertion(+) diff --git a/release-please-config.json b/release-please-config.json index d2eaf626a..6fa932d71 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -3,6 +3,7 @@ ".": { "pull-request-header": ":tractor: New release prepared", "pull-request-title-pattern": "release: v${version}", + "include-component-in-tag": false, "bump-minor-pre-major": true, "bump-patch-for-minor-pre-major": true, "prerelease": true,