From b9fb054176434038ed74f7fcb7179533554fe7e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Sun, 6 Sep 2026 14:42:35 +0200 Subject: [PATCH] :wrench: Point repo metadata at Gitea; drop redundant .npmignore The repository.url shipped github.com/tmueller/... but the real remote is gitea.e1nsnull.de/tmu/..., so the npm page's Repository link 404'd. Add homepage + bugs, fix the URL, and rename the CONTRIBUTING "GitHub" reference to the forge. Delete .npmignore: when a package.json `files` allowlist is present npm never consults .npmignore, so it was dead weight that would only drift. Add "gitea" to the cspell dictionary. --- .npmignore | 13 ------------- CONTRIBUTING.md | 2 +- cspell.json | 3 ++- package.json | 6 +++++- 4 files changed, 8 insertions(+), 16 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 6aed7f4..0000000 --- a/.npmignore +++ /dev/null @@ -1,13 +0,0 @@ -node_modules/ -coverage/ -*.log -*.tsbuildinfo -src/ -.vscode/ -.editorconfig -.oxfmtrc.json -.oxlintrc.json -.node-version -cspell.json -lefthook.yml -commit-message-template \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bcfd51d..d030521 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -81,7 +81,7 @@ Publishing is CI-only by policy. Local `npm publish` is not supported. ```sh npm version ``` -4. Push the tag to GitHub: +4. Push the tag to the forge (Gitea): ```sh git push --follow-tags origin main ``` diff --git a/cspell.json b/cspell.json index a3c24ce..d9903eb 100644 --- a/cspell.json +++ b/cspell.json @@ -18,7 +18,8 @@ "attw", "arethetypeswrong", "knip", - "tsgolint" + "tsgolint", + "gitea" ], "ignorePaths": ["dist", "node_modules", "coverage", "*.svg", ".gitignore"] } diff --git a/package.json b/package.json index 89502ca..2f23f7e 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,14 @@ "pattern-matching", "typescript" ], + "homepage": "https://gitea.e1nsnull.de/tmu/tiny-pattern-ts#readme", + "bugs": { + "url": "https://gitea.e1nsnull.de/tmu/tiny-pattern-ts/issues" + }, "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/tmueller/tiny-pattern-ts.git" + "url": "git+https://gitea.e1nsnull.de/tmu/tiny-pattern-ts.git" }, "files": [ "dist",