Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

4.5 KB
Raw Blame
packages:
  - "packages/*"
  - "apps/*"
  - "tooling/*"
  - "tools/*"
  - "docs"

nodeLinker: hoisted

# Refuse to install a version whose publish trust (trusted publisher or
# provenance) is weaker than an earlier version of the same package, which is
# what a takeover with a stolen publish token looks like.
trustPolicy: no-downgrade
# Exact versions only, so later releases of these packages are still checked.
# Each was hand-published by the package's long-time maintainer (without CI
# provenance) after other releases had started shipping with it. Review the
# publisher and release history on npm before adding an entry here.
trustPolicyExclude:
  # paulmillr, after 3.6.0 shipped with provenance.
  - [email protected]
  # lukastaegert, a 2.x backport after 4.x moved to trusted publishing.
  - [email protected]
  # lukekarrys (npm team), a 6.x backport after 7.5.1 shipped with provenance.
  - [email protected]
  # faisalman (the author), 1.x maintenance after 2.0 prereleases had provenance.
  - [email protected]
# Only direct dependencies may come from git repos or tarball URLs. This is
# already pnpm 11's default; it's set explicitly so a future default change
# can't silently turn it off.
blockExoticSubdeps: true

allowBuilds:
  "@sentry/cli": true
  "@swc/core": true
  better-sqlite3: true
  esbuild: true
  re2: true
  sharp: true
  tesseract.js: true
  # These install scripts are informational or unnecessary for our installs.
  "@parcel/watcher": false
  core-js: false
  core-js-pure: false
  postman-code-generators: false
  protobufjs: false

patchedDependencies:
  [email protected]: "patches/[email protected]"
  [email protected]: "patches/[email protected]"
  # Swift 6.2 / Xcode 26 rejects `weak let`; rewrite to `nonisolated(unsafe) weak var`.
  [email protected]: patches/[email protected]
  # Disables React 19.2's dev "component performance track" prop serialization,
  # which crashes when a changed prop is a tRPC proxy (RN 0.86 + new arch).
  [email protected]: patches/[email protected]
  # Android: don't drop shares that arrive while the app is being recreated after
  # process death, and don't replay the task's launch share on reopen (#513).
  [email protected]: patches/[email protected]
  # Detach service worker targets that Chrome reports without a browserContextId
  # instead of failing an assertion that crashes connectOverCDP().
  [email protected]: patches/[email protected]

# Docker builds can prune packages that use one of the root patches.
allowUnusedPatches: true

minimumReleaseAgeExclude: [
    "@next/[email protected]",
    "@next/[email protected]",
    "@next/[email protected]",
    "@next/[email protected]",
    "@next/[email protected]",
    "@next/[email protected]",
    "@next/[email protected]",
    "@next/[email protected]",
    "@next/[email protected]",
    "@next/[email protected]",
    [email protected],
    [email protected],
    "@astrojs/[email protected]",
    # Better Auth's Nov 3, 2026 security release.
    "@better-auth/[email protected]",
    "@better-auth/[email protected]",
    "@better-auth/[email protected]",
    "@better-auth/[email protected]",
    "@better-auth/[email protected]",
    "@better-auth/[email protected]",
    "@better-auth/[email protected]",
    [email protected],
    [email protected],
  ]

overrides:
  # 6.1.3's CVE fix breaks Tailwind 3's `:merge(.group)` variant transform.
  "[email protected]>postcss-selector-parser": 6.1.4
  # OpenAPI's Postman converter pins both YAML parsers to vulnerable releases.
  "openapi-to-postmanv2@6>js-yaml": 4.3.2
  "openapi-to-postmanv2@6>yaml": 1.10.3
  # The current OpenTelemetry exporters pin older 2.x core versions exactly.
  "@opentelemetry/core@>=2.0.0 <2.8.0": 2.8.0
  # refractor 3 restricts prismjs to ~1.27.0.
  "refractor@3>prismjs": 1.30.0
  # Docusaurus's webpack plugins require v6. v7 keeps the API and needs Node 20+.
  "serialize-javascript@>=6.0.0 <7.0.5": 7.0.5
  i18next-fs-backend: 2.6.6
  shell-quote: 1.11.0
  # React Native vendors a renderer built against one exact React version and
  # asserts on it at runtime, so the whole workspace has to agree. React's
  # experimental types also contain unique symbols, so separate @types/react
  # versions are not structurally compatible. Keep these in sync with the
  # versions used by the apps when bumping Expo or React.
  react: 19.2.3
  react-dom: 19.2.3
  "@types/react": 19.2.15
  "@types/react-dom": 19.2.3