mirror of
https://github.com/zadam/trilium.git
synced 2026-09-12 11:40:19 +05:00
Some checks failed
Checks / main (push) Has been cancelled
pnpm 12 swapped the JS patch-applier for a Rust one that rejects a carriage
return in a diff's file-header line ("invalid char in unquoted filename"),
so `pnpm install` aborts with ERR_PNPM_INVALID_PATCH before linking anything.
The patch blobs are committed LF, but a Windows checkout with
core.autocrlf=true rewrites them to CRLF and .gitattributes had no rule for
patches/. pnpm 11's parser tolerated the CR; Linux CI is unaffected, which is
why #11365 stayed green.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
28 lines
870 B
Plaintext
28 lines
870 B
Plaintext
# Mark files as auto-generated to simplify reviews.
|
|
package-lock.json linguist-generated=true
|
|
**/package-lock.json linguist-generated=true
|
|
apps/server/src/assets/doc_notes/en/User[[:space:]]Guide/** linguist-generated
|
|
|
|
# Ignore from GitHub language stats.
|
|
apps/server/src/assets/doc_notes/en/User[[:space:]]Guide/**/*.html eol=lf
|
|
apps/server/src/assets/doc_notes/** linguist-vendored=true
|
|
apps/edit-docs/demo/** linguist-vendored=true
|
|
docs/** linguist-vendored=true
|
|
|
|
# Normalize line endings.
|
|
patches/** eol=lf
|
|
docs/**/*.md eol=lf
|
|
docs/**/*.json eol=lf
|
|
demo/**/*.html eol=lf
|
|
demo/**/*.json eol=lf
|
|
demo/**/*.svg eol=lf
|
|
demo/**/*.txt eol=lf
|
|
demo/**/*.js eol=lf
|
|
demo/**/*.css eol=lf
|
|
*.sh eol=lf
|
|
|
|
# Always diff TypeScript sources as text so a stray control byte (e.g. a NUL in
|
|
# a string literal) doesn't make Git/GitHub treat the whole file as binary.
|
|
*.ts diff
|
|
*.tsx diff
|