mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-27 10:30:58 -04:00
When pnpm self-updates via the headless install path, the install directory was not registered in the store's project registry. This caused `pnpm store prune` to treat its global virtual store packages as unreachable and remove them, breaking the global pnpm binary. Register the install dir after headless install in installPnpmToGlobalDir
84 lines
1.5 KiB
JSON
84 lines
1.5 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": "../../../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/types"
|
|
},
|
|
{
|
|
"path": "../../../resolving/npm-resolver"
|
|
},
|
|
{
|
|
"path": "../../../shell/path"
|
|
},
|
|
{
|
|
"path": "../../../store/connection-manager"
|
|
},
|
|
{
|
|
"path": "../../../store/controller"
|
|
},
|
|
{
|
|
"path": "../../../testing/mock-agent"
|
|
},
|
|
{
|
|
"path": "../../../workspace/project-manifest-reader"
|
|
}
|
|
]
|
|
}
|