Files
pnpm/pkg-manager/core/tsconfig.json
Khải 5f7be645e4 feat(patching): version ranges and strict patches (#9236)
* feat: replace a config

This is a test commit to see if CI fails

* feat: `strictPatches`

* docs: future instruction

* feat: `strictPatches` → `allowPatchFailure`

* docs(changeset): correction

* test: getOptionsFromRootManifest

* fix: allowFailure

* feat: groupPatchedDependencies

* fix: update code after merge

* fix: star spec

* feat: error on invalid ranges

* fix: eslint

* docs: change task

* feat(patching): version ranges

* fix: `verifyPatches`

* refactor: move types to `@pnpm/patching.types`

* docs(changeset): add missing package

* refactor: move `verifyPatches` to `@pnpm/patching.config`

* test: fix

* feat: change error message of unused patches

* refactor: exact options into an interface

* test(patching): version range

* test(patching): allowPatchFailure

* docs: change wording

* docs: change wording

* test(patching): version range error

* test(patching): legacy behavior

* test: don't use star

* test(patching): strict versionless

* test: strictPatches

* chore(deps): `@pnpm/logger` must be peer

* docs: fix grammar

* refactor: rename `blank` to `all`

* refactor: use string

* refactor: use array for `PatchGroup.range`

* refactor: stop re-exporting `allPatchKeys`

* feat: re-export `PatchGroupRangeItem`

* refactor: move error creation into a class

* docs: replace "versionless" with "name-only"

* docs: coherent wordings

* test: exact version overrides range conflict

* test: tweak

* docs: consistent wordings

* docs: correct wordings

* refactor: rename `allowPatchFailure` to `ignorePatchFailures`

* feat: replace `strictPatches` with `ignorePatchFailures`

* docs: legacy behavior

* feat: introduce `allowUnusedPatches`

* docs(changeset): update

* docs: remove outdated comment

* docs: backward-compatibility
2025-03-13 12:13:06 +01:00

194 lines
3.3 KiB
JSON

{
"extends": "@pnpm/tsconfig",
"compilerOptions": {
"outDir": "lib",
"rootDir": "src"
},
"include": [
"src/**/*.ts",
"../../__typings__/**/*.d.ts"
],
"references": [
{
"path": "../../__utils__/assert-project"
},
{
"path": "../../__utils__/assert-store"
},
{
"path": "../../__utils__/prepare"
},
{
"path": "../../__utils__/test-fixtures"
},
{
"path": "../../__utils__/test-ipc-server"
},
{
"path": "../../catalogs/protocol-parser"
},
{
"path": "../../catalogs/types"
},
{
"path": "../../config/matcher"
},
{
"path": "../../config/normalize-registries"
},
{
"path": "../../config/parse-overrides"
},
{
"path": "../../crypto/hash"
},
{
"path": "../../crypto/object-hasher"
},
{
"path": "../../deps/graph-sequencer"
},
{
"path": "../../exec/build-modules"
},
{
"path": "../../exec/lifecycle"
},
{
"path": "../../fs/read-modules-dir"
},
{
"path": "../../fs/symlink-dependency"
},
{
"path": "../../hooks/read-package-hook"
},
{
"path": "../../hooks/types"
},
{
"path": "../../lockfile/filtering"
},
{
"path": "../../lockfile/fs"
},
{
"path": "../../lockfile/lockfile-to-pnp"
},
{
"path": "../../lockfile/preferred-versions"
},
{
"path": "../../lockfile/pruner"
},
{
"path": "../../lockfile/settings-checker"
},
{
"path": "../../lockfile/types"
},
{
"path": "../../lockfile/utils"
},
{
"path": "../../lockfile/verification"
},
{
"path": "../../lockfile/walker"
},
{
"path": "../../packages/calc-dep-state"
},
{
"path": "../../packages/constants"
},
{
"path": "../../packages/core-loggers"
},
{
"path": "../../packages/dependency-path"
},
{
"path": "../../packages/error"
},
{
"path": "../../packages/git-utils"
},
{
"path": "../../packages/logger"
},
{
"path": "../../packages/parse-wanted-dependency"
},
{
"path": "../../packages/types"
},
{
"path": "../../packages/which-version-is-pinned"
},
{
"path": "../../patching/config"
},
{
"path": "../../pkg-manifest/manifest-utils"
},
{
"path": "../../pkg-manifest/read-package-json"
},
{
"path": "../../pkg-manifest/read-project-manifest"
},
{
"path": "../../resolving/resolver-base"
},
{
"path": "../../store/cafs"
},
{
"path": "../../store/package-store"
},
{
"path": "../../store/store-controller-types"
},
{
"path": "../../store/store-path"
},
{
"path": "../../worker"
},
{
"path": "../client"
},
{
"path": "../direct-dep-linker"
},
{
"path": "../get-context"
},
{
"path": "../headless"
},
{
"path": "../hoist"
},
{
"path": "../link-bins"
},
{
"path": "../modules-cleaner"
},
{
"path": "../modules-yaml"
},
{
"path": "../package-requester"
},
{
"path": "../remove-bins"
},
{
"path": "../resolve-dependencies"
}
]
}