Registry-Entscheidung evidenzbasiert: das Package ist pnpm-Dependency von ThreadNet-Webs apps/web, der Lockfile pinnt die Tarball-URL auf rohana - Registry bleibt dort. Publish-Auth ueber CI-Variable GITEA_NPM_TOKEN statt lokaler Klartext-.npmrc. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
10 lines
375 B
Bash
Executable File
10 lines
375 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Checks if there currently is linking configured. Informs the user to disable linking before committing.
|
|
|
|
PNPMFILE=.pnpmfile.cjs
|
|
if test -f "$PNPMFILE"; then
|
|
echo "[pnpm-linker] The pre-commit hook detected $PNPMFILE which implies you have linked packages in your pnpm-lock.yaml. Run pnpm links:off and commit again. See also linking.md."
|
|
exit 1
|
|
fi
|