mirror of
https://github.com/pnpm/pnpm.git
synced 2026-06-04 14:36:46 -04:00
* fix(engine.pm.commands): honor minimumReleaseAgeExclude in self-update * refactor(config.version-policy): centralize publishedBy policy derivation Extract the publishedBy / publishedByExclude derivation duplicated across selfUpdate, dlx, outdated, and deps-resolver into a new `getPublishedByPolicy()` helper, and the version-policy error rewrap into `createPackageVersionPolicyOrThrow()`. Also adds the global self-update test branch (no wantedPackageManager) requested in PR review, and harmonizes the dlx/outdated error code for invalid minimumReleaseAgeExclude patterns with install/self-update. * style(config.version-policy): rename 'callsite' to 'call site' to satisfy cspell --------- Co-authored-by: Zoltan Kochan <z@kochan.io>
90 lines
1.6 KiB
JSON
90 lines
1.6 KiB
JSON
{
|
|
"extends": "@pnpm/tsconfig",
|
|
"compilerOptions": {
|
|
"outDir": "lib",
|
|
"rootDir": "src",
|
|
"target": "es2020"
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"../../../__typings__/**/*.d.ts"
|
|
],
|
|
"references": [
|
|
{
|
|
"path": "../../../__utils__/prepare"
|
|
},
|
|
{
|
|
"path": "../../../bins/linker"
|
|
},
|
|
{
|
|
"path": "../../../building/policy"
|
|
},
|
|
{
|
|
"path": "../../../cli/meta"
|
|
},
|
|
{
|
|
"path": "../../../cli/utils"
|
|
},
|
|
{
|
|
"path": "../../../config/reader"
|
|
},
|
|
{
|
|
"path": "../../../config/version-policy"
|
|
},
|
|
{
|
|
"path": "../../../core/constants"
|
|
},
|
|
{
|
|
"path": "../../../core/error"
|
|
},
|
|
{
|
|
"path": "../../../core/logger"
|
|
},
|
|
{
|
|
"path": "../../../core/types"
|
|
},
|
|
{
|
|
"path": "../../../deps/graph-hasher"
|
|
},
|
|
{
|
|
"path": "../../../global/commands"
|
|
},
|
|
{
|
|
"path": "../../../global/packages"
|
|
},
|
|
{
|
|
"path": "../../../installing/client"
|
|
},
|
|
{
|
|
"path": "../../../installing/deps-restorer"
|
|
},
|
|
{
|
|
"path": "../../../installing/env-installer"
|
|
},
|
|
{
|
|
"path": "../../../lockfile/fs"
|
|
},
|
|
{
|
|
"path": "../../../lockfile/types"
|
|
},
|
|
{
|
|
"path": "../../../resolving/npm-resolver"
|
|
},
|
|
{
|
|
"path": "../../../shell/path"
|
|
},
|
|
{
|
|
"path": "../../../store/connection-manager"
|
|
},
|
|
{
|
|
"path": "../../../store/controller"
|
|
},
|
|
{
|
|
"path": "../../../testing/mock-agent"
|
|
},
|
|
{
|
|
"path": "../../../workspace/project-manifest-reader"
|
|
}
|
|
]
|
|
}
|