feat!: publish as @dsh-plugin/session-delete with an automated Gitea npm release
publish / npm (push) Failing after 1m49s

The registry owner is the scope the package must publish under, so the name moves from @local/ to @dsh-plugin/ in all three places that must agree: package.json, cordis.patch.yml, and the client module id. `private` goes away because npm refuses to publish such a package, and publishConfig pins the registry to this organization's npm endpoint.

The tag workflow publishes whatever version the pushed v* tag names, using the built-in Gitea job token, and refuses a tag that disagrees with package.json.
This commit is contained in:
pyh
2026-09-30 11:00:39 +08:00
parent 29060db8dc
commit 37468d6ac9
6 changed files with 128 additions and 8 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
* Fetch route registered below; it is the only cross-half entry point this
* package needs.
*
* @module @local/dsh-session-delete
* @module @dsh-plugin/session-delete
*/
import { createHash } from 'node:crypto'
import { lstat, open, readdir, readFile, rm, stat, writeFile } from 'node:fs/promises'